# US 2021/0240481 A1 · Data processing device, monitoring method, and program

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0240481 A1
- Document ID: US20210240481A1
- Status: Published application
- Kind: A1
- Application number: 17/049,574
- Filed: 2018-04-27
- Published: 2021-08-05
- Earliest claimed: 2018-04-27
- Assignees: Mitsubishi Electric Corporation
- Applicants: Mitsubishi Electric Corporation
- Inventors: Osamu NASU; Jijun JIN; Ryo KASHIWAGI
- Web page: https://patentgrep.com/patent/US20210240481A1

## CPC

- G06F 11/0736: {in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function (testing or monitoring of automated control systems G05B23/02)}
- G06F 15/17306: {Intercommunication techniques}
- G06F 11/0715: {in a system implementing multitasking (multitasking per se G06F9/46)}
- G06F 11/0754: {by exceeding limits}
- G06F 11/0766: {Error or fault reporting or storing}
- G06F 11/3013: {where the computing system is an embedded system, i.e. a combination of hardware and software dedicated to perform a certain function in mobile devices, printers, automotive or aircraft systems (testing or monitoring of control systems or parts thereof G05B23/02)}
- G06F 11/3037: {where the computing system component is a memory, e.g. virtual memory, cache (accessing, addressing or allocating within memory systems or architectures G06F12/00; checking stores for correct operation G11C29/00)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data processing apparatus includes a first processing unit that executes real-time processing with respect to data, a second processing unit that executes batch processing with respect to data that is output from the first processing unit as a result of processing by the first processing unit, and a monitor that monitors a status of the processing by the first processing unit and a status of processing by the second processing unit. The first processing unit includes a plurality of subprocessing units and buffers, and the second processing unit also includes a plurality of subprocessing units and buffers. The second processing unit includes a storage. The monitor includes a first monitor that monitors, for each of the buffers included in the first processing unit, an amount of the data stored in the corresponding buffer and a second monitor that monitors a total amount of the data stored in the buffers included in the second processing unit and the data stored in the storage.

## Claims

### Claim 1

A data processing apparatus comprising:
first processing circuitry configured to execute real-time processing with respect to data that is collected periodically from a device on a production line of a factory;
second processing circuitry configured to execute batch processing aperiodically with respect to data that is output from the first processing circuitry as a result of processing by the first processing circuitry; and
a monitor to monitor a status of the processing by the first processing circuitry and a status of processing by the second processing circuitry, wherein
each of the first processing circuitry and the second processing circuitry includes:
a plurality of subprocessing circuitries configured to execute subprocesses included in the processing executed with respect to data; and
buffers to store data output from the plurality of subprocessing circuitries, each of the buffers storing data output from a corresponding subprocessing circuitry,
the second processing circuitry further includes a storage to store the data output from the first processing circuitry and to provide the stored data to a subprocessing circuitry of the plurality of subprocessing circuitries included in the second processing circuitry the subprocessing circuitry serving as a starting point,
the second processing circuitry, when an amount of data stored in a buffer of the buffers included in the second processing circuitry is equal to or larger than a threshold value, temporarily stops execution of a subprocess by a subprocessing circuitry of the subprocessing circuitries included in the second processing circuitry, the subprocessing circuitry outputting data to the buffer, and
the monitor includes:
a first monitor to monitor, for each of the buffers included in the first processing circuitry, an amount of the data stored in the corresponding buffer;
a second monitor to monitor a total amount of (i) the data stored in the buffers included in the second processing circuitry and (ii) the data stored in the storage; and
a determiner to determine, based on a result of the monitoring by the first monitor and the second monitor, whether at least one of the processing by the first processing circuitry or the processing by the second processing circuitry is in a predetermined abnormal state.

### Claim 2 (depends on 1)

The data processing apparatus according to claim 1, wherein the first monitor monitors the amount of the data stored in the storage.

### Claim 3 (depends on 1)

The data processing apparatus according to claim 1, wherein the storage has larger capacity than any of the buffers included in the first processing circuitry and the second processing circuitry.

### Claim 4

(canceled)

### Claim 5 (depends on 1)

The data processing apparatus according to claim 1, further comprising:
a notifier to receive a setting relating to notification to a user of a result of the determination by the determiner and to send notification of the result of the determination in accordance with the received setting.

### Claim 6 (depends on 1)

The data processing apparatus according to claim 1, further comprising:
a controller to control, based on a result of the monitoring by the first monitor and the second monitor, at least one of an operation of the first processing circuitry or an operation of the second processing circuitry.

### Claim 7

A monitoring method comprising:
a first monitoring step of monitoring amounts of buffering data buffered in a plurality of buffering processes of buffering data output from a plurality of subprocesses included in first processing of executing real-time processing with respect to data that is collected periodically from a device on a production line of a factory, each of the plurality of buffering processes including buffering data output from a corresponding subprocess of the plurality of subprocesses included in the first processing and each of the amounts of the buffering data being monitored for a corresponding buffering process of the plurality of buffering processes;
a second monitoring step of monitoring a total amount of buffering data buffered in a plurality of buffering processes of buffering data output from a plurality of subprocesses included in second processing of executing batch processing aperiodically with respect to data indicating a result of processing in the first processing, each of the plurality of buffering processes including buffering data output from a corresponding subprocess of the plurality of subprocesses included in the second processing;
a stopping step of, when an amount of buffering data buffered in a buffering process of the plurality of buffering processes included in the second processing is equal to or larger than a threshold value, temporarily stopping execution of a subprocess of the plurality of subprocesses included in the second processing, the subprocess including outputting of data to be buffered in the buffering process; and
a determination step of determining, based on a result of the monitoring in the first monitoring step and the second monitoring step, whether at least one of the processing in the first processing or processing in the second processing is in a predetermined abnormal state.

### Claim 8

A non-transitory computer-readable recording medium storing a program causing a computer to:
monitor amounts of buffering data buffered in a plurality of buffering processes of buffering data output from a plurality of subprocesses included in first processing of executing real-time processing with respect to data that is collected periodically from a device on a production line of a factory, each of the plurality of buffering processes including buffering data output from a corresponding subprocess of the plurality of subprocesses included in the first processing and each of the amounts of the buffering data being monitored for a corresponding buffering process of the plurality of buffering processes;
monitor a total amount of buffering data buffered in a plurality of buffering processes of buffering data output from a plurality of subprocesses included in second processing of executing batch processing aperiodically with respect to data indicating a result of processing in the first processing, each of the plurality of buffering processes including buffering data output from a corresponding subprocess of the plurality of subprocesses included in the second processing;
when an amount of buffering data buffered in a buffering process of the plurality of buffering processes included in the second processing is equal to or larger than a threshold value, temporarily stop execution of a subprocess of the plurality of subprocesses included in the second processing, the subprocess including outputting of data to be buffered in the buffering process; and
determine, based on (i) a result of the monitoring of the amounts of buffering data buffered in the plurality of buffering processes included in the first processing and (ii) a result of the monitoring of the total amount of buffering data buffered in the plurality of buffering processes included in the second processing, whether at least one of the processing in the first processing or processing in the second processing is in a predetermined abnormal state.
