CN115767683A - Mesh network distribution method, device, storage medium and Mesh network - Google Patents

Mesh network distribution method, device, storage medium and Mesh network Download PDF

Info

Publication number
CN115767683A
CN115767683A CN202211386357.9A CN202211386357A CN115767683A CN 115767683 A CN115767683 A CN 115767683A CN 202211386357 A CN202211386357 A CN 202211386357A CN 115767683 A CN115767683 A CN 115767683A
Authority
CN
China
Prior art keywords
network
distribution
distribution network
node
nodes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211386357.9A
Other languages
Chinese (zh)
Inventor
许辉
洪赛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Eswin Computing Technology Co Ltd
Guangzhou Quanshengwei Information Technology Co Ltd
Original Assignee
Beijing Eswin Computing Technology Co Ltd
Guangzhou Quanshengwei Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Eswin Computing Technology Co Ltd, Guangzhou Quanshengwei Information Technology Co Ltd filed Critical Beijing Eswin Computing Technology Co Ltd
Priority to CN202211386357.9A priority Critical patent/CN115767683A/en
Publication of CN115767683A publication Critical patent/CN115767683A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The document discloses a network distribution method, a device and a storage medium of a wireless Mesh network, and the Mesh network. The network distribution method comprises the following steps: the first distribution network equipment determines one or more first distribution network nodes of a to-be-distributed network according to the configured registration verification information of the configurable network nodes; the first distribution network equipment and each first distribution network node are distributed with a network and distribute network data; after receiving the distribution network data, the first distribution network node serves as second distribution network equipment, and one or more second distribution network nodes of a to-be-distributed network are determined according to registration verification information of the self-configured distribution network nodes; and the second distribution network equipment and each second distribution network node are distributed with a network and send the distribution network data. According to the scheme for the distribution network of the multi-stage diffusion Mesh network, which adopts the distributed network nodes to serve as the distribution network equipment, the overall distribution network speed of the Mesh network is effectively improved, and the operation convenience of the distribution network is improved.

Description

Mesh network distribution method, device, storage medium and Mesh network
Technical Field
The present disclosure relates to, but not limited to, the field of wireless communication technologies, and in particular, to a method, an apparatus, a storage medium for network distribution in a Mesh network, and a Mesh network.
Background
Wireless Mesh (Mesh) networks have evolved into effective solutions for a variety of wireless access networks, such as broadband home networks, community networks, enterprise networks, and metropolitan area networks, by virtue of multi-hop interconnection and Mesh topology characteristics. In the Mesh network networking/distribution process of the related scheme and when a new node is added, network distribution equipment/a network distributor (provisioner) is required to perform network distribution operation with a newly added node (provisionee) in the network in sequence in the range of the surrounding radio frequency of a wireless signal, the operation process is complicated, and for a Mesh network with a large scale, long time is required to finish the network distribution of all nodes.
Therefore, the improvement of the related business process to improve the operation convenience of the distribution network of the new node and improve the working efficiency of the distribution network of the whole Mesh network is a direction continuously explored by technical personnel in the field.
Disclosure of Invention
The embodiment of the disclosure provides a network distribution method, a network distribution device, a storage medium and a Mesh network, wherein a multi-stage diffusion type network distribution scheme that a distributed network node serves as a network distribution device is adopted, so that the overall network distribution speed of the Mesh network is effectively improved, and the network distribution operation convenience is improved.
The embodiment of the disclosure provides a method for distributing a network in a Mesh network of a wireless grid, which comprises the following steps:
determining one or more first distribution network nodes of a network to be distributed according to the configured registration verification information of the distribution network nodes;
carrying out distribution network with each first distribution network node, and issuing distribution network data;
after the first distribution network node completes distribution, the first distribution network node and one or more second distribution network nodes are distributed with each other and distribute the distribution network data according to the registration verification information of the distributed network nodes configured by the first distribution network node.
The embodiment of the present disclosure further provides a network distribution method for a Mesh network, including:
the first network distribution node and the first network distribution equipment are in network distribution, and network distribution data are obtained;
the first distribution network node is used as a second distribution network device, and one or more second distribution network nodes of the network to be distributed are determined according to the registration verification information of the configured distribution network nodes;
and carrying out distribution with each second distribution network node, and issuing the distribution network data.
The embodiment of the present disclosure further provides a network distribution device for a Mesh network of a wireless Mesh, including:
the distribution network data acquisition module is arranged for carrying out distribution network with the first distribution network equipment and acquiring distribution network data;
the second distribution network node determining module is used as second distribution network equipment and is used for determining one or more second distribution network nodes of the to-be-distributed network according to the registration verification information of the configured distribution network nodes;
and the distribution network module is arranged to be distributed with the second distribution network nodes and issues the distribution network data.
The disclosed embodiment also provides a Mesh network, including,
the network distribution system comprises a first network distribution device, a second network distribution device, a first network distribution node and a second network distribution node;
the first distribution network equipment is set to determine one or more first distribution network nodes of a to-be-distributed network according to the configured registration verification information of the configurable distribution network nodes; carrying out distribution network with each first distribution network node, and issuing distribution network data;
the first distribution network node is set to be used as second distribution network equipment after receiving the distribution network data, and one or more second distribution network nodes of a to-be-distributed network are determined according to registration verification information of the self-configured distribution network nodes; and carrying out distribution with each second distribution network node, and issuing the distribution network data.
The embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for distributing a network in a Mesh network of a wireless Mesh according to any embodiment of the present disclosure.
Other aspects will be apparent upon reading and understanding the attached figures and detailed description.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic diagram of a Mesh network distribution scheme in some implementations;
FIG. 2 is a flow diagram of a Mesh network distribution process in some implementations;
fig. 3 is a flowchart of a Mesh network distribution method provided by an embodiment of the present disclosure;
fig. 4 is a flowchart of a Mesh network distribution process provided by the embodiment of the present disclosure;
fig. 5 is a flowchart of another Mesh network distribution method provided by the embodiment of the present disclosure;
fig. 6 is a schematic diagram illustrating an effect of a Mesh network distribution scheme provided by an embodiment of the present disclosure;
fig. 7 is a state transition diagram of a first distribution network node according to an embodiment of the present disclosure;
fig. 8 is a flowchart of another Mesh network distribution method provided in the embodiment of the present disclosure;
fig. 9 is a flowchart of another Mesh network distribution method provided by the embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of a Mesh network distribution device provided in an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of a Mesh network according to an embodiment of the present disclosure.
Implementation, functional features and advantages of the objects of the embodiments of the present disclosure will be further described with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without inventive step, are intended to be within the scope of the present invention.
It should be noted that descriptions in this disclosure as to "first", "second", etc. are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present disclosure, "a plurality" means at least two, e.g., two, three, etc., unless explicitly specifically limited otherwise.
In addition, technical solutions between the various embodiments of the present disclosure may be combined with each other, but must be based on the realization of the capability of a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent, and is not within the protection scope of the present invention.
Wireless Mesh (Mesh) networks have evolved into effective solutions for a variety of wireless access networks, such as broadband home networks, community networks, enterprise networks, and metropolitan area networks, by virtue of multi-hop interconnection and Mesh topology characteristics. Taking bluetooth low energy Ble-Mesh network as an example, many-to-many communication is realized based on bluetooth low energy technology, and all devices added in Mesh network can communicate with each other. The device which does not join the Mesh network is called an undistributed device (unprotected device) or a node to be provisioned, and the device which has joined the Mesh network is called a node (node), also called a provisioned device (provisioned device) or a provisioned node. In the embodiment of the disclosure, whether the distribution network is finished is determined according to the execution result of the operation of the related distribution network, and is not simply determined according to the name of the node. In the networking/distribution process of the Ble Mesh network and when a new node is added, a network distribution device (provisioner) and a newly added node (provisionee) are required to be within the radio frequency coverage of the two, as shown in fig. 1. Therefore, for the scale Ble Mesh network, a user needs to carry distribution network equipment to be near a new node for distribution; for a newly-built Mesh network, it takes a long time to complete the distribution of the network of all the nodes according to the existing standard flow. For example, the preliminary estimation requires about 4s to complete the distribution network of one node, and for a Mesh network including 500 nodes, the total time length requires about 33 minutes. It can be seen that this process is not only time consuming, but also requires personnel to move the distribution network equipment to reach within the radio frequency coverage of each node. The whole distribution network process has poor convenience, long time consumption and poor user experience, and is not beneficial to the application and popularization of the Mesh network technical scheme.
The disclosed embodiment provides a distribution network scheme applied to a Mesh network, wherein a multi-stage diffusion type distribution network scheme with distribution network nodes serving as distribution network equipment is adopted, and each stage of distribution network equipment distributes a network to nodes to be distributed in a self coverage range according to registration verification information of the configured distribution network nodes, so that the distribution network speed of the nodes in the whole Mesh network can be obviously improved, the distribution network coverage range of the Mesh network is greatly expanded, and the convenience of Mesh network distribution is obviously improved.
It can be known that a process of adding a device into the Mesh network is called a distribution network (provisioning), a device for driving the provisioning process is called a distribution network device (provisioning), the device after the successful provisioning becomes a Mesh node (node), and a series of configurations are performed to execute a normal application/service function.
Taking the Ble Mesh network as an example, the network distribution process includes 5 stages, as shown in fig. 2:
beacon: the device/node (to-be-configured network) initiates a broadcast to inform the distribution network;
invitation: a distribution network device (provider) sends a distribution network invitation PDU, and a device/node (to be distributed) responds and replies information about the device/node in a Provisioning Capabilities PDU;
exchange public keys: public keys are exchanged between distribution network equipment (provider) and equipment/nodes (to-be-distributed network), and the public keys are used for generating Session keys when distribution network data are distributed;
authentication: identity authentication is carried out between the distribution network equipment (provider) and the equipment/node (to be distributed) through a specific action;
the Distribution of Distribution network data is distributed by the Distribution of provisioning data: a Session Key is derived from a public Key and private keys of two devices, the process of information interaction of a distribution network is encrypted by the Session Key, and distribution network data PDU containing' NetKey, deviceKey and AppKey.
It can be seen that the distribution network process defined by the Ble Mesh specification includes multiple steps of scanning, connection, key exchange, identity authentication, and the like, and the overall process time is long. The whole network depends on a core distribution network device/distribution network device to complete distribution of all nodes, longer time is needed, and the overall distribution network efficiency is low.
The embodiment of the present disclosure provides a method for distributing a network in a Mesh network of a wireless Mesh, as shown in fig. 3, including:
step 310, determining one or more first distribution network nodes of a to-be-distributed network according to the configured registration verification information of the distribution network nodes;
320, distributing networks with the first distribution network nodes, and issuing distribution network data;
after the first distribution network node completes distribution, the first distribution network node and one or more second distribution network nodes are distributed with each other and distribute the distribution network data according to the registration verification information of the distributed network nodes configured by the first distribution network node.
In some exemplary embodiments, the network distribution method is applied to a network distribution device.
In some exemplary embodiments, step 310 comprises:
scanning nodes of a network to be distributed to acquire registration information of the nodes of the network to be distributed;
and according to the configured registration verification information of the distribution network nodes, determining the distribution network nodes to be the first distribution network nodes under the condition of verifying that the registration information of the distribution network nodes to be configured is legal.
In some example embodiments, the registration information comprises at least one of:
a media access control MAC address, a unicast address, and a universally unique identifier UUID.
As can be appreciated, a MAC address can uniquely identify a node; a unicast address may uniquely identify a node; a UUID may uniquely identify a node. Optionally, the registration information includes other information uniquely identifying a node device, and is not limited in this aspect of the examples of the disclosure. After the equipment is produced, the MAC address can not be modified generally; and the unicast address and UUID may be modified as application needs dictate.
In some exemplary embodiments, the unicast address and/or the UUID are planned according to the service attribute and the node deployment, and may be reset according to the plan of the entire Mesh network and the application system before being put into application. More detailed planning strategies and planning results are not discussed in detail herein.
In some exemplary embodiments, the registration verification information comprises at least one of:
the system comprises a media access control MAC address list, a media access control MAC address verification rule, a unicast address list, a unicast address verification rule, a universal unique identification code UUID list and a universal unique identification code UUID verification rule.
In some exemplary embodiments, the MAC address list includes MAC addresses of networks that can be currently distributed to the network distribution device, and if the MAC address in the registration information of the node to be distributed is included in the MAC address list, it indicates that the registration information of the node to be distributed is verified to be legal, and the node to be distributed is determined to be the first network distribution node. Namely, the node to be distributed is in the range of the distribution network device capable of distributing the network.
In some exemplary embodiments, the MAC address validation rule defines a condition that a MAC address of a node of a distributable network satisfies, which may be a MAC address range, a matching condition with a wildcard, or other forms of matching conditions, and is not limited to a specific form. And under the condition that the MAC address in the registration information of the node to be distributed accords with the MAC address verification rule, the registration information of the node to be distributed is verified to be legal, and the node to be distributed is determined to be a first distribution network node. Namely, the node to be distributed is in the range of the distribution network device capable of distributing the network.
In some example embodiments, the MAC address validation rule comprises one or more sub-rules. Without conflict, a relationship that is "and" or "between multiple sub-rules.
In some exemplary embodiments, the unicast address list includes unicast addresses of distribution networks that can be currently distributed by the distribution network device, and in a case that the unicast address in the registration information of the node to be distributed is included in the unicast address list, it indicates that the registration information of the node to be distributed is verified to be valid, and it is determined that the node to be distributed is the first distribution network node. Namely, the node to be distributed is in the range of the distribution network device capable of distributing the network.
In some exemplary embodiments, the unicast address validation rule defines a condition that a unicast address of a node of a distributable network satisfies, which may be a unicast address range, a matching condition with a wildcard, or other forms of matching conditions, and is not limited to a specific form. And under the condition that the unicast address in the registration information of the node to be distributed accords with the unicast address verification rule, the verification that the registration information of the node to be distributed is legal is indicated, and the node to be distributed is determined to be the first distribution network node. Namely, the node to be distributed is in the range of the distribution network device capable of distributing the network.
In some example embodiments, the unicast address validation rule comprises one or more sub-rules. Without conflict, a relationship that is "and" or "between multiple sub-rules.
In some exemplary embodiments, the UUID address list includes UUIDs of networks that can be currently distributed by the distribution network device, and in a case that the UUID in the registration information of the node to be distributed is included in the UUID address list, it indicates that the registration information of the node to be distributed is verified to be legitimate, and the node to be distributed is determined to be the first distribution network node. Namely, the node to be distributed is in the range of the distribution network which can be performed by the distribution network equipment.
In some exemplary embodiments, the UUID verification rule defines a condition that the UUID of a node of a distributable network satisfies, and the condition may be a UUID range, a matching condition with a wildcard, or other forms of matching conditions, and is not limited to a specific form. And under the condition that the UUID in the registration information of the node to be distributed conforms to the UUID verification rule, the registration information of the node to be distributed is verified to be legal, and the node to be distributed is determined to be the first distribution network node. Namely, the node to be distributed is in the range of the distribution network device capable of distributing the network.
In some exemplary embodiments, the UUID validation rule includes one or more sub-rules. Without conflict, a relationship that is "and" or "between multiple sub-rules.
It should be noted that, under the condition of no conflict, the registration verification information may include multiple items, and accordingly, when the registration information of the network node to be configured satisfies each item, it indicates that the registration information of the network node to be configured is verified to be legal, and it is determined that the network node is the first network node.
For example, the UUID in the registration information is 16 bits, wherein the first 8 bits are set before the device is produced, the last 8 bits are produced according to a certain encryption algorithm in the production process, and the overall 16-bit UUID has a certain rule.
Accordingly, the registration verification information includes: a UUID validation rule comprising:
sub-rule 1: a list or range corresponding to the first 8 bits of the UUID;
the encryption algorithm (containing a key) corresponding to 8 bits after the sub-rule 2 and the UUID;
verifying whether the registration information of the network node to be configured is legal or not comprises the following steps:
and judging whether the first 8 bits of the UUID in the registration information are in the list or range defined by the sub-rule 1, if so, judging whether the last 8 bits are equal to the calculation result of the encryption algorithm according to the sub-rule 2, if so, determining that the UUID is legal, otherwise, determining that the UUID is illegal.
It should be noted that the registration verification information is specific data information or a verification rule used by the distribution network device to verify whether the device to be distributed is legal, corresponds to specific content included in the registration information obtained by scanning, and can be determined flexibly.
It can be understood that the registration verification information and the registration information verification link set based on certain security enable only the node to be distributed which is verified to be legal to further perform the subsequent distribution network process, and accordingly the security of the distribution network can be ensured.
In some exemplary embodiments, scanning nodes of a network to be distributed to obtain registration information of the network to be distributed includes:
receiving a Beacon data packet broadcast and sent by a node to be configured;
and acquiring the registration information from the Beacon data packet.
In some exemplary embodiments, as shown in fig. 4, step 320 comprises:
the following steps are sequentially executed for each first distribution network node:
step 321, sending a distribution network invitation to the first distribution network node;
322, performing distribution network verification according to the received distribution network invitation response returned by the first distribution network node;
step 323, after the verification is passed, the distribution network data is issued to the first distribution network node;
wherein the distribution network data comprises: a network key NetKey and an application key AppKey; or, the distribution network data includes: and (4) network key NetKey.
As can be seen, compared with the distribution network flow shown in fig. 1, the distribution network flow between the distribution network device and the first distribution network node shown in fig. 4 omits a link of public key exchange and authentication, and can significantly improve the distribution network speed between a pair of nodes. Research shows that in some Mesh network applications, related nodes are all known controllable devices, and are not random devices in a general internet application environment, and based on the verification of the distribution network node to be configured by the distribution network device according to the registration verification information of the distribution network node configured by the distribution network device in step 310, it can be ensured that only the distribution network node to be configured within an allowable range can enter the distribution network link in step 320, and therefore, the security can be effectively ensured. It can be understood that, according to the characteristics of the Mesh network application, the distribution network scheme provided by the embodiment of the disclosure has considerable safety while improving the distribution network efficiency.
In some exemplary embodiments, the NetKey comprises one or more.
In some exemplary embodiments, the AppKey includes one or more.
It should be noted that, in the same Mesh network, the netkeys of the nodes issuing the distribution network are the same. The appkeys used by the same application are the same. And the NetKey is acquired from configuration data by the first distribution network equipment in the Mesh network or generated according to a set algorithm. The AppKey is acquired from configuration data by first distribution network equipment in the Mesh network or is generated according to a set algorithm.
In some exemplary embodiments, the distribution network invitation is a Provisioning Invite packet, and the specific data format and content refer to some implementable schemes.
In some exemplary embodiments, the distribution network invitation response is a distribution network capability Provisioning Capabilities data packet, the distribution network capability supported by the node to be distributed is represented, and the specific data format and content refer to some realizable schemes.
It should be noted that the unicast addresses of the nodes and the distribution network devices of the distributed network in the Mesh network are unique unicast addresses in the network, and in some embodiments, uniqueness of the unicast addresses is verified in the process of distributing the network.
In some exemplary embodiments, the distribution network invitation includes a unicast address of a distribution network device, and the distribution network invitation response includes a unicast address of the first distribution network node.
In some exemplary embodiments, the performing distribution network verification according to the received distribution network invitation response returned by the first distribution network node includes:
and judging whether the unicast address is available according to the unicast address of the first distribution network node in the distribution network invitation response, if not, determining that the distribution network fails, and if so, performing other distribution network verification steps.
After the verification is successful, the distribution network data is issued; and when the distribution network fails, distributing distribution network failure information or terminating the processing.
The embodiment of the present disclosure further provides a method for distributing a network in a Mesh network of a wireless Mesh, as shown in fig. 5, including:
step 510, a first network distribution node and a first network distribution device carry out network distribution and acquire network distribution data;
step 520, the first distribution network node is used as a second distribution network device, and one or more second distribution network nodes of the network to be distributed are determined according to the registration verification information of the configured distribution network nodes;
and 530, distributing networks with the second distribution network nodes, and issuing the distribution network data.
In some exemplary embodiments, the distribution network method is applied to a first distribution network node.
It should be noted that, other network distribution nodes are distributed, and the device sending the distribution network data is a network distribution device, also called a network distributor; in the implementation of the application, the first distribution network equipment and the second distribution network equipment are relative dynamic logic concepts, and the logic difference that the two equipment serve as the distribution network equipment in the local distribution network process is reflected. It can be understood that the first distribution network node is used as a distribution network device (second distribution network device) after completing distribution, and further other nodes to be distributed are distributed with a network, and the description is introduced for distinguishing from the distribution network device (first distribution network device) performed on the first distribution network node.
In the implementation of the method, the first distribution network node and the second distribution network node are relative dynamic logic concepts, and the logic difference of the nodes to be distributed in two levels in the local distribution network process is reflected. It can be understood that the node to be configured (the first distribution network node) serves as a distribution network device after completing distribution of the network, and further, other nodes to be configured (the second distribution network node) are configured, and the method is introduced for distinguishing the nodes to be configured of different levels involved in the process.
It can be understood that according to the scheme of the embodiment of the disclosure, the distribution network node after completing distribution of the network is used as a distribution network device to further distribute the network to other nodes within the reach of the distribution network node, and finally, the node distribution network of the whole Mesh network is realized through the continuously extended 'second distribution network device'. As shown in fig. 6, the initial distribution network device is a (first distribution network device), and distributes a network to a plurality of first distribution network nodes in the coverage area of the first distribution network device, including nodes B, C, D, and the like; after the completion of the first round of distribution network, the nodes B, C and D of the distributed network are used as second distribution network equipment to respectively distribute the network to the second distribution network nodes of the coverage area of the second distribution network equipment, and the method comprises the following steps: E. f, etc.; and after the second round of distribution is finished, carrying out third round of distribution on the nodes E and F of the distributed network. It can be understood that, for the network distribution process related to E and F, the node C is a first network distribution device, E and F are first network distribution nodes, and after the network distribution is completed, E and F are used as second network distribution devices to further distribute the network to other second network distribution nodes to be distributed.
In some exemplary embodiments, step 510 comprises:
receiving a distribution network invitation from the first distribution network device, determining a unicast address different from the first distribution network device, and returning a distribution network invitation response;
after the first distribution network equipment passes distribution network verification according to the distribution network invitation response, receiving the distribution network data issued by the first distribution network equipment;
wherein the distribution network invitation comprises a unicast address of the first distribution network device; the distribution network invitation response comprises the unicast address of the first distribution network node.
In some example embodiments, the determining a unicast address different from the first distribution network device comprises:
judging whether the configured unicast address is the same as the unicast address of the first distribution network equipment or not, and if so, modifying the unicast address of the distribution network equipment; if not, no modification is required.
In some exemplary embodiments, the modified unicast address is a new unicast address calculated according to a relevant algorithm, and the probability of the new unicast address obtained by calculation according to the algorithm being repeated is very small. And reporting the new unicast address to the distribution network equipment in the distribution network invitation response, verifying the uniqueness of the new unicast address by the distribution network equipment, and if the verification fails, failing to distribute the network. The node can wait for the next distribution network, and then the distribution network is carried out after the new unicast address is calculated again.
In some exemplary embodiments, step 510 comprises:
receiving a distribution network invitation from the first distribution network equipment, and returning a distribution network invitation response;
after the first distribution network equipment passes distribution network verification according to the distribution network invitation response, receiving the distribution network data issued by the first distribution network equipment;
wherein the distribution network invitation includes a unicast address of the first distribution network node.
In this implementation, the unicast address in the first distribution network node is issued by the distribution network device, and the distribution network device adopts a corresponding mechanism to ensure the uniqueness of the unicast addresses of all nodes/devices in the network. The method can adopt a mode that each distribution network device configures an available unicast address range in advance, or adopt a related algorithm to calculate the unicast address, and the probability of the unicast address repetition calculated according to the algorithm is extremely low. Or other ways in which unicast addresses may be guaranteed not to conflict, are not limited in any way.
In some exemplary embodiments, step 510 comprises:
receiving network distribution invitations from a plurality of network distribution devices, and selecting one network distribution invitation as the first network distribution device according to a network distribution device priority selection strategy;
the distribution network equipment priority selection strategy comprises one or more of the following strategies:
the received signal strength, the range of the media access control MAC address of the source device, and the range of the universally unique identification code UUID of the source device.
It should be noted that, based on the cross coverage characteristics of the Mesh network and/or the redundancy consideration of the distribution network scheme, the registration verification information of the configurable network nodes configured by different distribution network devices may have an intersection, that is, the registration information of one node to be distributed may be determined as the first network node to be distributed by different distribution network devices. When the distribution network equipment scans the nodes to be distributed, a plurality of distribution network equipment can scan the same node to be distributed and determine the node to be the first distribution network node of the distribution network, and then send a distribution network invitation. At the moment, the same first distribution network node receives the distribution network invitations from the plurality of distribution network devices, at the moment, one of the first distribution network nodes is selected according to the distribution network device priority selection strategy to process, a distribution network inviting response is returned, the subsequent distribution network is carried out, and other distribution network invitations are discarded.
In some exemplary embodiments, the distribution network device preference policy includes received signal strength, and then a distribution network device with the highest signal strength is preferred.
In some exemplary embodiments, the distribution network device preference policy includes a media access control MAC address range of the signal source device, and then a distribution network device having a MAC address of a signal source device (distribution network device) corresponding to the received signal in the MAC address range is preferentially selected.
In some exemplary embodiments, the distribution network device priority selection policy includes a UUID range of the universally unique identification code of the signal source device, and then the distribution network device with the UUID of the signal source device (distribution network device) corresponding to the received signal in the UUID range is preferentially selected.
It should be noted that, under the condition of no conflict, the distribution network device priority selection policy may include multiple items, and sets priorities of the items, so as to select an optimal distribution network device comprehensively. Further examples are not discussed in detail herein.
In some exemplary embodiments, step 510 further comprises:
and under the condition of receiving distribution network data from a plurality of distribution network devices, judging whether a key in the distribution network data is stored, if so, discarding the distribution network data, and if not, continuing the subsequent distribution network step.
In some exemplary embodiments, the key comprises: a network key; alternatively, the key comprises: a network key and an application key.
In some exemplary embodiments, the state of the first distribution network node transitions as shown in fig. 7. The nodes of the distribution network to be distributed broadcast Beacon in an idle state and enter a state of waiting for network distribution invitation; after receiving a distribution network invitation sent by the distribution network equipment, returning a distribution network invitation response, and entering a distribution network data waiting state; after the distribution network equipment completes the relevant verification, the distribution network node receives the distribution network data issued by the distribution network equipment, judges whether a secret key in the distribution network data is stored, and ends the distribution network process after discarding the received distribution network data if the secret key is stored; and if the data is not stored, finishing the distribution process after the distribution network data is stored and the distribution is finished.
The embodiment of the present disclosure further provides a network distribution method for a Mesh network, as shown in fig. 8, including:
step 810, the first distribution network equipment determines one or more first distribution network nodes of the to-be-distributed network according to the configured registration verification information of the configurable network nodes;
step 820, the first distribution network equipment and each first distribution network node are distributed with a network, and distribution network data are issued;
step 830, after receiving the distribution network data, the first distribution network node serves as a second distribution network device, and determines one or more second distribution network nodes to be distributed according to the registration verification information of the self-configured distribution network nodes;
and 840, the second distribution network device and each second distribution network node perform distribution network and issue the distribution network data.
In some exemplary embodiments, the method further comprises:
step 850, serving as a distribution network node of the second distribution network device, reporting successful distribution network information of the second distribution network node to the corresponding first distribution network device when the first distribution network device is distributed;
step 860, the first distribution network equipment collects successful distribution network information which is a root node per se according to the received successful distribution network information;
wherein the successful distribution network information comprises one or more of the following items:
the number of nodes of successful distribution networks, the UUID of the distribution network equipment corresponding to the successful distribution networks and the unicast address of the distribution network equipment corresponding to the successful distribution networks.
It can be understood that through multi-level aggregation, the first distribution network device in the Mesh network can determine successful distribution network information of the whole network. When the distribution network of all the nodes of the distribution network to be distributed is not completed according to the successful distribution network information of the whole network, the information of the nodes of the distribution network to be distributed which is not successful can be further determined.
In some exemplary embodiments, step 850 reports periodically according to a set reporting interval.
In some exemplary embodiments, step 860 is aggregated periodically according to a set aggregation interval.
In some exemplary embodiments, the method further comprises:
step 870, as a distribution network node of the second distribution network device, scanning the to-be-distributed network node, and reporting the registration information of the to-be-distributed network node obtained by scanning to the corresponding first distribution network device when the distribution network node is distributed;
step 880, the first distribution network device collects the registration information of the nodes to be distributed, which is the root nodes, according to the received information of the nodes to be distributed.
It can be understood that before the distribution network nodes are successfully distributed, broadcast messages are periodically sent, the distribution network devices scan the broadcast messages to obtain registration information of the broadcast messages, and after multi-level aggregation, the first distribution network device in the Mesh network can determine registration information of nodes to be distributed of distribution networks which are not successfully distributed in the whole network. When it is determined that all distribution networks are not completed according to the registration information of the nodes to be distributed of the whole network, the information of the nodes to be distributed of the unsuccessful distribution networks can be further determined.
In some exemplary embodiments, step 870 is performed periodically according to a set reporting interval.
In some exemplary embodiments, step 880 is periodically summarized according to a set summarization interval.
The embodiment of the present disclosure further provides a network distribution method for a Mesh network, as shown in fig. 9, including:
step 910, a first distribution network device and one or more first distribution network nodes distribute a distribution network and issue distribution network data;
step 920, the first distribution network device designates all or part of the one or more first distribution network nodes as a second distribution network device;
step 930, judging whether the distribution of all the distribution network nodes is finished, if not, continuing to execute 910-920, and if so, ending the distribution.
It is understood that in the second and subsequent rounds of step 910, the first distribution network device is the second distribution network device designated in the previous round of step 920. When the first round executes step 910, the first distribution network device is a first distribution network device in the Mesh network.
In some exemplary embodiments, step 910 includes:
the first distribution network equipment determines one or more first distribution network nodes of a to-be-distributed network according to the configured registration verification information of the configurable network nodes;
and the first distribution network equipment and each first distribution network node are distributed with a network and distribute network data.
It should be noted that, in the embodiment of the present disclosure, the configured verification information of the configurable network nodes in the distribution network nodes (the first distribution network node and/or the second distribution network node) may be configured correspondingly after determining the distribution network device hierarchy in advance according to the overall Mesh network deployment plan; or based on the verification information of the full-amount distribution network nodes configured on the first distribution network device, the verification information can be configured after being dynamically distributed in the whole Mesh network distribution process by adopting other schemes, and the method is not limited to a specific mode.
As can be seen, according to the Mesh network distribution scheme provided by the embodiment of the disclosure, for the first distribution network device, the network can be easily extended to a node to be distributed outside the wireless radio frequency coverage of the first distribution network device, so that the distribution network can be completed, and the distribution network convenience of the Mesh network is remarkably improved. And executing steps 910-920 in multiple rounds, and expanding multi-stage distribution network equipment to perform distributed distribution, so that the overall distribution network efficiency of the Mesh network can be obviously improved.
In some exemplary embodiments, the lightweight distribution network flow shown in fig. 4 is adopted to perform distribution network of the distribution network device and the distribution network node, so that the time required by the distribution network can be shortened, and the overall distribution network efficiency of the Mesh network can be further improved.
It should be noted that the Mesh network distribution scheme provided by the embodiment of the disclosure is improved for some of the achievable parts of the Mesh network distribution scheme, so as to improve the overall distribution speed. Without conflict, aspects not related to improvements may be implemented according to the related implementable embodiments to perform the detailed steps related to the distribution network.
The embodiment of the present disclosure further provides a network distribution device for a Mesh network of a wireless Mesh, including:
the first distribution network node determining module is set to determine one or more first distribution network nodes of a to-be-distributed network according to the configured registration verification information of the configurable distribution network nodes;
the distribution network module is arranged to be distributed with the first distribution network nodes and issues distribution network data;
after the first distribution network node completes distribution, the first distribution network node and one or more second distribution network nodes are distributed with each other and distribute the distribution network data according to the registration verification information of the distributed network nodes configured by the first distribution network node.
In some exemplary embodiments, the Mesh network distribution device is deployed on a network distribution device of a Mesh network.
The embodiment of the present disclosure further provides a network distribution device for a Mesh network, as shown in fig. 10, including:
the distribution network data acquisition module 1010 is configured to perform distribution with the first distribution network device and acquire distribution network data;
a second distribution network node determining module 1020, configured to be a second distribution network device, determine one or more second distribution network nodes to be distributed according to registration verification information of a configured distribution network node;
and a distribution network module 1030 configured to distribute a network with each of the second distribution network nodes and issue the distribution network data.
In some exemplary embodiments, the Mesh network distribution device is deployed on a network node to be distributed of a Mesh network.
The embodiment of the present disclosure further provides a Mesh network, as shown in fig. 11, including:
first distribution network device 1110, second distribution network device 1120, first distribution network node 1130, and second distribution network node 1140;
the first distribution network device 1110 is configured to determine one or more first distribution network nodes 1130 to be distributed according to the configured registration verification information of the configurable distribution network nodes; performing distribution with each first distribution network node 1130, and issuing distribution network data;
the first distribution network node 1130 is configured to receive the distribution network data and then serve as a second distribution network device 1120, and determine one or more second distribution network nodes 1140 of the to-be-distributed network according to registration verification information of a configured distribution network node; and the second distribution network nodes 1140 are connected to a distribution network, and the distribution network information is issued.
In some exemplary embodiments, the Mesh network is not limited to a Mesh network implemented based on a specific wireless communication manner, and may be a Ble Mesh network based on a bluetooth low energy technology, a Zigbee Mesh network based on Zigbee, or a Wifi Mesh network.
In some exemplary embodiments, the first network distribution device 1110 includes one or more devices.
In some exemplary embodiments, the second distribution network device 1120 includes one or more devices.
In some exemplary embodiments, the first distribution network node 1130 includes one or more nodes.
In some exemplary embodiments, the second distribution network node 1140 includes one or more.
In some exemplary embodiments, the initial first distribution network device in the Mesh network includes one, also called a master distribution network device. After the subsequent distribution network is completed, the distribution network node set as the second distribution network device includes one or more slave distribution network devices.
Embodiments of the present disclosure further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a network distribution method for a wireless Mesh network according to any embodiment of the present disclosure.
The Mesh network distribution scheme provided by the embodiment of the disclosure adopts a multi-stage diffusion type distribution scheme that the distributed network nodes serve as distribution network equipment, breaks through the limitation that the distribution network is carried out by means of single distribution network equipment in the distribution network process in some realizable schemes, effectively expands the distribution network range by using the distributed network nodes as next-stage distribution network equipment, obviously improves the implementation convenience and the execution efficiency of expanding new nodes of the Mesh network, and provides an effective technical support for the wide application of a large-scale Mesh network.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, or suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structural changes made by using the contents of the specification and drawings, or any other related technical fields, which are directly or indirectly applied to the present invention, are included in the scope of the present invention.

Claims (10)

1. A network distribution method for a Mesh network of a wireless grid is characterized by comprising the following steps:
determining one or more first distribution network nodes of a network to be distributed according to the configured registration verification information of the distribution network nodes;
carrying out distribution network with each first distribution network node, and issuing distribution network data;
after the first distribution network node completes distribution, the first distribution network node and one or more second distribution network nodes are distributed with each other and distribute the distribution network data according to the registration verification information of the distributed network nodes configured by the first distribution network node.
2. The distribution network method of claim 1,
the determining one or more first distribution network nodes of the network to be distributed according to the configured registration verification information of the distribution network nodes comprises:
scanning nodes of a network to be distributed to acquire registration information of the nodes of the network to be distributed;
and according to the configured registration verification information of the distribution network nodes, determining the distribution network nodes to be the first distribution network nodes under the condition of verifying that the registration information of the distribution network nodes to be configured is legal.
3. Distribution network method according to claim 1 or 2,
the said and every said first distribution network node carry on the distribution network, and issue and distribute the network data, including:
the following steps are sequentially executed on each first distribution network node:
sending a distribution network invitation to the first distribution network node;
carrying out distribution network verification according to the received distribution network invitation response returned by the first distribution network node;
after the verification is passed, the distribution network data are issued to the first distribution network node;
wherein the distribution network data comprises: a network key; or a network key and an application key.
4. The distribution network method of claim 2,
the registration information includes at least one of:
the method comprises the steps that a Media Access Control (MAC) address, a unicast address and a Universal Unique Identifier (UUID) are selected;
the registration verification information includes at least one of:
the system comprises a media access control MAC address list, a media access control MAC address verification rule, a unicast address list, a unicast address verification rule, a universal unique identification code UUID list and a universal unique identification code UUID verification rule.
5. A network distribution method for a Mesh network of a wireless Mesh is characterized by comprising the following steps:
the first network distribution node and the first network distribution equipment are in network distribution, and network distribution data are obtained;
the first distribution network node is used as a second distribution network device, and one or more second distribution network nodes of the to-be-distributed network are determined according to the registration verification information of the configured distribution network nodes;
and carrying out distribution with each second distribution network node, and issuing the distribution network data.
6. The distribution network method of claim 5,
the first network distribution node and the first network distribution equipment are in a network distribution, and network distribution data are acquired, and the method comprises the following steps:
receiving a distribution network invitation from the first distribution network device, determining a unicast address different from the first distribution network device, and returning a distribution network invitation response;
after the first distribution network equipment passes distribution network verification according to the distribution network invitation response, receiving the distribution network data issued by the first distribution network equipment;
wherein the distribution network invitation comprises a unicast address of the first distribution network device; the distribution network invitation response comprises the unicast address of the first distribution network node.
7. The distribution network method of claim 5,
the first network distribution node and the first network distribution equipment are in a network distribution, and network distribution data are obtained, wherein the method comprises the following steps:
receiving network distribution invitations from a plurality of network distribution devices, and selecting one network distribution invitation as the first network distribution device according to a network distribution device priority selection strategy;
the distribution network equipment priority selection strategy comprises one or more of the following strategies:
the received signal strength, the range of the media access control MAC address of the source device, and the range of the universally unique identification code UUID of the source device.
8. A network distribution device of a wireless Mesh network is characterized by comprising:
the distribution network data acquisition module is arranged for carrying out distribution network with the first distribution network equipment and acquiring distribution network data;
the second distribution network node determining module is used as second distribution network equipment and is used for determining one or more second distribution network nodes of the to-be-distributed network according to the registration verification information of the configured distribution network nodes;
and the distribution network module is arranged to be distributed with the second distribution network nodes and issues the distribution network data.
9. A wireless Mesh network, comprising,
the network distribution system comprises a first network distribution device, a second network distribution device, a first network distribution node and a second network distribution node;
the first distribution network equipment is set to determine one or more first distribution network nodes of a to-be-distributed network according to the configured registration verification information of the configurable distribution network nodes; carrying out distribution network with each first distribution network node, and issuing distribution network data;
the first distribution network node is set to be used as second distribution network equipment after receiving the distribution network data, and one or more second distribution network nodes of a to-be-distributed network are determined according to registration verification information of the self-configured distribution network nodes; and distributing networks with the second distribution network nodes, and issuing the distribution network data.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out a method for a network distribution of a wireless Mesh network according to any one of claims 1 to 7.
CN202211386357.9A 2022-11-07 2022-11-07 Mesh network distribution method, device, storage medium and Mesh network Pending CN115767683A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211386357.9A CN115767683A (en) 2022-11-07 2022-11-07 Mesh network distribution method, device, storage medium and Mesh network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211386357.9A CN115767683A (en) 2022-11-07 2022-11-07 Mesh network distribution method, device, storage medium and Mesh network

Publications (1)

Publication Number Publication Date
CN115767683A true CN115767683A (en) 2023-03-07

Family

ID=85357970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211386357.9A Pending CN115767683A (en) 2022-11-07 2022-11-07 Mesh network distribution method, device, storage medium and Mesh network

Country Status (1)

Country Link
CN (1) CN115767683A (en)

Similar Documents

Publication Publication Date Title
US10666661B2 (en) Authorization processing method and device
US9154503B2 (en) Authorization method and terminal device
US8438616B2 (en) Method for terminal configuration and management and terminal device
EP2380324B1 (en) Secure node identifier assignment in a distributed hash table for peer-to-peer networks
EP3396928B1 (en) Method for managing network access rights and related device
CN101015188B (en) System and method for dynamically determining the role of a network device in a link authentication protocol exchange
US9094409B2 (en) Method for configuring access rights, control point, device and communication system
EP2264940B1 (en) Authentication information management method in home network and an apparatus therefor
US10057130B2 (en) D2HCP protocol in ad hoc networks: merging of sub-networks and address conflict resolution
US20070177554A1 (en) Automated Service Discovery and Wireless Network Set-Up
US20150305008A1 (en) Method and apparatus for updating information regarding specific resource in wireless communication system
KR20130067134A (en) Communication method, communication apparatus and communication system
CN106464667B (en) Certificate management method, equipment and system
CN108076016B (en) Authentication method and device between vehicle-mounted devices
US9374371B2 (en) Authentication apparatus and method thereof, and computer program
CN102761940A (en) 802.1X authentication method and equipment
CN111866993B (en) Wireless local area network connection management method, device, software program and storage medium
JP2009118267A (en) Communication network system, communication network control method, communication control apparatus, communication control program, service control device and service control program
CN115767683A (en) Mesh network distribution method, device, storage medium and Mesh network
CN116388998A (en) Audit processing method and device based on white list
CN111447087B (en) Block chain configuration method for dynamic networking
CN112702326B (en) Password information management method and password management node
CN117240900B (en) Block chain node discovery and networking method and device based on software defined network
CN114501473B (en) Mesh network distribution method, electronic equipment and computer readable storage medium
CN112887968B (en) Network equipment management method, device, network management equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination