Industrial control equipment protocol processing method and related product

Through the protocol processing module within the IoT platform system, the uplink protocol frames of industrial control equipment are obtained and processed, and a variety of industrial protocols are supported, which solves the problem of incompatibility of industrial control equipment protocols of different brands and models, reducing hardware costs and complexity.

CN119449913APending Publication Date: 2025-02-14HANGZHOU ALICLOUD FEITIAN INFORMATION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202310973091.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-03
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

Different brands and models of industrial control equipment use different industrial protocols, resulting in the need of gateways to support multiple protocols, thereby increasing hardware cost and complexity.

Method used

By deploying a protocol processing module in the platform system, the uplink protocol frames generated by the industrial control equipment are obtained, and the protocol processing is performed according to the corresponding industrial control protocol, the industrial control data is obtained and transmitted to the industrial control data processing equipment.

Benefits of technology

It realizes support for multiple industrial protocols, reduces hardware costs, simplifies the design and development of gateways, and reduces the adaptation needs for different hardware.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119449913A_ABST
    Figure CN119449913A_ABST
Patent Text Reader

Abstract

The invention relates to an industrial control equipment protocol processing method and a related product, and relates to the technical field of computers, and the method comprises the steps that a protocol processing module obtains an uplink protocol frame, and the uplink protocol frame is generated by industrial control equipment according to an industrial control protocol supported by the industrial control equipment; a protocol processing module carries out protocol processing according to an industrial control protocol corresponding to the uplink protocol frame, and analyzes and obtains industrial control data of the industrial control equipment in the protocol processing; and the protocol processing module transmits the industrial control data to industrial control data processing equipment in the platform system. According to the invention, after the uplink protocol frames of different industrial protocols are obtained, protocol processing is carried out according to the industrial control protocol corresponding to the uplink protocol frames, various types of industrial protocols can be supported, the industrial control data of the industrial control equipment are obtained through analysis in protocol processing, and the industrial control data are transmitted to the industrial control data processing equipment in a platform system. Therefore, the collection or control of the industrial control equipment is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an industrial control equipment protocol processing method and related products. Background Art

[0002] This section is intended to provide a background or context to the embodiments of the invention recited in the claims. No admission is made that the description herein is prior art by its inclusion in this section.

[0003] In the factory, various brands and models of industrial control equipment are running, such as brand one PLC, brand two CNC, etc. The IoT platform needs to remotely collect or control these devices, and generally needs to connect to them through a gateway. To be able to connect these devices, the gateway needs to support the industrial protocols supported by these devices. Currently, industrial control equipment of different brands and models use different protocols, such as S7, Modbus, OPC-UA, BACnet and other industrial protocols. These protocols are very different and basically incompatible. If there are multiple devices in a factory, if the gateway wants to connect to various devices at the same time, the gateway must support all industrial protocols, so it is necessary to make a large and comprehensive complex gateway, and the hardware cost will increase accordingly. Summary of the invention

[0004] The industrial control equipment protocol processing method and related products provided by the embodiments of the present invention can support multiple industrial protocols, thereby greatly reducing hardware costs.

[0005] According to one aspect of the present application, there is also provided a method for processing a protocol for industrial control equipment, which is applied to a protocol processing module arranged in a platform system. The method for processing a protocol for industrial control equipment includes: the protocol processing module obtains an uplink protocol frame, wherein the uplink protocol frame is generated by the industrial control equipment according to the industrial control protocol supported by each equipment; the protocol processing module performs protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, and parses and obtains the industrial control data of the industrial control equipment during the protocol processing; the protocol processing module transmits the industrial control data to the industrial control data processing equipment in the platform system.

[0006] According to another aspect of the present application, a method for protocol processing of industrial control equipment is also provided, which is applied to a proxy server, and the method includes: collecting industrial control protocol frames generated by the industrial control equipment based on the supported industrial protocol; forwarding the industrial control protocol frames as uplink protocol frames to a protocol processing module, so that the protocol processing module performs protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, and parsing and obtaining the industrial control data of the industrial control equipment during the protocol processing.

[0007] According to another aspect of the present application, a method for processing industrial control equipment protocol is also provided, which is applied to an Internet of Things platform system in which a proxy server is deployed on the industrial control equipment and a protocol processing module is deployed in the platform system. The method for processing industrial control equipment protocol includes: the proxy server collects industrial control protocol frames generated by the industrial control equipment according to the supported industrial protocol; the industrial control protocol frames are forwarded to the protocol processing module as uplink protocol frames; the protocol processing module obtains the uplink protocol frames; the protocol processing module performs protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, and parses and obtains the industrial control data of the industrial control equipment during the protocol processing; the protocol processing module transmits the industrial control data to the industrial control data processing equipment in the platform system.

[0008] According to another aspect of the present application, there is also provided an industrial control equipment protocol processing device, which is applied to a protocol processing module arranged in a platform system, and the device includes: an acquisition unit, which is used to acquire an uplink protocol frame, wherein the uplink protocol frame is generated by the industrial control equipment according to the industrial control protocol supported by each equipment; a processing unit, which is used to perform protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, and parse and obtain the industrial control data of the industrial control equipment during the protocol processing; a transmission unit, which is used to transmit the industrial control data to the industrial control data processing equipment in the platform system.

[0009] According to another aspect of the present application, a proxy server is also provided, including: a collection unit, used to collect industrial control protocol frames generated by industrial control equipment based on supported industrial protocols; a forwarding unit, used to forward the industrial control protocol frames as uplink protocol frames to a protocol processing module, so that the protocol processing module can perform protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, and parse and obtain the industrial control data of the industrial control equipment during the protocol processing.

[0010] According to another aspect of the present application, an Internet of Things platform system is also provided, including an Internet of Things platform, industrial control equipment, the above-mentioned industrial control equipment protocol processing device and the above-mentioned proxy server; wherein the Internet of Things platform includes a driving module and an industrial control data processing device; the industrial control equipment protocol processing device is communicatively connected to the Internet of Things platform; and each of the industrial control equipment is provided with the proxy server.

[0011] According to another aspect of the present application, an electronic device is provided, comprising: a processor; and a memory storing a program, wherein the program comprises instructions, and when the instructions are executed by the processor, the processor executes the above method.

[0012] According to another aspect of the present application, a non-transitory computer-readable storage medium storing computer instructions is also provided, wherein the computer instructions are used to enable the computer to execute the steps of the above method.

[0013] According to another aspect of the present application, a computer program product is also provided. The computer program product includes a computer program. When the computer program is executed by a processor, the above method steps are implemented.

[0014] Beneficial effects of the embodiments of the present invention:

[0015] The embodiment of the present invention is applied to a protocol processing module set in a platform system, and the industrial control equipment protocol processing method includes: the protocol processing module obtains an uplink protocol frame, wherein the uplink protocol frame is generated by the industrial control equipment according to the industrial control protocol supported by each; the protocol processing module performs protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, and parses and obtains the industrial control data of the industrial control equipment during the protocol processing; the protocol processing module transmits the industrial control data to the industrial control data processing equipment in the platform system. After the embodiment of the present invention obtains the uplink protocol frames of different industrial protocols, it performs protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, can support multiple types of industrial protocols, parses and obtains the industrial control data of the industrial control equipment during the protocol processing, and transmits the industrial control data to the industrial control data processing equipment in the platform system, so as to realize the collection or control of the industrial control equipment.

[0016] The details of one or more embodiments of the invention are set forth in the following drawings and description so that other features, objects, and advantages of the invention are more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other embodiments can be obtained based on these drawings without creative work.

[0018] Figure 1 The industrial control equipment protocol processing method of the embodiment of the present invention is as follows Figure 1 ;

[0019] Figure 2 It is a schematic diagram of the implementation structure of the industrial control equipment protocol processing method of an embodiment of the present invention on the industrial Internet of Things platform;

[0020] Figure 3 It is a schematic diagram of an implementation framework of the industrial control equipment protocol processing method according to an embodiment of the present invention;

[0021] Figure 4 is a schematic structural diagram of an electronic device of this embodiment;

[0022] Figure 5It is a schematic diagram of the implementation process of the industrial control equipment protocol processing method according to an embodiment of the present invention;

[0023] Figure 6 The industrial control equipment protocol processing method of the embodiment of the present invention is as follows Figure 2

[0024] Figure 7 The industrial control equipment protocol processing method of the embodiment of the present invention is as follows Figure 3 . DETAILED DESCRIPTION

[0025] Embodiments of the present embodiment will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present embodiment are shown in the accompanying drawings, it should be understood that the present embodiment can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein, which are instead provided for a more thorough and complete understanding of the present embodiment. It should be understood that the drawings and embodiments of the present embodiment are only for exemplary purposes and are not intended to limit the scope of protection of the present embodiment.

[0026] In order to support multiple industrial protocols, the industrial edge gateway provided by the existing solution 1 collects, organizes, processes and monitors device data locally, and then sends this data to the IoT (Internet of Things). This solution runs on local hardware devices such as third-party industrial gateways and computers. This solution uses multiple industrial protocols to collect this data, including OPC UA (OLE for Process Control Unified Architecture, object linking and embedding process control), Modbus (a serial communication protocol), TCP / IP (Transmission Control Protocol / Internet Protocol) and Ethernet / IP (a communication protocol, communication protocol, which is based on the Ethernet standard and uses the Internet Protocol for communication), all of which are provided as pre-packaged connectors for operation. This method is deployed on the edge gateway, has high hardware resource requirements, and there are relatively few third-party industrial gateways that are adapted.

[0027] In the existing solution 2, the edge gateway supports the plug-in framework, supports different industrial protocols through protocol plug-ins, and can dynamically download plug-ins to the edge gateway. The plug-in supports Java (a computer language), C (a computer language), C# (a computer language) and other language SDKs (Software Development Kit), which are provided to third parties for integration on the edge side. The operating environment of this solution has relatively high requirements for resource hardware. Different third-party hardware needs to be adapted separately, and plug-ins need to be ported and developed separately for each hardware.

[0028] The edge industrial protocol gateway of the existing solution three uses lightweight industrial protocol gateway software, which allows more functional expansion by hot-swapping more driver modules. Each pluggable driver module works independently without interfering with each other and has its own specific capabilities. The different third-party hardware of this solution needs to be adapted and ported separately, and the plug-in needs to be ported and developed separately for the hardware.

[0029] In addition, considering that gateways are generally embedded systems, different models of gateways have different CPU architectures, hardware resource configurations, compilers, and runtime libraries of different versions. The development cycle for porting an industrial protocol to a piece of hardware is relatively long, and the development cycle will be even longer if multiple protocols are ported at the same time.

[0030] Based on the above background, the embodiments of the present invention provide a method and device for processing industrial control equipment protocols and an Internet of Things platform system. The industrial driver protocols of this solution are all implemented in the cloud and do not need to be adapted to different hardware, which simplifies the transplantation and development tasks. The protocol driver agent only implements the proxy forwarding function of the protocol frame, which has simple functions, low hardware cost, and universal functions, and the same hardware can be used to connect to multiple protocol devices.

[0031] The terms involved are explained below.

[0032] CNC (Computerized Numerical Control): Computer numerical control technology machine tools.

[0033] PLC (Programmable Logic Controller): A programmable logic controller is a digital computing and operating electronic system designed specifically for use in industrial environments.

[0034] DTU (Distribution Terminal Unit): A discrete terminal whose main responsibility is to transmit the data of remote devices back to the cloud wirelessly.

[0035] CloudDriver: Cloud driver center,implementing industrial protocols.

[0036] DriverAgent: Driver agent, deployed on independent hardware with a network interface. It can be connected to industrial control equipment through the network or serial port. The network can also be connected to the driver center in the cloud.

[0037] In an embodiment of the present invention, a method for processing a protocol for industrial control equipment is provided. The method can be applied to a protocol processing module arranged in a platform system. Both the platform system and the protocol processing module are deployed in the cloud. Figure 1 is a flowchart of the industrial control equipment protocol processing method according to an embodiment of the present application. Figure 1 The method steps involved are described.

[0038] Step S101: the protocol processing module obtains an uplink protocol frame, wherein the uplink protocol frame is generated by industrial control devices according to the industrial control protocols supported by the devices.

[0039] In this step, the uplink protocol frame is an industrial control protocol frame generated by the industrial control device. Since different industrial control devices support different industrial control protocols, the uplink protocol frame obtained by the protocol processing module is an industrial control protocol frame generated according to different industrial control protocols. In the embodiment of the present invention, the industrial control protocol frame generated by the industrial control device and processed by the protocol processing module is used as the uplink protocol frame. The industrial control device can generate an uplink protocol frame at a set time or time interval, or generate an industrial protocol frame according to a received acquisition instruction or control instruction.

[0040] It should be noted that industrial protocols refer to communication protocols used in the field of industrial automation, such as but not limited to: Modbus protocol, S7 protocol, OPC-UA protocol, Profibus protocol, BACnet protocol and CAN protocol. The industrial protocol frame refers to the data frame format transmitted in these protocols. The function of the protocol frame is to encapsulate the data in a certain format so that it can be transmitted and identified during the communication process. Usually, the protocol frame includes a data header, a data body, a check code, etc. Therefore, the industrial protocol and the industrial protocol frame are closely related. The protocol specifies the mode and content of data transmission, while the protocol frame is a specific data transmission format. The format and content of the protocol frame are usually specified by the communication protocol, and different communication protocols may use different protocol frame formats and contents. For example, the protocol frame of the Modbus protocol includes a start character, an address code, a function code, data, a check code, etc.; the protocol frame of the CAN protocol includes a frame header, data, a frame tail, etc.

[0041] It should also be noted that in the embodiments of the present invention, the industrial control equipment may include but is not limited to: CNC, PLC, sensor, distributed control system, human-machine interface, servo drive, motor controller, industrial computer, communication equipment, machine vision system and industrial robot, etc. The industrial control equipment can also be used to collect industrial control protocol frames of other industrial control equipment that are connected to the industrial control equipment.

[0042] In this step, the industrial protocol adopted by the industrial control equipment can be determined according to demand, or an industrial control equipment supported by a specified industrial protocol can be selected.

[0043] Step S102: the protocol processing module performs protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, and parses and obtains industrial control data of the industrial control device during the protocol processing.

[0044] In this step, the protocol processing module can determine the industrial control protocol corresponding to the uplink protocol frame according to the protocol identification information carried in the uplink protocol frame, such as the identifier of the protocol class or the protocol name, and the protocol processing module performs protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, thereby supporting multiple industrial protocols. Among them, the protocol processing mainly includes the processing steps of parsing data according to the protocol specification, receiving and responding to data according to the protocol flow, and parsing and obtaining the industrial control data of the industrial control equipment in the protocol processing.

[0045] In this step, the cloud platform implements various industrial protocols and transplants an industrial protocol on the cloud, which can be applied to all industrial control devices that support the protocol without adapting to different hardware, making the transplantation development task simple.

[0046] Step S103: the protocol processing module transmits the industrial control data to the industrial control data processing device in the platform system.

[0047] In this step, the protocol processing module transmits the industrial control data to the industrial control data processing device in the platform system, wherein the industrial control data processing device is communicatively connected with the protocol processing module.

[0048] It should be noted that in this step, the industrial control data may include point data. In order to facilitate the industrial control data processing device to perform data processing, before the protocol processing module transmits the industrial control data to the industrial control data processing device in the platform system, it can also convert the above point data into attribute data according to a preset corresponding mapping relationship. For example, if the industrial control device is an air conditioner, it is analyzed that the collected industrial control data includes first point data and second point data. According to the mapping relationship, it can be known that the first point data is the temperature data of the air conditioner, and the second point data is the humidity data of the air conditioner.

[0049] The embodiment of the present invention is applied to a protocol processing module set in a platform system, and the industrial control equipment protocol processing method includes: the protocol processing module obtains an uplink protocol frame, wherein the uplink protocol frame is generated by the industrial control equipment according to the industrial control protocol supported by each; the protocol processing module performs protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, and parses and obtains the industrial control data of the industrial control equipment during the protocol processing; the protocol processing module transmits the industrial control data to the industrial control data processing equipment in the platform system. After the embodiment of the present invention obtains the uplink protocol frames of different industrial protocols, it performs protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, can support multiple types of industrial protocols, parses and obtains the industrial control data of the industrial control equipment during the protocol processing, and transmits the industrial control data to the industrial control data processing equipment in the platform system, so as to realize the collection or control of the industrial control equipment.

[0050] In a possible implementation, the protocol processing module performs protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, which can be executed according to the following steps: the protocol processing module parses the uplink protocol frame according to the industrial control protocol corresponding to the uplink protocol frame, generates a downlink protocol frame for responding to the uplink protocol frame, and sends the downlink protocol frame to a proxy server.

[0051] In this possible implementation, the protocol processing module parses the uplink protocol frame according to the industrial control protocol corresponding to the uplink protocol frame, obtains the industrial control data, and transmits the industrial control data to the industrial control data processing device in the platform system. After the user obtains the industrial control data through the industrial control data processing device, the user may issue an acquisition or control instruction based on the industrial control data through the cloud driver module. The protocol processing module can start the frame processing when receiving the acquisition or control instruction or according to the preset acquisition or control start condition, that is, during the protocol processing, a downlink protocol frame is generated to respond to the uplink protocol frame, and the downlink protocol frame is sent to the proxy server, so that the proxy server forwards the downlink protocol frame to the industrial control device.

[0052] It should be noted that, in the embodiment of the present invention, the industrial protocol frame generated in the protocol processing module and processed by the industrial control device is used as the downlink protocol frame.

[0053] In this step, the protocol processing module may parse the uplink protocol frame according to the industrial control protocol corresponding to the uplink protocol frame, or frame the uplink protocol frame to obtain a downlink protocol frame in response to the uplink protocol frame, thereby supporting multiple industrial protocols.

[0054] It should be noted that the industrial control protocol processing may include the following steps: receiving data packets: receiving data packets from the industrial control network. parsing data packets: parsing the header and payload of the data packets to determine the type and content of the data packets. verifying data packets: verifying the integrity and correctness of the data packets to ensure that the data packets are not spoofed or damaged. If the data packets are encrypted using an encryption algorithm, a decryption operation is required. performing a security check on the data packets to ensure that the data packets do not contain malicious code or attack behavior. performing a protocol check: performing a protocol check on the data packets to ensure that the data packets comply with the specifications of the industrial control protocol. processing data packets: performing corresponding processing operations according to the type and content of the data packets, such as controlling the device, collecting control data, etc. generating a response data packet: generating a corresponding response data packet according to the processing result to reply to the sender or notify other devices. encrypting the response data packet: encrypting the response data packet if necessary. sending a response data packet: sending the response data packet back to the industrial control network to complete the protocol processing process. It should be noted that the industrial control protocol processing may include the following steps: receiving data packets: receiving data packets from the industrial control network. parsing data packets: parsing the header and payload of the data packets to determine the type and content of the data packets. Verify the data packet: Verify the integrity and correctness of the data packet to ensure that the data packet has not been spoofed or damaged. If the data packet is encrypted using an encryption algorithm, a decryption operation is required. Perform a security check on the data packet to ensure that the data packet does not contain malicious code or attack behavior. Perform a protocol check: Perform a protocol check on the data packet to ensure that the data packet complies with the specifications of the industrial control protocol. Process the data packet: Perform corresponding processing operations based on the type and content of the data packet, such as controlling the device, collecting control data, etc. Generate a response data packet: Based on the processing results, generate a corresponding response data packet to reply to the sender or notify other devices. Encrypt the response data packet: If necessary, encrypt the response data packet. Send the response data packet: Send the response data packet back to the industrial control network to complete the protocol processing process.

[0055] In a possible implementation manner, the uplink protocol frame and the downlink protocol frame are forwarded by the proxy server between the protocol processing module and the industrial control device.

[0056] In this possible implementation, the proxy server is used to forward the uplink protocol frame generated by the industrial control device to the protocol processing module so that the protocol processing module can decode the frame to obtain the industrial control data. The proxy server is also used to forward the downlink protocol frame generated by the protocol processing module to the industrial control device to realize the collection or control of the industrial control device. The proxy server only realizes the forwarding function of the protocol frame, which is very simple, does not require high hardware resources, has a very low hardware cost, and the hardware can be applied to all protocols.

[0057] In a possible implementation, the proxy server is disposed at the industrial control device end, or is disposed in an industrial control gateway, and the industrial control gateway is disposed between the industrial control device and the platform system.

[0058] In this possible implementation, the proxy server is arranged on the industrial control device, or arranged in the industrial control gateway, and the industrial control gateway is arranged between the industrial control device and the platform system, so as to realize the communication between the industrial control device and the platform system.

[0059] In this step, the industrial protocol driver is implemented by the cloud, which can be applied to all industrial control devices that support the protocol. There is no need to burn or download the driver to the gateway or driver agent separately, and there is no need to adapt the driver for different embedded hardware. It can be adapted to all gateway hardware, and the development cycle is short.

[0060] In a possible implementation, the proxy server corresponds to the industrial control device one-to-one; before the protocol processing module obtains the uplink protocol frame, the method further includes: the protocol processing module obtains a connection request from the proxy server, and establishes a first connection channel with the proxy server based on the connection request, wherein the connection request carries an identifier of the industrial control device; the protocol processing module obtains connection parameters for connecting to the industrial control device based on the identifier of the industrial control device, and transmits the connection parameters to the proxy server through the first connection channel, so that the proxy server establishes a second connection channel with the industrial control device based on the connection parameters, and the first connection channel and the second connection channel are used to transmit the downlink protocol frame and the uplink protocol frame.

[0061] In this possible implementation, a proxy server is set up on each industrial control device. Before the protocol processing module obtains the uplink protocol frame, when the proxy server is powered on, it is connected to the protocol processing module through the network. The protocol processing module obtains a connection request from the proxy server, and establishes a first connection channel with the proxy server based on the connection request, wherein the connection request carries the identification of the industrial control device. In this step, a first connection channel is established between each proxy server and the protocol processing module. The protocol processing module obtains connection parameters for connecting to the industrial control device based on the identification of the industrial control device, and transmits the connection parameters to the proxy server through the first connection channel, so that the proxy server establishes a second connection channel with some or all of the industrial control devices based on the connection parameters. It should be noted that in this step, the industrial control device that needs to establish a second connection channel with the proxy server may be the industrial control device that is intended to be collected or controlled.

[0062] In this step, protocol frame transmission between the industrial control device, the proxy server, and the protocol processing module is implemented through the first connection channel and the second connection channel.

[0063] In a possible implementation, the proxy server is assigned a key, and the uplink protocol frame and the downlink protocol frame are both forwarded by the proxy server through the first connection channel and the second connection channel encrypted based on the key; the protocol processing module obtains the plaintext data of the uplink protocol frame and the downlink protocol frame based on the key.

[0064] In this possible implementation, each proxy server is assigned a unique key and identifier, the identifier is used to identify the proxy server, and the key is used to encrypt the first connection channel and the second connection channel to ensure the security of the transmitted data, that is, the proxy server is assigned a key, and the uplink protocol frame and the downlink protocol frame are forwarded by the proxy server through the first connection channel and the second connection channel encrypted based on the key. The protocol processing module obtains the plaintext data of the uplink protocol frame and the downlink protocol frame based on the key.

[0065] In this step, a symmetric encryption algorithm or an asymmetric encryption algorithm may be used. The specific encryption algorithm may be selected according to actual needs, and the embodiment of the present invention does not specifically limit this.

[0066] Taking into account that the transmission of industrial protocol frames over the Internet will introduce additional overhead, therefore, in a possible implementation, after the protocol processing module obtains the uplink protocol frame, the method further includes: the protocol processing module decompresses and processes the uplink protocol frame, wherein the uplink protocol frame is compressed and processed by the proxy server; after the protocol processing module generates a downlink protocol frame for responding to the uplink protocol frame, the method further includes: the protocol processing module compresses and processes the downlink protocol frame.

[0067] In this possible implementation, after the protocol processing module obtains the uplink protocol frame, the method further includes: the protocol processing module decompresses the uplink protocol frame, wherein the uplink protocol frame is compressed by the proxy server. That is, the proxy server sends the compressed uplink protocol frame to the protocol processing module, and after receiving the uplink protocol frame, the protocol processing module first decompresses the uplink protocol frame.

[0068] After the protocol processing module generates a downlink protocol frame for responding to the uplink protocol frame, the method further includes: the protocol processing module compresses the downlink protocol frame. That is, the protocol processing module compresses the downlink protocol frame before sending it to the proxy server.

[0069] In this step, before transmitting the uplink protocol frame or the downlink protocol frame, the industrial protocol frame data is compressed, so that the amount of transmitted data can be greatly reduced.

[0070] It should be noted that when compressing industrial coroutines, it is necessary to consider the processing speed of the compression algorithm and the size of the compressed data to ensure that the compressed data can be effectively transmitted and decompressed during network transmission. The specific compression method used can be selected according to actual needs, and the embodiment of the present invention does not make specific limitations on this.

[0071] In a possible implementation manner, the protocol processing module acquiring the uplink protocol frame includes: the protocol processing module acquiring an uplink setting protocol frame, wherein the uplink setting protocol frame is encapsulated with the uplink protocol frame based on a setting protocol, and the setting protocol is a private protocol between the protocol processing module and the proxy server; based on the setting protocol, parsing the uplink setting protocol frame to acquire the uplink protocol frame;

[0072] The protocol processing module sends the downlink protocol frame to the industrial control device, including: the protocol processing module encapsulates the downlink protocol frame into a downlink setting protocol frame based on the setting protocol, sends the downlink setting protocol frame to the proxy server, so that the proxy server parses the downlink setting protocol frame based on the setting protocol, obtains the downlink protocol frame, and sends the downlink protocol frame to the industrial control device.

[0073] In this possible implementation, the setting protocol is a private protocol between the protocol processing module and the proxy server. The setting protocol can be determined according to actual needs, and the embodiment of the present invention does not specifically limit this. By setting the protocol, the format of the industrial protocol frames transmitted in different industrial protocols can be unified for data processing. For example, the setting protocol can be to encapsulate the protocol frame in the format of frame header + frame data. Then, according to the setting protocol, the uplink protocol frame or the downlink protocol frame can be used as the frame data, and then according to the type of industrial protocol and other information, the frame header is designed for the frame data to obtain the uplink setting protocol frame or the downlink setting protocol frame.

[0074] It should be noted that the uplink setting protocol frame or the downlink setting protocol frame may also be compressed and / or encrypted before transmission. The specific configuration may be based on actual needs, and the embodiment of the present invention does not specifically limit this.

[0075] See also Figure 2 The schematic diagram of the implementation structure of the industrial control equipment protocol processing method in the industrial Internet of Things platform is shown below. The implementation of this method in the industrial Internet of Things platform of IoT products is described with a specific embodiment.

[0076] In an embodiment of the present invention, the industrial control device may include a 4G DTU, and a driver agent, namely the above-mentioned proxy server, is deployed on the edge 4G DTU or the gateway; the CloudDriver service ( Figure 2 The driver protocol parsing module is deployed in the industrial IoT platform. The DTU is connected to the industrial control equipment to be collected, remotely collects the power consumption status of photovoltaic equipment, remotely controls the equipment on the factory production line, and monitors equipment abnormalities.

[0077] The embodiment of the present invention also provides an industrial control device protocol processing method, which is applied to a proxy server, and the proxy server is set on the industrial control device, see Figure 6 The process of industrial control equipment protocol processing shown Figure 2 , the method comprising:

[0078] Step S601: collecting industrial control protocol frames generated by industrial control equipment according to supported industrial protocols.

[0079] In this step, the proxy server collects the industrial control protocol frames generated by the industrial control device according to the industrial protocol supported by the industrial control device. The industrial control device can generate uplink protocol frames at set times or time intervals, or generate industrial protocol frames according to received collection instructions or control instructions.

[0080] It should be noted that industrial protocols refer to communication protocols used in the field of industrial automation, such as but not limited to: Modbus protocol, S7 protocol, OPC-UA protocol, Profibus protocol, BACnet protocol and CAN protocol. The industrial protocol frame refers to the data frame format transmitted in these protocols. The function of the protocol frame is to encapsulate the data in a certain format so that it can be transmitted and identified during the communication process. Usually, the protocol frame includes a data header, a data body, a check code, etc. Therefore, the industrial protocol and the industrial protocol frame are closely related. The protocol specifies the mode and content of data transmission, while the protocol frame is a specific data transmission format. The format and content of the protocol frame are usually specified by the communication protocol, and different communication protocols may use different protocol frame formats and contents. For example, the protocol frame of the Modbus protocol includes a start character, an address code, a function code, data, a check code, etc.; the protocol frame of the CAN protocol includes a frame header, data, a frame tail, etc.

[0081] It should also be noted that in the embodiments of the present invention, industrial control equipment may include but is not limited to: CNC, PLC, sensors, distributed control systems, human-machine interfaces, servo drives, motor controllers, industrial computers, communication equipment, machine vision systems, and industrial robots.

[0082] In this step, the industrial protocol adopted by the industrial control equipment can be determined according to demand, or an industrial control equipment supported by a specified industrial protocol can be selected.

[0083] Step S602: forward the industrial control protocol frame as an uplink protocol frame to a protocol processing module, so that the protocol processing module performs protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, and parses and obtains industrial control data of the industrial control device during the protocol processing.

[0084] In this step, in the embodiment of the present invention, the industrial control protocol frame generated by the industrial control device and processed by the protocol processing module is used as the uplink protocol frame. The uplink protocol frame is an industrial control protocol frame generated by the industrial control device. Since different industrial control devices support different industrial control protocols, the uplink protocol frame obtained by the protocol processing module is an industrial control protocol frame generated according to different industrial control protocols.

[0085] The protocol processing module performs protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, thereby supporting multiple industrial protocols. The protocol processing mainly includes parsing data according to the protocol specification, and receiving and responding to data according to the protocol flow, and the industrial control data of the industrial control equipment is obtained by parsing in the protocol processing.

[0086] In this step, the cloud platform implements various industrial protocols. An industrial protocol is transplanted in the cloud, which can be applied to all industrial control devices that support the protocol without adapting to different hardware, making the transplantation development task simple. The proxy server only implements the forwarding function of the protocol frame. The function is very simple, the hardware resource requirements are not high, the hardware cost is very low, and the hardware can be applied to all protocols.

[0087] The embodiment of the present invention provides an industrial control equipment protocol processing method, which can support various types of industrial protocols, has low hardware requirements for a proxy server, and greatly reduces hardware costs.

[0088] The embodiment of the present invention also provides an industrial control device protocol processing method, which is applied to an Internet of Things platform system in which a proxy server is deployed on the industrial control device and a protocol processing module is deployed in the platform system, see Figure 7 The process of industrial control equipment protocol processing shown Figure 3 , the industrial control equipment protocol processing method includes:

[0089] Step S701: the proxy server collects industrial control protocol frames generated by industrial control equipment according to supported industrial protocols; and forwards the industrial control protocol frames as uplink protocol frames to a protocol processing module.

[0090] In step S702, the protocol processing module obtains the uplink protocol frame, performs protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, parses and obtains industrial control data of the industrial control device during the protocol processing, and transmits the industrial control data to the industrial control data processing device in the platform system.

[0091] In the embodiment of the present invention, the specific implementation steps can refer to the implementation of the above-mentioned proxy server and protocol processing module, and the embodiment of the present invention will not be described in detail here.

[0092] An embodiment of the present invention provides an industrial control equipment protocol processing device, which is applied to a protocol processing module set in a platform system, and the device includes: an acquisition unit, which is used to acquire an uplink protocol frame, wherein the uplink protocol frame is generated by the industrial control equipment according to the industrial control protocol supported by each device; a processing unit, which is used to perform protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, and parse and obtain the industrial control data of the industrial control equipment during the protocol processing; and a transmission unit, which is used to transmit the industrial control data to the industrial control data processing equipment in the platform system.

[0093] In a possible implementation, protocol processing is performed according to the industrial control protocol corresponding to the uplink protocol frame, including: parsing the uplink protocol frame according to the industrial control protocol corresponding to the uplink protocol frame, generating a downlink protocol frame for responding to the uplink protocol frame, and sending the downlink protocol frame to a proxy server.

[0094] In a possible implementation manner, the uplink protocol frame and the downlink protocol frame are forwarded by the proxy server between the protocol processing module and the industrial control device.

[0095] In a possible implementation, the proxy server is disposed at the industrial control device end, or is disposed in an industrial control gateway, and the industrial control gateway is disposed between the industrial control device and the platform system.

[0096] In a possible implementation, the proxy server corresponds to the industrial control device one-to-one; before the protocol processing module obtains the uplink protocol frame, the method further includes: the protocol processing module obtains a connection request from the proxy server, and establishes a first connection channel with the proxy server based on the connection request, wherein the connection request carries an identifier of the industrial control device; the protocol processing module obtains connection parameters for connecting to the industrial control device based on the identifier of the industrial control device, and transmits the connection parameters to the proxy server through the first connection channel, so that the proxy server establishes a second connection channel with the industrial control device based on the connection parameters, and the first connection channel and the second connection channel are used to transmit the downlink protocol frame and the uplink protocol frame.

[0097] In a possible implementation, the proxy server is assigned a key, and the uplink protocol frame and the downlink protocol frame are both forwarded by the proxy server through the first connection channel and the second connection channel encrypted based on the key; the protocol processing module obtains the plaintext data of the uplink protocol frame and the downlink protocol frame based on the key.

[0098] In a possible implementation, after the protocol processing module obtains the uplink protocol frame, the method further includes: the protocol processing module decompresses and processes the uplink protocol frame, wherein the uplink protocol frame is compressed and processed by the proxy server; after the protocol processing module generates a downlink protocol frame for responding to the uplink protocol frame, the method further includes: the protocol processing module compresses and processes the downlink protocol frame.

[0099] In a possible implementation, the protocol processing module obtains an uplink protocol frame, including: the protocol processing module obtains an uplink setting protocol frame, wherein the uplink setting protocol frame is encapsulated with the uplink protocol frame based on a setting protocol, and the setting protocol is a private protocol between the protocol processing module and the proxy server; based on the setting protocol, the uplink setting protocol frame is parsed to obtain the uplink protocol frame; the protocol processing module sends the downlink protocol frame to the industrial control device, including: the protocol processing module encapsulates the downlink protocol frame into a downlink setting protocol frame based on the setting protocol, and sends the downlink setting protocol frame to the proxy server, so that the proxy server can parse the downlink setting protocol frame based on the setting protocol, obtain the downlink protocol frame, and send the downlink protocol frame to the industrial control device.

[0100] An embodiment of the present invention also provides a proxy server, including: a collection unit, used to collect industrial control protocol frames generated by industrial control equipment based on supported industrial protocols; a forwarding unit, used to forward the industrial control protocol frames as uplink protocol frames to a protocol processing module, so that the protocol processing module can perform protocol processing based on the industrial control protocol corresponding to the uplink protocol frame, and parse and obtain the industrial control data of the industrial control equipment during the protocol processing.

[0101] In a possible implementation manner, the method further includes: a receiving unit configured to receive a downlink protocol frame sent by the protocol processing module; and the forwarding unit configured to forward the downlink protocol frame to the industrial control device.

[0102] An embodiment of the present invention also provides an Internet of Things platform system, characterized in that it includes an Internet of Things platform, industrial control equipment, the above-mentioned industrial control equipment protocol processing device and the above-mentioned proxy server; wherein the Internet of Things platform includes a driving module and an industrial control data processing device; the industrial control equipment protocol processing device is communicatively connected to the Internet of Things platform; and each of the industrial control equipment is provided with the proxy server.

[0103] See also Figure 3 The schematic diagram of the implementation framework of the industrial control equipment protocol processing method is shown, and the specific implementation method of the Internet of Things platform system of the embodiment of the present invention is described below. The Internet of Things platform includes a driver module and an industrial control data processing device, wherein the driver module is used to implement the driver model, and the driver model can be used for driver management. The cloud driver center is the protocol processing module, and the protocol processing module adopts the industrial control equipment protocol processing device, and the driver agent is the proxy server. The protocol processing module and the Internet of Things platform are deployed in the cloud, and the industrial control equipment protocol processing device is communicatively connected with the Internet of Things platform; each of the industrial control equipment is provided with the proxy server.

[0104] The protocol driver agent is deployed on the edge side, directly connected to the industrial control equipment, and can connect to the CloudDriver in the cloud through the network. CloudDriver is deployed in the cloud and is responsible for parsing the industrial protocol. The IoT platform is deployed in the cloud and communicates directly with CloudDriver to read the data collected by CloudDriver or remotely control the factory equipment through CloudDriver.

[0105] Based on the above implementation framework, the industrial protocol is implemented by CloudDriver deployed on the cloud. When collecting and controlling industrial control equipment at the edge, there is no need to modify any program of the protocol agent deployed at the edge. You only need to configure the driver protocol on the cloud, which shortens the implementation cycle. Figure 5 The implementation process of the industrial control equipment protocol processing method shown in the figure is as follows:

[0106] 1. When the protocol driver agent is powered on, it connects to the cloud driver center through the network. Clouddriver verifies the legitimacy of the device based on the device ID and establishes a connection channel between the protocol driver agent and Clouddriver.

[0107] 2. CloudDriver sends the connection parameters required by the industrial control device to the driver agent based on the user configuration.

[0108] 3. The protocol driver agent connects to the local industrial control device according to the connection parameters issued.

[0109] 4. Clouddriver frames the industrial protocol and sends the protocol frames to the driver agent, which forwards the protocol frames to the industrial control equipment.

[0110] 5. The protocol driver agent receives data from industrial control equipment and forwards it directly to Clouddriver in the cloud.

[0111] In an embodiment of the present invention, a standard industrial protocol driver agent is defined and deployed on edge hardware. The hardware is physically connected to the industrial control equipment through a serial port or a network port, and is connected to a cloud platform or an Internet of Things platform through a network. The platform maintains a network connection with the driver agent. The protocol driver agent does not parse the protocol frame, but only forwards various industrial protocol frames between the device and the cloud platform. The cloud platform implements the industrial bus protocol driver, which is responsible for parsing various industrial bus protocols, assembling protocol frames, and disassembling protocol frames. The protocol driver agent has simple implementation logic, few functions, low requirements on CPU performance and hardware resources, and very low hardware costs. The cloud platform implements various industrial protocols, and once a protocol is transplanted, it can be oriented to all driver agent hardware. There is no need to transplant and adapt the hardware separately, and the development cycle and implementation cycle are short.

[0112] An embodiment of the present invention further provides an electronic device, comprising: at least one processor; and a memory in communication with the at least one processor. The memory stores a computer program executable by the at least one processor, and when the at least one processor executes the computer program, the electronic device executes the method of the embodiment of the present invention.

[0113] An embodiment of the present invention further provides a non-transitory machine-readable medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is used to cause the computer to execute the method of the embodiment of the present invention.

[0114] An embodiment of the present invention further provides a computer program product, including a computer program, wherein the computer program, when executed by a processor of a computer, is used to enable the computer to execute the method of the embodiment of the present invention.

[0115] refer to Figure 4, a block diagram of an electronic device that can be used as a server or client of an embodiment of the present invention will now be described, which is an example of a hardware device that can be applied to various aspects of the present invention. Electronic devices are intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0116] like Figure 4 As shown, the electronic device includes a computing unit 401, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 402 or a computer program loaded from a storage unit 408 into a random access memory (RAM) 403. In RAM 403, various programs and data required for the operation of the electronic device can also be stored. The computing unit 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0117] Multiple components in the electronic device are connected to the I / O interface 405, including: an input unit 406, an output unit 407, a storage unit 408, and a communication unit 409. The input unit 406 can be any type of device that can input information to the electronic device, and the input unit 406 can receive input digital or character information, and generate key signal input related to user settings and / or function control of the electronic device. The output unit 407 can be any type of device that can present information, and can include but is not limited to a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 408 can include but is not limited to a disk, an optical disk. The communication unit 409 allows the electronic device to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and can include but is not limited to a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.

[0118] The computing unit 401 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a CPU, a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 401 performs the various methods and processes described above. For example, in some embodiments, the method embodiments of the present invention may be implemented as a computer program, which is tangibly contained in a machine-readable medium, such as a storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed on an electronic device via ROM 402 and / or communication unit 409. In some embodiments, the computing unit 401 may be configured to perform the above-described method in any other appropriate manner (e.g., by means of firmware).

[0119] The computer programs for implementing the methods of the embodiments of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer programs are executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer programs may be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.

[0120] In the context of an embodiment of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable signal medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0121] It should be noted that the term "including" and its variations used in the embodiments of the present invention are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". The modifications of "one" and "multiple" mentioned in the embodiments of the present invention are illustrative rather than restrictive. Those skilled in the art should understand that unless the context clearly indicates otherwise, it should be understood as "one or more".

[0122] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present invention are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0123] The various steps described in the method implementation methods provided in the embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method implementation methods may include additional steps and / or omit the steps shown. The scope of protection of the present invention is not limited in this respect.

[0124] The term "embodiment" in this specification refers to specific features, structures or characteristics described in conjunction with the embodiment that can be included in at least one embodiment of the present invention. The appearance of this phrase in various places in the specification does not necessarily mean the same embodiment, nor does it mean that it is mutually exclusive with other embodiments and is independent or optional. The various embodiments in this specification are described in a related manner, and the same or similar parts between the various embodiments refer to each other. In particular, for the device, equipment, and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts refer to the partial description of the method embodiment.

[0125] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of patent protection. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the attached claims.

Claims

1. A method for processing industrial control equipment protocol, characterized in that: Applied to a protocol processing module set in a platform system, the industrial control equipment protocol processing method includes: The protocol processing module obtains an uplink protocol frame, wherein the uplink protocol frame is generated by the industrial control devices according to the industrial control protocols supported by each device; The protocol processing module performs protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, and parses and obtains the industrial control data of the industrial control device during the protocol processing; The protocol processing module transmits the industrial control data to the industrial control data processing device in the platform system.

2. The method according to claim 1, characterized in that The protocol processing module performs protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, including: The protocol processing module parses the uplink protocol frame according to the industrial control protocol corresponding to the uplink protocol frame, generates a downlink protocol frame for responding to the uplink protocol frame, and sends the downlink protocol frame to a proxy server.

3. The method according to claim 2, characterized in that The uplink protocol frame and the downlink protocol frame are forwarded by the proxy server between the protocol processing module and the industrial control device.

4. The method according to claim 3, characterized in that The proxy server is arranged at the industrial control device end, or arranged in an industrial control gateway, and the industrial control gateway is arranged between the industrial control device and the platform system.

5. The method according to claim 3, characterized in that: The proxy server corresponds to the industrial control device one by one; Before the protocol processing module obtains the uplink protocol frame, the method further includes: The protocol processing module obtains a connection request from a proxy server, and establishes a first connection channel with the proxy server based on the connection request, wherein the connection request carries an identifier of the industrial control device; The protocol processing module obtains connection parameters for connecting to the industrial control device based on the identifier of the industrial control device, and transmits the connection parameters to the proxy server through the first connection channel, so that the proxy server establishes a second connection channel with the industrial control device based on the connection parameters, and the first connection channel and the second connection channel are used to transmit the downlink protocol frame and the uplink protocol frame.

6. The method according to claim 5, characterized in that The proxy server is allocated with a key, and both the uplink protocol frame and the downlink protocol frame are forwarded by the proxy server through the first connection channel and the second connection channel encrypted based on the key; The protocol processing module obtains the plaintext data of the uplink protocol frame and the downlink protocol frame based on the key.

7. The method according to claim 3, characterized in that After the protocol processing module acquires the uplink protocol frame, the method further includes: the protocol processing module decompressing and processing the uplink protocol frame, wherein the uplink protocol frame is compressed and processed by the proxy server; After the protocol processing module generates a downlink protocol frame for responding to the uplink protocol frame, the method further includes: the protocol processing module compressing and processing the downlink protocol frame.

8. The method according to claim 3, characterized in that The protocol processing module acquiring the uplink protocol frame includes: the protocol processing module acquiring an uplink setting protocol frame, wherein the uplink setting protocol frame is encapsulated with the uplink protocol frame based on a setting protocol, and the setting protocol is a private protocol between the protocol processing module and the proxy server; based on the setting protocol, parsing the uplink setting protocol frame to acquire the uplink protocol frame; The protocol processing module sends the downlink protocol frame to the industrial control device, including: the protocol processing module encapsulates the downlink protocol frame into a downlink setting protocol frame based on the setting protocol, sends the downlink setting protocol frame to the proxy server, so that the proxy server parses the downlink setting protocol frame based on the setting protocol, obtains the downlink protocol frame, and sends the downlink protocol frame to the industrial control device.

9. A method for processing industrial control equipment protocol, characterized in that: Applied to a proxy server, the method comprises: Collect industrial control protocol frames generated by industrial control equipment based on supported industrial protocols; The industrial control protocol frame is forwarded as an uplink protocol frame to a protocol processing module, so that the protocol processing module performs protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, and parses and obtains the industrial control data of the industrial control device during the protocol processing.

10. The method according to claim 9, characterized in that Also includes: receiving a downlink protocol frame sent by the protocol processing module, The downlink protocol frame is forwarded to the industrial control device.

11. A method for processing industrial control equipment protocol, characterized in that: Applied to an Internet of Things platform system in which a proxy server is deployed on an industrial control device and a protocol processing module is deployed in the platform system, the industrial control device protocol processing method includes: The proxy server collects industrial control protocol frames generated by the industrial control equipment according to the supported industrial protocol; and forwards the industrial control protocol frames as uplink protocol frames to the protocol processing module; The protocol processing module obtains the uplink protocol frame, performs protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, parses and obtains the industrial control data of the industrial control device during the protocol processing, and transmits the industrial control data to the industrial control data processing device in the platform system.

12. A protocol processing device for industrial control equipment, characterized in that: Applicable to a protocol processing module arranged in a platform system, the device comprises: An acquisition unit, configured to acquire an uplink protocol frame, wherein the uplink protocol frame is generated by the industrial control devices according to the industrial control protocols supported by the respective devices; A processing unit, configured to perform protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, and to parse and obtain the industrial control data of the industrial control device during the protocol processing; The transmission unit is used to transmit the industrial control data to the industrial control data processing equipment in the platform system.

13. A proxy server, characterized in that: include: A collection unit, used for collecting industrial control protocol frames generated by industrial control equipment according to supported industrial protocols; The forwarding unit is used to forward the industrial control protocol frame as an uplink protocol frame to the protocol processing module, so that the protocol processing module performs protocol processing according to the industrial control protocol corresponding to the uplink protocol frame, and parses and obtains the industrial control data of the industrial control device during the protocol processing.

14. An Internet of Things platform system, characterized in that: It includes an Internet of Things platform, industrial control equipment, the industrial control equipment protocol processing device described in claim 12 and the proxy server described in claim 13; wherein, the Internet of Things platform includes a driver module and an industrial control data processing device; the industrial control equipment protocol processing device is communicatively connected to the Internet of Things platform; and each of the industrial control equipment is provided with the proxy server.

15. An electronic device, characterized in that: include: A processor, and a memory storing a program, wherein the program comprises instructions which, when executed by the processor, cause the processor to perform the method according to any one of claims 1 to 11.

16. A non-transitory machine-readable medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-11.

17. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.

Citation Information

Patent Citations

  • Vehicle security risk warning and accident reconstruction system and method of big data processing

    CN106790367A

  • IOT system and network communication method and device thereof, and storage medium

    CN109495572A

  • Multi-PLC (Programmable Logic Controller) protocol analysis method and system for data acquisition of cloud-side collaborative equipment, and medium

    CN113867249A

  • Industrial control heterogeneous protocol analyzer

    CN217406571U

  • Hybrid middleware device for facilitating communication amongst devices operating on a distinct communication protocols

    US20180338018A1