Networking method and device, computer-readable storage medium, and processor

By dynamically adjusting AP devices based on indicators such as packet loss rate and signal strength in the EasyMesh network, the stability problem when the network topology changes is solved and the network quality is improved.

CN114040463BActive Publication Date: 2024-09-13TP-LINK INT SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111307416.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-05
Publication Date
2024-09-13
Estimated Expiration
2041-11-05

AI Technical Summary

Technical Problem

The existing EasyMesh network is difficult to dynamically adjust when the topology changes, resulting in reduced network stability. Especially when adding new APs, it is difficult to select the AP with the best network quality.

Method used

By selecting the target AP device from multiple AP devices in the EasyMesh network, the network topology is dynamically adjusted based on indicators such as average packet loss rate, signal reception strength, and link usage, and the network is reorganized to optimize network path capacity.

Benefits of technology

It improves the stability and quality of the wireless network and solves the problem of reduced network stability caused by the difficulty in selecting the AP with the best network quality when adding a new AP in the existing technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114040463B
    Figure CN114040463B
Patent Text Reader

Abstract

The present invention discloses a networking method and its device, a computer-readable storage medium and a processor. The method comprises: when determining that an EasyMesh network needs to be re-networked, selecting a target AP device from multiple wireless access point AP devices in the EasyMesh network except a central AP device, wherein an external network access point in the EasyMesh network is set on the central AP device, and the external network access point is used to manage the EasyMesh network; determining that the target AP device is the current central AP device among multiple AP devices; and re-networking the EasyMesh network based on the current central AP device. The present invention solves the technical problem in the prior art that it is difficult to select an AP with the best network quality when adding a new AP, resulting in reduced network stability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wireless communications, and in particular to a networking method and a device thereof, a computer-readable storage medium, and a processor. Background Art

[0002] EasyMesh is developed by the Wi-Fi Alliance and provides a standards-based method for implementing Wi-Fi networks with multiple APs. The EasyMesh network consists of two logical entities: Controller and Agent. The Controller, which is usually also an external network access point, is responsible for managing the EasyMesh network, including receiving measurement data from clients and collecting status information from Agent APs, and processing this information to generate specific roaming decisions.

[0003] The current EasyMesh network technology does not yet have optimization technology for the entire network, especially in the topology self-organizing network. This means that if some nodes in the network are abnormal or the environment changes drastically, manual evaluation and adjustment may be required to ensure the reliability and experience of the network.

[0004] Among them, the networking solution Wifi-Son is also known as the Best Uplink Node Selection technology. Its content is that in the topology, the newly added RE (equivalent to the Agent role in EasyMesh) can select CAP (equivalent to the Controller role in EasyMesh) or another RE as the uplink node. Obviously, selecting the node with the best rate for association can further optimize the network. Therefore, it is required that RE can respond to topology changes and dynamically select the best uplink node for association. However, this technology is only for the decision-making of newly added nodes and cannot dynamically adjust the entire network.

[0005] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0006] The embodiments of the present invention provide a networking method and apparatus thereof, a computer-readable storage medium, and a processor, so as to at least solve the technical problem in the prior art that it is difficult to select an AP with the best network quality when adding a new AP, which results in reduced network stability.

[0007] According to one aspect of an embodiment of the present invention, a networking method is provided, comprising: when it is determined that an EasyMesh network needs to be re-networked, selecting a target AP device from the AP devices other than a central AP device among multiple wireless access point AP devices in the EasyMesh network, wherein an external network access point in the EasyMesh network is set on the central AP device, and the external network access point is used to manage the EasyMesh network; determining that the target AP device is a current central AP device among the multiple AP devices; and re-networking the EasyMesh network based on the current central AP device.

[0008] Optionally, determining that the EasyMesh network needs to be re-networked includes: when it is determined that the current network distance of the EasyMesh network is greater than a first preset threshold, obtaining an average packet loss rate of the multiple AP devices in the EasyMesh network; when the average packet loss rate is greater than a second preset threshold, determining that the EasyMesh network needs to be re-networked.

[0009] Optionally, determining the current network distance of the EasyMesh network includes: taking the central AP device as the network center of the EasyMesh network, obtaining the distance between each AP device among the multiple AP devices except the central AP device and the central AP device; and determining the current network distance of the EasyMesh network based on the distance between each AP device and the central AP device.

[0010] Optionally, selecting a target AP device from the AP devices other than the central AP device among the multiple wireless access point AP devices in the EasyMesh network includes: obtaining the distance between each AP device among the multiple AP devices except the central AP device and the other AP devices; and determining the AP device with the smallest sum of the distances between each AP device and the other AP devices as the target AP device.

[0011] Optionally, the distance between each AP device and other AP devices is obtained in the following manner: obtaining the absolute value of the signal reception strength between each AP device and other AP devices; obtaining the link utilization rate of each AP device and the usage weight of each AP device; and determining the distance between each AP device and other AP devices based on the absolute value of the signal reception strength between each AP device and other AP devices, the link utilization rate and the usage weight.

[0012] Optionally, the EasyMesh network is reorganized based on the current central AP device, including: based on the distance between the current central AP device and other AP devices among the multiple AP devices except the current central AP device, the other AP devices among the multiple AP devices except the current central AP device are sorted to obtain a first sequence set; AP devices are selected from the first sequence set in sequence according to a predetermined order, and the path capacity of the AP device added to the predetermined network path is determined, and the network path with the smallest path capacity is added to the network path set until the traversal of the first sequence set is completed.

[0013] Optionally, the path capacity is obtained in the following manner: obtaining the maximum carrying capacity of the predetermined network path; obtaining the capacity loss forwarded through the predetermined network path; obtaining the path capacity ratio of the path capacity of the predetermined network path to the path capacity of the new network path; and determining the path capacity based on the maximum carrying capacity, the capacity loss, and the path capacity ratio.

[0014] According to another aspect of an embodiment of the present invention, a networking device is also provided, including: a selection module, which is used to select a target AP device from multiple wireless access point AP devices in the EasyMesh network except a central AP device when it is determined that the EasyMesh network needs to be re-networked, wherein an external network access point in the EasyMesh network is set on the central AP device, and the external network access point is used to manage the EasyMesh network; a determination module, which is used to determine that the target AP device is the current central AP device among the multiple AP devices; and a networking module, which is used to re-network the EasyMesh network based on the current central AP device.

[0015] Optionally, the selection module includes: a first acquisition unit, used to obtain the average packet loss rate of the multiple AP devices in the EasyMesh network when it is determined that the current network distance of the EasyMesh network is greater than a first preset threshold; a first determination unit, used to determine that the EasyMesh network needs to be re-networked when the average packet loss rate is greater than a second preset threshold.

[0016] Optionally, the acquisition unit includes: an acquisition subunit, used to take the central AP device as the network center of the EasyMesh network, and acquire the distance between each AP device among the multiple AP devices except the central AP device and the central AP device; and a determination subunit, used to determine the current network distance of the EasyMesh network based on the distance between each AP device and the central AP device.

[0017] Optionally, the selection module includes: a second acquisition unit, used to obtain the distance between each AP device among the multiple AP devices except the central AP device and other AP devices; a second determination unit, used to determine the AP device with the smallest sum of distances between each AP device and the other AP devices as the target AP device.

[0018] Optionally, the distance between each AP device and the other AP devices is obtained in the following manner: a third acquisition unit is used to obtain the absolute value of the signal reception strength between each AP device and the other AP devices; a fourth acquisition unit is used to obtain the link utilization rate of each AP device and the usage weight of each AP device; a third determination unit is used to determine the distance between each AP device and the other AP devices based on the absolute value of the signal reception strength between each AP device and the other AP devices, the link utilization rate and the usage weight.

[0019] Optionally, the networking module includes: a sorting unit, used to sort the AP devices other than the current central AP device among the multiple AP devices based on the distance between the current central AP device and the AP devices other than the current central AP device, so as to obtain a first sequence set; a selection unit, used to select AP devices from the first sequence set in sequence according to a predetermined order, and determine the path capacity of the AP device added to a predetermined network path, and add the network path with the smallest path capacity to the network path set until the traversal of the first sequence set is completed.

[0020] Optionally, the path capacity is acquired in the following manner: a fifth acquisition unit is used to acquire the maximum carrying capacity of the predetermined network path; a sixth acquisition unit is used to acquire the capacity loss forwarded through the predetermined network path; a seventh acquisition unit is used to acquire the path capacity ratio of the path capacity of the predetermined network path to the path capacity of the new network path; and a fourth determination unit is used to determine the path capacity based on the maximum carrying capacity, the capacity loss, and the path capacity ratio.

[0021] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is executed by a processor, the device where the computer-readable storage medium is located is controlled to execute any of the above-mentioned networking methods.

[0022] According to another aspect of an embodiment of the present invention, a processor is further provided, wherein the processor is used to run a computer program, wherein the computer program executes any one of the above-mentioned networking methods when running.

[0023] In an embodiment of the present invention, when it is determined that the EasyMesh network needs to be re-networked, a target AP device is selected from multiple wireless access point AP devices in the EasyMesh network except the central AP device, wherein the external network access point in the EasyMesh network is set on the central AP device, and the external network access point is used to manage the EasyMesh network; the target AP device is determined to be the current central AP device among multiple AP devices; and the EasyMesh network is re-networked based on the current central AP device. Through the networking method of the embodiment of the present invention, the purpose of selecting the current central AP device in the process of re-networking the EasyMesh network and re-networking the EasyMesh network based on it is achieved, thereby achieving the technical effect of improving the quality of the wireless network, and further solving the technical problem in the prior art that it is difficult to select the AP with the best network quality when adding a new AP, resulting in reduced network stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0025] Figure 1 is a flow chart of a networking method according to an embodiment of the present invention;

[0026] Figure 2 is a topology diagram of a network optimization method according to an embodiment of the present invention;

[0027] Figure 3 is a schematic diagram of an optional networking device according to an embodiment of the present invention;

[0028] Figure 4 is a schematic diagram of a networking device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention 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 interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0031] Example 1

[0032] According to an embodiment of the present invention, a method embodiment of a networking method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0033] Figure 1 is a flow chart of a networking method according to an embodiment of the present invention. Figure 1 As shown, the networking method includes the following steps:

[0034] Step S102, when it is determined that the EasyMesh network needs to be re-networked, a target AP device is selected from multiple wireless access point AP devices in the EasyMesh network except the central AP device, wherein the external network access point in the EasyMesh network is set on the central AP device, and the external network access point is used to manage the EasyMesh network.

[0035] Optionally, in the above steps, AP is a wireless access point, which is a wireless switch used in a wireless network and is also the core of the wireless network.

[0036] Step S104: determine that the target AP device is a current central AP device among multiple AP devices.

[0037] Optionally, in the above steps, a current central AP device is selected from multiple AP devices, and this node is regarded as the center point of the topology. The network distance of this node is the smallest among all nodes, and the node control migration authority and network access are migrated to this node.

[0038] Step S106: Re-network the EasyMesh network based on the current central AP device.

[0039] As can be seen from the above, in the embodiment of the present invention, when it is determined that the EasyMesh network needs to be re-networked, the target AP device can be selected from the AP devices other than the central AP device in the multiple wireless access point AP devices in the EasyMesh network, wherein the external network access point in the EasyMesh network is set on the central AP device, and the external network access point is used to manage the EasyMesh network; then the target AP device is determined to be the current central AP device among the multiple AP devices; finally, the EasyMesh network is re-networked based on the current central AP device. Through the networking method of the embodiment of the present invention, the purpose of selecting the current central AP device in the process of re-networking the EasyMesh network and re-networking the EasyMesh network based on it is achieved, thereby achieving the technical effect of improving the quality of the wireless network, and further solving the technical problem in the prior art that it is difficult to select the AP with the best network quality when adding a new AP, resulting in reduced network stability.

[0040] As an optional embodiment, determining that the EasyMesh network needs to be re-networked includes: when it is determined that the current network distance of the EasyMesh network is greater than a first preset threshold, obtaining an average packet loss rate of multiple AP devices in the EasyMesh network; when the average packet loss rate is greater than a second preset threshold, determining that the EasyMesh network needs to be re-networked.

[0041] In the above optional embodiment, when the network distance between the current network APs is greater than a preset threshold, it is judged that the network quality may be affected, so the average packet loss rate of multiple AP devices in the network is obtained, wherein the packet loss rate is one of the important indicators for judging the network quality, which means the ratio of the number of lost data packets in network communication to the sent data groups; when the obtained packet loss rate is greater than the second preset threshold, it is judged that the network quality has been affected and the network needs to be re-established.

[0042] As an optional embodiment, determining the current network distance of the EasyMesh network includes: taking the central AP device as the network center of the EasyMesh network, obtaining the distance between each AP device among multiple AP devices except the central AP device and the central AP device; determining the current network distance of the EasyMesh network based on the distance between each AP device and the central AP device.

[0043] In the above optional embodiment, the current AP device is taken as the network center, the distance between the current network center AP and AP devices in other networks except itself is obtained, and the network distance between the current network center AP and other AP devices is determined based on the distance.

[0044] As an optional embodiment, a target AP device is selected from AP devices other than a central AP device among multiple wireless access point AP devices in an EasyMesh network, including: obtaining the distance between each AP device other than the central AP device and other AP devices among the multiple AP devices; and determining the AP device with the smallest sum of distances between each AP device and other AP devices as the target AP device.

[0045] In an optional embodiment, assume that there are N APs in the EasyMesh network, all APs can act as controllers and access the network, and the number of N is unlimited. These N APs are recorded as AP i , where 0≤i≤N. AP j AP i The distance is recorded as D i,j , D i,j AP j AP i RSSI, and AP j Link utilization U j express,

[0046] In this embodiment, D i,j The calculation formula is as follows: Among them, r i,j It is AP j AP i The absolute value of the received signal strength rssi, which can be obtained by the AP by scanning the Beacon (beacon) sent by other APs around it; A is a constant. i and AP j The link usage U is different when the link is 2.4G and 5G; j Refers to AP j The proportion of TX / RX busy time in a period of time can be obtained by the CCA module of the node wireless driver; θ represents the weight factor of the utilization rate, which is set manually. The larger θ is, the greater the influence of the utilization rate when calculating the distance.

[0047] As an optional embodiment, the distance between each AP device and other AP devices is obtained in the following manner: obtaining the absolute value of the signal reception strength between each AP device and other AP devices; obtaining the link utilization rate of each AP device and the usage weight of each AP device; and determining the distance between each AP device and other AP devices based on the absolute value of the signal reception strength between each AP device and other AP devices, the link utilization rate and the usage weight.

[0048] In the above optional embodiment, AP i Network spacing Si Refers to other APs in the network i The sum of the distances is expressed as follows: Among them, D i,j For AP j AP i distance.

[0049] Furthermore, among all nodes, the node AP with the smallest network distance k That is the center point of the topology, recorded as:

[0050] S k =min{S1, S2...S n}

[0051] As an optional embodiment, the EasyMesh network is reorganized based on the current central AP device, including: based on the distance between the current central AP device and other AP devices among the multiple AP devices except the current central AP device, the other AP devices among the multiple AP devices except the current central AP device are sorted to obtain a first sequence set; AP devices are selected from the first sequence set in sequence according to a predetermined order, and the path capacity of the AP device added to the predetermined network path is determined, and the network path with the smallest path capacity is added to the network path set until the traversal of the first sequence set is completed.

[0052] In the above optional embodiment, multiple AP devices other than the current central AP device are sorted based on the distance between the current central AP device and multiple AP devices other than itself to obtain a sequence set, and then AP devices are selected according to the order in the sequence collection, and the path capacity of the AP device added to the network path is determined, and the network path with the smallest path capacity is added to the network path collection until the sequence collection is traversed.

[0053] As an optional embodiment, the path capacity is obtained in the following manner: obtaining the maximum carrying capacity of a predetermined network path; obtaining the capacity loss forwarded through the predetermined network path; obtaining the path capacity ratio of the path capacity of the predetermined network path to the path capacity of the new network path; and determining the path capacity based on the maximum carrying capacity, capacity loss, and path capacity ratio.

[0054] After the central node is selected in the above optional embodiment, a new network topology tree is constructed starting from the central node, and the path capacity C is used to evaluate the path between two nodes. The larger the C value, the higher the quality of the path in the topology tree. k Join to path P i , forming a new path P k , then C k It is expressed as follows:

[0055]

[0056] Where R k Indicates the maximum carrying capacity of the path, using r k represents the maximum negotiation rate of node k. The maximum negotiation rate refers to the maximum rate that can be achieved under the current network conditions. Then R k =min{r1,r2…r k}, where r1, r2…r k All paths are P k nodes on the path P; δ is the attenuation factor, which is used to represent the k The capacity loss of forwarding is set manually; α represents the path P i The capacity of the new path P K Then, the topological tree is represented by a set p. Initially, the first path P1 is generated with the center point as the starting point. Then, when another node is taken to generate a new path, the capacity of each path added to the node and the path capacity between the point and the center point are compared. The smallest path is selected as the new path P. k Add to set p. After all AP nodes are traversed, set p is the generated new topology tree.

[0057] The specific process of generating a topology tree is as follows.

[0058] 1) Initial path set Central point AP0, queue

[0059] 2) Remove the nodes AP except AP0 j , according to D 0,j Arrange from small to large and add them to the queue. At this time, e={AP1,AP2…AP k}(i.e. the first sequence set);

[0060] 3) Take the first node AP1 from queue e, generate the first path P1, and put it into the set p (i.e., the network path set);

[0061] 4) Traverse the queue e elements and take out the head element AP from the queue each time k , traverse the set p, calculate the node AP k Join path P i Capacity C i,k , and the center points AP0 and AP k The path capacity C 0,K ;

[0062] 5) Select capacity C i,k The smallest path is taken as the new path P k , added to the set p;

[0063] 6) Repeat steps 4-5 until queue e is empty.

[0064] Figure 2 is a topology diagram of a network optimization method according to an embodiment of the present invention, such as Figure 2 As shown in the figure, the EasyMesh topology contains 5 nodes: AP1, AP2, AP3, AP4, AP5. The initial Controller runs on AP1, AP2 and AP3 are associated with AP1, and AP4 and AP5 are associated with AP2. When the network environment changes, such as AP1 and AP2 signal deterioration or network quality deterioration.

[0065] The specific steps of the network optimization method provided in this embodiment are as follows:

[0066] Step 1. Calculate the network distance of the current network and collect the packet loss rate of each AP. If the network distance of the current network is greater than the threshold and the average packet loss rate of the network is greater than the threshold, the network optimization process is triggered, including: center selection and topology tree generation.

[0067] Step 2. Select a node from the network. This node is regarded as the center of the topology. The network distance of this node is the smallest among all nodes ( Figure 2 AP3 is shown, and Control1 migration and network access are migrated to this node.

[0068] Step 3. Use this node as the initial node to rebuild the wireless EasyMesh network. (In the figure, the link of AP2 is migrated from AP1 to AP3, and the link of AP5 is migrated from AP2 to AP3).

[0069] Figure 3 is a schematic diagram of an optional networking device according to an embodiment of the present invention, such as Figure 3 As shown, an optional networking device provided in this embodiment includes:

[0070] Data collection module: used to collect calculation information from each AP in the Wifi-EasyMesh network.

[0071] Monitoring module: used to monitor whether the data indicators of the Wifi-EasyMesh network reach the threshold that triggers the optimization process.

[0072] Center point calculation module: used to calculate the center point of the Wifi-EasyMesh network.

[0073] Topology tree generation module: used to calculate the new Wifi-EasyMesh network topology tree.

[0074] Result distribution module: used to distribute the results obtained by the topology calculation module to other AP nodes in the Wifi-EasyMesh network, so that the AP nodes can rebuild the network according to the topology tree.

[0075] Processing module: used to perform controller migration operations based on the central point calculation module

[0076] The optional networking device provided in this embodiment performs the following steps to optimize the network:

[0077] Step 1. The data collection module sends requests to other node APs to collect data information of other AP nodes in the Wifi-EasyMesh network, including the signal strength and packet loss rate received by other APs.

[0078] Step 2. The monitoring module executes the above step 1 according to the results of the data collection module; if step 1 triggers the optimization process, step 3 is executed, otherwise step 1 is executed after waiting for a period of time.

[0079] Step 3. Data collection module sends data to other APs i The node sends a request to collect APs from other nodes in the network. j AP i R i,j value, link utilization, and maximum negotiated rate.

[0080] Step 4. The center point calculation module uses the collected data to execute the above step 2 process.

[0081] Step 5. The topology tree generation module uses the collected data to execute the above step 3 process.

[0082] Step 6. The result distribution module sends the results of the topology tree generation module to each node in the network, and the nodes will reconnect and build a new network according to the new topology.

[0083] Step 7. The processing module migrates the controller and related data of the current node to the new center point based on the results of the center point calculation module.

[0084] As can be seen from the above, in the embodiment of the present invention, the network distance of the current network is first calculated, and the packet loss rate of each AP is collected. If the network distance of the current network is greater than the threshold, and the average packet loss rate of the network is greater than the threshold, the network optimization process is triggered, including: center selection and topology tree generation; then a node with the smallest network distance is selected from the network, and the node is regarded as the center point of the topology, and Controll migration and network access are migrated to the node; finally, the node is used as the initial node to rebuild the wireless EasyMesh network. The method provided in the embodiment of the present invention achieves the technical effect of improving network quality.

[0085] Example 2

[0086] According to another aspect of the embodiment of the present invention, a networking device is provided. Figure 4 is a schematic diagram of a networking device according to an embodiment of the present invention, such as Figure 4 As shown, it includes: a selection module 41, a determination module 43 and a networking module 45. The networking device is described below.

[0087] The selection module 41 is used to select a target AP device from multiple wireless access point AP devices in the EasyMesh network except the central AP device when it is determined that the EasyMesh network needs to be re-networked, wherein the external network access point in the EasyMesh network is set on the central AP device, and the external network access point is used to manage the EasyMesh network.

[0088] The determination module 43 is used to determine that the target AP device is a current central AP device among multiple AP devices.

[0089] The networking module 45 is used to re-network the EasyMesh network based on the current central AP device.

[0090] It should be noted that the selection module 41, the determination module 43 and the networking module 45 correspond to steps S102 to S106 in Embodiment 1, and the examples and application scenarios implemented by the modules and the corresponding steps are the same, but are not limited to the contents disclosed in Embodiment 1. It should be noted that the modules as part of the device can be executed in a computer system such as a set of computer executable instructions.

[0091] As can be seen from the above, in the embodiment of the present invention, first, when determining that the EasyMesh network needs to be re-networked, the selection module 41 can be used to select a target AP device from multiple wireless access point AP devices in the EasyMesh network except the central AP device, wherein the external network access point in the EasyMesh network is set on the central AP device, and the external network access point is used to manage the EasyMesh network; then, the determination module 43 can be used to determine that the target AP device is the current central AP device among multiple AP devices; finally, the networking module 45 can be used to re-network the EasyMesh network based on the current central AP device. Through the networking device of the embodiment of the present invention, the purpose of selecting the current central AP device in the process of re-networking the EasyMesh network and re-networking the EasyMesh network based on it is achieved, thereby achieving the technical effect of improving the quality of the wireless network, and further solving the technical problem in the prior art that it is difficult to select the AP with the best network quality when adding a new AP, resulting in reduced network stability.

[0092] Optionally, the selection module includes: a first acquisition unit, used to obtain the average packet loss rate of multiple AP devices in the EasyMesh network when it is determined that the current network distance of the EasyMesh network is greater than a first preset threshold; a first determination unit, used to determine that the EasyMesh network needs to be re-networked when the average packet loss rate is greater than a second preset threshold.

[0093] Optionally, the acquisition unit includes: an acquisition subunit, which is used to obtain the distance between each AP device among multiple AP devices except the central AP device and the central AP device with the central AP device as the network center of the EasyMesh network; and a determination subunit, which is used to determine the current network spacing of the EasyMesh network based on the distance between each AP device and the central AP device.

[0094] Optionally, the selection module includes: a second acquisition unit, used to obtain the distance between each AP device among multiple AP devices except the central AP device and other AP devices; a second determination unit, used to determine the AP device with the smallest sum of distances between each AP device and other AP devices as the target AP device.

[0095] Optionally, the distance between each AP device and the other AP devices is obtained in the following manner: a third acquisition unit is used to obtain the absolute value of the signal reception strength between each AP device and the other AP devices; a fourth acquisition unit is used to obtain the link utilization rate of each AP device and the usage weight of each AP device; a third determination unit is used to determine the distance between each AP device and the other AP devices based on the absolute value of the signal reception strength between each AP device and the other AP devices, the link utilization rate and the usage weight.

[0096] Optionally, the networking module includes: a sorting unit, used to sort the AP devices other than the current central AP device among the multiple AP devices based on the distance between the current central AP device and the other AP devices except the current central AP device, so as to obtain a first sequence set; a selection unit, used to select AP devices from the first sequence set in sequence according to a predetermined order, and determine the path capacity of the AP device added to the predetermined network path, and add the network path with the smallest path capacity to the network path set until the traversal of the first sequence set is completed.

[0097] Optionally, the path capacity is acquired in the following manner: a fifth acquisition unit, used to acquire the maximum carrying capacity of a predetermined network path; a sixth acquisition unit, used to acquire the capacity loss forwarded through the predetermined network path; a seventh acquisition unit, used to acquire the path capacity ratio of the path capacity of the predetermined network path to the path capacity of the new network path; and a fourth determination unit, used to determine the path capacity based on the maximum carrying capacity, capacity loss, and path capacity ratio.

[0098] Example 3

[0099] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored computer program, wherein when the computer program is executed by a processor, the device where the computer-readable storage medium is located is controlled to execute any of the above-mentioned networking methods.

[0100] Example 4

[0101] According to another aspect of an embodiment of the present invention, a processor is provided, and the processor is used to run a computer program, wherein the computer program executes any one of the above networking methods when it is run.

[0102] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0103] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0104] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, 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 units or modules, which can be electrical or other forms.

[0105] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0106] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0107] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0108] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A networking method, It is characterized in that include: When it is determined that the EasyMesh network needs to be re-networked, a target AP device is selected from the AP devices other than the central AP device among the multiple wireless access point AP devices in the EasyMesh network, wherein the external network access point in the EasyMesh network is set on the central AP device, and the external network access point is used to manage the EasyMesh network; Determine that the target AP device is a current central AP device among the multiple AP devices; Re-networking the EasyMesh network based on the current central AP device; Among them, determining that the EasyMesh network needs to be re-networked includes: when it is determined that the current network distance of the EasyMesh network is greater than a first preset threshold, obtaining the average packet loss rate of the multiple AP devices in the EasyMesh network; when the average packet loss rate is greater than a second preset threshold, determining that the EasyMesh network needs to be re-networked.

2. The method according to claim 1, It is characterized in that Determine the current network spacing of the EasyMesh network, including: Taking the central AP device as the network center of the EasyMesh network, obtaining the distance between each AP device among the multiple AP devices except the central AP device and the central AP device; The current network distance of the EasyMesh network is determined based on the distance between each AP device and the central AP device.

3. The method according to claim 1, It is characterized in that Selecting a target AP device from the AP devices other than the central AP device among the plurality of wireless access point AP devices in the EasyMesh network includes: Obtaining a distance between each AP device among the multiple AP devices except the central AP device and other AP devices; An AP device having the smallest sum of distances between each AP device and the other AP devices is determined as the target AP device.

4. The method according to claim 3, It is characterized in that The distance between each AP device and other AP devices is obtained in the following way: Obtaining the absolute value of the signal reception strength between each AP device and other AP devices; Obtaining a link utilization rate of each AP device and a utilization weight of each AP device; The distance between each AP device and the other AP devices is determined based on the absolute value of the signal reception strength between each AP device and the other AP devices, the link usage rate, and the usage weight.

5. The method according to claim 4, It is characterized in that Re-networking the EasyMesh network based on the current central AP device, including: Based on the distance between the current central AP device and other AP devices among the multiple AP devices except the current central AP device, the other AP devices among the multiple AP devices except the current central AP device are sorted to obtain a first sequence set; AP devices are selected from the first sequence set in sequence according to a predetermined order, and the path capacity of the AP devices added to the predetermined network path is determined, and the network path with the smallest path capacity is added to the network path set until the traversal of the first sequence set is completed.

6. The method according to claim 5, It is characterized in that The path capacity is obtained in the following way: Obtaining the maximum carrying capacity of the predetermined network path; Obtaining the capacity loss forwarded through the predetermined network path; Obtaining a path capacity ratio of the path capacity of the predetermined network path to the path capacity of the new network path; The path capacity is determined based on the maximum carrying capacity, the capacity loss, and the path capacity ratio.

7. A networking device, It is characterized in that include: A selection module, configured to select a target AP device from the AP devices other than the central AP device among the multiple wireless access point AP devices in the EasyMesh network when it is determined that the EasyMesh network needs to be re-networked, wherein the external network access point in the EasyMesh network is set on the central AP device, and the external network access point is used to manage the EasyMesh network; A determination module, configured to determine that the target AP device is a current central AP device among the multiple AP devices; A networking module, used for re-networking the EasyMesh network based on the current central AP device; Among them, the selection module includes: a first acquisition unit, used to obtain the average packet loss rate of the multiple AP devices in the EasyMesh network when it is determined that the current network distance of the EasyMesh network is greater than a first preset threshold; a first determination unit, used to determine that the EasyMesh network needs to be re-networked when the average packet loss rate is greater than a second preset threshold.

8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed by a processor, the device where the computer-readable storage medium is located is controlled to execute the networking method described in any one of claims 1 to 6.

9. A processor, It is characterized in that The processor is used to run a computer program, wherein the computer program executes the networking method described in any one of claims 1 to 6 when running.