Industrial heterogeneous data processing system for multi-protocol conversion via state machine

By configuring a state machine to process industrial heterogeneous data, the problem of inconsistent communication protocols among different devices is solved, multi-protocol conversion is achieved, the system's compatibility and data transmission efficiency are improved, it adapts to complex processes and control logic, and ensures data quality and stability.

CN119645535BActive Publication Date: 2025-09-09BEIJING TONGTECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411613120.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-09-09
Estimated Expiration
2044-11-13

AI Technical Summary

Technical Problem

In industrial production, different devices use different communication protocols, which leads to complex smart device architecture design, difficult data exchange and sharing, complex system integration and data flow, and prone to communication errors.

Method used

By configuring the first finite state machine and the second finite state machine, the configurable protocol stack and communication interface set of industrial heterogeneous data are processed respectively, multi-protocol conversion is realized, the target processing server and data type are determined, the corresponding communication protocol and data interface are triggered, the communication protocol stack and interface framework are constructed, and data partitioning, index establishment and itemization strategies are carried out to ensure data quality.

Benefits of technology

It improves the compatibility and scalability of the system, enhances the efficiency and stability of data transmission, realizes load balancing and data backup, adapts to protocol conversion under different input conditions, and improves the flexibility and accuracy of data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119645535B_ABST
    Figure CN119645535B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of industrial data processing and provides an industrial heterogeneous data processing system for performing multi-protocol conversion through a state machine, comprising a pre-configured first finite state machine and a second finite state machine; wherein the first finite state machine is configured with a configurable protocol stack triggered by different industrial heterogeneous data, and the second finite state machine is configured with a communication interface set triggered by different conversion protocols; when the first finite state machine receives the industrial heterogeneous data to be processed, it determines the target processing server and the data type; according to the data type, the corresponding target communication protocol is triggered in the configurable protocol stack; after the target communication protocol is triggered, according to the target processing server, the corresponding target data interface is centrally triggered through the communication interface of the second finite state machine to connect with the target server; wherein the target data interface is not unique.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of industrial data processing, and in particular to an industrial heterogeneous data processing system that performs multi-protocol conversion through a state machine. Background Art

[0002] Industrial heterogeneous data refers to a range of data generated during industrial production processes in different formats, types, structures, and sources. This data typically comes from a variety of industrial equipment and systems, including sensors, machines, control systems, databases, enterprise resource planning (ERP) systems, and monitoring systems.

[0003] Currently, the advent of Industry 4.0, centered around intelligent manufacturing and exemplified by technologies such as cloud computing, the Industrial Internet of Things, and big data, is transforming industrial production from traditional automated to intelligent production. Industrial production demands are also shifting from traditional large-scale production to flexible, customized, small-batch production. Consequently, in this new industrial production model, reliably transmitting massive amounts of underlying sensor data in accordance with production needs, establishing a deterministic, bounded real-time network with bounded network latency and jitter, and achieving integrated "sensing, transmission, and control" have become key bottlenecks in flexible production. However, industrial sites are often plagued by disparate buses from multiple automation equipment manufacturers, and the lack of interoperability between these bus protocols significantly hinders the integration and utilization of underlying data. To address this, in 2016, the IEEE 802.1 working group proposed the Time Sensitive Network (TSN) protocol, which provides a unified transmission framework and deterministic transmission services for heterogeneous data.

[0004] In practice, different devices use varying communication protocols, making the architectural design of smart devices complex and difficult. These devices span a wide range of manufacturers, models, and specifications, each with its own distinct data formats and communication protocols. Enabling data exchange and sharing across multiple devices requires overcoming inconsistent communication protocols. This protocol gap complicates system integration and data flow, making data communication errors more likely to occur. Summary of the Invention

[0005] This invention proposes an industrial heterogeneous data processing system that uses a state machine for multi-protocol conversion. This system addresses the complex and difficult design of smart device architectures due to the varying communication protocols used by different devices. Devices come from a wide variety of manufacturers, models, and specifications, each with its own distinct data formats and communication protocols. Enabling data exchange and sharing across multiple devices requires overcoming inconsistent communication protocols. This protocol gap complicates system integration and data flow, making data communication errors more likely to occur.

[0006] The present invention proposes an industrial heterogeneous data processing system for performing multi-protocol conversion through a state machine, comprising:

[0007] Pre-configuring a first finite state machine and a second finite state machine; wherein the first finite state machine is configured with a configurable protocol stack triggered by different industrial heterogeneous data, and the second finite state machine is configured with a communication interface set triggered by different conversion protocols;

[0008] When the first finite state machine receives the industrial heterogeneous data to be processed, it determines the target processing server and the data type;

[0009] According to the data type, trigger the corresponding target communication protocol in the configurable protocol stack;

[0010] After the target communication protocol is triggered, the corresponding target data interface is centrally triggered to connect with the target server through the communication interface of the second finite state machine according to the target processing server; wherein, the target data interface is not unique.

[0011] Preferably, configuring the first finite state machine includes:

[0012] Pre-building a first network model of industrial heterogeneous data, wherein the first network model includes an industrial topology model and an industrial traffic model;

[0013] Determine topological operations of industrial equipment according to the industrial topology model, and determine a first communication protocol set based on the topological operations; wherein the topological operations include data file processing operations, data node processing operations, and data link processing operations;

[0014] Determine traffic distribution data of the industrial equipment according to the industrial traffic model, and determine a second communication protocol based on the traffic distribution data; wherein the traffic distribution operation includes traffic number, traffic node and traffic frame length;

[0015] According to the first communication protocol set and the second communication protocol set, a conversion framework of different communication protocols is constructed, and a communication protocol stack is formed.

[0016] Preferably, configuring the second finite state machine includes:

[0017] Configuring a communication interface framework, wherein the communication interface framework includes: a first docking layer, a general interface layer, and a second docking layer, the first docking layer being used to dock with the first finite state machine, and the second docking layer being used to dock with the target processing server;

[0018] A first operation class is configured between the general interface layer and the first docking layer; wherein the first operation class is used for data type identification and data operation identification;

[0019] A second operation class is configured between the general interface layer and the second docking layer; wherein the second operation class is used to add a target docking link of the corresponding data type according to the data type identification in the first operation class, and set a corresponding response message in the target docking link based on the data operation identification result.

[0020] Preferably, when the first finite state machine receives the to-be-processed industrial heterogeneous data, the method further includes:

[0021] Divide the heterogeneous industrial data to be processed into structured data, unstructured data, time series data, and cross-domain data;

[0022] After data division, a multi-source data index is established; wherein the multi-source data index is configured with a multi-source database;

[0023] Based on multi-source data indexing, a multi-source data architecture is built for the heterogeneous industrial data to be processed. The data architecture includes message brokers, streaming data status, multi-sequence stability parameters, and data warehousing responses.

[0024] Based on the multi-source data architecture, a sub-item strategy for the industrial data to be processed is established; wherein the sub-item strategy is used to determine whether the industrial data to be processed meets the preset processing quality; wherein the processing quality is determined by whether the data architecture meets the preset data architecture;

[0025] According to the item-by-item strategy, when the industrial data to be processed meets the preset processing quality, the corresponding industrial data to be processed is input into the first finite state machine.

[0026] Preferably, determining the target processing server and data type includes:

[0027] Sample the heterogeneous industrial data to be processed according to the data form and determine the data features corresponding to the target data in each data form; the data forms include pictures, videos, audio, text, analog signals, and digital signals;

[0028] Determine, based on the data characteristics, the adapted address information having the address characteristics; wherein the adapted address information includes target address information of multiple target servers and the storage space corresponding to each target address information in the target server;

[0029] Based on the adaptation address information, a target server is determined, and based on the adaptation address information, a target data type corresponding to each storage space is determined.

[0030] Preferably, triggering a corresponding target communication protocol in a configurable protocol stack according to the data type includes:

[0031] In response to a protocol configuration operation of any data type on a configurable protocol stack, determining a conversion protocol, wherein the protocol configuration operation includes protocol identification and protocol conversion configuration;

[0032] Pre-setting an index directory for protocol conversion and determining a unique protocol conversion service for protocol conversion in the index directory;

[0033] According to the unique protocol conversion service, protocol conversion service information is generated and a target communication protocol is determined.

[0034] Preferably, triggering the corresponding target communication protocol in the configurable protocol stack further includes:

[0035] In response to a configurable protocol stack protocol configuration operation, segmenting the to-be-processed industrial heterogeneous data, determining a plurality of data types of the to-be-processed industrial heterogeneous data, and loading the plurality of data segments into a parallel template for parallel processing, wherein the plurality of data types include address features;

[0036] Determine whether there is a preset navigation code based on the address characteristics;

[0037] When the address feature meets the navigation code, the navigation code is used to perform navigation coding processing on the address feature;

[0038] The address features processed by the navigation encoding are associated with the target communication protocol.

[0039] Preferably, the centrally triggering the corresponding target data interface to connect to the target server through the communication interface of the second finite state machine includes:

[0040] Determine the coordinate point sets corresponding to different data types in the industrial heterogeneous data to be processed;

[0041] Determine docking parameters based on the coordinate point set;

[0042] Determine, based on the docking parameters and the sorting sequence of each to-be-processed industrial heterogeneous data in the communication interface set, a correlation function associated with the sorting sequence;

[0043] According to the association function, the target data interface is connected to the target server.

[0044] Preferably, when performing protocol conversion, the configurable protocol stack identifies the number of protocols of the to-be-processed industrial heterogeneous data and constructs a synchronous protocol conversion channel according to the number of protocols.

[0045] Preferably, the method of centrally triggering the corresponding target data interface to connect to the target server through the communication interface of the second finite state machine further includes:

[0046] Determine the triggered target data interface information;

[0047] According to the target data interface information, determine the data display format and data weight of each target data interface, and generate a priority configuration strategy;

[0048] Traffic is distributed through the second finite state machine according to the priority configuration strategy;

[0049] According to the allocation results of traffic distribution, the industrial heterogeneous data to be processed are converted into visual data.

[0050] The beneficial effects of the present invention are:

[0051] The present invention is suitable for processing models of complex processes and control logic by setting up a dual state machine. It can switch to different states according to different input conditions, thereby realizing the conversion of different protocols, and has good adaptability for processing industrial heterogeneous data. By configuring different protocol stacks, it can flexibly cope with various industrial heterogeneous data, improving the compatibility and scalability of the system. Configuring corresponding communication interfaces for different target processing servers helps to improve the efficiency and stability of data transmission; considering that there may be multiple target servers or multiple data processing mechanisms in actual application scenarios, configuring a data interface corresponding to the data processing mechanism for each server helps to achieve load balancing and data backup.

[0052] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.

[0053] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0055] Figure 1 This is a system implementation process diagram of an industrial heterogeneous data processing system that performs multi-protocol conversion through a state machine in an embodiment of the present invention;

[0056] Figure 2 FIG1 is a configuration process diagram of the first finite state machine in an embodiment of the present invention;

[0057] Figure 3 FIG1 is a configuration process diagram of the second finite state machine in an embodiment of the present invention;

[0058] Figure 4This is a result flow chart of data output in an embodiment of the present invention. DETAILED DESCRIPTION

[0059] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0060] like Figure 1 As shown, this embodiment provides an industrial heterogeneous data processing system for performing multi-protocol conversion through a state machine, including:

[0061] Pre-configuring a first finite state machine and a second finite state machine; wherein the first finite state machine is configured with a configurable protocol stack triggered by different industrial heterogeneous data, and the second finite state machine is configured with a communication interface set triggered by different conversion protocols;

[0062] When the first finite state machine receives the industrial heterogeneous data to be processed, it determines the target processing server and the data type;

[0063] According to the data type, trigger the corresponding target communication protocol in the configurable protocol stack;

[0064] After the target communication protocol is triggered, the corresponding target data interface is centrally triggered to connect with the target server through the communication interface of the second finite state machine according to the target processing server; wherein, the target data interface is not unique.

[0065] The principle of the above technical solution is:

[0066] During the specific implementation of the present invention, the industrial heterogeneous data to be processed is received by the state machine. Before receiving the industrial heterogeneous data, the state machine will check whether there is sufficient information to determine the type of data, data source, target processing server and other information. It has an automatic inquiry mechanism that can send an inquiry request to the data provider, or obtain specific information about the data through methods such as permission calls. When the data type and data source are determined, the state machine will determine the corresponding communication protocol based on the data type, and the protocol will be obtained through protocol stack scheduling. For example, if the industrial heterogeneous data is sensor data from a sensor network, the state machine will use the data communication protocol of the sensor network to realize data communication, and perform protocol switching on the sensor data to achieve transmission in accordance with the communication format. If the data comes from industrial equipment such as robots, the state machine will use the robot's communication protocol for data conversion and data communication.

[0067] After determining the target communication protocol, the state machine will trigger the corresponding target communication protocol in the configurable protocol stack, or implement real-time configuration to load the corresponding communication protocol, and the state machine will determine the corresponding communication interface set according to the target processing server.

[0068] For example, if the target processing server is an application running on a cloud computing platform, the state machine will use the cloud computing platform's communication interface set to communicate with the application. After determining the communication interface set, the state machine will trigger the corresponding target data interface in the interface set and connect to the target server.

[0069] During this process, the target data interface is not unique, as different target servers may require different data interfaces to access their services. The state machine determines whether the data has been successfully processed based on the response received from the target server. If the data has been processed correctly and no errors occurred, the state machine ends the current processing. Otherwise, the state machine returns to the first step and processes the data again.

[0070] In a specific implementation, for example, in a factory production line, suppose there are several different types of sensors collecting data such as temperature, humidity, and pressure, each with its own unique data format and transmission protocol. This data needs to be uniformly transmitted to the factory's data center for processing.

[0071] Preconfigure the first finite state machine: Based on the sensor type and data format, trigger the corresponding target communication protocol and data conversion mechanism for each type of data in the configurable protocol stack, so that the data format of the sensor data can be transmitted via the target communication protocol. For example, temperature sensor data uses the Modbus protocol, and humidity sensor data uses the OPC UA protocol.

[0072] Pre-configure the second finite state machine: Based on the data center's processing requirements, configure the corresponding communication interface for each protocol. Specifically, configure a dedicated data communication interface based on the target communication protocol. For example, the data interface corresponding to the Modbus protocol is TCP / IP, and the data interface corresponding to the OPC UA protocol is HTTP.

[0073] When sensor data arrives, the first finite state machine triggers the corresponding protocol stack according to the data type. For example, temperature sensor data triggers the Modbus protocol.

[0074] After the Modbus protocol is triggered, the second finite state machine triggers the corresponding data interface according to the target processing server (data center), for example, converting the Modbus protocol into a TCP / IP interface to connect to the data center.

[0075] The data center receives the converted data for further processing and analysis, such as visualization and data analysis.

[0076] The beneficial effects of the above technical solution are:

[0077] The present invention is suitable for processing models of complex processes and control logic by setting up a dual state machine. It can switch to different states according to different input conditions, thereby realizing the conversion of different protocols, and has good adaptability for processing industrial heterogeneous data. By configuring different protocol stacks, it can flexibly cope with various industrial heterogeneous data, improving the compatibility and scalability of the system. Configuring corresponding communication interfaces for different target processing servers helps to improve the efficiency and stability of data transmission; considering that there may be multiple target servers or multiple data processing mechanisms in actual application scenarios, configuring a data interface corresponding to the data processing mechanism for each server helps to achieve load balancing and data backup.

[0078] As an embodiment of the present invention, configuring the first finite state machine includes:

[0079] Pre-building a first network model of industrial heterogeneous data, wherein the first network model includes an industrial topology model and an industrial traffic model;

[0080] Determine topological operations of industrial equipment according to the industrial topology model, and determine a first communication protocol set based on the topological operations; wherein the topological operations include data file processing operations, data node processing operations, and data link processing operations;

[0081] Determine traffic distribution data of the industrial equipment according to the industrial traffic model, and determine a second communication protocol based on the traffic distribution data; wherein the traffic distribution operation includes traffic number, traffic node and traffic frame length;

[0082] According to the first communication protocol set and the second communication protocol set, a conversion framework of different communication protocols is constructed, and a communication protocol stack is formed.

[0083] The principle of the above technical solution is:

[0084] In the actual implementation process, Figure 2 As shown, the state machine uses an industrial topology model and an industrial traffic model to define the behavior and communication patterns of industrial equipment. The industrial topology model determines the topology of industrial equipment and describes the connections and operation between industrial equipment and data nodes. The traffic model describes parameters such as the data transmission method and rate between these nodes. The state machine then accurately determines the communication protocol based on the structure and communication pattern between industrial equipment and data.

[0085] In a specific implementation, the state machine may determine the topological operations of the industrial devices based on the industrial topology model and determine the first set of communication protocols based on these operations. For example, if the industrial topology model indicates complex connections between data nodes, the state machine may select multiple communication protocols suitable for these complex connections, such as TCP / IP.

[0086] On the other hand, if the industrial topology model shows only simple connections between data nodes, the state machine sets the appropriate communication protocol, such as Modbus, based on the actual communication requirements. The state machine selects the most suitable communication protocol based on different topological conditions.

[0087] Based on the industrial traffic model, the state machine determines the traffic distribution data of the industrial equipment and determines the second communication protocol based on this data. The traffic distribution data is used to determine the network speed and frequency through which the industrial equipment needs to transmit data, and the path along which the industrial data should be transmitted. By using this data, the state machine will screen the adaptive communication protocols, such as the UDP protocol. The state machine then selects the most suitable communication protocol based on different traffic conditions to improve the performance and efficiency of the system. Finally, the state machine will build a conversion framework for different communication protocols based on the selected first communication protocol set and second communication protocol set, and form a communication protocol stack. This conversion framework and communication protocol stack enable the state machine to process various different types of industrial heterogeneous data and convert them into data formats suitable for the target processing server.

[0088] The beneficial effects of the above technical solution are:

[0089] The first finite state machine constructed in the present invention is based on the industrial topology model and the industrial flow model. Therefore, when configuring the communication protocol, it can be more in line with the corresponding industrial equipment, and there are more types of communication protocols to choose from.

[0090] As an embodiment of the present invention, configuring the second finite state machine includes:

[0091] Configuring a communication interface framework, wherein the communication interface framework includes: a first docking layer, a general interface layer, and a second docking layer, the first docking layer being used to dock with the first finite state machine, and the second docking layer being used to dock with the target processing server;

[0092] A first operation class is configured between the general interface layer and the first docking layer; wherein the first operation class is used for data type identification and data operation identification;

[0093] A second operation class is configured between the general interface layer and the second docking layer; wherein the second operation class is used to add a target docking link of the corresponding data type according to the data type identification in the first operation class, and set a corresponding response message in the target docking link based on the data operation identification result.

[0094] The principle of the above technical solution is:

[0095] In the actual implementation process, Figure 3As shown, the second finite state machine will be responsible for processing the converted data from the first finite state machine and sending a response to the target processing server. During this process, the state machine will be configured to interact with the first operation class configured between the general interface layer and the first docking layer, and then interact with the second operation class configured between the general interface layer and the second docking layer. The general interface layer will contain multiple interfaces, each of which will be responsible for processing a specific type of industrial data. The communication interface is located on the general interface layer and switches between the first operation class and the second operation class. Each interface in the general interface layer will be configured with a specific function, such as data type identification, data operation identification, and data link management.

[0096] The communication interface selects different functions based on the data type and sets the corresponding response message in the second operation class. The first operation class is responsible for processing requests from the general interface layer and determining the industrial data type, the execution operation, and the data row. This is done by analyzing the packet header and content. For example, if the packet header contains a value for a specific field, the packet is considered a certain data type. The first operation class then uses this data type to call the corresponding function and switch between the general interface layer and the second docking layer. In the second docking layer, the state machine establishes a specific data link and initiates communication. During this process, the state machine sends a response message to the target processing server. The second operation class is responsible for processing requests from the general interface layer and adding a target docking link for the specific data type. This is achieved by using the first operation class in the general interface layer to identify the data type and creating a specific data link in the second docking layer. In the second docking layer, the state machine uses this data link to communicate with the target processing server and wait for the target's response.

[0097] The beneficial effects of the above technical solution are:

[0098] First, the communication interface framework can achieve rapid docking according to the target communication protocol, and then realize data type identification and data operation identification through the first operation class and the second operation class. The second operation class can realize the docking link based on industrial data, realize rapid identification and rapid response output.

[0099] As an embodiment of the present invention, when the first finite state machine receives the to-be-processed industrial heterogeneous data, the process further includes:

[0100] Divide the heterogeneous industrial data to be processed into structured data, unstructured data, time series data, and cross-domain data;

[0101] After data division, a multi-source data index is established; wherein the multi-source data index is configured with a multi-source database;

[0102] Based on multi-source data indexing, a multi-source data architecture is built for the heterogeneous industrial data to be processed. The data architecture includes message brokers, streaming data status, multi-sequence stability parameters, and data warehousing responses.

[0103] Based on the multi-source data architecture, a sub-item strategy for the industrial data to be processed is established; wherein the sub-item strategy is used to determine whether the industrial data to be processed meets the preset processing quality; wherein the processing quality is determined by whether the data architecture meets the preset data architecture;

[0104] According to the item-by-item strategy, when the industrial data to be processed meets the preset processing quality, the corresponding industrial data to be processed is input into the first finite state machine.

[0105] The principle of the above technical solution is:

[0106] In the actual implementation process, when the finite state machine receives the industrial heterogeneous data to be processed, it also performs data partitioning. First, after the industrial data to be processed is partitioned, the data structure and data type of the industrial data to be processed can be identified.

[0107] After data segmentation, a multi-source data index is established. This index is based on key data keywords within the segmented data types and structures. This index is then used to construct a multi-source data architecture for the heterogeneous industrial data to be processed. Based on this data architecture, a sub-itemization strategy for the industrial data to be processed is established. Finally, if the industrial data to be processed meets the preset processing quality, it is input into the first finite state machine.

[0108] During the data partitioning phase, the heterogeneous industrial data to be processed is divided into different groups, and each group is named and described. These groups are then used to build a multi-source data index, and each index is assigned a unique identifier. The multi-source data index is stored in different database types, enabling direct data retrieval and management. During the data partitioning and indexing process, additional data quality and security constraints are added to ensure that only heterogeneous industrial data that meets certain standards is submitted to the first finite state machine.

[0109] The principle of the above technical solution is:

[0110] The present invention can achieve quality audits of heterogeneous industrial data through multiple steps, including data partitioning, multi-source data indexing, multi-source data architecture, and itemization strategies. It can also directly process erroneous or abnormal data with an alarm, rather than transmitting it to a target processing server for further processing.

[0111] As an embodiment of the present invention, the determining of the target processing server and the data type includes:

[0112] Sample the heterogeneous industrial data to be processed according to the data form and determine the data features corresponding to the target data in each data form; the data forms include pictures, videos, audio, text, analog signals, and digital signals;

[0113] Determine, based on the data characteristics, the adapted address information having the address characteristics; wherein the adapted address information includes target address information of multiple target servers and the storage space corresponding to each target address information in the target server;

[0114] Based on the adaptation address information, a target server is determined, and based on the adaptation address information, a target data type corresponding to each storage space is determined.

[0115] The principle of the above technical solution is:

[0116] In specific implementations, determining the target processing server and data type requires combining data format analysis and matching. After sampling the heterogeneous industrial data to be processed according to its data format, the corresponding target data type is determined based on the sampled data format. For example, for image data, computer vision technology is used to automatically detect objects and scenes in the image and determine the data type based on this information.

[0117] After determining the data type, these data types are used to determine the applicable address characteristics. Adaptive address information is a set of address information defined for each data type on the target server. This address information includes the target server's IP address, port number, username, and password. Furthermore, this address information can be used to determine the target data type for each storage space, enabling more efficient and accurate data storage and querying. Furthermore, certain data types can be assigned to multiple storage spaces, and vice versa.

[0118] The beneficial effects of the above technical solution can also be:

[0119] The present invention can sample different data forms of the to-be-processed industrial heterogeneous data, determine the corresponding data features, adapt the address information according to the specific data features, and determine the corresponding storage space.

[0120] As an embodiment of the present invention, triggering a corresponding target communication protocol in a configurable protocol stack according to a data type includes:

[0121] In response to a protocol configuration operation of any data type on a configurable protocol stack, determining a conversion protocol, wherein the protocol configuration operation includes protocol identification and protocol conversion configuration;

[0122] Pre-setting an index directory for protocol conversion and determining a unique protocol conversion service for protocol conversion in the index directory;

[0123] According to the unique protocol conversion service, protocol conversion service information is generated and a target communication protocol is determined.

[0124] The principle of the above technical solution is:

[0125] During implementation, after determining the target communication protocol, the corresponding protocol configuration operations will be performed in the configurable protocol stack based on that protocol, including protocol identification and protocol conversion configuration. During this process, a unique protocol conversion service will be determined based on the pre-set protocol conversion index directory, and data conversion operations will be performed on this service and the generated protocol conversion service information. For example, assume that there is industrial data generated by three different industrial heterogeneous systems: image data, sensor data, and video data. This data is input into the configurable protocol stack, and protocol identification and protocol conversion configuration are performed based on the characteristics of these data types, and the corresponding conversion protocol is determined. Then, a unique protocol conversion service is searched in the protocol conversion index directory, and this service is used to generate protocol conversion service information, ultimately determining the target communication protocol.

[0126] The beneficial effects of the above technical solution are:

[0127] When determining the target communication protocol, the present invention configures the corresponding communication protocol according to the response information of the communication protocol, and can also realize the conversion or switching service of the communication protocol according to the identified communication protocol, and convert and process the heterogeneous industrial data to be processed.

[0128] As an embodiment of the present invention, the triggering of the corresponding target communication protocol in the configurable protocol stack further includes:

[0129] In response to a configurable protocol stack protocol configuration operation, segmenting the to-be-processed industrial heterogeneous data, determining a plurality of data types of the to-be-processed industrial heterogeneous data, and loading the plurality of data segments into a parallel template for parallel processing, wherein the plurality of data types include address features;

[0130] Determine whether there is a preset navigation code based on the address characteristics;

[0131] When the address feature meets the navigation code, the navigation code is used to perform navigation coding processing on the address feature;

[0132] The address features processed by the navigation encoding are associated with the target communication protocol.

[0133] The principle of the above technical solution is:

[0134] During actual implementation, after determining the multiple data types of the heterogeneous industrial data to be processed, the corresponding target communication protocol is triggered in the configurable protocol stack and processed accordingly. During processing, the heterogeneous industrial data to be processed is segmented to improve parallel processing efficiency. Data types can include address characteristics, and the data is classified and processed based on these characteristics. Furthermore, the address characteristics are used to determine whether they meet the preset navigation code. If the address characteristics meet the navigation code, the navigation code is used to perform navigation encoding on the address characteristics, and the processed results are associated with the target communication protocol. This allows the heterogeneous industrial data to be more efficiently converted into a data format suitable for the target processing server and made available to users.

[0135] As an embodiment of the present invention, the method of centrally triggering the corresponding target data interface to connect to the target server through the communication interface of the second finite state machine includes:

[0136] Determine the coordinate point sets corresponding to different data types in the industrial heterogeneous data to be processed;

[0137] Determine docking parameters based on the coordinate point set;

[0138] Determine, based on the docking parameters and the sorting sequence of each to-be-processed industrial heterogeneous data in the communication interface set, a correlation function associated with the sorting sequence;

[0139] According to the association function, the target data interface is connected to the target server.

[0140] The principle of the above technical solution is:

[0141] In actual implementation, after completing the parallel processing of the pending industrial heterogeneous data, the communication interface of the second finite state machine needs to centrally trigger the corresponding target data interface to connect to the target server. To achieve this, a set of coordinate points corresponding to different data types in the pending industrial heterogeneous data is determined, and the connection parameters are determined based on these coordinate point sets. Then, based on the connection parameters and the sorting sequence of each pending industrial heterogeneous data in the communication interface set, an association function associated with the sorting sequence is determined. Finally, based on these association functions, the target data interface is connected to the target server, completing the entire data processing process.

[0142] As an embodiment of the present invention, when performing protocol conversion, the configurable protocol stack identifies the number of protocols of the to-be-processed industrial heterogeneous data and constructs a synchronous protocol conversion channel according to the number of protocols.

[0143] When converting data from a source system to a target system, the configurable protocol stack detects the number of protocols used by the data. If the data uses multiple protocols, the configurable protocol stack constructs multiple simultaneous protocol conversion channels based on the number of protocols. While the state machine is waiting for a response from one protocol, conversions for other protocols can proceed simultaneously, improving system efficiency.

[0144] As an embodiment of the present invention, the method of centrally triggering the corresponding target data interface to connect to the target server through the communication interface of the second finite state machine further includes:

[0145] Determine the triggered target data interface information;

[0146] According to the target data interface information, determine the data display format and data weight of each target data interface, and generate a priority configuration strategy;

[0147] Traffic is distributed through the second finite state machine according to the priority configuration strategy;

[0148] According to the allocation results of traffic distribution, the industrial heterogeneous data to be processed are converted into visual data.

[0149] The principle of the above technical solution is:

[0150] In the actual implementation process, Figure 4As shown, the triggered target data interface information is determined. During the process of connecting the triggered target data interface with the target server, the state machine sends a series of requests to the target server to obtain relevant information about the target data interface. This information includes the target data interface's location, name, description, and data format. The state machine uses this information to determine the triggered target data interface information. Based on the target data interface information, the state machine determines the data display format and data weight for each target data interface and generates a priority configuration policy. The state machine uses the triggered target data interface information to determine the data display format and data weight for each target data interface. These data weights can be determined based on factors such as data importance, urgency, and user interaction. Based on these data weights, the state machine generates a priority configuration policy to ensure that important data is prioritized when processing the heterogeneous industrial data to be processed. Based on the priority configuration policy, the second finite state machine performs traffic allocation. The state machine uses the generated priority configuration policy to determine traffic allocation during the processing of the heterogeneous industrial data to be processed. Based on the priority configuration policy, the state machine assigns the heterogeneous industrial data to different target data interfaces and distributes traffic among these target data interfaces. This ensures the rational distribution and use of the heterogeneous industrial data to be processed. Converting heterogeneous industrial data to be processed into visual data: The state machine converts heterogeneous industrial data to visual data based on the data assigned to each target data interface, as well as the target data interface's data presentation format and weight. This is achieved through various data visualization techniques, such as charts, tables, and images. By visualizing data, users can more easily understand and manipulate it, thereby improving the user-friendliness of the entire processing process.

[0151] Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if such changes and modifications fall within the scope of the claims and their equivalents, the present invention is intended to include such changes and modifications.

Claims

1. An industrial heterogeneous data processing system for multi-protocol conversion via a state machine, characterized in that: It includes a pre-configured first finite state machine and a second finite state machine; wherein the first finite state machine is configured with a configurable protocol stack triggered by different industrial heterogeneous data, and the second finite state machine is configured with a communication interface set triggered by different conversion protocols; When the first finite state machine receives the industrial heterogeneous data to be processed, it determines the target processing server and the data type; According to the data type, triggering a corresponding target communication protocol in the configurable protocol stack, wherein triggering the corresponding target communication protocol in the configurable protocol stack further includes: In response to a configurable protocol stack protocol configuration operation, segmenting the to-be-processed industrial heterogeneous data, determining a plurality of data types of the to-be-processed industrial heterogeneous data, and loading the plurality of data segments into a parallel template for parallel processing, wherein the plurality of data types include address features; Determine whether there is a preset navigation code based on the address characteristics; When the address feature meets the navigation code, the navigation code is used to perform navigation coding processing on the address feature; Associating the address features processed by the navigation encoding with the target communication protocol; After the target communication protocol is triggered, the corresponding target data interface is centrally triggered to connect to the target server through the communication interface of the second finite state machine according to the target processing server; wherein the target data interface is not unique; The method of centrally triggering the corresponding target data interface to connect to the target server through the communication interface of the second finite state machine includes: Determine the coordinate point sets corresponding to different data types in the industrial heterogeneous data to be processed; Determine docking parameters based on the coordinate point set; Determine, based on the docking parameters and the sorting sequence of each to-be-processed industrial heterogeneous data in the communication interface set, a correlation function associated with the sorting sequence; According to the association function, the target data interface is connected to the target server.

2. The industrial heterogeneous data processing system for performing multi-protocol conversion through a state machine according to claim 1, characterized in that: Configuring the first finite state machine includes: Pre-building a first network model of industrial heterogeneous data, wherein the first network model includes an industrial topology model and an industrial traffic model; Determine topological operations of industrial equipment according to the industrial topology model, and determine a first communication protocol set based on the topological operations; wherein the topological operations include data file processing operations, data node processing operations, and data link processing operations; Determine traffic distribution data of the industrial equipment according to the industrial traffic model, and determine a second communication protocol based on the traffic distribution data; wherein the traffic distribution operation includes traffic number, traffic node and traffic frame length; According to the first communication protocol set and the second communication protocol set, a conversion framework of different communication protocols is constructed, and a communication protocol stack is formed.

3. The industrial heterogeneous data processing system for performing multi-protocol conversion through a state machine according to claim 1, characterized in that: The configuring the second finite state machine comprises: Configuring a communication interface framework, wherein the communication interface framework includes: a first docking layer, a general interface layer, and a second docking layer, the first docking layer being used to dock with the first finite state machine, and the second docking layer being used to dock with the target processing server; A first operation class is configured between the general interface layer and the first docking layer; wherein the first operation class is used for data type identification and data operation identification; A second operation class is configured between the general interface layer and the second docking layer; wherein the second operation class is used to add a target docking link of the corresponding data type according to the data type identification in the first operation class, and set a corresponding response message in the target docking link based on the data operation identification result.

4. The industrial heterogeneous data processing system for performing multi-protocol conversion through a state machine according to claim 1, characterized in that: When the first finite state machine receives the to-be-processed industrial heterogeneous data, the method further includes: Divide the heterogeneous industrial data to be processed into structured data, unstructured data, time series data, and cross-domain data; After data division, a multi-source data index is established; wherein the multi-source data index is configured with a multi-source database; Based on multi-source data indexing, a multi-source data architecture is built for the heterogeneous industrial data to be processed. The data architecture includes message brokers, streaming data status, multi-sequence stability parameters, and data warehousing responses. Based on the multi-source data architecture, a sub-item strategy for the industrial data to be processed is established; wherein the sub-item strategy is used to determine whether the industrial data to be processed meets the preset processing quality; wherein the processing quality is determined by whether the data architecture meets the preset data architecture; According to the item-by-item strategy, when the industrial data to be processed meets the preset processing quality, the corresponding industrial data to be processed is input into the first finite state machine.

5. The industrial heterogeneous data processing system for performing multi-protocol conversion through a state machine according to claim 4, characterized in that: Determining the target processing server and data type includes: Sample the heterogeneous industrial data to be processed according to the data form and determine the data features corresponding to the target data in each data form; the data forms include pictures, videos, audio, text, analog signals, and digital signals; Determine, based on the data characteristics, the adapted address information having the address characteristics; wherein the adapted address information includes target address information of multiple target servers and the storage space corresponding to each target address information in the target server; Based on the adaptation address information, a target server is determined, and based on the adaptation address information, a target data type corresponding to each storage space is determined.

6. The industrial heterogeneous data processing system for performing multi-protocol conversion through a state machine according to claim 1, characterized in that: The triggering of the corresponding target communication protocol in the configurable protocol stack according to the data type includes: In response to a protocol configuration operation of any data type on a configurable protocol stack, determining a conversion protocol, wherein the protocol configuration operation includes protocol identification and protocol conversion configuration; Pre-setting an index directory for protocol conversion and determining a unique protocol conversion service for protocol conversion in the index directory; According to the unique protocol conversion service, protocol conversion service information is generated and a target communication protocol is determined.

7. The industrial heterogeneous data processing system for performing multi-protocol conversion through a state machine according to claim 1, characterized in that: When performing protocol conversion, the configurable protocol stack identifies the number of protocols of the to-be-processed industrial heterogeneous data and constructs a synchronous protocol conversion channel according to the number of protocols.

8. The industrial heterogeneous data processing system for performing multi-protocol conversion through a state machine according to claim 1, characterized in that: The method of centrally triggering the corresponding target data interface to connect to the target server through the communication interface of the second finite state machine further includes: Determine the triggered target data interface information; According to the target data interface information, determine the data display format and data weight of each target data interface, and generate a priority configuration strategy; Traffic is distributed through the second finite state machine according to the priority configuration strategy; According to the allocation results of traffic distribution, the industrial heterogeneous data to be processed is converted into visual data.

Citation Information

Patent Citations

  • Multi-protocol conversion method based on state machine

    CN117880378A

  • Heterogeneous data acquisition and management system and method based on industrial Internet of Things

    CN118612242A