A smart Internet of Things gateway management system and management method

Through the smart IoT gateway management system and method, and by utilizing data parsing nodes and edge computing, the problems of insufficient reuse and scalability in IoT gateway management methods are solved, the decoupling of software systems and hardware platforms is achieved, and development efficiency and adaptability are improved.

CN119496827BActive Publication Date: 2025-09-23HUIZHOU DAYA BAY DISTRICT HUIQING INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing IoT gateway management methods lack reuse and scalability. Traditional methods simply manage online status and configuration, affecting the development efficiency of software systems.

Method used

Through the smart IoT gateway management system and method, data parsing nodes and edge computing are used to build data parsing rules, format the original data into data that meets the requirements of the target platform, and realize the decoupling of the software system and hardware platform.

Benefits of technology

It achieves the decoupling of application software system development and hardware platform, reduces docking time, improves development efficiency, and adapts to the data format requirements of different business scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119496827B_ABST
    Figure CN119496827B_ABST
Patent Text Reader

Abstract

The present invention discloses a smart Internet of Things gateway management method, comprising the following steps: the gateway receives raw data, constructs data parsing rules, and sets various data parsing nodes required for use in the data parsing process, with each data parsing node being used for a step in the data parsing process; according to the sequence of the various steps in the data parsing process, determines the sequence of the various data parsing nodes and the correspondence between two adjacent data parsing nodes, and constructs the data parsing rules; for the raw data received by the gateway, edge computing runs the data parsing nodes one by one according to the sequence of the data parsing nodes determined by the data parsing rules to process the received data, thereby completing formatting of the raw data received by the gateway and obtaining data that meets the data format requirements of a destination platform; and pushing data: sending the data obtained by parsing the raw data received by the gateway to a server of the destination platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of gateway technology, and specifically relates to a smart Internet of Things gateway management system and management method. Background Art

[0002] With the development of information technology, the level of information intelligence is increasing, and IoT gateways play a crucial role in this process. Most existing IoT gateway management methods simply manage the gateway, lacking sufficient reusability and scalability. Traditional IoT gateways simply manage the gateway's online status and modify its configuration.

[0003] When developing a network-based IoT system, it is usually necessary to develop the software system in conjunction with the hardware of the business platform, and at the same time debug the already developed software system in conjunction with the hardware of the business platform. The software development process is deeply bound to the hardware of the business platform, which affects the development efficiency of the software system. Summary of the Invention

[0004] The purpose of the present invention is to provide a smart Internet of Things gateway management method, which uses a gateway management system and method to deploy software system data to the hardware of a target platform after data parsing, thereby achieving decoupling of software system development and hardware docking.

[0005] In order to achieve the above object, the present invention provides the following technical solutions:

[0006] On the one hand, a method for managing a smart Internet of Things gateway is provided, comprising the steps of:

[0007] The gateway receives the raw data;

[0008] Construct data parsing rules:

[0009] According to the needs of data analysis, set the various data analysis nodes required for the data analysis process, wherein each of the data analysis nodes is used to implement a step in the data analysis process;

[0010] According to the sequence of each step in the data parsing process, the order of each data parsing node and the correspondence between two adjacent data parsing nodes are determined to construct data parsing rules;

[0011] Edge computing: For the raw data received by the gateway, edge computing runs the data parsing nodes one by one in the order determined by the data parsing rules to process the received data, so as to complete the formatting of the raw data received by the gateway and obtain data that meets the data format requirements of the target platform;

[0012] Push data: Set the address of the destination platform and send the data obtained by parsing the original data received by the gateway to the server of the destination platform.

[0013] Preferably, the address of the destination platform is a local server address or a third-party server address.

[0014] Preferably, the data parsing node is implemented using js code; edge computing parses the original data by calling the js code of the data parsing node.

[0015] Preferably, a data parsing node is preset in the Internet of Things gateway management system;

[0016] In a step of data parsing, when a preset data parsing node can realize the function of data parsing, the preset data parsing node can be used when constructing data parsing rules.

[0017] Preferably, for a step of data parsing, when the preset data parsing node cannot realize the corresponding data parsing function; when constructing the data parsing rules, a new data parsing node is created by writing js code to meet the needs of data parsing.

[0018] Preferably, data parsing rules are constructed based on the combination of the data parsing nodes, so as to realize data parsing through a low-code platform and convert the original data into data that meets the data format requirements of the target platform.

[0019] On the other hand, a management system for a smart Internet of Things gateway is provided, comprising:

[0020] Data receiving module, receives original data through the gateway;

[0021] Constructing a data parsing rule module, which is used to set various data parsing nodes required in the data parsing process according to the needs of data parsing, wherein each data parsing node is used to implement a step in the data parsing process;

[0022] According to the sequence of each step in the data parsing process, the order of each data parsing node and the correspondence between two adjacent data parsing nodes are determined to construct data parsing rules;

[0023] Parsing the original data according to the data parsing rules to obtain data in the target format;

[0024] The edge computing module is used to process the raw data received by the gateway by running the data parsing nodes one by one in the order of the data parsing nodes determined by the data parsing rules, so as to complete the formatting of the raw data received by the gateway to obtain data that meets the data format requirements of the destination platform;

[0025] The push data module is used to set the address of the destination platform and send the data obtained by parsing the original data received by the gateway to the server of the destination platform.

[0026] The beneficial effects of the present invention are as follows:

[0027] When developing an application software system based on business scenarios, the application software system only focuses on the business and does not need to spend a lot of time on connecting with hardware. During the development process, there is no need to consider the hardware platform's requirements for data formats.

[0028] The gateway builds data parsing rules based on the data parsing nodes of the low-code platform.

[0029] After the application software system for a business is developed, the gateway parses the data in the application software system according to data parsing rules to obtain data that meets the data format requirements of the hardware platform. The parsed data is then transmitted to the hardware platform. This decouples application software system development from hardware platform integration, facilitating development. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A flowchart of the smart IoT gateway management method of the present invention;

[0031] Figure 2 This is an example diagram of the data parsing rules of the present invention. DETAILED DESCRIPTION

[0032] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0033] When developing a network-based IoT system, it is usually necessary to develop the software system in conjunction with the hardware of the business platform, and at the same time debug the already developed software system in conjunction with the hardware of the business platform. The software development process is deeply bound to the hardware of the business platform, which affects the development efficiency of the software system.

[0034] Regarding the above technical issues, refer to Figure 1 This embodiment provides a smart Internet of Things gateway management method, including the following steps:

[0035] Step S1: The gateway receives the original data.

[0036] In different business scenarios, raw data can be of various types.

[0037] In IoT applications, a temperature sensor sends the collected temperature value to the IoT gateway. Alternatively, a pressure gauge on a water pipeline collects the water pressure value inside the pipeline and sends the collected pressure value to the IoT gateway.

[0038] In addition, when the application software system is deployed through the network, it sends data to the gateway of the Internet of Things. The data sent by the application software platform received by the gateway is the original data.

[0039] Taking the development and deployment of application software systems as an example, when the data of the application software system is sent to the gateway, the gateway needs to parse the received data to obtain data that meets the data format requirements of the target platform to be deployed. First, it is necessary to build data parsing rules, as follows:

[0040] Step S2, construct data parsing rules:

[0041] According to the needs of data analysis, set the various data analysis nodes required for the data analysis process, wherein each of the data analysis nodes is used to implement a step in the data analysis process;

[0042] According to the sequence of each step in the data parsing process, the order of each data parsing node and the correspondence between two adjacent data parsing nodes are determined to construct data parsing rules.

[0043] by Figure 2 Take the data parsing rules shown below as an example:

[0044] 1. The first data parsing rule is composed of the following data parsing nodes in sequence:

[0045] Start node, IMEI node, data conversion node, switch node, custom node, audio equipment information node, online monitoring node, and end node.

[0046] 2. The second data parsing rule is composed of the following data parsing nodes in sequence:

[0047] Start node, IMEI node, data conversion node, switch node, custom node, audio equipment information node, online monitoring node, and end node.

[0048] 3. The third data parsing rule is composed of the following data parsing nodes in sequence:

[0049] Start node, IMEI node, data conversion node, switch node, custom node, server host node, and end node.

[0050] 4. The fourth data parsing rule is composed of the following data parsing nodes in sequence:

[0051] start node, IMEI node, data conversion node, switch node, custom node, running task list node, and end node.

[0052] Among them, each node is used to implement a data parsing function.

[0053] Step S3, edge computing: For the original data received by the gateway, edge computing runs the data parsing nodes one by one in the order of the data parsing nodes determined by the data parsing rules to process the received data, so as to complete the formatting of the original data received by the gateway to obtain data that meets the data format requirements of the target platform.

[0054] Taking the first data parsing rule as an example, for the raw data received by the gateway, edge computing sequentially runs the following data parsing nodes: start node, IMEI node, data conversion node, switch node, custom node, audio equipment information node, online monitoring node, and end node. The start node first parses the raw data and sends the results to the IMEI node. The IMEI node parses the received data and sends the results to the data conversion node. The data conversion node processes the received data and sends the results to the switch node. This continues until it reaches the end node, completing the raw data parsing according to the first data parsing rule. Ultimately, data that meets the data format requirements of the destination platform is obtained.

[0055] According to the data format requirements of the target platform, corresponding data parsing rules can be constructed to parse the original data into data that meets the data format requirements of the target platform.

[0056] The first data parsing rule, the second data parsing rule, the third data parsing rule and the fourth data parsing rule are respectively used to parse the original data into data that meets the data format requirements of different destination platforms.

[0057] Step S4, push data: set the address of the destination platform, and send the data obtained by parsing the original data received by the gateway to the server of the destination platform.

[0058] After the data parsing is completed, the parsed data can be sent to the server of the destination platform.

[0059] For example, in the IoT application scenario, in order to achieve temperature supervision, the temperature sensor sends the collected temperature values ​​to the IoT gateway, and the parsed data is sent to the back-end server.

[0060] Or, taking the deployment of application software systems on other platforms as an example, when the application software system is deployed through the network, it sends data to the gateway of the Internet of Things. The network manager parses the data sent by the application software and sends the parsed data to the server of the target platform that needs to be deployed.

[0061] The destination platform address is a local server address or a third-party server address.

[0062] Taking the Internet of Things application scenario as an example, when the data received by the front-end device of the Internet of Things is hexadecimal data, the original data received by the gateway is hexadecimal data. When the data is transmitted to other platforms, the data needs to be converted into a format that meets the requirements.

[0063] The data parsing node is implemented using JavaScript code. When edge computing runs a data parsing rule, each data parsing node is executed one by one, and the data parsing node parses the received data. Specifically, the received data is parsed by calling the JavaScript code of the data parsing node.

[0064] When constructing data parsing rules, there are two ways to obtain the required data parsing nodes.

[0065] Method 1: A data parsing node is preset in the Internet of Things gateway management system. For a step of data parsing, a data parsing function needs to be implemented. When a preset data parsing node can implement the data parsing function, when constructing the data parsing rule, the preset data parsing node can be used to construct a complete data parsing rule.

[0066] Method 2: For a step of data parsing, a data parsing function needs to be implemented, when the preset data parsing node cannot implement the corresponding data parsing function.

[0067] When constructing data parsing rules, new data parsing nodes are created by writing js code, and the newly established data parsing nodes implement the corresponding data parsing functions, thereby constructing a complete data parsing rule to meet the needs of data parsing.

[0068] Data parsing rules are constructed based on the combination of these data parsing nodes. These data parsing nodes can be pre-set within the IoT gateway management system or reprogrammed as needed. The functions of each data parsing node are relatively independent. When constructing data parsing rules, some data parsing nodes can be reused across different data parsing rules, eliminating the need to reprogram each data parsing node and facilitating the construction of data parsing rules.

[0069] Each data parsing node is independently encapsulated to implement a part of the data parsing function. When building data parsing rules based on multiple independent data parsing nodes, each data parsing node is combined in the order of data parsing, avoiding a large amount of repeated code writing to build a low-code platform to implement data parsing.

[0070] On the other hand, the present application provides a management system for a smart Internet of Things gateway, comprising:

[0071] Data receiving module, receives original data through the gateway;

[0072] Constructing a data parsing rule module, which is used to set various data parsing nodes required in the data parsing process according to the needs of data parsing, wherein each data parsing node is used to implement a step in the data parsing process;

[0073] According to the sequence of each step in the data parsing process, the order of each data parsing node and the correspondence between two adjacent data parsing nodes are determined to construct data parsing rules;

[0074] Parsing the original data according to the data parsing rules to obtain data in the target format;

[0075] The edge computing module is used to process the raw data received by the gateway by running the data parsing nodes one by one in the order of the data parsing nodes determined by the data parsing rules, so as to complete the formatting of the raw data received by the gateway to obtain data that meets the data format requirements of the destination platform;

[0076] The push data module is used to set the address of the destination platform and send the data obtained by parsing the original data received by the gateway to the server of the destination platform.

[0077] Working principle:

[0078] When developing an application software system based on business scenarios, the application software system only focuses on the business and does not need to spend a lot of time on connecting with hardware. During the development process, there is no need to consider the hardware platform's requirements for data formats.

[0079] The gateway builds data parsing rules based on the data parsing nodes of the low-code platform.

[0080] After the application software system for a business is developed, the gateway parses the data in the application software system according to data parsing rules to obtain data that meets the data format requirements of the hardware platform. The parsed data is then transmitted to the hardware platform. This decouples application software system development from hardware platform integration, facilitating development.

[0081] Although the embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and variations may be made to these embodiments without departing from the principles and spirit of the invention, and the scope of the invention is defined by the appended claims and their equivalents.

Claims

1. A smart Internet of Things gateway management method, characterized in that , including the steps of: The gateway receives the raw data; Constructing data parsing rules: According to the needs of data parsing, setting various data parsing nodes required for the data parsing process, wherein each data parsing node is used to implement a step in the data parsing process; According to the sequence of each step in the data parsing process, the order of each data parsing node and the correspondence between two adjacent data parsing nodes are determined to construct data parsing rules; Edge computing: For the raw data received by the gateway, edge computing runs the data parsing nodes one by one in the order determined by the data parsing rules to process the received data, so as to complete the formatting of the raw data received by the gateway and obtain data that meets the data format requirements of the target platform; Push data: Set the address of the destination platform and send the data obtained by parsing the original data received by the gateway to the server of the destination platform; The data parsing node is implemented using js code; edge computing implements the parsing of the original data by calling the js code of the data parsing node; A data parsing node is preset in the IoT gateway management system; In a step of data parsing, when a preset data parsing node can realize the function of data parsing, the preset data parsing node can be used when constructing data parsing rules; For a step of data parsing, when the preset data parsing node cannot realize the corresponding data parsing function; when building data parsing rules, a new data parsing node is created by writing js code to meet the needs of data parsing; Based on the combination of the data parsing nodes, data parsing rules are constructed to implement data parsing through the low-code platform, converting the original data into data that meets the data format requirements of the target platform; The data parsing rules include: 1) The first data parsing rule is composed of the following data parsing nodes in sequence: Start node, IMEI node, data conversion node, switch node, custom node, audio equipment information node, online monitoring node, end node; 2) The second data parsing rule is composed of the following data parsing nodes in sequence: Start node, IMEI node, data conversion node, switch node, custom node, server host node, end node; 3) The third data parsing rule is composed of the following data parsing nodes in sequence: Start node, IMEI node, data conversion node, switch node, custom node, running task list node, end node; Among them, each node is used to implement a data parsing function.

2. According to the smart Internet of Things gateway management method of claim 1, it is characterized in that ,The address of the destination platform is the local server address or the ,third-party server address.

3. A management system for a smart Internet of Things gateway, characterized in that: The management system implements the method according to any one of claims 1 to 2, comprising: Data receiving module, receives original data through the gateway; Constructing a data parsing rule module, which is used to set various data parsing nodes required in the data parsing process according to the needs of data parsing, wherein each data parsing node is used to implement a step in the data parsing process; According to the sequence of each step in the data parsing process, the order of each data parsing node and the correspondence between two adjacent data parsing nodes are determined to construct data parsing rules; Parsing the original data according to the data parsing rules to obtain data in the target format; The edge computing module is used to process the raw data received by the gateway by running the data parsing nodes one by one in the order of the data parsing nodes determined by the data parsing rules, so as to complete the formatting of the raw data received by the gateway to obtain data that meets the data format requirements of the destination platform; The push data module is used to set the address of the destination platform and send the data obtained by parsing the original data received by the gateway to the server of the destination platform.

Citation Information

Patent Citations

  • Gateway data parallel processing method and system based on LoRa communication technology

    CN114490029A

  • Industrial gateway and protocol conversion method

    CN116137586A