Method for enabling efficient data processing in distributed network of devices
By analyzing data characteristics and determining processing strategies in client devices, distinguishing data types, and optimizing data transmission and processing, the problems of equipment communication failures and heterogeneous data types in the industrial process are solved, achieving real-time data availability and efficient processing, and reducing eliminates cost and model management overhead.
Patent Information
- Application Number
- CN202410262005.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-09
- Filing Date
- 2024-03-07
- Publication Date
- 2024-09-10
AI Technical Summary
In industrial processes, device communication failures in distributed device networks cause data availability to be affected, and due to heterogeneous data types generated by different devices, data processing costs are high and machine learning model management overhead is large, making it difficult to implement effective data processing strategies. .
By collecting and analyzing data characteristic information in client devices, determine data processing strategies, decide how to process and transmit data before and after failure recovery, including grouping, compression and selective storage, distinguish hot data, warm data and cold data, and optimize data Transmission and processing to reduce the number of machine learning models.
It achieves real-time data availability and accuracy during communication failures, reduces data processing costs, improves data quality and network efficiency, adapts to different application needs, and simplifies machine learning model management.
Smart Images

Figure CN118626247A
Abstract
Description
Field of the Invention
[0001] The present invention relates to a method for implementing efficient data processing in a distributed network of devices. Background Art
[0002] As industrial process automation across various industries such as energy, mining, manufacturing, utilities, etc. moves towards Industry 4.0 to optimize production processes and production cycles, in-depth understanding of relevant process and equipment conditions becomes crucial.
[0003] Industrial production processes are built up of various devices that are interconnected to exchange different types and amounts of data. US113 235 44B2 or US2022 / 023 195 2A1 describe examples of how data is exchanged in a device network in the prior art.
[0004] The large amount of data from a large number of field or factory devices in industrial processes makes it necessary to deploy a hierarchical structure of so-called edge devices to main devices to effectively process the data for real-time analysis without violating data security constraints. However, when the communication between devices in a distributed device network for industrial processes is interrupted due to a fault, the data availability in such industrial processes may be severely affected. As long as the fault exists, the various devices in such a network will generate a large amount of backlog data that needs to be processed after the fault recovery. Therefore, it is necessary to implement an effective strategy for how to handle large amounts of data when a fault occurs in a network of devices for industrial processes.
[0005] Another challenge in industrial processes is that there are often many different or heterogeneous data types, generated by different devices, that need to be processed by each device in such a network that participates in the industrial process. In particular, when data processing is based on machine learning modeling, the number of machine models to be managed in each device can increase significantly. Since each machine model needs to be trained, evaluated, deployed, and monitored, the cost of data processing can easily increase, generating high model management overhead.
[0006] There is a need to address these issues. Summary of the invention
[0007] It would therefore be advantageous to provide improved concepts for enabling efficient data processing in a distributed network of devices, particularly in the case of a large data transfer backlog.
[0008] Data processing in the context of the present invention may be applicable to efficient data exchange in a network of distributed devices, or to implementing strategies on how to react efficiently in certain situations (eg data loss) during device operation.
[0009] The objects of the invention are solved by the subject-matter of the independent claims, wherein further embodiments are contained in the dependent claims.
[0010] In a first aspect of the present invention, there is provided a method for implementing efficient data processing in a distributed network of devices, comprising the following steps:
[0011] - collecting, from at least one client device, first data sent by at least one factory device via a first communication interface;
[0012] - storing the first data in a data storage device of at least one client device;
[0013] - analyzing (profiling) the first data to obtain characteristic information of the collected first data;
[0014] -determining a data processing strategy based on the result of the characteristic information of the first data;
[0015] - Process the first data according to the data processing strategy and decide which data of the first data needs to be sent to the master device via the second communication interface.
[0016] In other words, the core idea behind the present invention is to characterize the data received from at least one client device sent by a factory device and first determine the data strategy, that is, how the data is processed based on the data characteristics before the data is transmitted to another device in the network of distributed devices (e.g., at least one master device, another or second client device, the cloud).
[0017] To this end, a distributed network or system or platform includes many client devices, which are connected to other client devices and at least one master device, for example, in a hierarchical manner. The master devices or higher edge devices typically execute data-intensive data processing programs, such as machine learning. At least one client device or lower edge device typically collects data from factory equipment that senses various types of data (e.g., temperature data, speed data). Strategies related to data types can be embodied in the form of files, which determine which data is sent and in what manner. In this way, the present invention provides a variety of data transmission strategies based on different types of data requirements or based on changing requirements in the network or application.
[0018] A data processing strategy in the context of the present invention may mean processing the first data using grouping, compression, or selecting a type and / or selecting at least one of a certain amount of stored first data in a data storage device of a device (e.g., client, host, cloud) before sending it to a host device.
[0019] At the client device or lower edge device, data is qualified based on its availability to other devices in the network and classified as hot, warm, cold or cloud data.
[0020] Hot data or real-time data means that the latest data must be provided as quickly as possible when the edge or network infrastructure connection recovers from a failure.
[0021] Applications require real-time telemetry data that is not processed during training or operation. Examples can be data with high volatility, data for real-time monitoring, prediction, and action. Hot data is data with extremely high data availability requirements.
[0022] Warm data means the latest data that the application needs after the connection is restored, but with low or medium priority. The application does not need new data, or the data is not generated very frequently. Data collected after a long interval is sufficient. Warm data can be used for complex measurements such as misalignment, time-frequency domain conversion, resonance analysis, narrowband envelope analysis, etc. Warm data can be used to retrain machine learning models. Typical applications can be periodic health monitoring or prediction.
[0023] Cold data or offline data means there is no need to obtain the latest data in the near future. Applications need a mix of warm and historical data to build robust machine learning models from scratch or to perform regular retraining if the model performance is not satisfactory.
[0024] Depending on the type of data, data is sent and / or stored in at least one client device or any other storage device connected to the device. The sending of data is subject to some decisions regarding data loss (meaning how to handle lost data), data compression (meaning whether data needs to be compressed and in what way). In this way, in the presence of large amounts of data and different types of data, efficient data processing can be easily applied and adapted to the changing needs in an application or network. Another advantage is that in such a network, data processing including data transmission can be easily prioritized.
[0025] Another advantage of the present invention is that queue-based data clustering can be performed in an efficient manner to reduce the number of machine learning models in the devices of the network.
[0026] Another advantage of the present invention is that data availability in the network can be efficiently handled in the event of a failure and subsequent recovery because both data speed and data accuracy are considered in achieving real-time availability of the latest data, especially when bandwidth is insufficient.
[0027] Another advantage of the present invention is that if the analytical application can accommodate processed or aggregated data, the solution provides flexible aggregation logic to send the aggregated data instead of raw data to the query device in the network. This approach can quickly provide the latest hot data when a large amount of telemetry data is backlogged in the client device due to communication failures. If the application requires hot raw data, the solution uses, for example, automatic encoding to quickly transmit the latest data collected from the client device to the master device (or cloud).
[0028] Another advantage of the present invention is that it is easy to manage machine learning (ML) models, reducing the data diversity in the network. The method of the present invention performs queueing of data, which in turn reduces the number of models. The method queues the data using a predefined asset taxonomy.
[0029] Another advantage of the present invention is that the data quality is improved. By using flexible decoding, the data can be executed anywhere, such as the main device or the cloud when encoded using the autoencoder. Decoding can also detect anomalies in the data if decoding fails.
[0030] According to the example, the characteristic information of the first data includes at least one of data type, statistical information, data distribution attribute, static or dynamic data, wherein the advantage of better using the data type-related strategy for processing the first data for the existing data type is achieved, resulting in a more efficient data processing process.
[0031] According to an example, at least one type of the first data is at least one of raw data, hot data, warm data or cold data, which indicates the relevance of the first data to be sent from the at least one client device to the master device. Therein, the advantages of efficient data processing in the network are achieved. In addition, more detailed data processing strategies can also be implemented.
[0032] According to an example, the first data is time series data. An advantage achieved is that time series data or telemetry data is processed in an efficient manner as it is generated in various process industries (e.g. chemical, pulp and paper, cement, water supply networks, power plants, food and beverage processing, oil and gas industry, etc.).
[0033] According to an example, the data processing strategy is at least one of data aggregation, data compression, data selection, data resampling, data interpolation, data enhancement or raw data processing. Wherein, the advantage that the data processing strategy can be applied to different needs and changing needs in the network is achieved.
[0034] According to an example, the step of determining a data processing strategy includes the step of determining an aggregation parameter of the first data, the aggregation parameter of the first data affecting a strategy in at least one client device about how the first data needs to be aggregated. Therein, the advantages of more efficient data processing in the network are achieved. It should be noted that in the case of a communication failure until the communication failure is restored, the aggregation parameter can be a certain amount of accumulated backlog and unsent first data sent by at least one client device to the master device.
[0035] According to an example, when deciding to aggregate first data according to an aggregation parameter, performing data aggregation of at least a portion of the first data to obtain second data based on a data processing strategy for the first data, wherein the data aggregation further includes the step of determining a transmission format corresponding to a data type of the second data so as to decide which of the second data needs to be sent by at least one client device to a master device. Wherein, the advantage of more efficient data processing in the network is achieved.
[0036] For example, the transmission format of the first data may be packetized, aggregated, compressed, uncompressed, raw data, etc.
[0037] According to an example, the transmission format in data aggregation is based on at least one aggregation rule, which has been determined in advance by the master device and provided to at least one client device. In this way, the advantages of the data aggregation method can be easily and efficiently provided to multiple client devices to save data transmission costs.
[0038] The advantages of a distributed network being established between a master device and at least one client device in a hierarchical manner or in a point-to-point manner are realized. In this way, the advantages of efficient data processing according to the needs of the network can be easily realized.
[0039] In a second aspect of the present invention, there is provided a computer comprising a processor, the processor being configured to execute the method of the preceding aspect.
[0040] In a third aspect of the present invention, there is provided a computer program product comprising instructions which, when executed by a processor of a computer, cause the computer to perform the method of any one of the first and second aspects.
[0041] In a fourth aspect of the invention, there is provided a machine readable data medium and / or a download product comprising the computer program of the third aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Exemplary embodiments will be described below with reference to the following drawings:
[0043] Figure 1 A schematic flow chart of the method of the present invention is illustrated;
[0044] Figure 2 A schematic example of a network of distributed devices exchanging data according to the method of the present invention is illustrated; and
[0045] Figure 3 A schematic flow chart of data processing between a host device and a client device according to an embodiment of the present invention is illustrated. DETAILED DESCRIPTION
[0046] Figure 1 A schematic flow chart of a method 100 of the present invention is illustrated.
[0047] In a first step 102 , first data 12 sent by at least one factory device 40 via a first communication interface 51 are collected from at least one client device 20 .
[0048] In a second step 104 , the first data 12 are stored in the data storage means 60 of the at least one client device 20 .
[0049] In a third step 106 , the first data 12 is analyzed to obtain characteristic information of the collected first data 12 .
[0050] In the fourth step 108, a data processing strategy is determined according to the result of the characteristic information of the first data 12. The characteristic information of the first data 12 includes at least one of data type, statistical information, data distribution attribute, static or dynamic data.
[0051] It should also be noted that the transmission format in data aggregation is based on at least one aggregation rule that has been determined in advance by the master device 30 and provided to the at least one client device 20 .
[0052] In a fifth step 110, the first data 12 is processed according to a data processing strategy and it is determined which data of the first data 12 needs to be sent to the host device 30 via the second communication interface 52. The data processing strategy is at least one of data aggregation, data compression, data selection, data resampling, data interpolation, data enhancement or data raw data processing.
[0053] At least one type of first data 12 is at least one of raw data, hot data, warm data, or cold data indicating relevance of first data 12 sent from client device 20 to host device 30. In addition, first data 12 may be time series data or telemetry data.
[0054] Optionally, the step of determining 108 a data processing policy comprises the step of determining 112 an aggregation parameter 15 of the first data 12 , the aggregation parameter 15 of the first data 12 influencing a policy in the at least one client device 20 regarding how the first data 12 needs to be aggregated.
[0055] Optionally, when deciding to aggregate the first data 12 according to the aggregation parameter 15, performing 114 data aggregation of at least a portion of the first data 12 to obtain second data 14 based on the data processing strategy of the first data 12, wherein the data aggregation further comprises the step of determining a transmission format corresponding to a data type of the second data 14 so as to decide which of the second data 14 needs to be sent by at least one client device 20 to the host device 30. In this context, it should be mentioned that not all data of the first data need to be aggregated.
[0056] Figure 2 A schematic example of a network 70 of distributed devices exchanging data according to the method of the invention is illustrated.
[0057] The distributed network 70 can be established in a hierarchical manner or in a point-to-point manner between the master device 30 and at least one client device 20. The client device 20 is connected to the factory device 40 via the first communication interface 51, and the factory device 40 senses or processes sensed data (e.g., temperature value, speed value) as the first data 12.
[0058] The first data 12 may be stored in the data storage device 60 of the client device 20 for further data processing, such as data analysis to obtain characteristic information of the collected first data or to determine a corresponding data processing strategy.
[0059] The first data 12 is then processed to the host device 30 via the second communication interface 52 according to the determined data processing strategy. For example, one data processing strategy for the first data 12 may be data aggregation of at least a portion of the first data 12 to obtain the second data 14. Data aggregation also includes the step of determining a transmission format corresponding to a data type of the second data 14 in order to decide which of the second data 14 needs to be sent by at least one client device 20 to the host device 30.
[0060] The master device 30 may optionally be connected to an external data center 80, such as a cloud, for exchanging data cases for further processing of the received second data 14. The master device 30 processes the received second data 14, for example by further aggregating or performing data analysis.
[0061] In the present embodiment, determining the adequate data processing policy is implemented in the client device 20. However, the rules for generating the basic data processing policy may also be generated in a global master device and then distributed from the master device to multiple client devices 20 for client device-based adjustment of the received basic data processing policy.
[0062] It should be noted that Figure 2 The data flow in may be a unidirectional flow from the client device 20 to the host device 30. However, the data transmission from the host device 30 to the client device 20 may also be application-dependent.
[0063] In the network 70, the master device 30 may be at a higher layer than the client device. However, the present invention may be applied to multiple client device topologies. Some possible client device topology examples are given below:
[0064] -Hierarchical topology, strict security, less powerful client devices: Client devices can send raw data to the master device, which stores or aggregates the raw data to an external data center, such as the cloud.
[0065] -Hierarchical topology, strict security, powerful client devices can aggregate data and send the aggregated data to the master device, which can then send it to an external data center such as the cloud.
[0066] - Distributed client devices with direct connection to the cloud: A group of client devices can perform aggregations and then send them directly to the cloud.
[0067] Regarding customized data aggregation, the following examples are provided:
[0068] - The system allows window-based aggregation rules with different window sizes.
[0069] -The system allows configurable rules to aggregate data that is not older than a certain period of time.
[0070] - Robust Client Devices: Automatic encoding of data at the client device to reduce data size. Decoding can occur at the master device if the latest, non-aggregated data is needed for calculations.
[0071] - Less powerful client devices: Automatic encoding can happen on the host device. Decoding can happen on the cloud.
[0072] The process of data variation or data clustering for the optimal number of models according to the present invention can be performed in various ways:
[0073] Data from different client devices is queued (or grouped) based on the following:
[0074] i) asset (= equipment) type (using asset classification),
[0075] ii) Similarity of data distribution (from different assets). Clustering can be done i) on client devices, where the master device can coordinate this activity, or ii) on a central location master device based on the business scenario. The purpose of grouping is to obtain data that captures all relevant scenarios (kinds) and enough data for each relevant scenario (volume), which helps train robust ML models and improve model generalization performance.
[0076] iii) For grouping or sharding data from different assets, the statistical difference between the two data sets can be used. For example, relative entropy (Kullback-Leibler (KL) divergence) is a method that can be used to determine the statistical difference between the data from two assets. On top of the statistical difference value, we use clustering algorithms, such as K-means or hierarchical clustering, to group clients based on the data.
[0077] The full functionality of grouping or queuing can be implemented in the "data queuing" module at the master device.
[0078] The master device can learn the uncertainty level from the client devices (one may predict better than another) and use it for aggregation and display it with the results. Client devices can aggregate data differently to provide different quality levels of data to the higher edge. For machine learning applications in the higher edge, this may, for example, mean generating more than one central model, for example, to distinguish different applications, client devices / related assets through the weights it sends to the master device for aggregation.
[0079] Figure 3 A schematic flow chart of data processing between the host device 30 and the client device 20 according to an embodiment of the present invention is illustrated.
[0080] The data acquisition and transmission module of the client device 20 is responsible for collecting raw data from the core process control domain (= CPC domain) or the client device 40 considered to be the same as in this figure and sending it to the main device 20. CPC is where current and well-protected process control is achieved. It contains deterministic control systems with high availability and reliability. It will be called the "core process control" domain (CPC for short). The core process control domain (= CPC domain) is responsible for the reliable and deterministic operation of the plant. These systems operate in a deterministic way, and the communication between components in the CPC domain is mainly based on proprietary interfaces.
[0081] The data collection module stores the data in the local database 60, for example using a timestamp, and marks the received data (= first data) as unsent. Under normal circumstances, the transmission module sends the stored and "unsent" data to the master device 30 in parallel, for example in a first-in-first-out manner. The client device 20 also has a watchdog component that detects whether the connection to the master device 30 is lost. If so, the transmission module stops sending any data and waits for the watchdog to provide a transmission resumption signal.
[0082] As long as the client device 20 has storage capacity to accommodate incoming data, the data storage 60 of the client device 20 will continue to store data in the local data storage. When the storage capacity is empty or the data storage 60 is completely occupied by data, the data storage module will discard the data using one of the following two strategies:
[0083] ●Discard old data: It clears old (telemetry) data and stores new incoming data.
[0084] ●Discard new data: Do not accept any new data from CPC.
[0085] The data forwarding module of the client device 20 then transmits the data in FIFO mode as long as the backlog is within the defined threshold. If the threshold exceeds a large range, it is assumed that there is an interruption and a determined aggregation strategy is enabled to meet the data demand. If there is no clear demand, it continues to send data to the master device 30 in FIFO mode. If the data availability requirement indicates that the master device needs real-time data or hot data, such data is sent to the master device immediately after the failure is restored.
[0086] The data transmission between the client device and the host device according to the present invention may be as follows:
[0087] The client device or worker edge device is configured to push the data backlog from the last successful data transfer to the master device or upper edge device. The push algorithm takes into account the amount of backlog and based on the configuration, one or more of the following strategies can be adopted:
[0088] - Bandwidth Limiting: The client device applies an upper limit to network bandwidth consumption and adjusts the transmission speed of to-do data.
[0089] - Latest data first: Client devices can send the latest data blocks first (configurable).
[0090] Reference numerals
[0091] 100 Methods
[0092] 102 Collection
[0093] 104 Storage
[0094] 106 Analysis
[0095] 108 OK
[0096] 110 Processing
[0097] 112 OK
[0098] 114 Execution
[0099] 116 OK
[0100] 118 Send
[0101] 12 First Data
[0102] 14 Second Data
[0103] 15 Aggregation Parameters
[0104] 20 Client Device (Receiver)
[0105] 30 Master device (transmitter)
[0106] 40 Factory Equipment / CPC
[0107] 50 first communication interface
[0108] 52 Second communication interface
[0109] 60 Data storage device
[0110] 70 Distributed Network
[0111] 80 External data center.
Claims
1. A method (100) for implementing efficient data processing in a distributed network (70) of devices (20, 30), comprising: Collecting (102) first data (12) sent by at least one factory device (40) via a first communication interface (50) from at least one client device (20); storing (104) the first data (12) in a data storage device (60) of the at least one client device (20); analyzing (106) the first data (12) to obtain characteristic information of the collected first data (12); Determining (108) a data processing strategy based on the result of the characteristic information of the first data (12); The first data (12) is processed (110) according to the data processing strategy and it is determined which data of the first data (12) needs to be sent (118) to the host device (30) via the second communication interface (52).
2. The method (100) according to claim 1, wherein the characteristic information of the first data (12) includes at least one of a data type, statistical information, a data distribution property, static or dynamic data.
3. The method (100) of claim 2, wherein at least one type of the first data (12) is at least one of raw data, hot data, warm data, or cold data indicating the relevance of the first data (12) to be sent from the client device (20) to the host device (30).
4. The method (100) according to any one of the preceding claims, wherein the first data (12) is time series data.
5. The method (100) according to any one of the preceding claims, wherein the data processing strategy is at least one of data aggregation, data compression, data selection, data resampling, data interpolation, data enhancement or data raw data processing.
6. A method (100) according to any of the preceding claims, wherein the step of determining (108) the data processing strategy includes the step of determining (112) aggregation parameters (15) of the first data (12), the aggregation parameters (15) of the first data (12) affecting a policy in at least one client device (20) regarding how the first data (12) needs to be aggregated.
7. A method (100) according to claim 6, wherein when it is decided to aggregate the first data (12) according to the aggregation parameter (15), data aggregation of at least a portion of the first data (12) is performed (114) to obtain second data (14) based on the data processing strategy of the first data (12), wherein the data aggregation also includes the step of determining a transmission format corresponding to the data type of the second data (14) so as to decide which data in the second data (14) needs to be sent by the at least one client device (20) to the host device (30).
8. The method (100) according to claim 7, wherein the transmission format in the data aggregation is based on at least one aggregation rule, which has been determined in advance by the master device (30) and provided to the at least one client device (20).
9. The method (100) according to any one of the preceding claims, wherein the distributed network (70) is established between the master device (30) and the at least one client device (20) in a hierarchical manner or in a point-to-point manner.
10. A computer comprising a processor configured to execute the method of any one of the preceding claims 1 to 9.
11. A computer program product comprising instructions which, when executed by a processor of a computer, cause the computer to perform the method of any one of claims 1 to 9.
12. A machine-readable data medium and / or download product comprising a computer program according to claim 11.
Citation Information
Patent Citations
Hierarchical data exchange management system
US11323544B2
OPTIMAL SELECTION OF A CLOUD-BASED DATA MANAGEMENT SERVICE FOR IoT SENSORS
US20220231952A1
