Networking method of wireless mesh network and related device
By using directional antennas in the wireless Mesh network for beam scanning and training to determine the target communication link, the problems of limited network capacity and insufficient signal strength in the existing technology are solved, and more efficient networking and transmission are achieved.
Patent Information
- Application Number
- CN202310301114.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-20
- Publication Date
- 2024-09-20
AI Technical Summary
The rate of existing wireless Mesh networks decreases during the forwarding process, resulting in limited network capacity. Omnidirectional antennas have wide coverage but relatively weak signal strength and limited transmission distance.
Use directional antennas for beam scanning and beam training to determine the target communication link, and update the neighbor list and target link information based on the beam scanning results to establish an efficient target communication link.
It improves the communication capacity of the network, shortens the network link establishment time, improves networking efficiency, and enhances signal strength and anti-interference capabilities, especially in long-distance transmission scenarios.
Smart Images

Figure CN118678367A
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a networking method and related devices for a wireless mesh network. Background Art
[0002] Wireless communication technology has been widely used because it does not require the deployment of optical fiber cables. Mesh networks further extend the wireless coverage distance, so they have been widely used and deployed.
[0003] Currently, Mesh networks usually communicate based on omnidirectional antennas. However, Mesh networks have forwarding, and the rate decreases after each forwarding, resulting in limited network capacity. Summary of the invention
[0004] The present application provides a wireless mesh network networking method and related devices, which can shorten the network link establishment time.
[0005] In a first aspect, the present application provides a method for networking a wireless mesh network, which can be performed by a master node in the mesh network, including:
[0006] Based on the directional antenna, beam scanning and beam training are performed to determine the target communication link with the target slave node in the Mesh network; then, a link is established with the target slave node according to the target communication link.
[0007] Compared with omnidirectional antennas, since the signal of directional antennas mainly propagates in a specific direction, it has a narrower coverage range and a larger radiation power than omnidirectional antennas. Therefore, in scenarios where directional transmission is required, especially long-distance transmission, directional antennas have stronger anti-interference capabilities to a certain extent, and the signal strength is also higher. In this application, by using directional antennas for communication in a Mesh network, beam scanning and beam training are performed based on the beams of directional antennas, the communication capacity of the network is improved to a certain extent, the network link establishment time is shortened, and the networking efficiency is improved.
[0008] In a possible implementation manner of the first aspect, performing beam scanning and beam training based on a directional antenna to determine a target communication link with a target slave node in a Mesh network includes:
[0009] Perform beam scanning based on a directional antenna to obtain beam scanning results;
[0010] Update the neighbor list based on the beam scanning results;
[0011] Determine target link information between the target slave node and the target slave node according to the beam scanning result;
[0012] A target communication link with a target slave node is determined according to the target link information.
[0013] In this possible implementation, beam scanning and training are performed through the narrow beam of the directional antenna to quickly update the neighbor list, and the target link information for communicating with the target slave node is determined based on the scanning results to determine and establish the target communication link with the slave node, further shortening the network link establishment time and improving the networking efficiency.
[0014] In a possible implementation manner of the first aspect, the target link information includes a minimum metric value between each hop slave node, and determining the target link information between the target slave node and the target slave node according to the beam scanning result includes:
[0015] Acquire multiple metric values between each hop slave node according to the beam scanning result;
[0016] For each of the hops between the target slave node and the target slave node, the metric values between the hop and multiple slave nodes of the next hop of the hop are compared to determine the minimum metric value between the hop and multiple slave nodes of the next hop of the hop.
[0017] In this possible implementation, the minimum metric value between the nodes of each hop is used as the link selection criterion, thereby shortening the network link establishment time between the nodes of each hop.
[0018] In a possible implementation manner of the first aspect, determining a target communication link with a target slave node according to the target link information includes:
[0019] Determine the node corresponding to each hop in each hop according to the minimum metric value between the nodes in each hop;
[0020] The target communication link between the target slave node and the target slave node is determined according to the node corresponding to each hop.
[0021] In this possible implementation, the nodes of each hop from the target slave node are determined according to the minimum metric value between the slave nodes of each hop, so as to establish the target communication link and improve the communication efficiency.
[0022] In a possible implementation manner of the first aspect, the target link information further includes a beam identifier corresponding to a minimum metric value between each hop slave node, and establishing a link with the target slave node according to the target communication link includes:
[0023] Determine the beam transmission angle between each hop slave node and the target slave node according to the beam identifier corresponding to the minimum metric value between each hop slave node;
[0024] A link is established with the target slave node based on the beam emission angle and the target communication link.
[0025] In this possible implementation, the beam transmission angle for communication between each hop node is determined according to the minimum metric value corresponding to each hop slave node, so as to establish a link with the target slave node through the beam transmission angle, thereby realizing fast link establishment between multi-hop nodes.
[0026] In a possible implementation manner of the first aspect, performing beam scanning based on a directional antenna to obtain a beam scanning result includes:
[0027] Sending a probe request frame based on a directional antenna;
[0028] Receive probe response frames fed back by multiple slave nodes.
[0029] In this possible implementation, scanning of neighbor nodes is performed based on the beam of a directional antenna, which can achieve rapid scanning to quickly discover neighbor nodes.
[0030] In a possible implementation manner of the first aspect, updating the neighbor list according to the beam scanning result includes:
[0031] Add multiple slave nodes to the neighbor list and update the neighbor list.
[0032] In this possible implementation, a rapid scan is performed based on the beam of a directional antenna, and the responding slave node is updated to the neighbor node according to the scan result, so as to achieve a rapid update of the neighbor list.
[0033] In the second aspect, the present application provides a networking device for a wireless mesh network. The beneficial effects can be found in the description of the first aspect and will not be repeated here. The device has the function of implementing the behavior in the method example of the first aspect. The function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. Including:
[0034] A transmitting unit, used to perform beam scanning and beam training based on a directional antenna to determine a target communication link with a target slave node in the Mesh network;
[0035] The link building unit is used to establish a link with a target slave node according to a target communication link.
[0036] In a possible implementation manner of the second aspect, the sending unit is further configured to:
[0037] Perform beam scanning based on a directional antenna to obtain beam scanning results;
[0038] Update the neighbor list based on the beam scanning results;
[0039] Determine target link information between the target slave node and the target slave node according to the beam scanning result;
[0040] A target communication link with a target slave node is determined according to the target link information.
[0041] In a possible implementation manner of the second aspect, the target link information includes a minimum metric value between each hop slave node, and determining the target link information between the target slave node and the target slave node according to the beam scanning result includes:
[0042] Acquire multiple metric values between each hop slave node according to the beam scanning result;
[0043] For each of the hops between the target slave node and the target slave node, the metric values between the hop and multiple slave nodes of the next hop of the hop are compared to determine the minimum metric value between the hop and multiple slave nodes of the next hop of the hop.
[0044] In a possible implementation manner of the second aspect, determining a target communication link with a target slave node according to the target link information includes:
[0045] Determine the node corresponding to each hop in each hop according to the minimum metric value between the nodes in each hop;
[0046] The target communication link between the target slave node and the target slave node is determined according to the node corresponding to each hop.
[0047] In a possible implementation manner of the second aspect, the target link information further includes a beam identifier corresponding to a minimum metric value between each hop slave node, and the link establishment unit is further configured to:
[0048] Determine the beam transmission angle between each hop slave node and the target slave node according to the beam identifier corresponding to the minimum metric value between each hop slave node;
[0049] A link is established with the target slave node based on the beam emission angle and the target communication link.
[0050] In a possible implementation manner of the second aspect, performing beam scanning based on a directional antenna to obtain a beam scanning result includes:
[0051] Sending a probe request frame based on a directional antenna;
[0052] Receive probe response frames fed back by multiple slave nodes.
[0053] In a possible implementation manner of the second aspect, updating the neighbor list according to the beam scanning result includes:
[0054] Add multiple slave nodes to the neighbor list and update the neighbor list.
[0055] In the second aspect of the present application, the various units included in the networking device of the wireless mesh network can be used to implement the steps in the various possible implementation methods of the first aspect. For the specific implementation methods of the second aspect of the embodiment of the present application and certain steps in the various possible implementation methods of the second aspect, as well as the beneficial effects brought about by each possible implementation method, you can refer to the description of the various possible implementation methods in the first aspect, and will not be repeated here one by one.
[0056] In a third aspect, the present application provides a wireless mesh network networking device, including a processor and a memory;
[0057] A computer program is stored in the memory;
[0058] The processor is used to execute the computer program in the memory to implement the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.
[0059] In a fourth aspect, the present application provides a Mesh network, comprising a master node and at least one slave node, wherein the master node executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.
[0060] In a fifth aspect, the present application provides a computer program product, which, when executed by a computer, implements the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.
[0061] In a sixth aspect, the present application provides a computer-readable storage medium, which stores computer-readable instructions. When the computer-readable instructions are executed by a processor, the method in the above-mentioned first aspect or any possible implementation of the first aspect is implemented.
[0062] In a seventh aspect, the present application provides a circuit system, which includes a processing circuit, and the processing circuit is configured to execute the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.
[0063] In an eighth aspect, the present application provides a chip system, including a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the method described in the first aspect or any possible implementation of the first aspect. The chip system may be composed of a chip, or may include a chip and other discrete devices.
[0064] The solutions of the second to eighth aspects mentioned above are used to implement or cooperate with the method of the first aspect or any possible implementation method thereof, and therefore can achieve the same or corresponding beneficial effects as the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1a A schematic diagram of an application scenario of the wireless mesh network networking method provided in an embodiment of the present application;
[0066] Figure 1b A schematic diagram of a process of establishing a wireless mesh network according to an embodiment of the present application;
[0067] Figure 1c A schematic diagram of channel transmission of a wireless local area network provided in an embodiment of the present application;
[0068] Figure 2 Another schematic diagram of a process for establishing a wireless mesh network provided in an embodiment of the present application;
[0069] Figure 3a A schematic structural diagram of a cross section of an antenna provided in an embodiment of the present application;
[0070] Figure 3b A schematic diagram of a process for a master node to update a neighbor node provided in an embodiment of the present application;
[0071] Figure 4a A schematic diagram of the distribution of nodes of a Mesh network provided in an embodiment of the present application;
[0072] Figure 4b A schematic diagram of a process for a master node to obtain target link information provided in an embodiment of the present application;
[0073] Figure 5a Another schematic diagram of the distribution of nodes of the Mesh network provided in an embodiment of the present application;
[0074] Figure 5b A schematic diagram of a process for updating a target communication link by a master node provided in an embodiment of the present application;
[0075] Figure 6 Another schematic diagram of the distribution of nodes of the Mesh network provided in an embodiment of the present application;
[0076] Figure 7 A schematic diagram of a structure of a networking device for a wireless mesh network provided in an embodiment of the present application;
[0077] Figure 8 Another structural schematic diagram of a networking device for a wireless mesh network provided in an embodiment of the present application. DETAILED DESCRIPTION
[0078] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of this application. It is known to those skilled in the art that with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0079] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or modules is not necessarily limited to those steps or modules that are clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products or devices.
[0080] The term "and / or" in this application can be a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this application generally indicates that the associated objects before and after are in an "or" relationship.
[0081] It should also be noted that, in some alternative implementations, the functions / acts noted may occur out of the order of the drawings. For example, two figures shown in succession may in fact occur substantially simultaneously or may sometimes be performed in the reverse order, depending on the functions / acts involved.
[0082] In the embodiments of the present application, unless otherwise specified, the meaning of "at least one" refers to one or more, and the meaning of "plurality" refers to two or more. It is understood that in the present application, "when", "if" and "if" all refer to the device making corresponding processing under certain objective circumstances, and do not limit the time, nor do they require that there must be a judgment action when the device is implemented, nor do they mean that there are other limitations. In addition, the special word "exemplary" means "used as an example, embodiment or illustrative". Any embodiment described as "exemplary" is not necessarily interpreted as being superior or better than other embodiments.
[0083] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0084] In order to better understand a wireless mesh network networking method provided in an embodiment of the present application, some terms involved in the embodiment of the present application are first explained below.
[0085] (1) Mesh Network
[0086] Mesh network, also known as "multi-hop" network, is a new type of wireless network technology that is completely different from traditional wireless networks. In traditional wireless LANs, each client accesses the network through a wireless link connected to an access point (AP). If users need to communicate with each other, they must first access a fixed access point. This network structure is called a single-hop network. In a Mesh network, any wireless device node can serve as an access point and a router at the same time. Each node in the network can send and receive signals, and each node can communicate directly with one or more peer nodes. Mesh networks have obvious advantages such as flexible and simple networking, high network reliability, and large communication coverage.
[0087] In a Mesh network, various devices in the network are regarded as nodes. All nodes can be connected to each other. Each node has multiple connection channels, and all nodes form an integrated network.
[0088] In a Mesh network, there is only one master node responsible for resource scheduling, and the rest are slave nodes. The master node is connected to all slave nodes in one hop, and the slave nodes are connected in one or more hops. Data transmission between slave nodes requires forwarding by intermediate nodes. Therefore, data transmission in a Mesh network has the characteristics of multi-hop and forwarding.
[0089] (2) Omnidirectional antenna
[0090] An omnidirectional antenna is an antenna that can radiate wireless signals evenly in the horizontal direction (360 degrees) and vertical direction (90 degrees). Omnidirectional antennas are generally suitable for scenarios where wireless signals need to be sent and received in all directions, such as Wi-Fi, routers, mobile phones, etc.
[0091] Omnidirectional antennas have a wide coverage area, but the signal strength is relatively weak, so their transmission distance is limited.
[0092] (3) Directional antenna
[0093] A directional antenna is an antenna that transmits and receives electromagnetic waves particularly strongly in one or several specific directions, and transmits and receives zero or extremely small electromagnetic waves in other directions.
[0094] Compared with omnidirectional antennas, directional antennas usually have a narrower coverage range (generally between 30 and 90 degrees horizontally) because their signals mainly propagate in a specific direction, and their radiation power is greater than that of omnidirectional antennas. Therefore, in scenarios where directional transmission is required, especially long-distance transmission, directional antennas have better performance and are more outstanding, such as radar and satellite communications. Using directional antennas can increase the effective utilization of radiated power, confidentiality, anti-interference capabilities, and enhance signal strength.
[0095] Directional antennas include array antennas. Array antennas refer to antenna systems composed of many identical single antennas (such as symmetrical antennas) arranged in a certain pattern. The independent units that make up the antenna array are called array elements or antenna units.
[0096] (4) Beam
[0097] A beam is a communication resource. Beams include wide beams, narrow beams, and other types. A transmit beam refers to the distribution of signal strength in different directions in space after a signal is transmitted by an antenna, and a receive beam refers to the distribution of signal strength in different directions in space of a wireless signal received from an antenna.
[0098] Among them, multiple beams with the same or similar communication characteristics can be regarded as one beam.
[0099] (5) Beam training
[0100] Beam training refers to the process in which a user equipment measures and evaluates different beams and selects one or more beams from the measured beams.
[0101] Beam training is the main process in beamforming technology. Beam training is used to provide the necessary signals so that both parties can select the sector beam direction suitable for sending and receiving signals. After beam training is successfully completed, both parties can determine the sector beam direction suitable for sending and receiving signals, thereby adjusting the antenna configuration and transmitting data using beamforming technology.
[0102] (6) Measurement
[0103] Metrics refer to a set of selected measurement values for measuring or evaluating a system, process, or output. These measurement values are usually meaningful and can reflect indicators of certain performance or characteristics. Metrics refer to the numerical value of a property or phenomenon that is quantified or characterized by a certain standard or unit. The calculation of metrics can consider only one characteristic of a link, or it can be generated by combining multiple characteristics of the link.
[0104] (7) Millimeter wave
[0105] Millimeter waves generally refer to electromagnetic waves with frequencies approximately in the range of 30GHz to 300GHz. Since the wavelength of electromagnetic waves in this frequency band in a vacuum is approximately between 10mm and 1mm, the wavelength is at the "millimeter" level, so the electromagnetic waves in this frequency band are called millimeter waves.
[0106] The characteristics of millimeter wave technology are large bandwidth, but its link loss is large and the propagation distance is short. By utilizing the beam focusing function of phased array technology, millimeter waves can be used to achieve directional transmission and increase the transmission distance.
[0107] The advantage of the phased array system is that it can realize directional transmission of signals, but since it requires dozens or even hundreds of arrays, the circuit area increases. However, the millimeter wave circuit area is small and can be used to realize large-scale arrays.
[0108] (8) Multiple Input Multiple Output
[0109] Multiple-Input and Multiple-Output (MIMO) is an antenna system that uses multiple antennas at both the transmitting and receiving ends to form multiple channels between the transmitting and receiving ends, which can increase the channel capacity.
[0110] The above introduces some of the terms involved in the embodiments of the present application. Next, the networking method of the wireless mesh network provided by the present application is described.
[0111] First of all, in order to better understand the solution of the embodiment of the present application, the application scenario of the embodiment of the present application is described below.
[0112] The embodiments of the present application are mainly applied in Mesh networks to realize link building between nodes. Figure 1a , Figure 1a A schematic diagram of an application scenario of the wireless mesh network networking method provided in the embodiment of the present application. The embodiment of the present application is mainly applied in the Mesh network to perform Mesh networking and realize link establishment between various nodes.
[0113] The Mesh network includes multiple nodes, and the multiple nodes in the Mesh network are divided into master nodes and slave nodes according to the different functions they perform. Among them, the Mesh network connects to the Internet by connecting to a router. The node connected to the router is called the master node, which is used to uniformly plan the routing information of all nodes in the Mesh network. The node connected to the master node is called the slave node. The slave node collects and sends data. In addition to executing the function of sending the data it needs to send, the slave node is also used to execute the multi-hop relay signaling of other nodes and the multi-hop access to new nodes. In addition to being connected to the master node, the slave nodes are also connected to each other.
[0114] In existing Mesh networks, omnidirectional antennas are usually used to achieve communication and connection between multiple nodes. Due to the forwarding in Mesh networks, especially the disordered forwarding between multiple nodes, each forwarding requires a certain delay. After multiple forwardings, the delay is high and the rate is reduced, resulting in limited network capacity.
[0115] In order to solve the above problems, the present application embodiment provides a wireless mesh network networking method, which is applied to Figure 1a In the Mesh network shown in the figure, it can be applied to the master node in the Mesh network. For details, please refer to Figure 1b , Figure 1b A flow chart of a method for networking a wireless mesh Mesh network provided in an embodiment of the present application. The method specifically includes: S1, performing beam scanning and beam training based on directional antennas to determine a target communication link with a target slave node in the Mesh network. S2, establishing a link with the target slave node according to the target communication link. By adopting the method provided in an embodiment of the present application, it is possible to use directional antennas to communicate in a Mesh network, perform beam scanning and beam training based on the beams of directional antennas, and improve the communication capacity of the network to a certain extent, shorten the network link establishment time, and improve the networking efficiency.
[0116] Understandably, Figure 1a The application environment shown is only an example of one environment. The wireless mesh network networking method provided in the embodiment of the present application can be applied to the scenario described above but is not limited to it, and is not limited here.
[0117] The above introduces the application scenarios involved in the embodiments of the present application. In order to better understand the technical solutions provided by the embodiments of the present application, the current wireless mesh network is introduced below.
[0118] At present, with the deployment of 5G, the number of base stations is increasing, and the distance between base stations is getting smaller and smaller. Wireless backhaul has the advantages of no wires and can be deployed with electricity. It is an inevitable trend to adopt multiple backhaul technologies. Wireless backhaul also has certain requirements and challenges, such as large capacity, low deployment cost, long backhaul distance, and low latency.
[0119] In the current wireless mesh network, backhaul mainly adopts 2.4G or 5G solutions. Figure 1c , Figure 1c This is a schematic diagram of the channel transmission of the wireless local area network provided in the embodiment of the present application. Figure 1c As shown in the figure, under the current wireless local area network (WLAN) mechanism, due to the WLAN preemption mechanism, data is transmitted on the same channel, the interference is relatively large, and the simultaneous bidirectional transmission of data leads to serious conflicts. Each data transmission seeks a relay route. Since each forwarding requires a certain delay, arbitration is required in the case of a conflict. The delay is high after multiple forwardings. In addition, due to the forwarding of mesh networks, the rate will decrease after each forwarding, especially the disorderly forwarding of multiple nodes, coupled with the conflict phenomenon, resulting in limited network capacity.
[0120] Currently, wireless mesh networks mostly use omnidirectional antennas to achieve communication and connection between multiple backhaul nodes. Since omnidirectional antennas have a wide coverage range, the signal strength is relatively weak and the transmission distance is limited.
[0121] In order to overcome the above-mentioned defects, the present application provides a networking method for a wireless mesh Mesh network. Compared with the use of omnidirectional antennas, since the signals of directional antennas are mainly propagated in a specific direction, they have a narrower coverage range and the radiation power is greater than that of omnidirectional antennas. Therefore, in scenarios where directional transmission is required, especially long-distance transmission, directional antennas have stronger anti-interference capabilities to a certain extent, and the signal strength is also higher. The present application improves the communication capacity of the network, shortens the network link establishment time, and improves the networking efficiency by using directional antennas for communication in the Mesh network and performing beam scanning and beam training based on the beams of the directional antennas.
[0122] The following is a detailed description of a wireless mesh network networking method provided by an embodiment of the present application in conjunction with the accompanying drawings and application scenarios. The present application embodiment provides a wireless mesh network networking method mainly used for network nodes that transmit data. Figure 2 , Figure 2 Another flow chart of the networking method of the wireless mesh network provided in the embodiment of the present application. The networking method of the wireless mesh network can be as follows: Figure 1a The master node in the Mesh network shown in the figure is executed. Figure 2 As shown, the master node in the Mesh network can implement fast link establishment between multi-hop nodes by executing the following steps 201 to 205.
[0123] 201. The master node performs beam scanning based on the directional antenna to obtain the beam scanning result.
[0124] In an embodiment of the present application, the master node performs beam scanning based on the beam emitted by the directional antenna, scans the slave nodes within the communication range of the master node, and obtains the scanning results fed back by the slave nodes.
[0125] It is understandable that currently in Mesh networks, communication is generally carried out through omnidirectional antennas, which has high latency and limited network capacity. Compared with the current technology, the embodiments of the present application use directional antennas to achieve high-frequency networking, which can reduce communication latency and increase communication capacity. Specifically, in an optional implementation, millimeter waves can be used for communication between the master node and each slave node.
[0126] In this implementation, since millimeter waves have the advantages of large bandwidth and large communication capacity, faster transmission speed and lower transmission delay can be achieved during communication between the master node and the slave node.
[0127] It is understandable that in actual application, other wireless technologies may be used for communication between the master node and each slave node, such as radio frequency technology, etc. The specific setting may be based on actual needs and is not limited here.
[0128] In the process of the master node using the high frequency signal to perform beam scanning, in an optional implementation, the master node performs beam scanning based on the directional antenna including:
[0129] The master node sends a probe request frame;
[0130] The master node receives the probe response frame fed back by the slave node.
[0131] In this implementation, the master node sends a probe request frame to each slave node within the communication range of the master node. After receiving the probe request frame sent by the master node, the slave node responds to the probe request frame and feeds back a probe response frame to the master node. After the master node sends a probe request frame to at least one slave node within the communication coverage range, it will receive a probe response frame fed back by at least one slave node. The master node can determine the wave velocity scanning result corresponding to at least one slave node based on the information in the probe response frame fed back from at least one slave node.
[0132] Optionally, the master node sends the probe request frame in a broadcast manner.
[0133] Furthermore, in the process of the master node and each slave node using directional antennas to communicate in the embodiment of the present application, since the beam generally corresponds to a certain transmission angle, communication can only be carried out in a certain direction. In order to further achieve full coverage of the return direction, the embodiment of the present application has also made further improvements to the structure of the antenna. Specifically, the antenna used in the embodiment of the present application is composed of multiple phased array antennas in different directions, so as to form a 360-degree coverage angle and achieve full coverage of the return direction.
[0134] For illustration purposes, please refer to Figure 3a , Figure 3a A schematic diagram of a cross section of an antenna provided in an embodiment of the present application. The shape of the antenna is described as a cylinder. Figure 3a In the embodiment, it is assumed that the antenna is composed of six phased array antennas (hereinafter referred to as array planes) in different directions, and each array plane realizes a beam control range of 60 degrees. Each phased array antenna can implement this method separately.
[0135] It is understandable that the networking method of the wireless mesh network provided in the embodiment of the present application can be executed by the master node, specifically, based on each array surface on the master node, and each array surface can implement this method separately. In addition, in the process of communication between the slave node and the master node, or between the slave nodes, each slave node can also perform the processes of beam emission, scanning and connection separately based on each array surface on the antenna structure. It should be understood that in the actual application process, the array antennas in each direction can be controlled in parallel based on multiple CPUs to realize parallel link building of the array antennas in each direction to improve the link building efficiency.
[0136] It should also be noted that, in actual applications, the shape of the antenna may be other shapes, such as a pentagonal prism, a hexagonal prism, etc., which may be set according to actual needs and is not limited here.
[0137] 202. The master node updates the neighbor list according to the beam scanning result.
[0138] In an embodiment of the present application, after the master node scans the slave nodes within the communication coverage area, it will receive the beam scanning results fed back by the slave nodes, and the master node can further update the neighbor list based on the scanning results.
[0139] For example, see Figure 3b , Figure 3b A schematic diagram of a process for a master node to update a neighbor node provided in an embodiment of the present application. Figure 3b As shown, the master node can update the neighbor nodes by executing the following steps 301b to 303b.
[0140] Step 301b: The master node performs beam scanning based on the directional antenna. In this step, the master node performs periodic beam scanning on the slave nodes within the communication coverage area.
[0141] In an optional implementation, the master node performs beam scanning based on a directional antenna including:
[0142] The master node sends a probe request frame;
[0143] The master node receives the probe response frame fed back by the slave node.
[0144] Step 302b: the master node obtains the wave speed scanning result.
[0145] In an optional implementation, the master node obtains the wave speed scanning result from a detection response frame fed back by at least one slave node.
[0146] In this implementation, after the master node sends a detection request frame, if the slave node receives the detection request frame, it will feed back a detection response frame to the master node accordingly.
[0147] Step 303b: The master node updates the neighbor list according to the beam scanning result.
[0148] In an optional implementation manner, the master node obtains the wave speed scanning result from the detection response frame fed back by at least one slave node, and updates at least one slave node to the neighbor list.
[0149] In this implementation, after the master node receives a detection response frame fed back by at least one slave node, it obtains a beam scanning result from the detection response frame fed back by at least one slave node, and updates the at least one slave node to the neighbor list.
[0150] It is understandable that, in addition to the master node performing periodic scanning to update the neighbor list, each slave node in the Mesh network will periodically scan and update the neighbor list corresponding to each other. The update of the neighbor list is performed periodically. When each node in the Mesh network sends a detection signal at a certain beam angle, if other nodes respond to the signal and feedback a response signal, the feedback node can be registered as a neighbor node and updated to the neighbor list. Therefore, it should be understood that steps 201 to 202 (including steps 301b to 303b) can be performed independently of the other steps of the embodiment of the present application, and each node in the Mesh network updates its corresponding neighbor nodes by periodic scanning. The master node and the neighbor nodes corresponding to each slave node perform periodic scanning and updating, and the neighbor nodes corresponding to the master node and each slave node are updated to the corresponding neighbor list. Optionally, in the process of updating the neighbor list, the master node and each slave node will obtain the number of neighbor nodes contained in the neighbor list.
[0151] Specifically, each node will periodically count the number of neighbor nodes included in the neighbor list during the process of updating the neighbor list, and stop updating when the number of neighbor nodes in the neighbor list is greater than the maximum data.
[0152] It should be understood that each node sets the maximum number of neighbor nodes included in its corresponding neighbor list. For example, in a communication environment with relatively dense nodes, if all nodes within the communication coverage of each node are updated to the neighbor list, normal communication will be affected if hardware resources are limited.
[0153] 203. The master node determines target link information between the master node and the target slave node according to the beam scanning result.
[0154] In an embodiment of the present application, after receiving the beam scanning result fed back by at least one slave node, the master node determines the target link information between the master node and the target slave node based on the information contained in the beam scanning result. Specifically, the master node obtains the target link information from the beam scanning result and updates the routing information of the routing table according to the information. Subsequently, the master node sends the routing table to each slave node so that each slave node updates the target link information of the previous hop or next hop slave node corresponding to each slave node according to the routing information.
[0155] It should be understood that in a Mesh network, if the physical distance between the master node and the target slave node is far, the master node may need to be forwarded by multiple slave nodes before it can establish a link with the target slave node. Therefore, there may be multiple communication links between the master node and the target slave node, and the master node can establish a link with the target slave node through several links. On this basis, the master node can obtain the target link information from the beam scanning results to determine the target communication link.
[0156] In an optional implementation, the wave speed scanning result includes multiple metric values between each hop slave node between the master node and the target slave node.
[0157] In this implementation, after receiving the detection response frame fed back by at least one slave node, the master node updates the at least one slave node to the neighbor list. Then, the master node obtains the beam scanning result from the detection response frame fed back by at least one slave node, and determines multiple metric values between each hop slave node between the master node and the target slave node according to the beam scanning result to determine the target link information between the master node and the target slave node.
[0158] Specifically, after the master node receives the detection response frame fed back by at least one slave node, since there may be multiple hop nodes between the master node and the slave node, and each hop node includes at least one slave node. Therefore, at least one communication link will correspond to at least one slave node in each hop and at least one next hop slave node of the slave node, and at least one metric value will be generated accordingly. The master node obtains multiple metric values between each slave node in each slave node and multiple slave nodes corresponding to the previous hop or next hop of the slave node from the detection response frames fed back by each slave node, and updates the multiple metric values between the master node and the slave node and between the slave nodes into the routing table.
[0159] For the sake of convenience, the method of obtaining the metric value is specifically described by taking the process that each slave node feeds back a detection response frame to the master node after receiving a detection request frame from the master node. Figure 4a , Figure 4a A distribution diagram of nodes of a Mesh network provided for an embodiment of the present application. Assuming that the target slave node is slave node 8, the communication link between the master node and slave node 8 includes multiple communication links. Assume that slave node 1 to slave node 9 can all receive the detection request frame sent by the master node. After the master node sends the detection request frame to slave node 1, slave node 2 and slave node 3 within the communication coverage range, slave node 2 can forward the detection request frame to slave node 8 via slave node 4, and slave node 3 can forward the detection request frame to slave node 8 via slave node 5. After slave node 1 to slave node 9 respectively receive the detection request frames sent by the master node, they will respectively feed back the corresponding detection response frames to the master node.
[0160] Taking the process of feedback of the detection response frame from the slave node 8 to the master node as an example, the process of obtaining multiple metric values between multiple slave nodes between the master node and the slave node 8 is specifically described. It should be understood that the communication link between the master node and the slave node 8 is mainly described, and the specific content of the communication links between other slave nodes is simplified.
[0161] Specifically, after slave node 8 receives the probe request frames forwarded by slave node 4 and slave node 5 respectively, slave node 8 will feed back the probe response frames to slave node 4 and slave node 5. After slave node 4 receives the probe response frames fed back by slave node 8, it will obtain the metric value between slave node 4 and slave node 8. After slave node 5 receives the probe response frames fed back by slave node 8, it will obtain the metric value between slave node 5 and slave node 8. Among them, slave node 5 will also receive the probe response frame fed back from slave node 9 and obtain the metric value between slave node 5 and slave node 9. That is, slave node 5 obtains multiple metric values between multiple slave nodes corresponding to each next hop of slave node 5, that is, the metric value between slave node 5 and slave node 8 and the metric value between slave node 5 and slave node 9.
[0162] Further, slave node 4 and slave node 5 forward the detection response frame to slave node 2 and slave node 3 respectively. Correspondingly, after slave node 2 receives the detection response frame fed back by slave node 4, in addition to being able to obtain the measurement value between slave node 4 and slave node 8, it will also obtain the measurement value between slave node 2 and slave node 4. After slave node 3 receives the detection response frame fed back by slave node 5, in addition to being able to obtain the measurement value between slave node 8 and slave node 5, it will also obtain the measurement value between slave node 3 and slave node 5. Among them, slave node 3 will also receive the detection response frames fed back by slave node 6 and slave node 7 respectively, and obtain the measurement value between slave node 3 and slave node 6 and the measurement value between slave node 3 and slave node 7. That is, slave node 3 will obtain multiple measurement values between multiple slave nodes corresponding to each next hop of slave node 3, that is, the measurement value between slave node 3 and slave node 5, the measurement value between slave node 3 and slave node 6, and the measurement value between slave node 3 and slave node 7.
[0163] Further, slave node 2 and slave node 3 forward the detection response frame to the master node respectively, so that the master node receives the detection response frame fed back from slave node 8. Among them, the master node can obtain the measurement value between slave node 2, the measurement value between slave node 2 and slave node 4, and the measurement value between slave node 4 and slave node 8 through the detection response frame fed back from slave node 2. The master node can obtain the measurement value between slave node 3, the measurement value between slave node 3 and slave node 5, and the measurement value between slave node 5 and slave node 8 through the detection response frame fed back from slave node 3. In addition, the master node will also receive the detection response frame fed back from slave node 1 and obtain the measurement value between slave node 1.
[0164] On this basis, the master node can obtain multiple metric values between the master node and the next-hop slave node of the master node, and between each slave node in each slave node and the next-hop slave node connected to the slave node.
[0165] It is understandable that there are many types of parameters included in the metric value, and there are differences in the calculation methods of different types of metric values. In actual application, the metric values between nodes can be calculated according to the specific calculation methods of different types of metric values to obtain the metric values between different nodes. In addition, it should be understood that the above example assumes that the metric values between nodes are carried in the detection response frame. In actual application, the metric values corresponding to each node can also be directly carried and then uniformly reported to the main node, which will calculate them uniformly. The specific calculation form of the metric value and the corresponding information representation form in the detection response frame can be set according to actual needs. This is only used as an example and is not limited.
[0166] In addition, it can be understood that, in an optional implementation, the metric value between two nodes refers to the difference in radio frequency information of the two nodes.
[0167] In this optional implementation, it is assumed that the slave node carries the radio frequency information of each slave node in the feedback detection response frame, and calculates the corresponding metric value through the previous hop of the slave node or sends it uniformly to the master node. There are many ways to calculate the metric value. For example, when the master node sends a detection request frame to each slave node, the radio frequency information can be carried in the detection request frame forwarded by the master node or the slave node, and calculated through the next hop of the master node or the slave node, or sent to the target slave node for unified calculation, or, after the target slave node receives the radio frequency information of each slave node, the radio frequency information of each node is fed back to the master node through the detection response frame for calculation. It should be noted that in actual application, the radio frequency information includes various types of parameters, such as bit error rate, etc., which are not limited here.
[0168] It should be understood that in actual application, the metric value between the two nodes can be determined by calculating the difference in the RF information corresponding to each of the two nodes. Therefore, the calculation of the metric value can be completed within the node or by other nodes. And the RF information or metric value information can be sent to each node in a variety of forms. The method described in the embodiment of the present application of carrying the RF information or metric value information in the detection response frame or the detection request frame is only one example method, which can be set according to actual needs and is not limited here.
[0169] Further, after the master node obtains multiple metric values between each hop slave node according to the beam scanning result, the master node determines the target link information between the master node and the target slave node according to the multiple metric values. In an optional implementation, the target link information includes the minimum metric value between each hop slave node between the master node and the target slave node.
[0170] In this implementation, specifically, for each of the hops between the target slave node and the target slave node, the target link information includes the minimum metric value between the hop and multiple slave nodes of the next hop of the hop.
[0171] Optionally, for each of the hops between the target slave node and the target slave node, the minimum metric value between the hop and the multiple slave nodes of the next hop can be determined by comparing the metric values between the hop and the multiple slave nodes of the next hop.
[0172] Specifically, corresponding to Figure 4aAfter the master node obtains multiple metric values fed back by slave nodes 1, 2, and 3, the master node obtains the minimum metric value between the master node and the next hop node of the master node by comparing the metric value between the master node and slave node 2, and the metric value between the master node and slave node 3. Assuming that the metric value between the master node and slave node 2 is the minimum metric value, after determining that slave node 2 is the next hop node of the master node, the master node will judge slave nodes 4 and 5 between the target slave node 8, and compare the metric value between the master node and slave node 4, and the metric value between the master node and slave node 4, to obtain the minimum metric value between slave node 2 and the next hop node of slave node 2. Assuming that the metric value between slave node 2 and slave node 4 is the minimum metric value, and each antenna array adopts a 2*2 MIMO configuration as an example, slave node 2 and slave node 4 can currently communicate through two beams. By comparing the metric values corresponding to the two beams, the minimum metric value between slave node 2 and slave node 4 is obtained.
[0173] It is understandable that since the master node communicates with multiple slave nodes, and the slave nodes communicate with each other based on beams at different angles. It should be understood that when the master node communicates with slave node 1, slave node 2, and slave node 3 based on beams at different angles, there are multiple corresponding measurement values. When the master node compares the measurement values between slave node 1, slave node 2, and slave node 3, it is actually based on the measurement values corresponding to the beams at various angles between the master node and slave node 1, slave node 2, and slave node 3. Assuming that the measurement value between the master node and slave node 2 is the minimum measurement value, it actually means that the measurement value between the master node and a certain beam angle of slave node 2 is the minimum.
[0174] Therefore, after the above operations, the master node can finally obtain the minimum metric value between each hop slave node between the master node and the target slave node.
[0175] It should be noted that, in actual application, the target link information may include not only the minimum value of the metric between a certain node and the next hop of the node, but also be determined based on certain conditions. For example, when the metric between a certain node and the next hop of the node meets a certain threshold requirement or falls within a certain value range, the metric between the node and the next hop of the node can be determined as the target link information. This is only an example and is not limited.
[0176] In addition, the embodiment of the present application judges the quality of the communication link between nodes by the size of the measurement value between the nodes. In actual application, the quality of the communication link between nodes can be judged based on a variety of judgment criteria, which can be set according to actual needs or experiments. This is only an example and is not a limiting explanation.
[0177] Further, it can be seen from the above description that the communication between nodes is based on different beam angles. After the master node obtains the minimum metric value between each hop slave node between the master node and the target slave node, correspondingly, in an optional implementation, the target link information also includes a beam identifier corresponding to the minimum metric value between each hop slave node.
[0178] In this implementation, after receiving the beam scanning result fed back by at least one slave node, the master node determines the target link information between the master node and the target slave node based on the information contained in the beam scanning result. Optionally, the target link information includes the minimum metric value between each hop slave node between the master node and the target slave node. On this basis, optionally, the target link information also includes the beam identifier corresponding to the minimum metric value between each hop slave node.
[0179] For details, please refer to Figure 4b , Figure 4b A schematic diagram of a process for a master node to obtain target link information provided by an embodiment of the present application. Figure 4b As shown, the master node can determine the target link information between the master node and the target slave node by executing the following steps 401b to 404b.
[0180] Step 401b: The master node obtains the beam scanning result.
[0181] In an optional implementation, the master node receives the detection response frame fed back by the slave node and obtains the beam scanning result therefrom.
[0182] Step 402b, the master node obtains multiple measurement values between nodes according to the beam scanning result.
[0183] In an optional implementation, the master node obtains the beam identifier corresponding to each metric value between each node according to the beam scanning result.
[0184] Step 403b, the master node determines whether the traversal is complete. If yes, it executes step 404b, if no, it returns to step 401b.
[0185] In the present application, there are multiple implementation methods for the master node to determine whether to traverse all received probe response frames.
[0186] Optionally, the master node may combine positioning to pre-acquire the positions of surrounding slave nodes, count the total number of slave nodes, and determine the traversal state when it is determined that the number of slave nodes corresponding to the received detection response frame is greater than or equal to the total number of slave nodes.
[0187] Optionally, since the number of beams corresponding to each array is fixed, the total number of beams may be counted, and when it is greater than or equal to the total number of beams, it is determined that the traversal is completed.
[0188] It is understandable that in actual applications, if the number of slave nodes is small or there are other requirements, all arrays can be assumed to be working by default, and the total number of slave nodes or the total number of beams emitted can be adjusted according to actual conditions and is not limited here.
[0189] Step 404b: The master node determines the minimum metric value between each hop slave node to the target slave node.
[0190] In an optional implementation, after the master node determines the minimum metric between each hop node and the target slave node, the beam identifier corresponding to the link can be determined based on the link corresponding to the minimum metric between each hop node, so that each hop node in each hop node communicates with the next hop of the hop node based on the beam identifier corresponding to the link and at the beam transmission angle corresponding to the beam identifier. For further exemplary examples, please refer to Figure 5a , Figure 5a Another schematic diagram of the distribution of nodes of the Mesh network provided in the embodiment of the present application. Figure 5a It can be seen that when the master node communicates with the slave node, and when the slave node communicates with the slave node, the communication is based on the beams at different angles on the corresponding node's array. Correspondingly, each beam corresponds to a beam identifier. Assuming that the master node determines that slave node 1 is the next hop node, that is, the metric between the master node and slave node 1 is smaller than the metric between the master node and other slave nodes, the master node will determine the beam direction of the master node and the beam direction of slave node 1 based on the minimum metric between the master node and slave node 1.
[0191] It can be understood that the process of beam training is the process of the master node selecting the beam of each hop node between the master node and the target slave node.
[0192] 204. The master node determines a target communication link with the target slave node according to the target link information.
[0193] In the embodiment of the present application, after the master node obtains the target link information according to the wave speed scanning result, the target communication link between the master node and the target slave node is determined according to the target link information. The target communication link can be understood as the target communication link between the master node and the target slave node, which can be determined according to the target link information.
[0194] In an optional implementation, the target link information includes the minimum metric value between each hop slave node between the master node and the target slave node, and the master node determines the target communication link between the master node and the slave node according to the target link information, including:
[0195] The master node determines the node corresponding to each hop in each hop according to the minimum metric between the slave nodes in each hop;
[0196] The master node determines the target communication link with the target slave node according to the node corresponding to each hop.
[0197] In this implementation, after determining the minimum metric value between each hop slave node between the master node and the target slave node, the master node and the slave node of the next hop of the master node, and the slave node of the next hop of the slave node, etc., can be determined respectively, and finally the node corresponding to each hop between the master node and the target slave node is determined. After the master node determines the node of each hop, it establishes a link with the node of each hop, thereby determining the target communication link between the master node and the target slave node.
[0198] In addition, in an optional implementation, the target link information also includes a beam identifier corresponding to the minimum metric value between each hop slave node, and the master node determines the target communication link between the master node and the slave node according to the target link information, including:
[0199] In this implementation, after the master node determines the node of each hop, the target communication link between each hop slave node and its next hop slave node and the beam identifier corresponding to the target communication link can be determined respectively according to the minimum metric value between each hop slave node. Figure 5a As shown, assuming that the slave node 2 is Figure 5a The beam pointing shown in Figure 5a The metric value when the beam pointing shown in is the smallest during communication is the smallest, then a target communication link between slave node 2 and slave node 3 is established according to the communication link between slave node 2 and slave node 3 and the corresponding beam identifier.
[0200] It should be noted that the master node determines the metric values corresponding to each link based on all the links from the master node to the target slave node, and then determines the link with the smallest metric value among all the links between the master node and the target slave node as the main link between the node and the target slave node based on the metric value. On this basis, the master node usually determines all the links except the main link as the backup link from the master node to the target slave node, and the other link can be the link with the second smallest metric value among all the links from the master node to the target slave node. Usually, there is one main link and at least one backup link.
[0201] It can be understood that after the master node determines the routing metric values corresponding to each link based on all links from the master node to the target slave node, it will update the routing metric value information into the routing table, and then send the routing table to each slave node, so that each slave node in the slave node can obtain the previous hop or next hop node corresponding to the slave node according to the routing table, that is, determine which previous hop or next hop node between the slave node and the node is the target communication link, and the corresponding beam emission angle.
[0202] In addition, it is understandable that the master node will periodically scan and update the target communication link with the target slave node. Specifically, the master node will compare the quality of each link between each slave node in the current neighbor list. When the neighbor list contains multiple links and the master node updates a new neighbor node to the neighbor list, if the master node compares that the link quality between the master node and the new neighbor node is better than the existing link quality, the master node will establish a link with the new neighbor node and determine the link as the target communication link between the master node and the next-hop slave node.
[0203] For example, see Figure 5b , Figure 5b A schematic diagram of a process for updating a target communication link by a master node provided in an embodiment of the present application. Figure 5b As shown, the master node can update the target link information between the master node and the target slave node by executing the following steps 501b to 503b.
[0204] Step 501b: The master node performs beam scanning based on the directional antenna to obtain the beam scanning result.
[0205] Step 502b: The master node obtains link quality information of neighbor nodes according to the beam scanning result.
[0206] For detailed description of step 501b and step 502b, please refer to the above steps 201 to 204, which will not be repeated here.
[0207] In addition, it is worth noting that the master node will also periodically update the neighbor list, and delete the slave nodes that exist in the neighbor list and have not received relevant responses within several cycles from the neighbor list, thereby improving the quality of neighbor nodes by continuously updating the neighbor list and link quality. It should be understood that the slave node also performs the above operations, and the specific operations for updating the neighbor list and link quality of the slave node can refer to the operations of the master node, which will not be repeated here. In the actual application process, the master node and each slave node in the Mesh network will periodically scan the neighbor nodes and update the neighbor list to continuously improve the quality of the neighbor nodes.
[0208] Step 503b: The master node updates the target communication link with the target slave node according to the link quality information.
[0209] In an optional implementation manner, the link quality information includes a metric value between each node and the next hop node of the node.
[0210] In this implementation, each node (including the master node and each slave node) will periodically obtain the metric value of its corresponding neighbor node, and judge the link quality with the surrounding neighbor nodes by the metric value, that is, the target communication link between each node and the surrounding neighbor nodes is determined by the metric value with the smallest metric value. Assuming that the metric value includes the link loss of signal strength, each node will periodically collect the power of the surrounding neighbor nodes, and judge the target link by the path loss of signal strength, such as determining the link between the two nodes with the smallest loss as the target communication link.
[0211] It is understandable that the calculation of the metric value may consider only one characteristic of the link, or may be generated by combining multiple characteristics of the link. The link loss of the signal strength described in the embodiment of the present application is only one example. In practical applications, different types of performance parameters may be selected according to actual needs, or the link quality may be comprehensively determined by combining multiple performance parameters.
[0212] 205, the master node establishes a link with the target slave node according to the target communication link.
[0213] In an embodiment of the present application, after the master node determines the target communication link with the target slave node, a link is established with each slave node corresponding to the target communication link, thereby establishing a final link with the slave node.
[0214] It should be understood that before the master node establishes a link with the target slave node, the master node has established a secure connection with each slave node. After the secure connection is established, the master node can establish a link with the slave node.
[0215] In an optional implementation, the target link information includes a beam identifier corresponding to the minimum metric value between each hop slave node. Then, establishing a link with the target slave node according to the target communication link includes:
[0216] The beam transmission angles between the hop slave nodes and the target slave node are determined according to the beam identifier corresponding to the minimum metric value between the hop slave nodes.
[0217] A link is established with the target slave node based on the beam emission angle and the target communication link.
[0218] In this implementation method, after the master node determines the link with the smallest metric value among all links to the target slave node, it determines the beam transmission angles corresponding to the master node and each slave node by obtaining the beam transmission angles of each hop node corresponding to the link, and establishes a link with the next hop slave node through the beam transmission angle.
[0219] In addition, it should be noted that the embodiments of the present application support hybrid wireless and wired networking.
[0220] For example, see Figure 6 , Figure 6 Another schematic diagram of the distribution of nodes of the Mesh network provided in the embodiment of the present application. Figure 6 As shown, assuming that there is a wall between slave node 3 and slave node 4, the master node is connected to slave node 1 and slave node 2 through a beam. Due to the limited communication distance, the master node cannot connect to slave node 3. In order to expand the network coverage and realize the communication between the master node and slave node 3, slave node 1 is connected to slave node 3 through a beam. There is a physical wall between slave node 3 and slave node 4, and the wireless connection cannot be extended. In order to realize the connection with slave node 4 and slave node 5 in the same network, wired transmission is used between slave node 3 and slave node 4, and beam wireless connection is still used between slave node 4 and slave node 5.
[0221] It is worth noting that the current Mesh network generally uses omnidirectional antennas for networking. During the communication process, each data transmission requires relay routing, each forwarding requires a certain delay, arbitration is required in the case of conflict, and the delay is high after multiple forwardings. And because of the forwarding in the Mesh network, the rate will decrease after each forwarding, especially the disordered forwarding under multiple nodes, resulting in limited network capacity. In the embodiment of the present application, by using directional antennas in the Mesh network and communicating based on high-frequency beams, the bandwidth is larger, faster transmission speeds and lower communication delays can be achieved, and the communication capacity is increased, thereby realizing rapid link establishment between nodes and improving networking efficiency.
[0222] In Figures 1 to Figure 6 On the basis of the corresponding embodiments, in order to better implement the above solutions of the embodiments of the present application, the following also provides related devices for implementing the above solutions. Figure 7 , Figure 7 A schematic diagram of a structure of a wireless mesh network networking device provided in an embodiment of the present application, wherein the wireless mesh network networking device is applied to a master node in a mesh network as shown in 1a. The wireless mesh network networking device 7000 includes:
[0223] The sending unit 7001 is used to perform beam scanning and beam training based on the directional antenna to determine the target communication link with the target slave node in the Mesh network;
[0224] The link building unit 7002 is used to establish a link with the target slave node according to the target communication link.
[0225] In a possible implementation, the sending unit 7001 is further configured to:
[0226] Perform beam scanning based on a directional antenna to obtain beam scanning results;
[0227] Update the neighbor list based on the beam scanning results;
[0228] Determine target link information between the target slave node and the target slave node according to the beam scanning result;
[0229] A target communication link with a target slave node is determined according to the target link information.
[0230] In a possible implementation, the target link information includes a minimum metric value between each hop slave node, and the target link information between the target slave node and the target slave node is determined according to the beam scanning result, including:
[0231] Acquire multiple metric values between each hop slave node according to the beam scanning result;
[0232] For each of the hops between the target slave node and the target slave node, the metric values between the hop and multiple slave nodes of the next hop of the hop are compared to determine the minimum metric value between the hop and multiple slave nodes of the next hop of the hop.
[0233] In a possible implementation, determining a target communication link with a target slave node according to target link information includes:
[0234] Determine the node corresponding to each hop in each hop according to the minimum metric value between the nodes in each hop;
[0235] The target communication link between the target slave node and the target slave node is determined according to the node corresponding to each hop.
[0236] In a possible implementation, the target link information further includes a beam identifier corresponding to a minimum metric value between each hop slave node, and the link establishment unit 7002 is further configured to:
[0237] Determine the beam transmission angle between each hop slave node and the target slave node according to the beam identifier corresponding to the minimum metric value between each hop slave node;
[0238] A link is established with the target slave node based on the beam emission angle and the target communication link.
[0239] In a possible implementation, beam scanning is performed based on a directional antenna to obtain a beam scanning result, including:
[0240] Sending a probe request frame based on a directional antenna;
[0241] Receive probe response frames fed back by multiple slave nodes.
[0242] In a possible implementation, updating the neighbor list according to the beam scanning result includes:
[0243] Add multiple slave nodes to the neighbor list and update the neighbor list.
[0244] In this embodiment, the operations performed by each unit in the wireless mesh network networking device 7000 are the same as those described above. Figure 2 The method described in the illustrated embodiment is similar and can be used to implement the function of the master node in the above method embodiment, and can also achieve the beneficial effects possessed by the above method embodiment, which will not be described in detail here.
[0245] See also Figure 8 , Figure 8 Another structural diagram of a wireless mesh network networking device provided in an embodiment of the present application. Figure 8 As shown, the networking device 8000 of the wireless mesh network is implemented by a general bus architecture.
[0246] The networking device 8000 of the wireless mesh network includes at least one processor 8001 , a communication bus 8002 , a memory 8003 and at least one communication interface 8004 .
[0247] The processor 8001, the memory 8003, and the communication interface 8004 communicate via the communication bus 8002, and can also communicate via other means such as wireless transmission. The memory 8003 is used to store instructions, and the processor 8001 is used to execute the instructions stored in the memory 8003. The memory 8003 stores program codes, and the processor 8001 can call the program codes stored in the memory 8003 to execute Figure 2 For specific implementation of steps 201 to 205 in the embodiment shown, please refer to Figure 2 The detailed description of steps 201 to 205 in the illustrated embodiment is not repeated here.
[0248] Optionally, the processor 8001 is a general-purpose central processing unit (CPU), and may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices (PLD), transistor logic devices, hardware components, or any combination thereof. The above-mentioned PLD is a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0249] The communication bus 8002 is used to transmit information between the processor 8001, the memory 8003 and the communication interface 8004. The communication bus 8002 is divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0250] Optionally, the memory 8003 is a read-only memory (ROM) or other types of static storage devices that can store static information and instructions. Alternatively, the memory 8003 is a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions. Alternatively, the memory 8003 is an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited to this. Optionally, the memory 8003 exists independently and is connected to the processor 8001 through the communication bus 8002. Optionally, the memory 8003 and the processor 8001 are integrated together.
[0251] The communication interface 8004 uses any transceiver-like device for communicating with other devices or communication networks. The communication interface 8004 includes a wired communication interface. Optionally, the communication interface 8004 also includes a wireless communication interface. Among them, the wired communication interface is, for example, an Ethernet interface. The Ethernet interface is an optical interface, an electrical interface or a combination thereof. The wireless communication interface is a wireless local area network (WLAN) interface, a cellular network communication interface or a combination thereof, etc.
[0252] In a specific implementation, as an embodiment, the processor 8001 includes one or more CPUs, such as Figure 8 CPU0 and CPU1 are shown in the figure.
[0253] In a specific implementation, as an embodiment, the wireless mesh network networking device 8000 includes multiple processors, such as Figure 8 8001 and processor 8005 shown in . Each of these processors is a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor here refers to one or more devices, circuits, and / or processing cores for processing data (such as computer program instructions).
[0254] In some embodiments, the memory 8003 is used to store program codes for executing the solution of the present application, and the processor 8001 executes the program codes stored in the memory 8003. That is, the wireless mesh network networking device 8000 implements the above-mentioned wireless mesh network networking method embodiment through the processor 8001 and the program codes in the memory 8003.
[0255] It is to be understood that the method steps in the embodiments of the present application may be implemented in hardware or in software instructions executable by the processor 8001. The software instructions may be composed of corresponding software modules, and the software modules may be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only memory, registers, hard disks, mobile hard disks, CD-ROMs, or any other form of storage medium known in the art. In addition, the scope of the device described in the present application is not limited thereto, and the structure of the device may not be limited thereto. Figure 8 A device may be a stand-alone device or may be part of a larger device. For example, a device may be:
[0256] (1) Independent integrated circuit IC, or chip, or chip system or subsystem;
[0257] (2) having a set of one or more ICs, and optionally, the IC set may also include a storage component for storing data and / or instructions;
[0258] (3) Modules that can be embedded in other devices;
[0259] (4) Receivers, terminals, intelligent terminals, wireless devices, handheld devices, mobile units, vehicle-mounted devices, artificial intelligence devices, machinery and equipment, household equipment, medical equipment, industrial equipment, etc.;
[0260] (5)Others
[0261] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0262] The present application also provides a computer program product which, when executed on a computer, enables the computer to execute the above Figures 2 to 6 The illustrated embodiment describes the steps executed in the method for establishing a wireless mesh network.
[0263] The present application also provides a computer-readable storage medium in which a program for signal processing is stored. When the program is run on a computer, the computer executes the above-mentioned Figures 2 to 6 The illustrated embodiment describes the steps executed in the method for establishing a wireless mesh network.
[0264] The wireless mesh network networking device provided in the embodiment of the present application can be specifically a chip, and the chip includes: a processing unit and a communication unit, the processing unit can be, for example, a processor, and the communication unit can be, for example, an input / output interface, a pin or a circuit. The processing unit can execute the computer execution instructions stored in the storage unit to enable the chip to execute the above Figures 2 to 6 The networking method of the wireless mesh network described in the illustrated embodiment. Optionally, the storage unit is a storage unit in the chip, such as a register, a cache, etc. The storage unit can also be a storage unit located outside the chip in the wireless access device, such as a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), etc.
[0265] It is understood that the devices and methods described in the present application can also be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0266] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0267] The naming or numbering of the steps in this application does not mean that the steps in the method flow must be executed in the time / logical sequence indicated by the naming or numbering. The named or numbered process steps can change the execution order according to the technical goals to be achieved, as long as the same or similar technical effects can be achieved. The division of the units in this application is a logical division. There may be other division methods when implemented in actual applications. For example, multiple units can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, and the indirect coupling or communication connection between units can be electrical or other similar forms, which are not limited in this application. In addition, the units or subunits described as separate components may or may not be physically separated, may or may not be physical units, or may be distributed in multiple circuit units, and some or all of the units can be selected according to actual needs to achieve the purpose of the present application scheme.
[0268] The above is only a specific implementation mode of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The various digital numbers involved in the embodiments of the present application are only for the convenience of description and are not used to limit the scope of the embodiments of the present application. The size of the sequence number of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic.
[0269] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A wireless mesh network networking method, It is characterized in that include: Performing beam scanning and beam training based on directional antennas to determine a target communication link with a target slave node in the Mesh network; A link is established with the target slave node according to the target communication link.
2. The method according to claim 1, It is characterized in that Performing beam scanning and beam training based on a directional antenna to determine a target communication link with a target slave node in the Mesh network includes: Performing beam scanning based on the directional antenna to obtain a beam scanning result; Updating a neighbor list according to the beam scanning result; Determine target link information between the target slave node and the target slave node according to the beam scanning result; A target communication link with the target slave node is determined according to the target link information.
3. The method according to claim 2, It is characterized in that The target link information includes a minimum metric value between each hop slave node, and the determining the target link information between the target slave node and the target slave node according to the beam scanning result includes: Acquire multiple metric values between the hop slave nodes according to the beam scanning result; For each of the hops between the target slave node and the target slave node, the metric values between the hop and the multiple slave nodes of the next hop of the hop are compared to determine the minimum metric value between the hop and the multiple slave nodes of the next hop of the hop.
4. The method according to claim 3, It is characterized in that The step of determining a target communication link with the target slave node according to the target link information comprises: Determine the node corresponding to each hop in the hops according to the minimum metric value between the nodes in the hops; A target communication link between the target slave node and the target slave node is determined according to the node corresponding to each hop.
5. The method according to claim 3 or 4, It is characterized in that The target link information also includes a beam identifier corresponding to the minimum metric value between each hop slave node, and establishing a link with the target slave node according to the target communication link includes: Determining beam transmission angles between each hop slave node and the target slave node according to the beam identifier corresponding to the minimum metric value between each hop slave node; A link is established with the target slave node according to the beam emission angle and the target communication link.
6. A wireless mesh network networking device, It is characterized in that include: A sending unit, configured to perform beam scanning and beam training based on a directional antenna to determine a target communication link with a target slave node in the Mesh network; A link building unit is used to establish a link with the target slave node according to the target communication link.
7. The networking device according to claim 6, It is characterized in that The sending unit is also used for: Performing beam scanning based on the directional antenna to obtain a beam scanning result; Updating a neighbor list according to the beam scanning result; Determine target link information between the target slave node and the target slave node according to the beam scanning result; A target communication link with the target slave node is determined according to the target link information.
8. The networking device according to claim 7, It is characterized in that The target link information includes a minimum metric value between each hop slave node, and the determining the target link information between the target slave node and the target slave node according to the beam scanning result includes: Acquire multiple metric values between the hop slave nodes according to the beam scanning result; For each of the hops between the target slave node and the target slave node, the metric values between the hop and the multiple slave nodes of the next hop of the hop are compared to determine the minimum metric value between the hop and the multiple slave nodes of the next hop of the hop.
9. The networking device according to claim 8, It is characterized in that The step of determining a target communication link with the target slave node according to the target link information comprises: Determine the node corresponding to each hop in the hops according to the minimum metric value between the nodes in the hops; A target communication link between the target slave node and the target slave node is determined according to the node corresponding to each hop.
10. The networking device according to claim 8 or 9, It is characterized in that The target link information also includes a beam identifier corresponding to the minimum metric value between the hop slave nodes, and the link building unit is further used to: Determining beam transmission angles between each hop slave node and the target slave node according to the beam identifier corresponding to the minimum metric value between each hop slave node; A link is established with the target slave node according to the beam emission angle and the target communication link.
11. A wireless mesh network networking device, It is characterized in that The networking device includes a processor and a memory; The memory stores a computer program; The processor is used to execute the computer program in the memory to implement the networking method according to any one of claims 1 to 5.
12. A Mesh network, It is characterized in that The method comprises a master node and at least one slave node, wherein the master node executes the steps of the method according to any one of claims 1 to 5.
13. A computer-readable storage medium storing computer-readable instructions. It is characterized in that When the computer readable instructions are executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
