A Mesh network network configuration method, device, storage medium, and Mesh network

Through broadcast relay and forwarding packets by the distributed network nodes, the problem of distribution networks being limited by radio frequency coverage in the Mesh network is solved, and efficient distribution network operations are achieved on a large scale, improving the network speed and convenience of the Mesh network.

CN115866620BActive Publication Date: 2025-08-01BEIJING ESWIN COMPUTING TECH CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211277008.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-18
Publication Date
2025-08-01
Estimated Expiration
2042-10-18

AI Technical Summary

Technical Problem

During the existing Mesh network distribution process, the task of adding or changing new nodes is large, and due to the limitation of the RF coverage between devices, the distribution network is inconvenient and inefficient.

Method used

The beacon Beacon packet or distribution network provisioning packet is relayed and forwarded through the broadcasting method of distributed network nodes, expanding the distribution network scope and using multi-jump forwarding to achieve large-scale distribution network operations.

Benefits of technology

It significantly improves the convenience and efficiency of the distribution network of Mesh network, expands the distribution network range, and improves the networking speed and operation convenience of large-scale Mesh networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115866620B_ABST
    Figure CN115866620B_ABST
Patent Text Reader

Abstract

The present disclosure discloses a method and apparatus for network configuration of a wireless Mesh network, a storage medium, and a Mesh network. Among them, the network configuration method includes: when a configured node in the Mesh network determines that the received data packet is a set type of data packet, the data packet is sent in a broadcast manner; wherein, the set type of data packet includes: a beacon data packet or a provisioning data packet. According to the network configuration solution provided by the embodiments of the present disclosure, the relay forwarding method of the configured node is adopted for the relevant data packets in the network configuration process, breaking through the limitation of the limited wireless radio frequency communication distance between the network configuration device and the newly added node in the related technical solutions, greatly expanding the network configuration range, and significantly improving the network configuration convenience and network configuration efficiency of the Mesh network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to, but is not limited to, the field of wireless communication technologies, and particularly relates to a method and apparatus for configuring a wireless mesh network, a storage medium, and a mesh network. Background Art

[0002] With the characteristics of multi-hop interconnection and mesh topology, wireless mesh networks have evolved into an effective solution applicable to various wireless access networks such as broadband home networks, community networks, enterprise networks, and metropolitan area networks. In the process of network formation / network deployment of a related mesh network and when adding a new node, a provisioning device / provisioner and the new node (provisionee) need to complete data interaction within the radio frequency coverage of both according to the provisioning process specified by the protocol. For a mesh network of a certain scale, due to the large number of nodes, the addition or configuration change of a new node is a task with a non-negligible workload.

[0003] Therefore, improving the relevant business processes to enhance the convenience of the provisioning operation of new nodes and the overall maintenance efficiency of the mesh network is a direction continuously explored by those skilled in the art. Summary of the Invention

[0004] Embodiments of the present disclosure provide a method and apparatus for configuring a wireless mesh network, a storage medium, and a mesh network. By adopting the method of relaying and forwarding relevant data packets by provisioned nodes in the provisioning process, the deficiency of the limited wireless radio frequency communication distance between the provisioning device and the new node in the related technical solutions is overcome, the provisioning range is greatly expanded, and the provisioning convenience and provisioning efficiency of the mesh network are significantly improved.

[0005] Embodiments of the present disclosure provide a method for configuring a wireless mesh network, including:

[0006] When a provisioned node in the mesh network determines that the received data packet is a set-type data packet, the data packet is sent in a broadcast manner;

[0007] Wherein, the set-type data packet includes: a beacon data packet or a provisioning data packet.

[0008] Embodiments of the present disclosure further provide a method for configuring a wireless mesh network, including:

[0009] A node to be provisioned sends a set-type data packet in a broadcast manner;

[0010] The node to be provisioned receives a response data packet corresponding to the data packet forwarded by the provisioned node in a broadcast manner;

[0011] The node to be network - configured performs network configuration with the network - configuration device according to the response data packet;

[0012] Among them, the set - type data packet includes: a beacon data packet or a provisioning data packet; the response data packet is correspondingly generated by the network - configuration device after receiving the data packet forwarded by the already network - configured node in a broadcast manner, and is sent in a broadcast manner.

[0013] The embodiments of the present disclosure also provide a method for network - configuring a wireless mesh network, including:

[0014] The network - configuration device receives a set - type data packet forwarded by an already network - configured node in a broadcast manner;

[0015] The network - configuration device performs network configuration with the node to be network - configured according to the data packet, correspondingly generates a response data packet, and sends the response data packet in a broadcast manner;

[0016] Among them, the set - type data packet includes: a beacon data packet or a provisioning data packet; the set - type data packet is generated by the node to be network - configured and is sent in a broadcast manner.

[0017] The embodiments of the present disclosure also provide a device for network - configuring a wireless mesh network, including:

[0018] A relay module, configured to send the data packet in a broadcast manner when it is determined that the received data packet is a set - type data packet;

[0019] Among them, the network - configuration device is deployed on the already network - configured node in the mesh network;

[0020] The set - type data packet includes: a beacon data packet or a provisioning data packet.

[0021] The embodiments of the present disclosure also provide a wireless mesh network, including:

[0022] Nodes to be network - configured, already network - configured nodes, and network - configuration devices;

[0023] The nodes to be network - configured are configured to send set - type data packets in a broadcast manner;

[0024] The already network - configured nodes are configured to receive the data packet and forward the data packet in a broadcast manner;

[0025] The distribution network device is configured to receive the data packet forwarded by the already-provisioned node for network provisioning to generate a corresponding response data packet, and send the response data packet by broadcasting;

[0026] The already-provisioned node is further configured to receive the response data packet and forward the response data packet by broadcasting;

[0027] The node to be provisioned is further configured to receive the response data packet forwarded by the already-provisioned node for network provisioning;

[0028] Wherein, the set type data packet includes: a beacon data packet or a provisioning data packet, and the response data packet includes: a provisioning data packet.

[0029] The embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, it implements the wireless mesh network provisioning method as described in any embodiment of the present disclosure.

[0030] Other aspects can be understood after reading and understanding the drawings and the detailed description. Description of the Drawings

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on the structures shown in these drawings without creative efforts.

[0032] Figure 1 is a schematic diagram of the provisioning range in some implementable solutions;

[0033] Figure 2 is a flowchart of a mesh network provisioning method provided by an embodiment of the present invention;

[0034] Figure 3 is a flowchart of another mesh network provisioning method provided by an embodiment of the present invention;

[0035] Figure 4 is a flowchart of another mesh network provisioning method provided by an embodiment of the present invention;

[0036] Figure 5 is a flowchart of another mesh network provisioning method provided by an embodiment of the present invention;

[0037] Figure 6 is a flowchart of another mesh network provisioning method provided by an embodiment of the present invention;

[0038] Figure 7 It is a flowchart of another Mesh network configuration method provided by an embodiment of the present invention;

[0039] Figure 8 It is a schematic diagram of the configurable range in a Mesh network configuration solution provided by an embodiment of the present invention;

[0040] Figure 9 It is a flowchart of another Mesh network configuration method provided by an embodiment of the present invention;

[0041] Figure 10 It is a schematic structural diagram of a Mesh network provided by an embodiment of the present invention.

[0042] The realization, functional features and advantages of the objectives of the present invention will be further described in conjunction with the embodiments and with reference to the accompanying drawings. Specific embodiments

[0043] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0044] It should be noted that in the present invention, descriptions such as "first" and "second" are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include at least one of such features. In the description of the present invention, "a plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.

[0045] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that those of ordinary skill in the art can implement them. When the combination of technical solutions results in contradictions or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the protection scope required by the present invention.

[0046] With the characteristics of multi-hop interconnection and mesh topology, wireless mesh networks have evolved into an effective solution for various wireless access networks such as broadband home networks, community networks, enterprise networks, and metropolitan area networks. Taking the low-power Bluetooth Ble-Mesh network as an example, it realizes multi-to-multi communication based on the low-power Bluetooth technology, and all devices joined to the Mesh network can communicate with each other. Devices that have not joined the Mesh network are called unprovisioned devices, and devices that have joined the Mesh network are called nodes, also known as provisioned devices or provisioned nodes. During the network formation / network deployment process of the Ble Mesh network and when adding new nodes, a provisioner and a new node (provisionee, the node to be provisioned) need to be within the radio frequency coverage range of each other. Therefore, for a large-scale BleMesh network, users need to carry the provisioner to the vicinity of the new node for network provisioning. As Figure 1 shown, Device A is within the radio frequency (RF) coverage range of the provisioner and can be provisioned, while Device B is outside the radio frequency coverage range of the provisioner and thus cannot be provisioned. After the provisioning of Device A is completed, the provisioner needs to be moved to the vicinity of Device B to continue the provisioning of Device B. It can be seen that this provisioning method is limited by the radio frequency range of the provisioner and the new node, and the provisioning convenience is seriously insufficient. Especially for a large-scale Mesh network with a large number of nodes, the provisioning efficiency is low and it is easy to miss some nodes, which is not conducive to the application and promotion of the Mesh network technical solution.

[0047] The embodiments of the present disclosure provide a network provisioning solution applied to Mesh networks, which extends the transmission path of the provisioning-related data packets in the achievable solution, overcomes the deficiency that the network provisioning in the achievable solution is limited by the radio frequency coverage range between devices, greatly expands the network provisioning coverage range of the Mesh network, and significantly improves the convenience of Mesh network formation.

[0048] It can be known that the process of a device joining the Mesh network is called provisioning. The device used to drive the provisioning process is called a provisioner. After successful provisioning, it becomes a node, and after a series of configurations, it can execute normal application / service functions.

[0049] Taking the Ble Mesh network as an example, its provisioning process includes 5 stages:

[0050] Beaconing: The (device / node to be provisioned) initiates a broadcast to notify network provisioning;

[0051] Invitation: The provisioner sends a provisioning invitation PDU, and the device / node (to be provisioned) responds, replying with information about itself in the Provisioning Capabilities PDU;

[0052] Exchange public keys: The provisioner and the device / node (to be provisioned) exchange public keys, which are used to generate the Session Key when distributing provisioning data;

[0053] Authentication: The provisioner and the device / node (to be provisioned) authenticate each other through specific actions;

[0054] Distribution of provisioning data: The Session Key is derived from the public key and the private keys of the two devices. The information interaction process during provisioning is encrypted with this Session Key, and the provisioning data PDU containing "NetKey, DeviceKey..." is sent to the device / node (to be provisioned).

[0055] It should be noted that the provisioning process follows the relevant provisioning protocol. For Mesh networks built based on different wireless communication protocols, their corresponding provisioning protocols are different, and the specific provisioning processes are also different, which are not exemplified one by one here. The more detailed provisioning process is not further discussed in the embodiments of this application.

[0056] Embodiments of the present disclosure provide a method for provisioning a wireless Mesh network, as Figure 2 shown, including:

[0057] Step 210, when a provisioned node in the Mesh network determines that the received data packet is a set-type data packet, the data packet is sent in a broadcast manner;

[0058] Among them, the set-type data packet includes: a beacon packet or a provisioning packet.

[0059] It can be understood that the set-type data packet includes relevant data packets for provisioning in the Mesh network, including beacon packets and provisioning packets. The beacon packet notifies the start of the provisioning process, and the provisioning packet includes various other data packets for interaction between the provisioner and the device to be provisioned according to the provisioning protocol to achieve provisioning.

[0060] Those skilled in the art can understand that the distribution network Provisioning data packet is a general term for other data packets specified by the distribution network protocol except the beacon Beacon data packet. Taking the Ble Mesh network as an example, the Provisioning data packet includes: a distribution network invitation data packet, a distribution network invitation response data packet, a public key exchange data packet, an identity authentication data packet, a session key notification data packet, etc.

[0061] In some exemplary embodiments, such as Figure 3 shown, the method further includes:

[0062] Step 200, the provisioned node determines whether the received data packet is a data packet of the Mesh network to which it belongs; if it is determined that the data packet is not a data packet of the Mesh network to which it belongs, step 210 is executed.

[0063] In some exemplary embodiments, if it is determined that the data packet is a data packet of the Mesh network to which it belongs, based on the processing flow of the data packets of the nodes in the Mesh network in the relevant achievable solutions, business processing, forwarding, or discarding of the data packet is performed. This is not further discussed in detail in the embodiments of the present disclosure. [[ID=१२]]

[0064] In some exemplary embodiments, in step 200, the provisioned node determines whether the received data packet is a data packet of the Mesh network to which it belongs according to the network identifier in the received data packet.

[0065] In some exemplary embodiments, after the node completes the Mesh network provisioning, it will save the network identifiers (NIDs, Network IDs) of one or more Mesh networks to which it belongs. In the related technical solutions, each Mesh network is assigned a unique network identifier, and the service data packets or management / configuration data packets of each node (device) in the same Mesh network include the corresponding network identifier. Each node identifies whether the data packet is a data packet of its home network according to the network identifier. If so, relevant service processing or node management / configuration processing is performed. If not, it is discarded.

[0066] It can be seen that since the node to be network - configured has not completed network configuration and does not yet belong to the Mesh network, neither the beacon Beacon data packet nor the provisioning Provisioning data packet sent by it carries the network identifier NID of the Mesh network. Based on this, the network - configured node can distinguish the service data packets belonging to its own home Mesh network that it normally needs to process, or the provisioning - related data packets that may need to be relayed and forwarded. Therefore, according to the solution provided by the embodiments of the present disclosure, when the network - configured node determines, based on the network identifier, that the received data packet is not the service data or management / configuration data packet of its own home network, it then executes step 210 to determine whether it is a data packet of a set type. If so, it broadcasts and forwards it; if not, it discards it.

[0067] In some exemplary embodiments, in step 200, the network - configured node can also determine whether the received data packet is a data packet of its own home Mesh network based on other data, not limited to only judging based on the network identifier.

[0068] In some exemplary embodiments, the Mesh network is not limited to the Mesh network implemented based on a specific wireless communication method. It can be a Ble Mesh network based on low - power Bluetooth technology, a Mesh network based on Zigbee, or a Mesh network based on Wifi.

[0069] In some exemplary embodiments, the method further includes:

[0070] Step 220, the network - configured node caches the data packet.

[0071] It can be cached before forwarding the data packet or after forwarding, not limited to a specific timing.

[0072] In some exemplary embodiments, in step 210, sending the data packet by broadcast includes:

[0073] When it is determined that the data packet has not been cached, the data packet is sent by broadcast.

[0074] It can be understood that based on its own situation of caching data packets, when the network - configured node determines that the data packet has been sent, it no longer forwards the data packet. Since the relay solution provided by the embodiments of the present disclosure forwards the received broadcast data packets by broadcast, the network - configured node may receive the same data packet multiple times. By caching the data packets that have been forwarded and determining whether the currently received data packet has been forwarded, and only relaying and forwarding the data packets that have not been forwarded, the situation where the same data packet is repeatedly forwarded by the same network - configured node in the Mesh network can be effectively reduced, the waste of network traffic can be minimized, and the overall traffic load can be reduced.

[0075] In some exemplary embodiments, the method further includes:

[0076] Step 230, the network - configured node clears the expired data packets cached according to a set timeout duration.

[0077] An embodiment of the present disclosure also provides a Mesh network configuration method, as Figure 4 shown, including:

[0078] Step 410, the node to be network - configured sends a set - type data packet in a broadcast manner;

[0079] Step 420, the node to be network - configured receives a response data packet corresponding to the data packet forwarded by the network - configured node in a broadcast manner;

[0080] Step 430, the node to be network - configured performs network configuration with the network - configuration device according to the response data packet;

[0081] Wherein, the set - type data packet includes: a beacon data packet or a provisioning data packet; the response data packet is generated correspondingly after the network - configuration device receives the data packet forwarded by the network - configured node in a broadcast manner and is sent out in a broadcast manner.

[0082] It should be noted that, the network - configured node that forwards the set - type data packet for the network - configuration device is denoted as the first network - configured node, and the network - configured node that forwards the response data packet for the node to be network - configured is denoted as the second network - configured node; the first network - configured node and the second network - configured node may be the same network - configured node or different network - configured nodes. The first network - configured node includes one or more network - configured nodes, and the second network - configured node includes one or more network - configured nodes.

[0083] It can be understood that the first network - configured node including multiple network - configured nodes means that the set - type data packet reaches the network - configuration device through multi - hop forwarding by multiple network - configured nodes; the second network - configured node including multiple network - configured nodes means that the response data packet reaches the node to be network - configured through multi - hop forwarding by multiple network - configured nodes.

[0084] An embodiment of the present disclosure also provides a Mesh network configuration method, as Figure 5 shown, including:

[0085] Step 510, the network - configuration device receives a set - type data packet forwarded by the network - configured node in a broadcast manner;

[0086] Step 520, the network - configuration device performs network configuration with the node to be network - configured according to the data packet, generates a response data packet correspondingly, and sends the response data packet in a broadcast manner;

[0087] Among them, the set-type data packet includes: a Beacon data packet or a Provisioning data packet; the data packet of the set type is generated by the node to be networked and sent in a broadcast manner.

[0088] The embodiment of the present disclosure also provides a Mesh network networking method, as Figure 6 shown, including:

[0089] Step 610, the node to be networked sends a set-type data packet in a broadcast manner;

[0090] Step 620, the networked node receives the data packet and forwards the data packet in a broadcast manner;

[0091] Step 630, the network configuration device receives the data packet to perform network configuration to generate a corresponding response data packet, and sends the response data packet in a broadcast manner;

[0092] Among them, the set-type data packet includes: a Beacon data packet or a Provisioning data packet.

[0093] In some exemplary embodiments, step 610 includes:

[0094] When the networked node determines that the received data packet is a set-type data packet, the data packet is sent in a broadcast manner.

[0095] In some exemplary embodiments, step 610 includes:

[0096] Step 611, the networked node determines whether the received data packet is a data packet belonging to its own Mesh network; if not, execute 612;

[0097] Step 612, determine whether the received data packet is a set-type data packet; if so, execute step 613, otherwise, discard the data packet;

[0098] Step 613, send the data packet in a broadcast manner.

[0099] In some exemplary embodiments, step 610 further includes:

[0100] After executing step 611, if it is determined that the data packet is a data packet belonging to its own Mesh network, the data packet is processed according to relevant application functions or Mesh network management / configuration functions.

[0101] In some exemplary embodiments, step 630 further includes:

[0102] The network configuration device caches the received data packet.

[0103] The data can be cached before or after the response data packet is sent, and is not limited to a specific timing.

[0104] In some exemplary embodiments, step 630 includes:

[0105] The network configuration device determines whether the received data packet has been cached. If not, it generates a corresponding response data packet based on the received data packet and sends the response data packet via broadcast; if it has been cached, it discards the data packet.

[0106] It can be understood that in the network distribution solution provided by the embodiment of the present disclosure, the same data packet may be forwarded to the network distribution device by multiple network distribution nodes. According to the cached data packets, if it is determined that the received data packet has not been processed and the response data packet has not been sent, the data packet processing is performed and the response data packet is sent. For the data packets that have been processed and the response data packets have been sent, they will no longer be processed repeatedly, which can effectively reduce the processing load of the network distribution device and reduce the traffic load of the repeatedly sent response data packets on the Mesh network.

[0107] In some exemplary embodiments, the method further comprises:

[0108] In step 640, the network distribution device clears out cached expired data packets according to the set timeout period.

[0109] The present disclosure also provides a Mesh network configuration method, such as Figure 7 Shown, including:

[0110] Step 710: The network configuration device sends a network configuration provisioning data packet via broadcast;

[0111] Step 720: The provisioned node receives the provisioning data packet and forwards the provisioning data packet via broadcast.

[0112] In step 730, the node to be provisioned receives the Provisioning data packet to perform network provisioning, and sends a response data packet corresponding to the Provisioning data packet via broadcast.

[0113] In some exemplary embodiments, step 730 further includes:

[0114] The node to be provisioned caches the received Provisioning data packets.

[0115] The data can be cached before or after the response data packet is sent, and is not limited to a specific timing.

[0116] In some exemplary embodiments, step 730 includes:

[0117] The node to be network - provisioned determines whether the received Provisioning data packet has been cached. If not, it performs network provisioning according to the received Provisioning data packet and sends a response data packet corresponding to the Provisioning data packet in a broadcast manner; if it has been cached, the data packet is discarded.

[0118] It can be understood that in the network - provisioning scheme provided by the embodiments of the present disclosure, the same Provisioning data packet may be forwarded by multiple provisioned nodes to the node to be network - provisioned. When it is determined according to the cached data packet that the received Provisioning data packet has not been processed and a response data packet is to be sent, the data packet is processed and the response data packet is sent. For those that have been processed and the response data packet has been sent, no repeated processing is performed, which can effectively reduce the processing load of the node to be network - provisioned and reduce the traffic load of the Mesh network caused by the repeatedly sent response data packets.

[0119] In some exemplary embodiments, the method further includes:

[0120] Step 740, the node to be network - provisioned clears the cached expired data packets according to the set timeout duration.

[0121] It should be noted that the response data packets generated when the node to be network - provisioned or the network - provisioning device receives data packets in different steps of the network - provisioning process are different. The response data packets can be determined according to some implementable network - provisioning specifications. The specific corresponding details are not described in detail in the solution of this application.

[0122] It can be seen that according to the network - provisioning scheme of the Mesh network provided by the embodiments of the present disclosure, it breaks through the limitation that the execution of the network - provisioning process in some implementable schemes depends on the reachable range of wireless radio frequency communication between the network - provisioning device and the node to be network - provisioned. By using one or more provisioned nodes that have completed network provisioning in the Mesh network and flooding the relevant data packets of the network - provisioning process in a broadcast manner, the network - provisioning range is greatly expanded, enabling the node to be network - provisioned that could not originally communicate with the network - provisioning device via radio frequency to effectively perform network provisioning, significantly improving the network - provisioning efficiency and operation convenience of the newly added nodes in the Mesh network. According to the network - provisioning scheme provided by the embodiments of the present disclosure, the network - provisioning range is significantly expanded, as Figure 8 shown. Compared with the Figure 1 scheme, Figure 8 in which, based on the relay forwarding of other provisioned nodes, device B can also perform network provisioning without the network - provisioning device moving. It can be seen that for the network - provisioning device at the same location, Figure 1In the implementable power distribution scheme shown, the power distribution range is the circular radio frequency coverage area, while Figure 8 In the power distribution scheme provided by the embodiment of the present application shown, the power distribution range is the cloud-shaped range covered by the entire Mesh network, not limited to the circular radio frequency coverage area of the power distribution device; in contrast, based on the power distribution scheme provided by the embodiment of the present disclosure, the power distribution range can be greatly expanded, improving the convenience of the power distribution operation. At the same time, the relevant data packets for power distribution are automatically forwarded, and concurrent power distribution of multiple nodes to be powered can be realized within a large range, significantly improving the overall power distribution speed of the Mesh network, accelerating the network construction speed of large-scale Mesh networks, reducing the workload of relevant operation and maintenance work, and facilitating the application of the Mesh network solution.

[0123] It should be noted that to complete the power distribution, the nodes to be powered and the power distribution device need to exchange multiple data packets. For each received broadcast data packet, the powered nodes relay and forward the data packets related to the power distribution process according to the above scheme. The broadcast and forwarded data packets can be the data packets generated by the nodes to be powered or the data packets generated by the power distribution device. Combining the specific power distribution process of the Mesh network, the power distribution can be finally completed based on the relayed and forwarded data packets.

[0124] The embodiment of the present disclosure also provides a Mesh network power distribution method, as Figure 9 shown, including:

[0125] Step 9110, the powered node receives the data packet;

[0126] Step 9120, determine whether it is a data packet of its own affiliated Mesh network according to the NID; if so, execute step 9200, if not, execute step 9130;

[0127] Step 9130, determine whether it is a data packet of a preset type; if so, execute step 9140, if not, discard the data packet;

[0128] Step 9140, determine whether the data packet has been cached; if not, execute step 9150, if so, discard the data packet;

[0129] Step 9150, send the data packet in a broadcast manner;

[0130] Step 9200, determine whether the data packet is an object to be filtered; if so, discard the data packet, if not, execute step 9210;

[0131] Step 9210, de-obfuscate the data packet;

[0132] Step 9220: Determine whether the source address is valid. If it is valid, execute Step 9230; if it is invalid, discard the data packet.

[0133] Step 9230: Decrypt the data packet.

[0134] Step 9240: Determine whether the decryption is successful. If it is successful, execute Step 9250; if it fails, discard the data packet.

[0135] Step 9250: Determine whether the destination address is valid. If it is valid, execute Step 9260; if it is invalid, discard the data packet.

[0136] Step 9260: Determine whether the data packet has been cached. If it has been cached, discard the data packet; if it has not been cached, process the data packet or forward the data packet.

[0137] It should be noted that in the embodiments of the present disclosure, Steps 9200-9260 are an example of the original data packet processing flow of nodes in a Mesh network. The processing flow of the configured nodes for non-network configuration-related data packets is executed according to relevant Mesh network specifications or service specifications, and is not limited to the aspects exemplified in the embodiments of the present disclosure.

[0138] The embodiments of the present disclosure further provide a wireless mesh Mesh network configuration device, including:

[0139] A relay module, configured to send the data packet in a broadcast manner when it is determined that the received data packet is a set type of data packet;

[0140] Wherein, the configuration device is deployed on the configured nodes in the Mesh network;

[0141] The set type of data packet includes: a beacon Beacon data packet or a provisioning Provisioning data packet.

[0142] The embodiments of the present disclosure further provide a wireless mesh Mesh network, as Figure 10 shown, including

[0143] A node 1010 to be configured, a configured node 1020, and a configuration device 1030;

[0144] The node 1010 to be configured is configured to send a set type of data packet in a broadcast manner;

[0145] The configured node 1020 is configured to receive the data packet and forward the data packet in a broadcast manner;

[0146] The distribution network device 1030 is configured to receive the data packet forwarded by the already-provisioned node for network provisioning to generate a corresponding response data packet, and send the response data packet by broadcast;

[0147] The already-provisioned node 1020 is further configured to receive the response data packet and forward the response data packet by broadcast;

[0148] The node to be provisioned 1010 is further configured to receive the response data packet forwarded by the already-provisioned node for network provisioning;

[0149] Wherein, the set type data packet includes: a Beacon data packet or a Provisioning data packet, and the response data packet includes: a Provisioning data packet.

[0150] In some exemplary embodiments, the node to be provisioned 1010 includes one or more.

[0151] In some exemplary embodiments, the already-provisioned node 1020 includes one or more.

[0152] In some exemplary embodiments, the distribution network device 1030 includes one or more.

[0153] In some exemplary embodiments, the already-provisioned nodes that participate in forwarding the data packet and / or the response data packet in the process of a pair of nodes to be provisioned and the distribution network device completing network provisioning include one or more.

[0154] It should be noted that Figure 10 The shown Mesh only reflects part of the data connection paths, and the parts not shown do not mean disconnection.

[0155] In some exemplary embodiments, the Mesh network includes a Ble Mesh network, or a Mesh network based on Wifi, or a Mesh network based on Zigbee; or a Mesh network based on other wireless communication technologies, not limited to specific aspects.

[0156] The embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, it implements the wireless mesh network provisioning method as described in any embodiment of the present disclosure.

[0157] The Mesh network configuration solution provided by the embodiments of the present disclosure improves the processing flow of the already-configured nodes, breaks through the limitation of the wireless radio frequency communication distance between the nodes to be configured and the configuration devices in the configuration process of some feasible solutions, utilizes the relay capability of the already-configured nodes, effectively expands the configurable range, significantly improves the implementation convenience and execution efficiency of adding new nodes to the Mesh network, and provides a convenient and effective technical support for the wide application of large-scale Mesh networks.

[0158] Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, and their appropriate combinations. In the hardware implementation, the division of the functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be executed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a transitory medium). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cassette, tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, a communication medium typically includes computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium.

[0159] The above are only the preferred embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structural transformation made under the concept of the present invention by using the content of the specification and drawings of the present invention, or directly / indirectly applied in other related technical fields, is included in the patent protection scope of the present invention.

Claims

1. A method for network configuration of a wireless Mesh network, characterized in that, Including: When a provisioned node in a Mesh network determines that the received data packet is a set - type data packet and determines that the data packet has not been cached, it sends the data packet by broadcast and then caches the data packet; Wherein, the set - type data packet includes: a beacon packet or a provisioning packet.

2. The provisioning method according to claim 1, characterized in that: It further includes: When the provisioned node determines that the received data packet is not a data packet belonging to its own Mesh network, it determines the type of the data packet.

3. The provisioning method according to claim 2, characterized in that: The provisioned node determines whether the data packet is a data packet belonging to its own Mesh network according to the network identifier in the received data packet.

4. A method for network configuration of a wireless Mesh network, characterized in that, Including: The node to be provisioned sends a set - type data packet by broadcast; The node to be provisioned receives the response data packet corresponding to the data packet forwarded by the provisioned node by broadcast; The node to be provisioned performs network provisioning with the provisioning device according to the response data packet; Wherein, the set - type data packet includes: a beacon packet or a provisioning packet; the response data packet is generated correspondingly by the provisioning device after receiving the data packet forwarded by the provisioned node by broadcast and is sent by broadcast; When the provisioned node determines that the data packet has not been cached, it sends the data packet by broadcast and then caches the data packet.

5. A wireless Mesh network configuration method, characterized in that, Including: The provisioning device receives the set - type data packet forwarded by the provisioned node by broadcast; The provisioning device performs network provisioning with the node to be provisioned according to the data packet, generates a response data packet correspondingly, and sends the response data packet by broadcast; Wherein, the set - type data packet includes: a beacon packet or a provisioning packet; the set - type data packet is generated by the node to be provisioned and sent by broadcast; When the provisioned node determines that the data packet has not been cached, it sends the data packet by broadcast and then caches the data packet.

6. A wireless Mesh network networking device, characterized in that, Including: A relay module, configured to send the data packet by broadcast when it determines that the received data packet is a set - type data packet; Wherein, the provisioning device is deployed on the provisioned node in the Mesh network; The set - type data packet includes: a beacon packet or a provisioning packet.

7. A wireless Mesh network, characterized in that, Including: A node to be provisioned, a provisioned node, and a provisioning device; The node to be provisioned is configured to send a set - type data packet by broadcast; The provisioned node is configured to receive the data packet, and when it determines that the data packet has not been cached, it forwards the data packet by broadcast and then caches the data packet; The provisioning device is configured to receive the data packet forwarded by the provisioned node to perform network provisioning to generate a corresponding response data packet and send the response data packet by broadcast; The configured node is further configured to receive the response data packet, forward the response data packet in a broadcast manner when it is determined that the data packet is not cached, and then cache the response data packet; The node to be configured is further configured to receive the response data packet forwarded by the configured node for network configuration; Wherein, the set type data packet includes: a beacon packet or a provisioning packet, and the response data packet includes: a provisioning packet.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by a processor, it implements the wireless mesh network configuration method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Network configuration system and method, electronic equipment, and establishment method and equipment of network configuration system

    CN113259949A