Industrial heterogeneous data processing system capable of performing multi-protocol conversion through state machine

By configuring a finite state machine, multi-protocol conversion in industrial heterogeneous data processing systems is solved, and the problem of inconsistent communication protocols of different devices is improved, and system compatibility and data transmission efficiency are improved.

CN119645535AActive Publication Date: 2025-03-18BEIJING TONGTECH CO LTD +1

Patent Information

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

AI Technical Summary

Technical Problem

In industrial heterogeneous data processing, due to the different communication protocols used by different devices, the intelligent device architecture design is complex, the system integration and data flow are complex, and data communication errors are prone to occur.

Method used

Multi-protocol conversion is realized by configuring the first finite state machine and the second finite state machine. The first finite state machine triggers the target communication protocol according to the type of data to be processed, and the second finite state machine connects with the target server through the communication interface set.

Benefits of technology

Conversion between different protocols is realized, system compatibility and scalability is improved, data transmission efficiency and stability are enhanced, and load balancing and data backup are supported.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119645535A_ABST
    Figure CN119645535A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of industrial data processing, and provides an industrial heterogeneous data processing system for multi-protocol conversion through a state machine, which comprises a first finite-state machine and a second finite-state machine which are configured in advance; 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 to-be-processed industrial heterogeneous data, determining a target processing server and a data type; triggering a corresponding target communication protocol in a configurable protocol stack according to the data type; after the target communication protocol is triggered, according to the target processing server, centrally triggering a corresponding target data interface to be docked with the target server through the communication interface of the second finite-state machine; 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 for performing multi-protocol conversion through a state machine. Background Art

[0002] Industrial heterogeneous data refers to a series of data with different formats, types, structures and sources generated in the industrial production process. These data usually come from various industrial equipment and systems, including sensors, machines, control systems, databases, enterprise resource planning (ERP) systems, monitoring systems, etc.

[0003] At present, in the processing of industrial heterogeneous data, the advent of Industry 4.0, which is based on intelligent manufacturing and represented by technologies such as cloud computing, industrial Internet of Things, and big data, marks that the industrial production mode has changed from traditional automated production to intelligent production, and the industrial production demand has also changed from traditional large-scale production to small-batch customized flexible production. Therefore, under the new industrial production model, how to reliably transmit the underlying massive sensory data according to production needs, establish a real-time network with deterministic bounded network delay and jitter, and realize the integration of "sensing-transmission-control" has become a major bottleneck for the first breakthrough of flexible production. However, the industrial site is full of different buses from multiple automation equipment manufacturers, and the bus protocols are not interoperable, which greatly affects the fusion and utilization of the underlying data. To this end, in 2016, the IEEE 802.1 working group proposed the Time Sensitive Network (TSN) protocol to provide a unified transmission framework and deterministic transmission services for various heterogeneous data.

[0004] In actual applications, different devices use different communication protocols, making the architecture design of smart devices very complex and difficult. These devices cover a variety of manufacturers, models, and specifications, and there are different data formats and communication protocols between them. In order to achieve data exchange and sharing between multiple devices, it is necessary to overcome the problem of inconsistent communication protocols. This protocol gap makes system integration and data flow complicated, and data communication errors are prone to occur. Summary of the invention

[0005] The present invention proposes an industrial heterogeneous data processing system that performs multi-protocol conversion through a state machine, which is used to solve the problem that different devices use different communication protocols, making the architecture design of intelligent devices very complicated and difficult. Devices cover various manufacturers, models and specifications, and there are different data formats and communication protocols between them. In order to achieve data exchange and sharing between multiple devices, it is necessary to overcome the problem of inconsistent communication protocols. This protocol gap makes system integration and data flow complicated, and data communication errors are prone to occur.

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

[0007] Preconfiguring 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 a target processing server and a 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 flow model;

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

[0014] Determine the flow distribution data of the industrial equipment according to the industrial flow model, and determine the second communication protocol according to the flow distribution data; wherein the flow distribution operation includes flow number, flow node and flow 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 is used to dock with the first finite state machine, and the second docking layer is 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, it further includes:

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

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

[0023] According to the multi-source data index, a multi-source data architecture is built for the industrial heterogeneous data to be processed; the data architecture includes message broker, streaming data status, multi-sequence stability parameters and data warehousing response;

[0024] According to 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, the determining of the target processing server and the data type comprises:

[0027] The to-be-processed industrial heterogeneous data are sampled according to the data form, and the data features corresponding to the target data of each data form are determined; wherein the data forms include pictures, videos, audios, texts, analog signals, and digital signals;

[0028] According to the data characteristics, determining the adaptation address information having the address characteristics; wherein the adaptation address information includes the 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, the to-be-processed industrial heterogeneous data is segmented, a plurality of data types of the to-be-processed industrial heterogeneous data are determined, and the plurality of data segments are loaded 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 according to 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 with 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 a correlation function associated with the sorting sequence based on the docking parameters and the sorting sequence of each to-be-processed industrial heterogeneous data in the communication interface set;

[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 with 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] According to the priority configuration strategy, traffic distribution is performed through the second finite state machine;

[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, various industrial heterogeneous data can be flexibly responded to, and the compatibility and scalability of the system can be improved. 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 partly become apparent from the description, or 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 is a configuration process diagram of the first finite state machine in an embodiment of the present invention;

[0057] Figure 3 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 in conjunction with 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] Preconfiguring 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 a target processing server and a 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] In the specific implementation process 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 enough information to determine the type of data, data source, target processing server and other information. It has an automatic inquiry mechanism, which can send an inquiry request to the data provider, or obtain specific information of the data through permission calls and other methods. When the data type and data source are determined, the state machine will determine the corresponding communication protocol according to the data type, and the protocol is 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 uses the communication interface set of the cloud computing platform to communicate with the application. After determining the communication interface set, the state machine triggers the corresponding target data interface in the interface set and connects with the target server.

[0069] In this process, the target data interface is not unique, because 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 have occurred, the state machine ends the current processing. Otherwise, the state machine returns to the first step and reprocesses the data.

[0070] In specific implementation, for example, when used in a factory production line, suppose there are several different types of sensors on a factory production line, which collect temperature, humidity, pressure and other data respectively, and the data formats and transmission protocols are different. Now it is necessary to uniformly transmit this data to the factory's data center for processing.

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

[0072] Pre-configure the second finite state machine: According to the processing requirements of the data center, configure the corresponding communication interface for each protocol, that is, configure a dedicated data communication interface according to 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 the sensor data arrives, the first finite state machine triggers the corresponding protocol stack according to the data type. For example, the 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 transformed 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, various industrial heterogeneous data can be flexibly responded to, and the compatibility and scalability of the system are improved. 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 flow model;

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

[0081] Determine the flow distribution data of the industrial equipment according to the industrial flow model, and determine the second communication protocol according to the flow distribution data; wherein the flow distribution operation includes flow number, flow node and flow 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 in the figure, the state machine will use the industrial topology model and the industrial traffic model to define the behavior and communication mode of industrial equipment. The industrial topology model can determine the topology of industrial equipment and describe the connection relationship and operation mode between industrial equipment and data nodes. The traffic model is used to describe parameters such as the transmission mode and rate of data between these nodes. Then, the state machine accurately determines the communication protocol based on the structure and communication mode between industrial equipment and data.

[0085] In a specific implementation, specifically, according to the industrial topology model, the state machine determines the topological operations of the industrial equipment, and determines the first communication protocol set according to these operations. For example, if the industrial topology model shows that there are complex connection relationships between data nodes, the state machine selects multiple communication protocols suitable for the complex connection relationships, such as TCP / IP protocol.

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

[0087] According to 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 what network speed and frequency the industrial equipment needs to use to transmit data, and what path the industrial data should be transmitted along. By using this data, the state machine will screen the adaptive communication protocols, such as the UDP protocol. Then, the state machine selects the most suitable communication protocol according to 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 by the present invention is based on an industrial topology model and an industrial flow model. Therefore, when configuring the communication protocol, it can be more suitable for the corresponding industrial equipment, and more types of communication protocols can be selected.

[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 is used to dock with the first finite state machine, and the second docking layer is 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 thereafter interact with the second operation class configured between the general interface layer and the second docking layer. The general interface layer will include 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 of 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 will select different functions according to the data type and set the corresponding response message in the second operation class. The first operation class will be responsible for processing the request from the general interface layer and determining the data type and execution operation of the industrial data and the data line, which is achieved by analyzing the header information and content of the data packet. For example, if the header information of the data packet contains the value of a specific field, the data packet is considered to be a certain type of data. Next, the first operation class will use 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 will create a specific data link and communicate. In the process, the state machine will send the response message to the target processing server. The second operation class will be responsible for processing the request from the general interface layer and adding the 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 create 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 realize fast 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 fast identification and fast response output according to the docking link of industrial data.

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

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

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

[0102] According to the multi-source data index, a multi-source data architecture is built for the industrial heterogeneous data to be processed; the data architecture includes message broker, streaming data status, multi-sequence stability parameters and data warehousing response;

[0103] According to 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, data division is also performed. First, after the industrial data to be processed is divided, the data structure and data type of the industrial data to be processed can be identified.

[0107] Furthermore, after the data is divided, a multi-source data index is established. The multi-source data index is based on the data keywords in the different data types and different data structures after the division, and the multi-source data index is used to build a multi-source data architecture for the industrial heterogeneous data to be processed. According to the data architecture, a sub-item 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] In the data partitioning stage, the industrial heterogeneous data to be processed are divided into different groups, and the name and description of each group of industrial heterogeneous data are determined. Then, these groups are used to establish multi-source data indexes, and a unique identifier is assigned to each index. The multi-source data index will be stored in different types of databases to achieve direct docking retrieval and management of data. In the process of data partitioning and index establishment, additional data quality and security constraints are added to ensure that only industrial heterogeneous data that meets certain standards can be submitted to the first finite state machine.

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

[0110] In the process of processing the industrial heterogeneous data to be processed, the present invention can realize the quality audit of industrial heterogeneous data through multiple steps such as data partitioning, multi-source data indexing, multi-source data architecture and itemization strategy, and directly alarm the data with errors or abnormalities instead of transmitting them to the target processing server for processing.

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

[0112] The to-be-processed industrial heterogeneous data are sampled according to the data form, and the data features corresponding to the target data of each data form are determined; wherein the data forms include pictures, videos, audios, texts, analog signals, and digital signals;

[0113] According to the data characteristics, determining the adaptation address information having the address characteristics; wherein the adaptation address information includes the 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 the specific implementation process, the process of determining the target processing server and data type also needs to be combined with the analysis and matching of the data form. After the to-be-processed industrial heterogeneous data is sampled according to the data form, the corresponding target data type is determined according to the sampled data form. For example, for image data, computer vision technology is used to automatically detect objects and scenes in the image, and the data type is determined based on this information.

[0117] After determining the data type, use these data types to determine the applicable address features. The adaptation address information is a set of address information defined for each data type on the target server. The address information includes the IP address, port number, user name and password of the target server. In addition, the target data type corresponding to each storage space can be determined based on this address information, which is more efficient and accurate when storing and querying data. In addition, some data types can be mapped to multiple storage spaces or some storage spaces can be mapped to multiple data types.

[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, implement the adaptation of 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 the 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] In the specific implementation, after determining the target communication protocol, the corresponding protocol configuration operations will be performed in the configurable protocol stack according to the protocol, including protocol identification and protocol conversion configuration. In this process, a unique protocol conversion service will be determined according to the pre-set protocol conversion index directory, and the service will be used to perform data conversion operations with the generated protocol conversion service information. For example: Assume that there are three different industrial heterogeneous systems that generate industrial data, namely image data, sensor data, and video data. These data are input into the configurable protocol stack, and according to the characteristics of these data types, protocol identification and protocol conversion configuration are performed respectively, and the corresponding conversion protocol is determined. Then, the unique protocol conversion service is searched in the protocol conversion index directory, and the service is used to generate protocol conversion service information, and finally the target communication protocol is determined.

[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 implement the conversion or switching service of the communication protocol according to the identified communication protocol, and convert 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, the to-be-processed industrial heterogeneous data is segmented, a plurality of data types of the to-be-processed industrial heterogeneous data are determined, and the plurality of data segments are loaded 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 according to 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] In the actual implementation process, after determining multiple data types of the industrial heterogeneous data to be processed, the corresponding target communication protocol is triggered in the configurable protocol stack and the corresponding processing is performed. During the processing, the industrial heterogeneous data to be processed is segmented to improve the efficiency of parallel processing. The data type can be address features, etc., and the data is classified and processed according to the address features. At the same time, it will be determined whether it meets the preset navigation code based on the address features. If the address feature meets the navigation code, the navigation code is used to perform navigation coding processing on the address feature, and the processed result is associated with the target communication protocol. The industrial heterogeneous data to be processed is more efficiently converted into a data format suitable for the target processing server and provided to users.

[0135] As an embodiment of the present invention: the method of centrally triggering the corresponding target data interface to connect with 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 a correlation function associated with the sorting sequence based on the docking parameters and the sorting sequence of each to-be-processed industrial heterogeneous data in the communication interface set;

[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 the actual implementation process, after completing the parallel processing of the to-be-processed industrial heterogeneous data, it is necessary to centrally trigger the corresponding target data interface to connect with the target server through the communication interface of the second finite state machine. To achieve this, the coordinate point sets corresponding to different data types in the to-be-processed industrial heterogeneous data are determined, and the docking parameters are determined based on these coordinate point sets. Then, based on the docking parameters and the sorting sequence of each to-be-processed industrial heterogeneous data in the communication interface set, the association function associated with the sorting sequence is determined. Finally, the target data interface is connected to the target server according to these association functions to complete 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 industrial heterogeneous data to be processed, and constructs a synchronous protocol conversion channel according to the number of protocols.

[0143] When converting the data to be processed from the source system to the target system, the configurable protocol stack detects the number of protocols used by the data to be processed. If the data to be processed uses multiple protocols, the configurable protocol stack will build multiple synchronous protocol conversion channels based on the number of these protocols. When the state machine is waiting for a response from a certain protocol, the conversion process of other protocols can be carried out simultaneously, improving system efficiency.

[0144] As an embodiment of the present invention: the method of centrally triggering the corresponding target data interface to connect with the target server through the communication interface of the second finite state machine also 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] According to the priority configuration strategy, traffic distribution is performed through the second finite state machine;

[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, determine the information of the triggered target data interface: in the process of the triggered target data interface docking with the target server, the state machine sends a series of requests to the target server to obtain relevant information of the target data interface. This information includes the location, name, description, data format, etc. of the target data interface. The state machine determines the information of the triggered target data interface based on this information. According to the target data interface information, determine the data display form and data weight of each target data interface, and generate a priority configuration strategy: the state machine uses the information of the triggered target data interface to determine the data display form and data weight of each target data interface. These data weights can be determined based on factors such as the importance, urgency, and user interaction of the data. The state machine generates a priority configuration strategy based on these data weights to ensure that important data will be processed first when processing the industrial heterogeneous data to be processed. According to the priority configuration strategy, the second finite state machine is used to distribute traffic: the state machine uses the generated priority configuration strategy to determine the traffic distribution in the process of processing the industrial heterogeneous data to be processed. According to the priority configuration strategy, the state machine distributes the industrial heterogeneous data to be processed to different target data interfaces and distributes traffic between these target data interfaces. This ensures that the industrial heterogeneous data to be processed is reasonably distributed and used. Convert the to-be-processed industrial heterogeneous data into visual data: The state machine converts the to-be-processed industrial heterogeneous data into visual data according to the to-be-processed industrial heterogeneous data assigned to each target data interface and the data presentation form and data weight of the target data interface. This can be achieved through various data visualization techniques, such as charts, tables, images, etc. By visualizing the data, users can more easily understand and operate the data, thereby improving the user-friendliness of the entire processing flow.

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

Claims

1. An industrial heterogeneous data processing system for multi-protocol conversion through a state machine, characterized in that: It includes a preconfigured 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 a target processing server and a data type; According to the data type, trigger the corresponding target communication protocol in the configurable protocol stack; 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.

2. The industrial heterogeneous data processing system for performing multi-protocol conversion through a state machine as claimed in claim 1, characterized in that: The configuring the first finite state machine comprises: Pre-building a first network model of industrial heterogeneous data, wherein the first network model includes an industrial topology model and an industrial flow model; Determine the topological operation of the industrial equipment according to the industrial topological model, and determine the first communication protocol set based on the topological operation; wherein the topological operation includes a data file processing operation, a data node processing operation, and a data link processing operation; Determine the flow distribution data of the industrial equipment according to the industrial flow model, and determine the second communication protocol according to the flow distribution data; wherein the flow distribution operation includes flow number, flow node and flow 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 as claimed in 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 is used to dock with the first finite state machine, and the second docking layer is 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 as claimed in 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 industrial heterogeneous data to be processed into structured data, unstructured data, time series data and cross-domain data; After the data is divided, a multi-source data index is established; wherein the multi-source data index is configured with a multi-source database; According to the multi-source data index, a multi-source data architecture is built for the industrial heterogeneous data to be processed; the data architecture includes message broker, streaming data status, multi-sequence stability parameters and data warehousing response; According to 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 as claimed in claim 4, characterized in that: The determining of the target processing server and the data type includes: The to-be-processed industrial heterogeneous data are sampled according to the data form, and the data features corresponding to the target data of each data form are determined; wherein the data forms include pictures, videos, audios, texts, analog signals, and digital signals; According to the data characteristics, determining the adaptation address information having the address characteristics; wherein the adaptation address information includes the 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 as claimed in 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 as claimed in claim 1, characterized in that: The triggering of the corresponding target communication protocol in the configurable protocol stack further includes: In response to a configurable protocol stack protocol configuration operation, the to-be-processed industrial heterogeneous data is segmented, a plurality of data types of the to-be-processed industrial heterogeneous data are determined, and the plurality of data segments are loaded into a parallel template for parallel processing, wherein the plurality of data types include address features; Determine whether there is a preset navigation code according to 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; The address features processed by the navigation encoding are associated with the target communication protocol.

8. The industrial heterogeneous data processing system for performing multi-protocol conversion through a state machine as claimed in claim 1, characterized in that: The method of centrally triggering the corresponding target data interface to connect with 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 a correlation function associated with the sorting sequence based on the docking parameters and the sorting sequence of each to-be-processed industrial heterogeneous data in the communication interface set; According to the association function, the target data interface is connected to the target server.

9. The industrial heterogeneous data processing system for performing multi-protocol conversion through a state machine as claimed in 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.

10. The industrial heterogeneous data processing system for performing multi-protocol conversion through a state machine as claimed in claim 1, characterized in that: The method of centrally triggering the corresponding target data interface to connect with the target server through the communication interface of the second finite state machine also 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; According to the priority configuration strategy, traffic distribution is performed through the second finite state machine; According to the allocation results of traffic distribution, the industrial heterogeneous data to be processed are 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

Cited By

  • Serial communication protocol analysis method and system based on mixed state machine architecture

    CN120676070A