Data processing device, data processing method and recording medium

By introducing data collection, processing and control components into the data processing device, combining engineering design tools and interface components, the problem that data processing devices cannot be flexibly added and combined in the prior art is solved, and flexible combination and subsequent addition of data processing are realized. Functional, improve adaptability and flexibility.

CN113728311BActive Publication Date: 2024-12-03MITSUBISHI ELECTRIC CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980095679.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-04-26
Publication Date
2024-12-03
Estimated Expiration
2039-04-26

AI Technical Summary

Technical Problem

The existing data processing devices cannot flexibly add data processing modules, which leads to the inability to cope with subsequent data processing needs during product development, and the flexibility of data processing combinations is insufficient.

Method used

A data processing device is designed, including a data collection unit, a plurality of data processing units, an execution control unit and an interface unit. Through pre-set data processing flow and user input setting information, the combination and control of data processing is realized. It allows users to set the data processing process through engineering design tools and exchange data and definition information through the interface unit, thereby supporting flexible changes in subsequent additional data processing and combinations.

Benefits of technology

It realizes flexible combination of data processing and subsequent additional functions, avoids the limitation of installing data processing modules in product development, and improves the flexibility and adaptability of data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113728311B_ABST
    Figure CN113728311B_ABST
Patent Text Reader

Abstract

The data processing device (1) comprises: a data collection unit (11) which collects data from an instrument (4); a plurality of data processing units (12) which each perform a preset data processing; an execution control unit (14) which controls the transmission and reception of data between the data collection unit (11) and the plurality of data processing units (12) and between the plurality of data processing units (12) based on setting information of a preset data processing flow; and an interface unit which is respectively provided in the data processing unit (12) and the execution control unit (14) and transmits and receives data and data definition information to each other.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a data processing device, a data processing method and a program. Background Art

[0002] In the field of factory automation, there are data processing devices that collect data from FA (Factory Automation) instruments at the manufacturing site and perform a series of data processing such as processing and diagnosis on the collected data in a sequence set by a processing flow. However, the specifications of existing data processing devices vary depending on the company, making it difficult to build a universal system.

[0003] On the other hand, in recent years, attempts have been made to construct data processing devices by stacking data processing modules on a common platform, with the aim of being able to freely replace various modules such as processing and diagnosis to expand the data processing flow.

[0004] In addition, Patent Document 1 discloses a technology for entrusting a data processing unit with data processing according to a workflow to execute a series of data processing. A delegation target determination unit that entrusts data processing to a data processing unit that is not defined by the workflow refers to a list containing identification information, and the identification information is used to identify the processing that is not defined in the workflow. In the case where the identification information contained in the setting information input by the user is included in the list, the data processing is entrusted to the data processing unit that executes the processing corresponding to the specified identification information. Thus, even if a collaborative workflow is not defined in advance, data processing that is not defined in the workflow can be performed using the setting information input when the workflow is executed.

[0005] Patent Document 1: Japanese Patent Application Publication No. 2009-146092 Summary of the invention

[0006] In the technology described in Patent Document 1, the combination of data processing can be flexibly changed. However, it is not considered that data processing that becomes a candidate for combination can be added later. Therefore, it is not possible to add data processing by user operation, and each data processing to be combined must be installed in advance. Therefore, even if the product developer needs to perform additional installation, it is impossible to deal with such a problem.

[0007] The present invention has been proposed in view of the above-mentioned circumstances, and an object of the present invention is to enable subsequent addition of data processing and to enable flexible changes in the combination of data processing.

[0008] In order to achieve the above-mentioned purpose, the data processing device of the present invention comprises: a data collection unit, which collects data from an instrument; multiple data processing units, each of which performs pre-set data processing; an execution control unit, which controls the transmission and reception of data between the data collection unit and multiple data processing units and between multiple data processing units based on setting information of a pre-set data processing flow; and an interface unit, each of which is provided in multiple data processing units and the execution control unit, and transmits and receives data and data definition information to each other.

[0009] Effects of the Invention

[0010] According to the present invention, by exchanging data definition information, data processing can be added later, and the combination of data processing can be flexibly changed. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 It is a diagram showing the structure of a data processing system according to an embodiment of the present invention.

[0012] Figure 2 It is a diagram showing the functional structure of a data processing device according to an embodiment.

[0013] Figure 3 It is a diagram showing the structure of an engineering design tool according to an embodiment.

[0014] Figure 4 It is a diagram showing the hardware configuration of a data processing device according to an embodiment.

[0015] Figure 5 This is a diagram showing an example of a data processing flow involved in an embodiment.

[0016] Figure 6 It is a diagram showing an example of flow setting information according to the embodiment.

[0017] Figure 7 It is a diagram showing a communication structure between a data processing unit and an execution control unit according to an embodiment.

[0018] Figure 8 It is a flowchart showing the operation processing of the execution control unit involved in the embodiment.

[0019] Fig. 9 This is a flowchart showing the operation processing of the data processing unit involved in the embodiment.

[0020] Fig.10 This is a diagram showing a communication structure between a data processing unit and an execution control unit using an MQTT agent according to an embodiment. DETAILED DESCRIPTION

[0021] Hereinafter, a data processing device, a data processing method, and a program according to embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[0022] (Implementation Method 1)

[0023] Figure 1 1 is a diagram showing a configuration of a data processing system 100 including a data processing device 1 according to an embodiment of the present invention. The data processing system 100 is a system used in the field of FA, and performs data processing of data collected from various instruments and controls the instruments based on the data processing.

[0024] The data processing system 100 includes a field system 2 disposed at a factory which is a manufacturing site, and a cloud server 3 connected to the field system 2. The cloud server 3 is not essential, and the field system 2 may exist alone.

[0025] The field system 2 includes equipment 4 such as production equipment, sensors, and drive equipment, and a data processing device 1 connected to the equipment 4 to collect data from the equipment 4 .

[0026] The data processing device 1 is an edge device installed at the factory site in the edge computing area between the FA instrument area and the cloud. The data processing device 1 obtains data from the instrument 4, processes and diagnoses it, and returns it to the instrument 4. If the remote cloud server 3 performs this processing, it will take a long time to process. Therefore, by having the data processing device 1 be responsible for real-time data processing, it is possible to prevent delays in real-time data processing and optimize the amount of data sent to the cloud server 3.

[0027] The data processing device 1 is an industrial computer installed in a factory. The data processing executed by the data processing device 1 is a control process for operating a production line for producing products.

[0028] like Figure 2 As shown, the data processing device 1 includes: a data collection unit 11, which collects data from the instrument 4; a data processing unit 12, which performs various data processing on the collected data; an engineering design tool 13, which sets the data processing flow to be described later; an execution control unit 14, which controls the execution of data processing based on the data processing flow; and a storage unit 15, which stores various data.

[0029] The engineering design tool 13, the execution control unit 14, and the storage unit 15 form a platform 16 for executing a data processing flow. By having this platform 16, each function can be easily changed for a series of functional processes such as data collection, processing, diagnosis, and feedback.

[0030] A series of real-time data processing is composed of data collection, processing, diagnosis, feedback, etc. Data processing includes data smoothing, sharpening, FFT (Fast Fourier Transform) processing, etc. Data diagnosis includes threshold determination, pattern matching, etc. Feedback is the notification of the diagnosis results, including the processing of writing instructions such as stop, deceleration, and restart of the equipment at the production site. This combination is called a data processing flow.

[0031] The engineering design tool 13 sets the setting information of the data processing flow, which is information indicating the setting required to execute the data processing flow. Hereinafter, the setting information of the data processing flow is appropriately referred to as flow setting information. The user uses the engineering design tool 13 to set the combination and execution order of the data processing unit 12, and the type and format of the data exchanged between the data processing unit 12 and the data collection unit 11.

[0032] like Figure 3 As shown, the engineering design tool 13 has a UI (User Interface) unit 131 for the user to input the settings of the data processing flow and a receiving unit 132 for receiving the settings of the data processing flow. The UI unit 131 displays a screen for inputting the settings of the data processing flow to the user according to the control performed by the receiving unit 132. The user operates the UI unit 131 to arbitrarily set the content and number of sub-processes constituting the data processing flow, the parameters required for the execution of the sub-processes, and the data processing unit 12 that executes the sub-processes. In addition, the UI unit 131 sends information indicating the settings of the data processing flow input by the user's operation to the receiving unit 132. In addition, the UI unit 131 can also be implemented by a display, a keyboard, and a pointing device represented by a mouse.

[0033] The receiving unit 132 receives the setting of the data processing flow from the UI unit 131 and notifies the execution control unit 14 of the setting as flow setting information indicating the setting content. The flow setting information notified to the execution control unit 14 is stored in the storage unit 15.

[0034] The data processing unit 12 is implemented by a program pre-set in the data processing device 1 or plug-in software prepared by the user. The data processing unit 12 executes a sub-processing as an element constituting the data processing flow. In detail, the data processing unit 12 obtains data input as the object of the sub-processing by the execution control unit 14, and outputs the result of the sub-processing performed on the obtained data to the execution control unit 14.

[0035] The execution control unit 14 causes the data processing unit 12 and the data collection unit 11 to execute the sub-processing in the order following the process setting information. Specifically, the execution control unit 14 obtains data to be the object of the sub-processing from the data processing unit 12 and the data collection unit 11, and sends the obtained data to the data processing unit 12 or the data collection unit 11 for performing the sub-processing on the data.

[0036] The storage unit 15 stores flow setting information and data definition information which is definition information of the above-mentioned data exchanged between the execution control unit 14 and the data processing unit 12 .

[0037] The data collection unit 11 collects data output from the device 4 and sends the collected data to the execution control unit 14 .

[0038] The data collection unit 11 and the instrument 4 are connected to each other via a communication path 17 so as to be communicable. The communication path 17 is an industrial control network implemented by a communication line installed in the factory. However, the communication path 17 may also be an information network represented by a LAN (Local Area Network). In addition, the communication path 17 may also be a dedicated line or a wide area network represented by the Internet.

[0039] The instrument 4 is a FA instrument such as a sensor, an assembly robot, a driving instrument, or a PLC (Programmable Logic Controller) that controls the controlled instrument such as the sensor and the assembly robot. The data processing device 1 sends information requesting various data and control information to the instrument 4. The instrument 4 sends the requested data to the data processing device 1 in response to the request of the data processing device 1, or sends various information such as the measurement data of the sensor to the data processing device 1 at the set timing.

[0040] In addition, the data collection unit 11 outputs output information. The output information is information related to the execution result of the data processing flow. For example, the control command sent from the execution control unit 14 is sent as output information to the instrument 4 as the control object. In addition, the output information is not limited to the control command, and can also be a notification for reporting the occurrence of an abnormality, or it can be quality management information for storage in an external server device.

[0041] The data processing unit 12 is composed of applications, and the data processing device 1 is formed by stacking the applications on a common platform 16 .

[0042] The data processing device 1 implements a series of real-time data processing, that is, collects data from the production site, and based on the results of data processing such as processing, analysis, and diagnosis, feeds back data such as stop instructions to instruments at the production site.

[0043] The data processing unit 12 is created by a third party, i.e., a supplier. The specifications of the instrument 4 in the production site are different for each production site. Therefore, in the data processing unit 12 that processes the data collected from the instrument 4 and feeds back the feedback data corresponding to the instrument 4, it is also necessary to form a data processing unit 12 corresponding to each production site. In this case, in order to enable the data processing unit 12 to flexibly process in accordance with the collected data, a mechanism that serves as a link between the platform 16 and the data processing unit 12 is required.

[0044] Therefore, an interface is defined between the execution control unit 14 and the data processing unit 12 constituting the platform 16 , and the execution control unit 14 and the data processing unit 12 have a function of exchanging data in accordance with the interface.

[0045] As for the data processing device 1, as its hardware structure, Figure 4 As shown, the processor 21, the main storage unit 22, the auxiliary storage unit 23, the input unit 24, the output unit 25, and the communication unit 26 are provided. The main storage unit 22, the auxiliary storage unit 23, the input unit 24, the output unit 25, and the communication unit 26 are connected to the processor 21 via an internal bus 27.

[0046] The processor 21 includes a CPU (Central Processing Unit) and implements various functions of the data processing device 1 by executing the program P1 stored in the auxiliary storage unit 23 .

[0047] The main storage unit 22 includes a RAM (Random Access Memory). The program P1 is loaded from the auxiliary storage unit 23 into the main storage unit 22. The main storage unit 22 is used as a work area for the processor 21.

[0048] The auxiliary storage unit 23 includes a non-volatile memory represented by an EEPROM (Electrically Erasable Programmable Read-Only Memory) and an HDD (Hard Disk Drive). In addition to the program P1, the auxiliary storage unit 23 also stores various data used by the processor 21. The auxiliary storage unit 23 supplies the data used by the processor 21 to the processor 21 according to the instructions of the processor 21, and stores the data supplied from the processor 21. Figure 4 , one program P1 is representatively shown, but the auxiliary storage unit 23 may store a plurality of programs, and a plurality of programs may be loaded into the main storage unit 22 .

[0049] The input unit 24 includes input devices represented by input keys and a pointing device. The input unit 24 acquires information input by a user of the data processing device 1 and notifies the processor 21 of the acquired information.

[0050] The output unit 25 includes output devices represented by an LCD (Liquid Crystal Display) and a speaker. The output unit 25 presents various information to the user according to the instruction of the processor 21.

[0051] The communication unit 26 includes a network interface circuit for communicating with an external device. The communication unit 26 receives a signal from the outside and outputs data indicated by the signal to the processor 21. In addition, the communication unit 26 transmits a signal indicating data output from the processor 21 to the external device.

[0052] exist Figure 5 2 shows an example of a data processing flow 30 executed by the data processing device 1. The data processing flow 30 includes a series of sub-processes performed on the data collected from the instrument 4.

[0053] Subprocess 311 corresponds to a process in which the data collection unit 11 collects data from the device 4, and subprocess 312 corresponds to a process in which the data processing unit 12 processes data output as a result of subprocess 311. Data processing includes, for example, noise reduction or fraction processing.

[0054] The execution control unit 14 obtains data collected as a result of the sub-process 311 from the data collection unit 11, and sends the obtained data to the data processing unit 12 that executes the sub-process 312. In addition, the execution control unit 14 obtains data output as a result of the sub-process 312 from the data processing unit 12, and sends the obtained data to another data processing unit 12.

[0055] The sub-process 313 corresponds to a process in which the data processing unit 12 diagnoses the data output as a result of the sub-process 312. The diagnosis of the data is, for example, determining a control command for the device 4 and determining whether there is an abnormality.

[0056] The execution control unit 14 transmits data indicating the diagnosis result output as a result of the sub-process 313 to the data collection unit 11 that executes the sub-process 314 .

[0057] The subprocess 314 corresponds to the external output of data indicating the diagnosis result output as a result of the subprocess 313. The output of the diagnosis result includes the transmission of a control command to the device 4. The data collection unit 11 transmits the diagnosis result to the device 4.

[0058] according to Figure 5The data processing flow 30 shown executes a series of processes including sub-processes 311, 312, 313, and 314 each time a measurement result is output from the device 4. Then, for example, the control content for the device 4 is determined and a control command is sent in accordance with a value after noise included in the measurement result is reduced.

[0059] Figure 6 The flow setting information 151 stored in the storage unit 15 is shown as an example. The flow setting information 151 indicates the execution Figure 5 The process setting information 151 is information required for the settings of the data processing flow shown. The process setting information 151 is table data that associates the subprocessing ID (Identifier) ​​for identifying the subprocessing, the name of the subprocessing, the subprocessing corresponding to the previous process of the subprocessing, the subprocessing corresponding to the subsequent process of the subprocessing, the type of data input to the subprocessing, and the type of data output from the subprocessing. Figure 6 In the example, the sub-processing names are recorded as "collection", "processing" and "diagnosis" for convenience, but there are multiple types of "processing", such as averaging and sharpening. Therefore, in reality, the IDs subdivided into these types are used as the names of the sub-processing. The IDs of the sub-processing are also used for the previous processing and the subsequent processing.

[0060] In addition, the process setting information 151 may also include Figure 6 For example, the process setting information 151 may also include parameters that define the content of the sub-processing. The parameters include, for example, a threshold for fraction processing, an identifier of a device to which data is collected, a cycle for collecting data, and an identifier of a device to which a control command is sent.

[0061] like Figure 7 As shown, the data processing unit 12 and the execution control unit 14 have an interface unit 50 on the data processing unit 12 side and an interface unit 40 on the execution control unit 14 side as interfaces for exchanging data with each other.

[0062] The interface unit 40 on the execution control unit 14 side includes: a distribution data definition notification unit 41, which notifies the definition information of the distribution data in accordance with the interface; a distribution data sending unit 42, which distributes data; an action status notification unit 43, which notifies the action status of the execution control unit 14; an action status receiving unit 44, which receives the notification of the action status of the data processing unit 12; a response data receiving unit 45, which receives the response data from the data processing unit 12; and a response data definition receiving unit 46, which receives the definition information of the response data from the data processing unit 12.

[0063] In addition, the interface unit 50 on the data processing unit 12 side includes: a distribution data definition receiving unit 51 that receives distribution data definition information from the distribution data definition notifying unit 41; a distribution data receiving unit 52 that receives distribution data from the distribution data sending unit 42; an operation state receiving unit 53 that receives notification of the operation state of the execution control unit 14; an operation state notifying unit 54 that notifies the operation state of the data processing unit 12; a response data sending unit 55 that sends response data to the response data receiving unit 45; and a response data definition notifying unit 56 that sends definition information of the response data to the response data definition receiving unit 46. The interface unit 50 is an example of the first interface unit of the claims, and the interface unit 40 is an example of the second interface unit of the claims. The operation state notifying unit 54 is an example of the first operation state notifying unit of the claims, and the operation state receiving unit 44 is an example of the first operation state receiving unit of the claims. The operation state notifying unit 43 is an example of the second operation state notifying unit of the claims, and the operation state receiving unit 53 is an example of the second operation state receiving unit of the claims.

[0064] The distribution data is sent from the execution control unit 14 to the data processing unit 12 before the data processing is performed in the data processing unit 12. The distribution data is sent from the execution control unit 14 via the distribution data sending unit 42. The sent distribution data is received by the data processing unit 12 via the distribution data receiving unit 52.

[0065] The distribution data definition information is information indicating the format of the distribution data, and includes, for example, the category of data (data type), data name, data volume, data arrangement, presence or absence of padding data, presence or absence of encryption and the method of encryption, data transmission interval, and data transmission unit (e.g., file format, etc.). When the information related to encryption is encrypted, it may include information on the encryption method together with the encrypted information, or it may include only information on the encryption method. In addition, when it is not encrypted, it may include non-encrypted information, or it may not include the encryption-related information itself. The above information is an example, and the distribution data definition information does not need to include all of the above information.

[0066] The response data is data after the data processing of the data processing unit 12 is executed and sent from the data processing unit 12 to the execution control unit 14. The response data is sent from the data processing unit 12 via the response data sending unit 55. The sent response data is received by the execution control unit 14 via the response data receiving unit 45.

[0067] The response data definition information is information indicating the format of the response data, and includes, for example, the type of data (data type), data name, data volume, data arrangement, presence or absence of padding data, presence or absence of encryption and the encryption method, data transmission interval, and data transmission unit (e.g., file format, etc.). When the information related to encryption is encrypted, it may include information on the encryption method together with the encrypted information, or it may include only information on the encryption method. In addition, when it is not encrypted, it may include non-encrypted information, or it may not include the encryption-related information itself. The above information is an example, and the response data definition information does not need to include all of the above information.

[0068] The distribution data definition information and the response data definition information are data definition information stored in the aforementioned storage unit 15 .

[0069] The action status is information indicating the action status (in action / stopped, etc.) of the data processing unit 12 and the execution control unit 14. After receiving this information, the data processing unit 12 and the execution control unit 14 can determine whether the distribution data and response data can be sent and the sending timing.

[0070] exist Figure 8 2 shows the operation process of data transmission and reception of the execution control unit 14. When the data processing specified in the data processing flow is started by an operation such as powering on the system, first, the execution control unit 14 changes its own operation state to operating (step S101).

[0071] Next, the setting information of the data processing flow is read out, and the data processing unit 12 described in the setting information is specified (step S102).

[0072] The definition information of the distribution data read out from the storage unit 15 is sent to the specified data processing unit 12 via the distribution data definition notification unit 41 (step S103).

[0073] Next, the response data definition information received from the identified data processing unit 12 is received by the response data definition notification unit 56 of the data processing unit 12 (step S104). When there are multiple identified data processing units 12, the distribution data definition information is sent and the response data definition information is received between each data processing unit 12. Figure 8 Although omitted in the flowchart, when there are multiple data processing units 12 determined, the processing of step S103 and step S104 is repeated according to the number of data processing units 12 determined.

[0074] When the transmission of the distribution data definition information and the reception of the response data definition information are completed, the execution control unit 14 initializes the response data reception process according to the definition information (step S105).

[0075] If the initialization is completed, it is confirmed whether the determined operation state of the data processing unit 12 is in operation (step S106). Whether the data processing unit 12 is in operation is determined by the operation state notification unit 54 of the data processing unit 12 received by the operation state receiving unit 44 of the execution control unit 14.

[0076] The operation status notification unit 54 of the data processing unit 12 sends a notification of the operation status at a fixed time unit. Figure 8 The execution control unit 14 determines the action state in accordance with the latest action state notification received by the action state receiving unit 44. However, when the data processing unit 12 is in an error state, sometimes the action state notification unit 54 does not send the action state notification in fixed time units. At this time, if the execution control unit 14 determines the action state in accordance with the latest action state notification received by the action state receiving unit 44, the determination is based on the action state before the error occurs. Therefore, in fact, even though the data processing unit 12 is stopped due to an error, the execution control unit 14 sometimes mistakenly determines that the data processing unit 12 is in action.

[0077] In order to avoid such an error in judgment, it may be judged as an error when the notification of the operation status is not sent for a certain period of time (for example, 30 seconds) or more.

[0078] In this case, if it is not greater than or equal to the certain time, it is not judged as an error, so the sending side of the notification of the operation status can also make the sending interval of the notification of the operation status variable within the range of the certain time according to the processing load. For example, when the processing load is large, the sending interval of the notification of the operation status is extended to be close to the certain time.

[0079] When the data processing unit 12 is not in operation, that is, in the stopped state (step S106: No), the processing of step S106 is repeated until the data processing unit 12 is in operation. While the operation state of the data processing unit 12 is stopped, the execution control unit 14 accumulates the distribution data in the storage unit in the execution control unit 14. If the operation state of the data processing unit 12 is in operation (step S106: Yes), the accumulated distribution data is sent to the data processing unit 12 (step S107).

[0080] The data processing unit 12 that receives the distribution data from the execution control unit 14 performs data processing based on the distribution data, and sends the data of the processing result back to the execution control unit 14 as response data. If the execution control unit 14 receives the response data from the data processing unit 12 (step S108), it will then determine whether the data processing flow has been stopped by a user operation (step S109). The user operation is, for example, the execution determined by the ON / OFF of the trigger switch set in the data processing device 1, the execution of the ON / OFF from the engineering tool 13, etc. In the case where the data processing flow is not stopped by the user operation (step S109: No), the process returns to step S106. Thereafter, as long as the data processing flow is not stopped by the user operation, the processing of sending the distribution data and receiving the response data is repeated. Here, the distribution data sending process and the response data receiving process are not limited to be executed in this order. For example, in the case where the distribution preparation of the next distribution data is completed before the response data receiving process, the next distribution data sending process is executed before the response data receiving process.

[0081] When the data processing flow is stopped by a user operation or the like (step S109: Yes), the repetition of the processing of sending distribution data and receiving response data is terminated, and the operation state is changed to stop (step S110), and the operation is terminated.

[0082] also, Figure 8 The actions recorded in the flowchart involve the transmission and reception of data between the execution control unit 14 and one data processing unit 12, but multiple data processing can be set according to the data processing flow. When more than or equal to two data processing are set, the steps other than step S101, step S102, and step S110 are implemented separately according to the number of data processing units 12.

[0083] exist Fig. 9The data transmission and reception operation processing of the data processing unit 12 is shown in FIG. If the data processing unit 12 is started by executing an execution file, operating from the start menu, etc., first, the data processing unit 12 changes its own operation state to in operation (step S201). Next, the definition information of the response data is sent from the response data definition notification unit 56 to the response data definition receiving unit 46 of the execution control unit 14 in accordance with the setting of the data processing unit 12 (step S202). Next, the distribution data definition receiving unit 51 receives the distribution data definition information from the distribution data definition notification unit 41 of the execution control unit 14 (step S203). The data processing unit 12 initializes the distribution data receiving processing in accordance with the distribution data definition information (step S204). If the initialization is completed, it is confirmed whether the operation state of the execution control unit 14 is in operation (step S205). Whether the execution control unit 14 is in operation is judged by the operation state received by the operation state receiving unit 53 of the data processing unit 12 from the operation state notification unit 43 of the execution control unit 14.

[0084] The operation status notification unit 43 of the execution control unit 14 sends a notification of the operation status in units of fixed time, similarly to the operation status notification unit 54 of the data processing unit 12. Fig. 9 The data processing unit 12 judges the action status in accordance with the latest action status notification received by the action status receiving unit 53. However, when the execution control unit 14 is in an error state, sometimes the action status notification is not sent from the action status notification unit 43 in units of fixed time. At this time, if the data processing unit 12 judges the action status in accordance with the latest action status notification received by the action status receiving unit 53, the judgment is based on the action status before the error occurs. Therefore, in fact, although the execution control unit 14 is stopped due to an error, the data processing unit 12 sometimes mistakenly judges that the execution control unit 14 is in action.

[0085] In order to avoid such an error in judgment, it may be judged as an error when the notification of the operation status is not sent for a certain period of time (for example, 30 seconds) or more.

[0086] Accordingly, the transmission side of the operation status notification may change the transmission interval of the operation status notification according to the processing load.

[0087] When the execution control unit 14 is not in operation, that is, is stopped (step S205 : No), the process of step S205 is repeated and the process waits until the execution control unit 14 is in operation.

[0088] If the execution control unit 14 is in operation (step S205: Yes), the distribution data receiving unit 52 of the data processing unit 12 starts receiving the distribution data from the distribution data sending unit 42 of the execution control unit 14 (step S206). The data processing unit 12 that has received the distribution data from the execution control unit 14 performs data processing based on the distribution data (step S207). If the data processing is performed, the data of the processing result is sent from the response data sending unit 55 to the response data receiving unit 45 of the execution control unit 14 as response data (step S208). Next, it is determined whether the data processing unit 12 has been stopped by a user operation (step S209). The user operation is, for example, the execution determined by the ON / OFF of the trigger switch provided in the data processing device 1, the execution of the ON / OFF from the engineering design tool 13, etc. If the data processing unit 12 has not been stopped by a user operation (step S209: No), the process returns to step S205. Thereafter, as long as the data processing flow is not stopped by a user operation, the processing of receiving the distribution data, processing the data, and sending the response data is repeated. Here, the distribution data receiving process and the response data sending process are not limited to be executed in this order. For example, if the reception preparation of the next distribution data is completed before the response data sending process, the next distribution data receiving process is executed before the response data sending process.

[0089] When the data processing unit 12 is stopped by a user operation or the like (step S209: Yes), the repetition of the processing of receiving distribution data and sending response data is terminated, and the operation state is changed to stop (step S210), and the processing is completed.

[0090] In addition, the content of the definition information of the distribution data and the content of the definition information of the response data are basically unrelated to each other. However, it is also conceivable that the definition information of the response data changes according to the content of the definition information of the distribution data. In this case, the order of step S202 and step S203 is reversed.

[0091] That is, if the action state of the data processing is changed to "in action", the distribution data definition receiving unit 51 of the data processing unit 12 receives the distribution data definition information from the execution control unit 14. The data processing unit 12 creates the response data definition information according to the received distribution data definition information. The response data definition notification unit 56 of the data processing unit 12 sends the created response data definition information to the response data definition receiving unit 46 of the execution control unit 14. Then, the process of step S204 and thereafter is performed.

[0092] In this system, if Fig.10 As shown, data exchange between the data processing unit 12 and the execution control unit 14 may be performed via a data distribution server instead of directly performing the exchange.

[0093] The data distribution server may be, for example, an MQTT (Message Queuing Telemetry Transport) agent 60 .

[0094] MQTT is a lightweight communication protocol that runs on TCP / IP (Transmission Control Protocol / Internet Protocol) and forwards publish / subscribe type messages.

[0095] In the MQTT communication protocol, the device that sends MQTT messages is called a publisher, and the device that receives MQTT messages is called a subscriber. The sending and receiving of MQTT messages between the publisher and the subscriber is relayed by a data distribution server called an MQTT agent 60. The publisher sends an MQTT message to the MQTT agent 60 without knowing what kind of device the subscriber receiving the MQTT message is. The MQTT agent 60 receives and accumulates the MQTT messages from the publisher, and distributes the MQTT messages required by the subscriber.

[0096] Information called a topic for distinguishing the destination of a message is used in the mediation of message transmission and reception.

[0097] The subscriber specifies a topic and subscribes to messages that have the specified topic as the destination.

[0098] When a publisher specifies a topic and sends a message, the MQTT agent 60 distributes the message to subscribers corresponding to the specified topic.

[0099] In this system, distribution data definition information, distribution data, the operation status of the data processing unit 12, the operation status of the execution control unit 14, response data, and response data definition information are each a subject.

[0100] The distribution data definition receiving unit 51 of the data processing unit 12 which is a subscriber specifies the subject of the distribution data definition information, and subscribes to the message to which the specified subject is sent.

[0101] The distribution data receiving unit 52 of the data processing unit 12 specifies the subject of the distribution data, and subscribes to the message to which the specified subject is sent.

[0102] The operation status receiving unit 53 of the data processing unit 12 specifies the topic of the operation status of the execution control unit 14 and subscribes to the message to which the specified topic is sent.

[0103] The operation status receiving unit 44 of the execution control unit 14 specifies the topic of the operation status of the data processing unit 12 and subscribes to the message to which the specified topic is sent.

[0104] The response data receiving unit 45 of the execution control unit 14 specifies the subject of the response data, and subscribes to a message to which the specified subject is to be sent.

[0105] The response data definition receiving unit 46 of the execution control unit 14 specifies the subject of the response data definition information, and subscribes to the message to which the specified subject is sent.

[0106] Furthermore, the distribution data definition notification unit 41 of the execution control unit 14 as a publisher specifies the subject of the distribution data definition information and distributes the message.

[0107] The distribution data transmission unit 42 of the execution control unit 14 specifies the subject of the distribution data and publishes the message.

[0108] The operation status notification unit 54 of the data processing unit 12 specifies the subject of the operation status of the data processing unit 12 and publishes a message.

[0109] The operation status notification unit 43 of the execution control unit 14 publishes data to the topic of the operation status of the execution control unit 14 .

[0110] The response data transmission unit 55 of the data processing unit 12 specifies the subject of the response data and publishes the message.

[0111] The response data definition notification unit 56 of the data processing unit 12 specifies the subject of the response data definition information and publishes the message.

[0112] The execution control unit 14 converts the distribution data definition information, distribution data, and the operation state of the execution control unit 14 into data compatible with the communication protocol of MQTT, and then transmits the data to the MQTT proxy 60 via the network.

[0113] The MQTT agent 60 receives data from the execution control unit 14 , and transmits the received data to the data processing unit 12 via the network.

[0114] At this time, the execution control unit 14 is a publisher, the data processing unit 12 is a subscriber, and the MQTT agent 60 relays the MQTT message from the execution control unit 14 to the data processing unit 12 .

[0115] Furthermore, after the data processing unit 12 converts the response data definition information, the response data, and the operation state of the data processing unit 12 into data compatible with the communication protocol of MQTT, the data processing unit 12 transmits the data to the MQTT proxy 60 via the network.

[0116] The MQTT server receives data from the data processing unit 12 , and transmits the received data to the execution control unit 14 via the network.

[0117] At this time, the data processing unit 12 is a publisher, the execution control unit 14 is a subscriber, and the MQTT agent 60 relays the MQTT message from the data processing unit 12 to the execution control unit 14 .

[0118] In the above-described embodiment, the functions of the data processing device 1 can be realized by dedicated hardware, or can be realized by a general computer system.

[0119] For example, the program P1 executed by the processor 21 is distributed by storing it in a non-temporary recording medium readable by a computer, and the program P1 is installed in a computer, thereby forming a device that executes the above-mentioned processing. As such a recording medium, for example, a floppy disk, a CD-ROM (Compact Disc Read-Only Memory), a DVD (Digital Versatile Disc), and an MO (Magneto-Optical Disc) are conceivable.

[0120] Alternatively, the program P1 may be stored in advance in a disk device of a server device on a communication network such as the Internet, for example, superimposed on a carrier wave, and downloaded to a computer.

[0121] Furthermore, the above-described processing can also be realized by starting execution while transferring the program P1 via a communication network.

[0122] Furthermore, the above-described processing can also be realized by executing all or part of the program P1 on a server device, and by causing the computer to transmit and receive information related to the processing via a communication network and execute the program.

[0123] Furthermore, when the above functions are realized by sharing the responsibility of the OS (Operating System) or by cooperation between the OS and the application, only the portion other than the OS may be stored in a medium and distributed, or may be downloaded to a computer.

[0124] Furthermore, the method of realizing the functions of the data processing device 1 is not limited to software, and a part or all of the functions may be realized by dedicated hardware including circuits.

[0125] The present invention can be set to various embodiments and variations without departing from the broad spirit and scope of the present invention. In addition, the above-mentioned embodiments are used to illustrate the present invention and are not intended to limit the scope of the present invention. That is, the scope of the present invention is not represented by the embodiments, but by the claims. Moreover, various variations implemented within the scope of the claims and within the scope of the inventive meaning equivalent thereto are considered to fall within the scope of the present invention.

[0126] Industrial Applicability

[0127] The present invention can be widely applied to data processing devices that perform data processing such as processing and diagnosis on collected data.

[0128] Description of the label

[0129] 100 data processing system, 1 data processing device, 2 field system, 3 cloud server, 4 instrument, 11 data collection unit, 12 data processing unit, 13 engineering design tool, 131 UI unit, 132 receiving unit, 14 execution control unit, 15 storage unit, 16 platform, 17 communication path, 21 processor, 22 main storage unit, 23 auxiliary storage unit, 24 input unit, 25 output unit, 26 communication unit, 27 internal bus, 30 data processing flow, 311, 312, 313, 314 sub-processing, 151 process setting information, 40, 50 interface unit, 41 distribution data definition notification unit, 42 distribution data sending unit, 43, 54 action status notification unit, 44, 53 action status receiving unit, 45 response data receiving unit, 46 response data definition receiving unit, 51 distribution data definition receiving unit, 52 distribution data receiving unit, 55 response data sending unit, 56 response data definition notification unit, 60 MQTT agent, P1 program.

Claims

1. A data processing device, comprising: A data collection unit, which collects data from instruments; A plurality of data processing units, each of which performs a predetermined data processing; an execution control unit that controls the transmission and reception of data between the data collection unit and the plurality of data processing units and between the plurality of data processing units based on setting information of a preset data processing flow; A first interface unit, which is provided in the data processing unit; as well as a second interface unit, which is provided in the execution control unit, The first interface portion comprises: a distribution data receiving unit for receiving distribution data, which is data sent from the execution control unit before data processing is performed in the data processing unit, based on the setting information of the data processing flow; a distribution data definition receiving unit for receiving information indicating a format of the distribution data, that is, definition information of the distribution data; a response data sending unit that sends, to the execution control unit, data after the data processing performed by the data processing unit, namely, response data; a response data definition notification unit that transmits information indicating a format of the response data, that is, definition information of the response data; as well as a first operation status notification unit that sends information indicating the operation status of the data processing unit to the execution control unit, The second interface portion comprises: a distribution data sending unit, which sends the distribution data; a distribution data definition notification unit that sends definition information of the distribution data; a response data receiving unit, which receives the response data; a response data definition receiving unit, which receives definition information of the response data; and a first operation status receiving unit for receiving information indicating the operation status transmitted by the data processing unit, When the first action status receiving unit does not receive the information indicating that the action status of the data processing unit is in action again after receiving the information indicating that the action status of the data processing unit is in action from the first action status notifying unit for a period of time greater than or equal to a specified time, it is determined that an error has occurred in the data processing unit.

2. A data processing device, comprising: A data collection unit, which collects data from instruments; A plurality of data processing units, each of which performs a predetermined data processing; an execution control unit that controls the transmission and reception of data between the data collection unit and the plurality of data processing units and between the plurality of data processing units based on setting information of a preset data processing flow; A first interface unit, which is provided in the data processing unit; as well as a second interface unit, which is provided in the execution control unit, The first interface portion comprises: a distribution data receiving unit for receiving distribution data, which is data sent from the execution control unit before data processing is performed in the data processing unit, based on the setting information of the data processing flow; a distribution data definition receiving unit for receiving information indicating a format of the distribution data, that is, definition information of the distribution data; a response data sending unit that sends, to the execution control unit, data after the data processing performed by the data processing unit, namely, response data; a response data definition notification unit that transmits information indicating a format of the response data, that is, definition information of the response data; and a second operation status receiving unit for receiving information indicating the operation status transmitted by the execution control unit, The second interface portion comprises: a distribution data sending unit, which sends the distribution data; a distribution data definition notification unit that sends definition information of the distribution data; a response data receiving unit, which receives the response data; a response data definition receiving unit, which receives definition information of the response data; and a second operation status notification unit that transmits information indicating the operation status of the execution control unit to the data processing unit, When the second action status receiving unit does not receive the information indicating that the action status of the execution control unit is in action again after receiving the information indicating that the action status of the execution control unit is in action from the second action status notifying unit for a period of time greater than or equal to a specified time, it is determined that an error has occurred in the execution control unit.

3. The data processing device according to claim 1 or 2, wherein: The definition information of the distribution data and the response data includes information on the type of data and the amount of data.

4. The data processing device according to claim 1 or 2, wherein: The definition information of the distribution data and the response data includes information on the arrangement of data.

5. The data processing device according to claim 1 or 2, wherein: The definition information of the distribution data and the response data includes information on the encryption method when the data is encrypted.

6. The data processing device according to claim 1 or 2, wherein: The data collection unit collects data from FA instruments. The data processing unit is implemented by plug-in software, and the plug-in software performs data processing to process or diagnose the collected data or the data processed by other data processing units.

7. A data processing method comprising the following steps: Read out the setting information of the data processing flow; Sending distribution data definition information to the data processing unit determined by the setting information of the data processing flow, the distribution data definition information is information indicating the format of the distribution data before data processing is performed in the data processing unit; receiving definition information of response data from the data processing unit, the definition information of response data being information indicating a format of data after data processing performed by the data processing unit, that is, response data; confirming the operating state of the data processing unit by sending and receiving information indicating the operating state of the data processing unit; sending the distribution data to the data processing unit; as well as initializing a response data receiving process according to definition information of the response data, receiving the response data from the data processing unit, If the information indicating that the operation status of the data processing unit is in operation is not received again after a predetermined time period or more has passed since the information indicating that the operation status of the data processing unit is in operation was received, it is determined that an error has occurred in the data processing unit.

8. A non-transitory recording medium having a program recorded thereon, the program causing a computer to execute the following steps: Read out the setting information of the data processing flow; Sending distribution data definition information to the data processing unit determined by the setting information of the data processing flow, the distribution data definition information is information indicating the format of the distribution data before data processing is performed in the data processing unit; receiving definition information of response data from the data processing unit, the definition information of response data being information indicating a format of data after data processing performed by the data processing unit, that is, response data; confirming the operating state of the data processing unit by sending and receiving information indicating the operating state of the data processing unit; sending the distribution data to the data processing unit; as well as initializing a response data receiving process according to definition information of the response data, receiving the response data from the data processing unit, If the information indicating that the operation status of the data processing unit is in operation is not received again after a predetermined time period or more has passed since the information indicating that the operation status of the data processing unit is in operation was received, it is determined that an error has occurred in the data processing unit.