Iot dynamic networking method

CN116886543BActive Publication Date: 2026-08-21BEIGU ELECTRONICS (WUXI) CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310917338.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-25
Publication Date
2026-08-21
Estimated Expiration
2043-07-25

AI Technical Summary

Technical Problem

[0005]本发明的目的在于提供一种物联网动态组网方法,受环境影响较小,有效载荷高,可以降低流量成本,同时,还可以解决网络节点被孤立的问题

Benefits of technology

[0020]在本发明提供的物联网动态组网方法中,每隔一段时间查找控制节点,当当前控制节点的网络信号不好时,会查找新的控制节点,因此,受环境影响较小,提高了有效载荷,降低了流量成本。同时,当出现孤立的网络节点时,孤立的网络节点会自动查找控制节点,形成第二网络,解决了网络节点被孤立的问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116886543B_ABST
    Figure CN116886543B_ABST
Patent Text Reader

Abstract

The application provides a kind of internet of things dynamic networking method, comprising: providing multiple network nodes;In network node, find first control node and first ordinary node that can communicate with first control node, if exist, first control node and first ordinary node constitute first network;If there is no network node that obtains first control node heartbeat data, find second control node and second ordinary node that can communicate with second control node in the network node that does not obtain first control node heartbeat data, if there is second ordinary node, second control node and second ordinary node form second network, otherwise second control node forms second network, first network and second network jointly as the network of internet of things;If there is no network node that obtains first control node heartbeat data, first network as the network of internet of things.The application is less affected by environment, improves effective load, reduces traffic cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of network transmission technology, and in particular to a dynamic networking method for the Internet of Things (IoT). Background Technology

[0002] The TBOX is located on the engineering vehicle. The TBOX can transmit information (communicate) with the outside world. For example, the TBOX can connect to a cloud server, mainly through 4G+MQTT.

[0003] In existing technologies, in the dynamic networking of the Internet of Things (IoT) for communication between devices and the outside world, "devices" refers to TBOX or other IoT devices. There are two main methods for dynamic IoT networking: one is that each device needing to communicate with the outside world forms a network node, and a central node is selected from among these nodes to communicate with all other network nodes. The central node then communicates with the outside world, thus achieving the goal of all devices communicating with the outside world. The other method is that each device forms a network node and connects independently to a server.

[0004] However, the first type of dynamic IoT networking in existing technologies has the following drawbacks: 1. Signal quality is affected by the environment. If there are no good base stations nearby, the overall signal will be weak, and all network nodes communicate with the outside world through the central node; 2. Furthermore, existing dynamic IoT networking technologies all rely on the central node to communicate with the outside world, and other network nodes communicate with the central node. Once other network nodes cannot communicate with the central node, they cannot communicate with the outside world. Therefore, existing networking technologies have not achieved decentralization, leading to the problem of isolated network nodes. The second type of dynamic IoT networking requires more bandwidth to transmit the same amount of data, has a lower effective payload, and results in higher bandwidth costs. Summary of the Invention

[0005] The purpose of this invention is to provide a dynamic networking method for the Internet of Things (IoT) that is less affected by the environment, has a high effective payload, can reduce traffic costs, and can also solve the problem of isolated network nodes.

[0006] To achieve the above objectives, the present invention provides a dynamic networking method for the Internet of Things, comprising:

[0007] Step S1: Provide multiple network nodes;

[0008] Step S2: Locate the first control node and the first ordinary node that can communicate with the first control node among all the network nodes. If the first ordinary node exists, the first control node and the first ordinary node form the first network.

[0009] Step S3: If there are network nodes that have not obtained the heartbeat data of the first control node, then search for the second control node and the second ordinary node that can communicate with the second control node among the network nodes that have not obtained the heartbeat data of the first control node. If the second ordinary node exists, then the second control node and the second ordinary node form a second network; otherwise, the second control node forms a second network. The first network and the second network together serve as the network of the Internet of Things.

[0010] Step S4: If there is no network node that has not obtained the heartbeat data of the first control node, the first network is used as the Internet of Things network;

[0011] Step S5: Repeat steps S2 to S4 every so often.

[0012] Optionally, in the IoT dynamic networking method, step S3 further includes: if there are still network nodes that do not have the heartbeat data of the second control node, then search for a third control node and a third ordinary node that can communicate with the third control node among the remaining network nodes; if a third ordinary node exists, then the third control node and the third ordinary node form a third network; if no third ordinary node exists, the third control node forms a third network.

[0013] Optionally, in the IoT dynamic networking method, the number of the first control node is one, and the number of the first ordinary nodes is greater than or equal to one.

[0014] Optionally, in the IoT dynamic networking method, the first control node and all the first ordinary nodes can communicate with each other.

[0015] Optionally, in the described IoT dynamic networking method, the number of the second control nodes is one.

[0016] Optionally, in the IoT dynamic networking method, the second control node and all the second ordinary nodes can communicate with each other.

[0017] Optionally, in the described IoT dynamic networking method, the second control node can communicate with the cloud server.

[0018] Optionally, in the IoT dynamic networking method, the method for finding the first control node among the network nodes includes: finding the network node with the strongest signal among the network nodes as the first control node.

[0019] Optionally, in the IoT dynamic networking method, the method for finding the second control node among some of the network nodes includes: finding the network node with the strongest signal among some of the network nodes as the second control node.

[0020] In the IoT dynamic networking method provided by this invention, a control node is searched periodically. When the network signal of the current control node is poor, a new control node is searched. Therefore, it is less affected by the environment, improves the effective payload, and reduces traffic costs. Simultaneously, when an isolated network node appears, it automatically searches for a control node to form a second network, solving the problem of isolated network nodes. Attached Figure Description

[0021] Figure 1 This is a flowchart of the IoT dynamic networking method according to an embodiment of the present invention;

[0022] Figures 2 to 5 This is a schematic diagram of an Internet of Things (IoT) network according to an embodiment of the present invention;

[0023] In the diagram: 110 - First network node, 120 - Second network node, 130 - Third network node, 140 - Fourth network node, 150 - Fifth network node, 160 - Sixth network node, 170 - Cloud server. Detailed Implementation

[0024] The specific embodiments of the present invention will now be described in more detail with reference to the accompanying drawings. The advantages and features of the present invention will become clearer from the following description. It should be noted that the drawings are all in a very simplified form and use non-precise proportions, and are only used to facilitate and clarify the illustration of the embodiments of the present invention.

[0025] In the following text, the terms “first,” “second,” etc., are used to distinguish between similar elements and are not necessarily used to describe a specific order or chronological sequence. It should be understood that these terms, as used herein, may be replaced where appropriate. Similarly, if the methods described herein comprise a series of steps, and the order of these steps presented herein is not necessarily the only possible order in which they can be performed, and some described steps may be omitted and / or other steps not described herein may be added to the method.

[0026] Please refer to Figure 1 This invention provides a dynamic networking method for the Internet of Things (IoT), comprising:

[0027] Step S1: Provide multiple network nodes;

[0028] Step S2: Locate the first control node and the first ordinary node that can communicate with the first control node among all the network nodes. If the first ordinary node exists, the first control node and the first ordinary node form the first network.

[0029] Step S3: Determine whether there are some network nodes that cannot connect to the first control node or the first ordinary node. If there are network nodes that do not have the heartbeat data of the first control node, then search for the second control node and the second ordinary node that can communicate with the second control node among the network nodes that do not have the heartbeat data of the first control node. If the second ordinary node exists, then the second control node and the second ordinary node form a second network. If the second ordinary node does not exist, then the second control node forms a second network.

[0030] Step S4: If there is no network node that has not obtained the heartbeat data of the first control node, the first network is used as the Internet of Things network;

[0031] Step S5: Repeat steps S2 to S4 every so often.

[0032] Furthermore, step S3 also includes: if there are still network nodes that do not have the heartbeat data of the second control node, then a third control node and a third ordinary node that can communicate with the third control node are searched among the network nodes that do not have the heartbeat data of the second control node. If a third ordinary node exists, the third control node and the third ordinary node form a third network; if no third ordinary node exists, the third control node forms the third network. The first network, the second network, and the third network constitute the Internet of Things (IoT) network. If there are no network nodes that do not have the heartbeat data of the second control node, then the first network and the second network constitute the IoT network. Using this method, new control nodes are searched sequentially among the network nodes that do not have the previous level control node until all network nodes have joined the network. Therefore, in other embodiments of the present invention, there may be more control nodes and networks.

[0033] In the first network, network nodes carry the heartbeat data of the first control node. If some network nodes leave the first network or do not join the first network, they will not carry the heartbeat data of the first control node. Therefore, whether a network node carries the heartbeat data of the control node can be used to determine whether a network node is in a certain network or whether a network node has joined or left the network. This can be done at regular intervals.

[0034] For example Figure 2This embodiment of the invention uses six network nodes as an example: a first network node 110, a second network node 120, a third network node 130, a fourth network node 140, a fifth network node 150, and a sixth network node 160. Since the first network node 110 has the strongest signal among these six nodes, it serves as the control node, while the other network nodes act as ordinary nodes. The control node can communicate with the external network, and ordinary nodes can communicate with adjacent ordinary nodes, and finally with the control node. Of course, ordinary nodes can also communicate directly with the control node. After a period of time, the network node with the strongest signal is searched among the six network nodes. At this point, the strongest network node may still be the first network node 110, or it may be another network node. For example... Figure 3 The strongest network node becomes the sixth network node, 160, which then becomes the control node. The rest become ordinary nodes. When communication between some network nodes becomes weak, for example... Figure 3 At this point, the control node is still the sixth network node 160. The fourth network node 140 and the fifth network node 150 are both too far from the control node, resulting in a communication failure between them. Therefore, the fourth network node 140 and the fifth network node 150 can form a second network to communicate with the outside world. Among the fourth network node 140 and the fifth network node 150, a network node with a strong signal can be selected as the second control node, such as the fourth network node 140. In this case, the fourth network node 140 and the fifth network node 150 form a second network, with the fifth network node communicating with the second control node, which then communicates with the outside world. However, there is also a possibility that only one network node cannot communicate with the first control node. For example... Figure 5 Only the fifth network node 150 is unable to communicate with the first control node. At this time, the fifth network node 150 becomes the second control node and forms a second network on its own.

[0035] In this embodiment, there is one first control node. The network node with the strongest signal is selected from among the network nodes to serve as the first control node. The first control node can communicate with all first ordinary nodes. The first control node can communicate with the cloud server 170. In this embodiment, the cloud server 170 is used; in other embodiments, it could be another external network device. There is also one second control node. The network node with the strongest signal is selected from among the network nodes that do not have the heartbeat data of the first control node to serve as the second control node. The second control node can communicate with all second ordinary nodes. The second control node can communicate with the cloud server 170. In this embodiment, all network nodes can serve as control nodes, and the optimal network node can be selected dynamically as the control node for the current period. If the control node for the current period is not the same network node as the control node for the previous period, the control node for the previous period reverts to an ordinary node.

[0036] The network nodes involved in this invention all have two sets of communication modules. Module A is used to connect to external networks (such as 4G, 5G, and Cat1), and module B is used for dynamic networking (such as WiFi / Bluetooth to achieve mesh dynamic networking, or dynamic networking through a private protocol. If dynamic networking is achieved through a private protocol, other communication modules such as LoRa and Zigbee can also be used). Within a working cycle, the division of labor between ordinary nodes and network nodes is mainly as follows: Ordinary nodes broadcast dynamic networking protocol data through module B to infect new network nodes (or new networks) to join the network, while maintaining connections with existing network nodes; if module B receives a control command (the control node is the sending source), it broadcasts the control command and executes the command (determining whether it is the command execution node through the protocol), while also broadcasting the reply data. In addition to the dynamic networking capabilities of ordinary nodes via module B, the control node can also communicate with the outside world (such as cloud server 170) via module A. It periodically broadcasts node information collection commands via module B. After receiving responses from all nodes in the network, it performs protocol conversion and packages the converted data (including its own node information) before sending it to the outside world via module A. If it receives an external command via module A, it converts the command protocol and broadcasts it via module B. After receiving all responses (from the nodes involved in the command), it performs protocol conversion and packages the converted data before sending it to the outside world via module A. The network dynamically forms a network using WiFi / Bluetooth and dynamically calculates the network node with the strongest 4G signal as the control node. The control node searches for a new control node (e.g., the first control node and the second control node) at regular intervals (the control node's calculation cycle). The control node may be a new network node or the current network node compared to the previous network, so the first and / or second networks may change. The specific communication process is as follows: First, all network nodes dynamically form a network through module B; then, after the control node's calculation cycle arrives, all network nodes broadcast the signal quality of their own module A through module B, selecting the module A with the best signal quality as the control node; next, the control node periodically collects information from all network nodes in the network (including itself) through module B, converts and packages it according to the protocol, and sends it to the outside world (such as cloud server 170) through module A; next, after receiving commands from the outside world through module A, the control node converts the commands according to the protocol and broadcasts them through module B. After receiving all replies (commands may be directed to multiple network nodes), the control node converts and packages the replies according to the protocol and sends them to the outside world through module A.If a system problem occurs or the control node of the previous cycle receives an external command during a control node switching interval, the control node of the previous cycle will broadcast the unfinished command through module B via the application protocol before reverting to a normal node, notifying the control node of the current cycle. When a new network node or a new network joins and the 4G signal of the current control node is too poor, steps S2 to S3 are executed immediately, without needing to wait for a period of time before executing steps S2 to S3. The control node mentioned above is the first control node in the first network and the second control node in the second network. The normal node is the first normal node in the first network and the second normal node in the second network. The communication method is the same for all networks and will not be described separately.

[0037] In summary, the IoT dynamic networking method provided in this embodiment of the invention searches for control nodes at regular intervals. When the network signal of the current control node is poor, a new control node is searched. Therefore, it is less affected by the environment, improves the effective payload, and reduces traffic costs. Furthermore, when an isolated network node appears, it automatically searches for a control node to form a second network, thus solving the problem of isolated network nodes.

[0038] The above are merely preferred embodiments of the present invention and do not constitute any limitation on the present invention. Any equivalent substitutions or modifications made by those skilled in the art to the technical solutions and content disclosed in the present invention without departing from the scope of the present invention shall be deemed to have remained within the protection scope of the present invention.

Claims

1. A dynamic networking method for the Internet of Things, characterized in that, include: Step S1: Provide multiple network nodes; Step S2: Locate the first control node and the first ordinary node that can communicate with the first control node among all the network nodes. If the first ordinary node exists, the first control node and the first ordinary node form the first network. Step S3: If there are network nodes that have not obtained the heartbeat data of the first control node, then search for the second control node and the second ordinary node that can communicate with the second control node among the network nodes that have not obtained the heartbeat data of the first control node. If the second ordinary node exists, then the second control node and the second ordinary node form a second network; otherwise, the second control node forms a second network. The first network and the second network together serve as the network of the Internet of Things. Step S4: If there is no network node that has not obtained the heartbeat data of the first control node, the first network is used as the Internet of Things network; Step S5: Repeat steps S2 to S4 every so often.

2. The IoT dynamic networking method as described in claim 1, characterized in that, Step S3 further includes: if there are still network nodes that do not have the heartbeat data of the second control node, then search for the third control node and the third ordinary node that can communicate with the third control node among the remaining network nodes. If the third ordinary node exists, the third control node and the third ordinary node form a third network. If the third ordinary node does not exist, the third control node forms a third network.

3. The IoT dynamic networking method as described in claim 1, characterized in that, The number of the first control node is one, and the number of the first ordinary nodes is greater than or equal to one.

4. The IoT dynamic networking method as described in claim 3, characterized in that, The first control node and all the first ordinary nodes can communicate with each other.

5. The IoT dynamic networking method as described in claim 1, characterized in that, The number of the second control nodes is one.

6. The IoT dynamic networking method as described in claim 5, characterized in that, The second control node and all the second ordinary nodes can communicate with each other.

7. The IoT dynamic networking method as described in claim 1, characterized in that, The second control node can communicate with the cloud server.

8. The IoT dynamic networking method as described in claim 1, characterized in that, The method for finding the first control node among the network nodes includes: finding the network node with the strongest signal among the network nodes as the first control node.

9. The IoT dynamic networking method as described in claim 1, characterized in that, The method for finding a second control node among some of the network nodes includes: finding the network node with the strongest signal among some of the network nodes as the second control node.

Citation Information

Patent Citations

  • Networking access method and device, electronic equipment and wireless ad hoc network system

    CN114363885A

  • Device discovery using heartbeat signals

    US20190140908A1