Multi-protocol Internet of Things system and multi-protocol Internet of Things soft gateway development method
Through the design of multi-protocol IoT system and soft gateway layer, the compatibility problem of devices connected to IoT platforms for different communication protocols is solved, unified access and management of devices is realized, and the compatibility and scalability of the platform is improved. Supports dynamic protocol conversion and management.
Patent Information
- Application Number
- CN202411274962.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2024-12-31
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Devices with different communication protocols have compatibility issues when accessing IoT platforms, lacking flexibility and scalability.
A multi-protocol IoT system was designed, including the device layer, soft gateway layer and cloud IoT platform layer. The device messages of different protocols are converted into a unified format through the protocol parsing plug-in, and transmitted to the cloud platform through the MQTT protocol, supporting multiple This communication interface and protocol realizes unified access and management of equipment.
Improves compatibility and scalability of the IoT platform, realizes unified access and management of devices with different protocols, supports dynamic loading and unloading protocol conversion modules, solves the flexibility and hot update problems of device message parsing, and has good Universality and scalability.
Smart Images

Figure CN119232808A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things device management, and in particular to a multi-protocol Internet of Things system and a multi-protocol Internet of Things soft gateway development method. Background Art
[0002] Internet of Things (IoT) is a technology that connects any object to the Internet through information sensing devices, according to agreed protocols, to achieve intelligent identification, positioning, tracking, supervision and other functions. IoT technology refers to the technology that connects any object to the Internet through information sensing devices, such as sensors, RFID tags, etc., to exchange information and communicate, so as to achieve intelligent management and control.
[0003] With the rapid development of IoT technology, a large number of smart devices are widely used in various fields. These devices use different communication protocols, which leads to compatibility issues when the devices are connected to the IoT platform. Traditional device access methods are often developed for specific protocols and lack flexibility and scalability. Summary of the invention
[0004] The technical task of the present invention is to provide a multi-protocol Internet of Things system and a multi-protocol Internet of Things soft gateway development method to solve the compatibility problem of different communication protocol devices accessing the Internet of Things platform.
[0005] The technical task of the present invention is achieved in the following way: a multi-protocol Internet of Things system, which includes a device layer, a soft gateway layer and a cloud-based Internet of Things platform layer. The device layer transmits TCP device messages, UDP device messages and Websocket device messages to the soft gateway layer through a protocol parsing plug-in, obtains the parsed TCP device messages, UDP device messages and Websocket device messages, and the soft gateway layer transmits the parsed TCP device messages, UDP device messages and Websocket device messages to the cloud-based Internet of Things platform layer through the MQTT protocol. The cloud-based Internet of Things platform stores and analyzes the parsed TCP device messages, UDP device messages and Websocket device messages.
[0006] Preferably, the soft gateway layer includes:
[0007] Device access module, used to communicate with devices of different protocols through multiple communication interfaces;
[0008] The protocol conversion module is used to convert the device data of different protocols into a unified data format of the cloud IoT platform through the protocol parsing plug-in, and upload the protocol conversion plug-in on demand to increase versatility;
[0009] The device management module is used to manage the devices in a unified manner, including device registration, status monitoring, fault diagnosis and configuration of communication parameters.
[0010] The data transmission module is used to upload the converted device data to the cloud IoT platform through the cloud link, and the cloud IoT platform stores and analyzes the converted device data.
[0011] More preferably, the device access module configures a cloud link in a cloud link interface to interact with a cloud IoT platform;
[0012] The functions of cloud links are as follows:
[0013] ①Upload the messages sent by the device layer to the cloud IoT platform layer;
[0014] ② Send the receipt message from the cloud IoT platform layer back to the device layer;
[0015] The device layer and the cloud IoT platform layer only establish a channel for data transmission through the cloud link.
[0016] Preferably, the device management module is used to configure the cloud device to correspond to the physical device, specifically:
[0017] Add cloud devices in the soft gateway layer and configure the communication parameters of the devices so that the cloud devices can receive messages from physical devices and communicate with the cloud IoT platform layer;
[0018] The cloud device acts as a bridge between the device layer and the cloud IoT platform layer. It verifies and converts the incoming device layer data as required, and then sends it to the cloud IoT platform layer, thus connecting the device layer and the cloud IoT platform layer.
[0019] Preferably, the protocol conversion module is used to configure the protocol parsing plug-in, specifically:
[0020] The default protocol parsing plug-in in the soft gateway layer is transparent transmission of messages. Users download the protocol parsing plug-in template and modify the device layer message processing method of the protocol parsing plug-in according to their own needs. Users debug locally, package and upload the application after debugging and modification.
[0021] The protocol parsing plug-in converts the data uploaded by the device layer according to the method in the protocol parsing plug-in. The conversion result is based on the data format required by the cloud IoT platform layer.
[0022] Among them, the soft gateway layer has multiple built-in protocol conversion modules. The soft gateway layer with modular structure is adopted in the protocol conversion process, which supports dynamic loading and unloading of protocol conversion modules.
[0023] Preferably, the data transmission module is used to simulate a real device sending a message, specifically:
[0024] The user uses the socketTool tool to simulate sending messages or uses a real device to test sending messages. The situation is as follows:
[0025] If a receipt message is set, check whether the message has been received based on the receipt message;
[0026] If the receipt message is not set, the default is to return the sent message;
[0027] If the reported message is a physical model, the IoT platform checks whether the corresponding device has received the message or whether there is a message record in the device's historical data message. The latest message sent by the device saved in the soft gateway layer is used to determine whether the communication with the cloud IoT platform layer is successful.
[0028] Preferably, the system also includes a remote monitoring and management layer, which is used to perform remote monitoring and management after receiving data at the cloud-based IoT platform layer, and to view the operating status, parameter information and fault information of the equipment in real time through the cloud-based IoT platform layer; at the same time, remote control and parameter setting operations are performed on the equipment layer.
[0029] A method for developing a multi-protocol Internet of Things soft gateway, the method is as follows:
[0030] Device access: The soft gateway layer supports multiple communication interfaces to communicate with devices of different protocols, such as Modbus, MQTT, OPC UA, HTTP, TCP / IP, etc.
[0031] Protocol conversion: The device layer data of different protocols are converted into a unified data format of the cloud IoT platform layer through the protocol parsing plug-in, and the protocol parsing plug-in is uploaded on demand to increase versatility;
[0032] Device management: The soft gateway layer manages the connected device layer in a unified manner, including device registration, status monitoring, fault diagnosis, and configuration of communication parameters;
[0033] Data transmission: The converted device layer data is uploaded to the cloud IoT platform layer through the cloud link, and the cloud IoT platform layer stores and analyzes the converted device layer data;
[0034] Remote monitoring and management layer: After receiving data at the cloud IoT platform layer, remote monitoring and management are carried out, and the operating status, parameter information and fault information of the equipment are viewed in real time through the cloud IoT platform layer; at the same time, remote control and parameter setting operations are carried out on the equipment layer.
[0035] As a preferred method, the device access is as follows:
[0036] Configure the cloud link in the cloud link interface to interact with the cloud IoT platform;
[0037] The functions of the cloud link are as follows:
[0038] ①Upload the messages sent by the device layer to the cloud IoT platform layer;
[0039] ② Send the receipt message from the cloud IoT platform layer back to the device layer;
[0040] The device layer and the cloud IoT platform layer only establish a channel for data transmission through the cloud link;
[0041] The details of device management are as follows:
[0042] Add cloud devices in the soft gateway layer and configure the communication parameters of the devices so that the cloud devices can receive messages from physical devices and communicate with the cloud IoT platform layer;
[0043] The cloud device acts as a bridge between the device layer and the cloud IoT platform layer. It verifies and converts the incoming device layer data as required, and then sends it to the cloud IoT platform layer, thus connecting the device layer and the cloud IoT platform layer.
[0044] Preferably, the protocol conversion is as follows:
[0045] The default protocol parsing plug-in in the soft gateway layer is transparent transmission of messages. Users download the protocol parsing plug-in template and modify the device layer message processing method of the protocol parsing plug-in according to their own needs. Users debug locally, package and upload the application after debugging and modification.
[0046] The protocol parsing plug-in converts the data uploaded by the device layer according to the method in the protocol parsing plug-in. The conversion result is based on the data format required by the cloud IoT platform layer.
[0047] The specific data transmission is as follows: the user uses the socketTool tool to simulate sending messages or uses a real device to test sending messages, as follows:
[0048] If a receipt message is set, check whether the message has been received based on the receipt message;
[0049] If the receipt message is not set, the default is to return the sent message;
[0050] If the reported message is a physical model, the IoT platform checks whether the corresponding device has received the message or whether there is a message record in the device's historical data message. The latest message sent by the device saved in the soft gateway layer is used to determine whether the communication with the cloud IoT platform layer is successful.
[0051] The multi-protocol Internet of Things system and the multi-protocol Internet of Things soft gateway development method of the present invention have the following advantages:
[0052] (i) The present invention introduces a soft gateway layer as an intermediate layer to achieve unified access and data conversion of devices with different communication protocols to the Internet of Things platform, improve the compatibility and scalability of the Internet of Things platform, and provide an efficient and flexible device access solution system for the Internet of Things field;
[0053] (ii) The present invention achieves unified access and data conversion of devices with different protocols to the cloud IoT platform layer through configuration, thus solving the compatibility problem of devices with different communication protocols accessing the IoT platform;
[0054] (III) The present invention supports multi-protocol device data analysis: the protocol analysis plug-in is uploaded by the user, which ensures the confidentiality of the analysis method. The user defines the specific implementation of processing device messages in the protocol analysis plug-in, which will not be leaked. Different protocol analysis packages are used to implement data processing of different protocols. One soft gateway can implement the analysis of multiple protocols.
[0055] (IV) The protocol parsing plug-in of the present invention can be dynamically updated: In addition to the built-in protocol plug-in, the soft gateway can also dynamically load and unload the plug-in uploaded by the user through the protocol conversion module, which effectively solves the hot update problem of the device message parsing plug-in. The latest parsing plug-in can be applied to parse the device message without restarting the gateway to modify the parsing plug-in; by dynamically loading and unloading the protocol conversion module, the soft gateway can flexibly adapt to the access requirements of devices with different protocols; wherein, the protocol conversion module mainly parses and loads the protocol package, loads the method in the protocol package to the local, and calls the parsing method for parsing when the message arrives; the user downloads the protocol template, implements the method therein, and then packages and uploads it. After the system receives the uploaded plug-in, it understands the parsing configuration into the system, and receives the device message, it can process the message according to the configured plug-in;
[0056] (V) The present invention is compatible and flexible: by introducing a soft gateway as an intermediate layer, the present invention is compatible with various devices using different communication protocols and realizes unified access and management of devices; with modular design, each functional module can be independently upgraded and expanded, which improves the flexibility of the system;
[0057] (VI) The present invention has confidentiality and scalability: the device message parsing method of the corresponding protocol is handed over to the user for maintenance, which to a certain extent meets the user's demand for closed message processing and has good versatility and scalability;
[0058] (VII) The present invention supports multiple protocols: the soft gateway layer supports multiple communication protocols, can achieve unified access and management of different devices, solves the compatibility problem of device access to the Internet of Things platform, and can expand the supported protocols by uploading plug-ins of different protocols as needed. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] The present invention is further described below in conjunction with the accompanying drawings.
[0060] Attached Figure 1 This is a schematic diagram of the structure of a multi-protocol Internet of Things system. DETAILED DESCRIPTION
[0061] The multi-protocol Internet of Things system and the multi-protocol Internet of Things soft gateway development method of the present invention are described in detail below with reference to the accompanying drawings and specific embodiments of the specification.
[0062] Embodiment 1:
[0063] As attached Figure 1 As shown, this embodiment provides a multi-protocol Internet of Things system, which includes a device layer, a soft gateway layer and a cloud-based Internet of Things platform layer. The device layer transmits the TCP device message, UDP device message and websocket device message to the soft gateway layer through a protocol parsing plug-in, obtains the parsed TCP device message, UDP device message and websocket device message, and the soft gateway layer transmits the parsed TCP device message, UDP device message and websocket device message to the cloud-based Internet of Things platform layer through the MQTT protocol. The cloud-based Internet of Things platform stores and analyzes the parsed TCP device message, UDP device message and websocket device message.
[0064] The soft gateway layer in this embodiment includes:
[0065] Device access module, used to communicate with devices of different protocols through various communication interfaces; typical protocols include Modbus, MQTT, OPC UA, HTTP, TCP / IP, etc.
[0066] The protocol conversion module is used to convert the device data of different protocols into a unified data format of the cloud IoT platform through the protocol parsing plug-in, and upload the protocol conversion plug-in on demand to increase versatility;
[0067] The device management module is used to manage the devices in a unified manner, including device registration, status monitoring, fault diagnosis and configuration of communication parameters.
[0068] The data transmission module is used to upload the converted device data to the cloud IoT platform through the cloud link, and the cloud IoT platform stores and analyzes the converted device data.
[0069] The device access module in this embodiment configures the cloud link in the cloud link interface to interact with the cloud IoT platform;
[0070] The functions of the cloud link are as follows:
[0071] ①Upload the messages sent by the device layer to the cloud IoT platform layer;
[0072] ② Send the receipt message from the cloud IoT platform layer back to the device layer;
[0073] The device layer and the cloud IoT platform layer only establish a channel for data transmission through the cloud link.
[0074] The device management module in this embodiment is used to configure the cloud device to correspond to the physical device, specifically:
[0075] Add cloud devices in the soft gateway layer and configure the communication parameters of the devices so that the cloud devices can receive messages from physical devices and communicate with the cloud IoT platform layer;
[0076] The cloud device acts as a bridge between the device layer and the cloud IoT platform layer. It verifies and converts the incoming device layer data as required, and then sends it to the cloud IoT platform layer, thus connecting the device layer and the cloud IoT platform layer.
[0077] The protocol conversion module in this embodiment is used to configure the protocol parsing plug-in, specifically:
[0078] The default protocol parsing plug-in in the soft gateway layer is transparent transmission of messages. Users download the protocol parsing plug-in template and modify the device layer message processing method of the protocol parsing plug-in according to their own needs. Users debug locally, package and upload the application after debugging and modification.
[0079] The protocol parsing plug-in converts the data uploaded by the device layer according to the method in the protocol parsing plug-in. The conversion result is based on the data format required by the cloud IoT platform layer.
[0080] Among them, the soft gateway layer has multiple built-in protocol conversion modules. The soft gateway layer with modular structure is adopted in the protocol conversion process, which supports dynamic loading and unloading of protocol conversion modules.
[0081] The data transmission module in this embodiment is used to simulate a real device sending a message, specifically:
[0082] The user uses the socketTool tool to simulate sending messages or uses a real device to test sending messages. The situation is as follows:
[0083] If a receipt message is set, check whether the message has been received based on the receipt message;
[0084] If the receipt message is not set, the default is to return the sent message;
[0085] If the reported message is a physical model, the IoT platform checks whether the corresponding device has received the message or whether there is a message record in the device's historical data message. The latest message sent by the device saved in the soft gateway layer is used to determine whether the communication with the cloud IoT platform layer is successful.
[0086] In this embodiment, the system also includes a remote monitoring and management layer, which is used to perform remote monitoring and management after receiving data at the cloud-based Internet of Things platform layer, and to view the operating status, parameter information, and fault information of the equipment in real time through the cloud-based Internet of Things platform layer; at the same time, remote control and parameter setting operations are performed on the equipment layer.
[0087] Embodiment 2:
[0088] This embodiment provides a method for developing a multi-protocol IoT soft gateway, which is specifically as follows:
[0089] S1. Device access: The soft gateway layer supports multiple communication interfaces to communicate with devices of different protocols, such as Modbus, MQTT, OPC UA, HTTP, TCP / IP, etc.
[0090] S2. Protocol conversion: The device layer data of different protocols are converted into a unified data format of the cloud IoT platform layer through the protocol parsing plug-in, and the protocol parsing plug-in is uploaded on demand to increase versatility;
[0091] S3, device management: The soft gateway layer manages the connected device layer in a unified manner, including device registration, status monitoring, fault diagnosis and configuration of communication parameters;
[0092] S4, data transmission: The converted device layer data is uploaded to the cloud IoT platform layer through the cloud link, and the cloud IoT platform layer stores and analyzes the converted device layer data;
[0093] S5. Remote monitoring and management: After receiving data at the cloud IoT platform layer, remote monitoring and management are carried out, and the operating status, parameter information and fault information of the equipment are viewed in real time through the cloud IoT platform layer; at the same time, remote control and parameter setting operations are performed on the equipment layer.
[0094] The device access in step S1 of this embodiment is specifically as follows:
[0095] Configure the cloud link in the cloud link interface to interact with the cloud IoT platform;
[0096] The functions of cloud links are as follows:
[0097] ①Upload the messages sent by the device layer to the cloud IoT platform layer;
[0098] ② Send the receipt message from the cloud IoT platform layer back to the device layer;
[0099] The device layer and the cloud IoT platform layer only establish a channel for data transmission through the cloud link.
[0100] The protocol conversion in step S2 of this embodiment is specifically as follows:
[0101] S201, the default protocol parsing plug-in in the soft gateway layer is transparent transmission of messages. The user downloads the protocol parsing plug-in template and modifies the device layer message processing method of the protocol parsing plug-in according to their own needs. The user debugs locally, and after debugging and modifying, the package is uploaded to the application;
[0102] S202, the protocol parsing plug-in converts the data uploaded by the device layer according to the method in the protocol parsing plug-in, and the conversion result is based on the data format required by the cloud IoT platform layer;
[0103] The device management in step S3 of this embodiment is specifically as follows:
[0104] Add cloud devices in the soft gateway layer and configure the communication parameters of the devices so that the cloud devices can receive messages from physical devices and communicate with the cloud IoT platform layer;
[0105] The cloud device acts as a bridge between the device layer and the cloud IoT platform layer. It verifies and converts the incoming device layer data as required, and then sends it to the cloud IoT platform layer, thus connecting the device layer and the cloud IoT platform layer.
[0106] The data transmission in step S4 of this embodiment is specifically as follows: the user uses the socketTool tool to simulate sending a message or uses a real device to perform a message sending test, as follows:
[0107] If a receipt message is set, check whether the message has been received based on the receipt message;
[0108] If the receipt message is not set, the default is to return the sent message;
[0109] If the reported message is a physical model, the IoT platform checks whether the corresponding device has received the message or whether there is a message record in the device's historical data message. The latest message sent by the device saved in the soft gateway layer is used to determine whether the communication with the cloud IoT platform layer is successful.
[0110] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A multi-protocol Internet of Things system, characterized in that: The system includes a device layer, a soft gateway layer and a cloud IoT platform layer. The device layer transmits TCP device messages, UDP device messages and Websocket device messages to the soft gateway layer through a protocol parsing plug-in, and obtains the parsed TCP device messages, UDP device messages and Websocket device messages. The soft gateway layer transmits the parsed TCP device messages, UDP device messages and Websocket device messages to the cloud IoT platform layer through the MQTT protocol. The cloud IoT platform stores and analyzes the parsed TCP device messages, UDP device messages and Websocket device messages.
2. The multi-protocol Internet of Things system according to claim 1, characterized in that: The soft gateway layer includes: Device access module, used to communicate with devices of different protocols through multiple communication interfaces; The protocol conversion module is used to convert device data of different protocols into a unified data format of the cloud IoT platform through a protocol parsing plug-in, and upload the protocol conversion plug-in as needed; The device management module is used to manage the devices in a unified manner, including device registration, status monitoring, fault diagnosis and configuration of communication parameters. The data transmission module is used to upload the converted device data to the cloud IoT platform through the cloud link, and the cloud IoT platform stores and analyzes the converted device data.
3. The multi-protocol Internet of Things system according to claim 2, characterized in that: The device access module configures a cloud link in a cloud link interface to interact with a cloud IoT platform; The functions of the cloud link are as follows: ①Upload the messages sent by the device layer to the cloud IoT platform layer; ② Send the receipt message from the cloud IoT platform layer back to the device layer; The device layer and the cloud IoT platform layer only establish a channel for data transmission through the cloud link.
4. The multi-protocol Internet of Things system according to claim 2, characterized in that: The device management module is used to configure the cloud device to correspond to the physical device, specifically: Add cloud devices in the soft gateway layer and configure the communication parameters of the devices so that the cloud devices can receive messages from physical devices and communicate with the cloud IoT platform layer; The cloud device acts as a bridge between the device layer and the cloud IoT platform layer. It verifies and converts the incoming device layer data as required, and then sends it to the cloud IoT platform layer, thus connecting the device layer and the cloud IoT platform layer.
5. The multi-protocol Internet of Things system according to claim 2, characterized in that: The protocol conversion module is used to configure the protocol parsing plug-in, specifically: The default protocol parsing plug-in in the soft gateway layer is transparent transmission of messages. Users download the protocol parsing plug-in template and modify the device layer message processing method of the protocol parsing plug-in according to their own needs. Users debug locally, package and upload the application after debugging and modification. The protocol parsing plug-in converts the data uploaded by the device layer according to the method in the protocol parsing plug-in. The conversion result is based on the data format required by the cloud IoT platform layer. Among them, the soft gateway layer has multiple built-in protocol conversion modules. The soft gateway layer with modular structure is adopted in the protocol conversion process, which supports dynamic loading and unloading of protocol conversion modules.
6. The multi-protocol Internet of Things system according to claim 2, characterized in that: The data transmission module is used to simulate a real device sending a message, specifically: The user uses the socketTool tool to simulate sending messages or uses a real device to test sending messages. The situation is as follows: If a receipt message is set, check whether the message has been received based on the receipt message; If the receipt message is not set, the default is to return the sent message; If the reported message is a physical model, the IoT platform checks whether the corresponding device has received the message or whether there is a message record in the device's historical data message. The latest message sent by the device saved in the soft gateway layer is used to determine whether communication with the cloud IoT platform layer is successful.
7. The multi-protocol Internet of Things system and multi-protocol Internet of Things soft gateway development method according to claim 1, characterized in that: The system also includes a remote monitoring and management layer, which is used to perform remote monitoring and management after receiving data at the cloud IoT platform layer, and to view the operating status, parameter information and fault information of the equipment in real time through the cloud IoT platform layer; at the same time, remote control and parameter setting operations are performed on the equipment layer.
8. A method for developing a multi-protocol Internet of Things soft gateway, characterized in that: The method is as follows: Device access: The soft gateway layer supports multiple communication interfaces to communicate with devices of different protocols; Protocol conversion: The device layer data of different protocols are converted into a unified data format of the cloud IoT platform layer through the protocol parsing plug-in, and the protocol parsing plug-in is uploaded on demand; Device management: The soft gateway layer manages the connected device layer in a unified manner, including device registration, status monitoring, fault diagnosis, and configuration of communication parameters; Data transmission: The converted device layer data is uploaded to the cloud IoT platform layer through the cloud link, and the cloud IoT platform layer stores and analyzes the converted device layer data; Remote monitoring and management layer: After receiving data at the cloud IoT platform layer, remote monitoring and management are carried out, and the operating status, parameter information and fault information of the equipment are viewed in real time through the cloud IoT platform layer; at the same time, remote control and parameter setting operations are carried out on the equipment layer.
9. The method for developing a multi-protocol Internet of Things soft gateway according to claim 8, characterized in that: The device access details are as follows: Configure the cloud link in the cloud link interface to interact with the cloud IoT platform; The functions of the cloud link are as follows: ①Upload the messages sent by the device layer to the cloud IoT platform layer; ② Send the receipt message from the cloud IoT platform layer back to the device layer; The device layer and the cloud IoT platform layer only establish a channel for data transmission through the cloud link; The details of device management are as follows: Add cloud devices in the soft gateway layer and configure the communication parameters of the devices so that the cloud devices can receive messages from physical devices and communicate with the cloud IoT platform layer; The cloud device acts as a bridge between the device layer and the cloud IoT platform layer. It verifies and converts the incoming device layer data as required, and then sends it to the cloud IoT platform layer, thus connecting the device layer and the cloud IoT platform layer.
10. The method for developing a multi-protocol Internet of Things soft gateway according to claim 8 or 9, characterized in that: The protocol conversion is as follows: The default protocol parsing plug-in in the soft gateway layer is transparent transmission of messages. Users download the protocol parsing plug-in template and modify the device layer message processing method of the protocol parsing plug-in according to their own needs. Users debug locally, package and upload the application after debugging and modification. The protocol parsing plug-in converts the data uploaded by the device layer according to the method in the protocol parsing plug-in. The conversion result is based on the data format required by the cloud IoT platform layer. The specific data transmission is as follows: the user uses the socketTool tool to simulate sending messages or uses a real device to test sending messages, as follows: If a receipt message is set, check whether the message has been received based on the receipt message; If the receipt message is not set, the default is to return the sent message; If the reported message is a physical model, the IoT platform checks whether the corresponding device has received the message or whether there is a message record in the device's historical data message. The latest message sent by the device saved in the soft gateway layer is used to determine whether communication with the cloud IoT platform layer is successful.
Citation Information
Patent Citations
Internet of Things adaptation method and system, computer equipment and storage medium
CN110971614A
Simulation test method, device, equipment and medium
CN114116356A
Internet of Things data processing method, device and equipment, medium and Internet of Things soft gateway
CN115396523A
Plug-in type Internet of Things equipment access method and device, terminal and medium
CN117135190A
Internet of things soft gateway deployment method, system and device and storage medium
CN117519731A
Cited By
Method and system for dynamically loading plug-in and starting and stopping port based on micro-service gateway
CN121691019A
A method and system for dynamically loading plug-ins and starting and stopping ports based on a micro-service gateway
CN121691019B