Intelligent Internet of Things gateway management system and management method
Through the smart Internet of Things gateway management method, the gateway management system is used to analyze and push data, the decoupling of software system development and hardware docking is achieved, solving the problems of insufficient reuse and scalability and low development efficiency in the existing technology, and improving the Development efficiency.
Patent Information
- Application Number
- CN202411653470.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-19
- Publication Date
- 2025-02-21
- Estimated Expiration
- 2044-11-19
AI Technical Summary
The existing IoT gateway management methods are not sufficient in terms of reuse and scalability, and the software system development process is deeply bound to the hardware, which affects development efficiency.
By providing a smart Internet of Things gateway management method, the gateway management system is used to deploy the data of the software system to the hardware of the destination platform through data analysis, so as to decouple the software system development and hardware docking. The specific steps include the gateway receiving the original data, building data analysis rules, edge computing for data analysis, and pushing the parsed data to the destination platform.
The application software system development and hardware platform connection is realized, so that the application software system only focuses on business and does not require a lot of time to be spent on hardware connection, improving development efficiency.
Smart Images

Figure CN119496827A_ABST
Abstract
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 degree of information intelligence is getting higher and higher, and the Internet of Things gateway plays an important role in it. Among the existing Internet of Things gateway management methods, most of them are simply managing gateways, and the reusability and scalability are not sufficient. The traditional Internet of Things gateway is just a simple management of the gateway's online status and modifying the gateway's 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 the data of a software system to the hardware of a target platform after data analysis, 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: On the one hand, a smart Internet of Things gateway management method is provided, comprising the steps of: The gateway receives the raw data; Construct data parsing rules: According to the needs of data analysis, various data analysis nodes required to be used in the data analysis process are set, wherein each of the data analysis nodes is used to implement a step in the data analysis 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 a data parsing rule; Edge computing: For the original data received by the gateway, the 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, so as to obtain data that meets the data format requirements of the target platform; Push data: Set the address of the destination platform and parse the original data received by the gateway and send the data obtained to the server of the destination platform.
[0006] Preferably, the address of the destination platform is a local server address or a third-party server address.
[0007] Preferably, 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.
[0008] Preferably, a data parsing node is preset in the Internet of Things 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.
[0009] Preferably, for a step of data analysis, when a preset data analysis node cannot realize the corresponding data analysis function; when constructing data analysis rules, a new data analysis node is created by writing js code to meet the needs of data analysis.
[0010] Preferably, data parsing rules are constructed based on the combination of the data parsing nodes, so as to implement data parsing through a low-code platform and convert the original data into data that meets the data format requirements of the target platform.
[0011] On the other hand, a management system for a smart Internet of Things gateway is provided, comprising: Data receiving module, receiving raw data through the gateway; Constructing a data parsing rule module, which is used to set various data parsing nodes required to be used in the data parsing process according to the needs of data parsing, wherein each of the data parsing nodes 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 a data parsing rule; Parsing the original data according to the data parsing rules to obtain data in a target format; The edge computing module is used for processing the received data by running the data parsing nodes one by one according to the order of the data parsing nodes determined by the data parsing rules for the original data received by the gateway, so as to complete the formatting of the original data received by the gateway, so as to obtain data that meets the data format requirements of the target 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.
[0012] The beneficial effects of the present invention are as follows: 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.
[0013] The gateway builds data parsing rules based on the data parsing nodes of the low-code platform.
[0014] After the application software system for the business is developed, the gateway parses the data of the application software system according to the data parsing rules to obtain data that meets the data format requirements of the hardware platform. Then the parsed data is transmitted to the hardware platform. The decoupling of application software system development and hardware platform docking is achieved, which facilitates development. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A flowchart of the smart Internet of Things gateway management method of the present invention; Figure 2 This is an example diagram of the data parsing rules of the present invention. DETAILED DESCRIPTION
[0016] 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.
[0017] 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.
[0018] For the above technical issues, refer to Figure 1 This embodiment provides a smart Internet of Things gateway management method, including the steps of: Step S1, the gateway receives original data.
[0019] In different business scenarios, raw data can be of various types.
[0020] In the IoT application scenario, the temperature sensor sends the collected temperature value to the IoT gateway. Alternatively, on a water pipeline, the pressure gauge collects the water pressure value in the water pipeline and sends the collected pressure value to the IoT gateway.
[0021] 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.
[0022] 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: Step S2, construct data parsing rules: According to the needs of data analysis, various data analysis nodes required to be used in the data analysis process are set, wherein each of the data analysis nodes is used to implement a step in the data analysis process; According to the sequence of each step in the data parsing process, the order of each data parsing node and the corresponding relationship between two adjacent data parsing nodes are determined to construct data parsing rules.
[0023] by Figure 2 Take the data parsing rules shown as an example: 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, and end node.
[0024] 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, audio equipment information node, online monitoring node, and end node.
[0025] 3. The third data analysis rule is composed of the following data analysis nodes in sequence: start node, IMEI node, data conversion node, switch node, custom node, server host node, end node.
[0026] 4. The fourth data analysis rule is composed of the following data analysis nodes in sequence: start node, IMEI node, data conversion node, switch node, custom node, running task list node, end node.
[0027] Among them, each node is used to implement a data parsing function.
[0028] Step S3, edge computing: for the original data received by the gateway, the edge computing runs the data parsing nodes one by one in the order of the data parsing nodes determined by the data parsing rule to process the received data, so as to complete the formatting of the original data received by the gateway, so as to obtain data that meets the data format requirements of the target platform.
[0029] Taking the first data parsing rule as an example, for the original data received by the gateway, the edge computing runs 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, and end node. The start node first parses and processes the original data, and then sends the data processing result to the IMEI node. The IMEI node parses and processes the received data, and then sends the processing result to the data conversion node. The data conversion node processes the received data, and then sends the processing result to the switch node until it runs to the end node, thereby completing the parsing of the original data according to the first data parsing rule. Finally, data that meets the data format requirements of the target platform is obtained.
[0030] 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.
[0031] 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 target platforms.
[0032] 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.
[0033] After the data parsing is completed, the parsed data can be sent to the server of the destination platform.
[0034] 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.
[0035] Or, taking the deployment of application software systems on other platforms as an example, when the application software system is deployed through the network, the data is sent 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.
[0036] The address of the destination platform is a local server address or a third-party server address.
[0037] 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.
[0038] The data parsing node is implemented using js code. When edge computing runs a data parsing rule, each data parsing node will be executed one by one, and the data parsing node will parse the received data. Specifically, the received data is parsed by calling the js code of the data parsing node.
[0039] When constructing data parsing rules, there are two ways to obtain the required data parsing nodes.
[0040] 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.
[0041] Method 2: For a step of data analysis, a data analysis function needs to be implemented, when the preset data analysis node cannot implement the corresponding data analysis function.
[0042] 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.
[0043] Based on the combination of the data parsing nodes, data parsing rules are constructed. The data parsing nodes can be preset data parsing nodes in the Internet of Things gateway management system, or they can be rewritten as needed. The functions of each data parsing node are relatively independent. When constructing data parsing rules, some data parsing nodes can be reused between various data parsing rules, thereby avoiding the need to reprogram each data parsing node, so as to facilitate the construction of data parsing rules.
[0044] Each data parsing node is independently encapsulated to realize a part of the data parsing function. When constructing 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 realize data parsing.
[0045] On the other hand, the present application provides a management system for a smart Internet of Things gateway, including: Data receiving module, receiving raw data through the gateway; Constructing a data parsing rule module, which is used to set various data parsing nodes required to be used in the data parsing process according to the needs of data parsing, wherein each of the data parsing nodes 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 a data parsing rule; Parsing the original data according to the data parsing rules to obtain data in a target format; The edge computing module is used for processing the received data by running the data parsing nodes one by one according to the sequence of the data parsing nodes determined by the data parsing rules for the original data received by the gateway, so as to complete the formatting of the original data received by the gateway, so as 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.
[0046] Working principle: 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.
[0047] The gateway builds data parsing rules based on the data parsing nodes of the low-code platform.
[0048] After the application software system for the business is developed, the gateway parses the data of the application software system according to the 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 achieves the decoupling of application software system development and hardware platform docking, facilitating development.
[0049] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present 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 to be used in the data parsing process, wherein each of the data parsing nodes 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 a data parsing rule; Edge computing: For the original data received by the gateway, the 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, so as to obtain data that meets the data format requirements of the target platform; Push data: Set the address of the destination platform and parse the original data received by the gateway and send the data obtained to the server of the destination platform.
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. According to the smart Internet of Things gateway management method of claim 1, it is characterized in that , 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.
4. According to the smart Internet of Things gateway management method of claim 1, it is characterized in that ,There are data parsing nodes 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.
5. According to the smart Internet of Things gateway management method of claim 1, it is characterized in that ,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.
6. According to the smart Internet of Things gateway management method of claim 1, it is characterized in that , based on the combination of the data parsing nodes, data parsing rules are constructed 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.
7. A management system for a smart Internet of Things gateway, characterized in that ,include: Data receiving module, receiving raw data through the gateway; Constructing a data parsing rule module, which is used to set various data parsing nodes required to be used in the data parsing process according to the needs of data parsing, wherein each of the data parsing nodes 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 a data parsing rule; Parsing the original data according to the data parsing rules to obtain data in a target format; The edge computing module is used for processing the received data by running the data parsing nodes one by one according to the order of the data parsing nodes determined by the data parsing rules for the original data received by the gateway, so as to complete the formatting of the original data received by the gateway, so as to obtain data that meets the data format requirements of the target 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 and method for achieving general adaptation function
CN103944813A
Industrial Internet of Things intelligent gateway, networking system and data processing method
CN110650084A
Gateway data parallel processing method and system based on LoRa communication technology
CN114490029A
Industrial gateway and protocol conversion method
CN116137586A
Method and device for identification
WO2012088997A1
Cited By
Intelligent classroom heterogeneous data analysis and fusion gateway method and system and storage medium
CN122661043A