Mesh network stability enhancement method and system based on multi-link automatic switching

Through the multi-link automatic switching method, the optimal link is evaluated and selected, and switched to alternative links in the event of failure, the data loss and delay problems of traditional Mesh networks during link failure are solved, and network stability and Continuity of data transmission.

CN119110267AActive Publication Date: 2024-12-10FUJIAN STAR NET WISDOM TECH CO LTD +1

Patent Information

Application Number
CN202411126709.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-12-10
Estimated Expiration
2044-08-16

AI Technical Summary

Technical Problem

In the event of link failure, traditional Mesh networks lead to data loss and increased network delay through a single-link recovery mechanism, which cannot effectively ensure network stability and data transmission continuity.

Method used

Using the multi-link automatic switching method, select the optimal link as the main link by scanning and rating the link strength and minimum path value, and automatically switch to the alternative link in the event of a failure to ensure network stability and data transmission. continuity.

Benefits of technology

Fast recovery and enhanced network stability are achieved, system downtime is reduced, and network reliability and performance optimization is improved in the event of failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119110267A_ABST
    Figure CN119110267A_ABST
Patent Text Reader

Abstract

The invention provides a Mesh network stability enhancing method and system based on multi-link automatic switchover, and the method comprises the steps: scanning all available network links when a current node X requests to access a Mesh network, calculating the link strength score of each link between the node X and a node Y directly connected with the node X, and calculating the link strength score of each link between the node X and the node Y; calculating a minimum path cost value from the node Y to the control center, returning the minimum path cost value MinCostPath to the node X, and calculating a final score of each link; and sorting the final scores according to high and low levels, storing the first three links, selecting the highest link as a main link for communication, keeping the rest two links as alternative links to keep alive, and when the node X is abnormally disconnected through the main link communication, selecting other alternative links as the main link for communication. And if no alternative link exists, re-scanning and calculating to obtain a new main link and a new alternative link. According to the invention, seamless rapid switching of communication can be realized, the network stability and reliability are enhanced, and the network performance is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network communication technology, and in particular to a method for enhancing the stability of a Mesh network based on multi-link automatic switching. Background Art

[0002] With the development of wireless network technology, Mesh network has become a popular network solution due to its high flexibility and scalability. However, when a traditional Mesh network encounters a node failure, the stability of the network and the continuity of data transmission are often affected. Especially when a link failure occurs, the traditional Mesh network adopts a single link recovery mechanism, which mainly connects by selecting a link with the shortest response time, and re-searches for a link with the shortest response time to reconnect when a failure occurs. On the one hand, the current response time can only reflect the current network status, and cannot represent the response speed at other times. It is unreasonable to select the optimal link based solely on the response time. On the other hand, this single link recovery mechanism needs to be re-searched after each failure, which is time-consuming and performance-consuming, resulting in data loss and increased network delay. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a method and system for enhancing the stability of a Mesh network based on automatic multi-link switching, so as to achieve automatic and seamless switching to the optimal backup link when a main link fails, thereby ensuring the stability of the network and the continuity of data transmission.

[0004] In a first aspect, the present invention provides a method for enhancing the stability of a Mesh network based on multi-link automatic switching, comprising the following steps:

[0005] Step S1: When the current node X requests to access the Mesh network, the current node X scans all available network links and initiates a scan message to the node Y directly connected to the current node X;

[0006] Step S2: Calculate the link strength score Scoro of each link between the current node X and the node Y directly connected to the current node X. Strength ;

[0007] Step S3, when node Y receives the scan message, node Y calculates the minimum path cost value MinCostPath from node Y to the control center, and returns the minimum path cost value MinCostPath to the current node X;

[0008] Step S4: The current node X calculates the final score of each link. Score , the final score Score The calculation formula is: FinalScore =Score Strength -MinCostPath;

[0009] Step S5: sort the calculated final scores of all links, save the top three links with the highest final scores, select the link with the highest final score as the main link for communication, and keep the remaining two links as candidate links for keeping alive;

[0010] Step S6: The current node X uses the primary link for communication by default until the gateway detects that the primary link is abnormally disconnected, and then proceeds to step S7;

[0011] Step S7: determine whether there are other candidate links. If so, enable a link with the highest final score among the candidate links as the main link for communication, and return to step S6. Otherwise, return to step S1 to rescan all links.

[0012] Furthermore, the Mesh network is compatible with the EasyMesh standard protocol, and the Mesh network includes a control center and a plurality of AP nodes, which are connected to the network via at least one of Ethernet, 5GHz, and 2.4GHz.

[0013] Furthermore, the current node X and the node Y directly connected to the current node are both AP nodes.

[0014] Furthermore, the link strength score Score in step S2 Strength The link strength score Score is related to the connection type and RSSI value. Strength The calculation process is as follows:

[0015] If the connection type between the current node X and its directly connected node Y is a wired connection, then the link strength score of the wired connection link from link X to Y is Score Strength The value of is 100;

[0016] If the connection type between the current node X and its directly connected node Y is a 5G wireless connection, then the link strength score Scoro of the 5G wireless connection link from link X to Y is Strength The calculation formula is:

[0017]

[0018] If the connection type between the current node X and its directly connected node Y is a 2.4G wireless connection, then the link strength score of the 2.4G wireless connection link from link X to Y is Score Strength The calculation formula is:

[0019]

[0020] RSSI 5G and RSSI 2.4G They are respectively the strength indication of the 5G network received signal and the 2.4G network received signal, and the maximum values ​​are 90 and 80 respectively.

[0021] Furthermore, the step S3 specifically includes:

[0022] Step S31: When node Y receives the scan message, node Y uses Dujkstra algorithm to calculate the minimum path cost value MinCostPath from node Y to the control center, where the path cost Weight between two adjacent nodes is:

[0023] Weight=BaseCost+i×RSSI penalty +j×Utilization penalty ;

[0024] Among them, i is 3, j is 4, and BaseCost is the basic cost. Its value varies according to the connection type. The specific value of BaseCost is:

[0025] RSSI penalty is the signal strength loss, which is calculated as follows:

[0026] Where RSSI is the received signal strength indication;

[0027] Utilization penalty Utilization loss is the channel utilization loss, which is calculated as follows: penalty =(1-Utilization), where Utilization is the channel utilization rate;

[0028] Step S32: Each node Y returns a minimum path cost value MinCostPath to the current node X.

[0029] In a second aspect, the present invention provides a Mesh network stability enhancement system based on multi-link automatic switching, comprising:

[0030] An access request module, used for, when the current node X requests to access the Mesh network, the current node X scans all available network links and initiates a scan message to the node Y directly connected to the current node X;

[0031] The link strength calculation module is used to calculate the link strength score Scoro of each link between the current node X and the node Y directly connected to the current node X. Strength ;

[0032] The minimum path cost calculation module is used for calculating the minimum path cost value MinCostPath from node Y to the control center when node Y receives the scanning message, and returns the minimum path cost value MinCostPatg to the current node X;

[0033] Final score calculation module, used to calculate the final score of each link Score , the final score Score The calculation formula is: Final Score =Score Strength -MinCostPath;

[0034] The link preservation and backup module is used to sort the final scores of all links calculated, save the top three links with the highest final scores, select the link with the highest final score as the main link for communication, and keep the remaining two links as alternative links alive;

[0035] Communication module: the current node X uses the main link for communication by default until the gateway detects that the main link is abnormally disconnected, and then executes the automatic switching module;

[0036] The automatic switching module is used to determine whether there are other candidate links. If so, the link with the highest final score among the candidate links is enabled as the main link for communication and the communication module is executed. Otherwise, it returns to the access request module to rescan all links.

[0037] Furthermore, the Mesh network is compatible with the EasyMesh standard protocol, and the Mesh network includes a control center and a plurality of AP nodes, which are connected to the network via at least one of Ethernet, 5GHz, and 2.4GHz.

[0038] Furthermore, the current node X and the node Y directly connected to the current node are both AP nodes.

[0039] Furthermore, the link strength score Score in the link strength calculation module Strength The link strength score Score is related to the connection type and RSSI value. Strength The calculation process is as follows:

[0040] If the connection type between the current node X and its directly connected node Y is a wired connection, then the link strength score of the wired connection link from link X to Y is ScoreStrength The value of is 100;

[0041] If the connection type between the current node X and its directly connected node Y is a 5G wireless connection, then the link strength score of the 5G wireless connection link from link X to Y is Score Strength The calculation formula is:

[0042]

[0043] If the connection type between the current node X and its directly connected node Y is a 2.4G wireless connection, then the link strength score of the 2.4G wireless connection link from link X to Y is Score Strength The calculation formula is:

[0044]

[0045] RSSI 5G and RSSI 2.4G They are respectively the strength indication of the 5G network received signal and the 2.4G network received signal, and the maximum values ​​are 90 and 80 respectively.

[0046] Furthermore, the minimum path cost calculation module specifically includes:

[0047] When node Y receives the scan message, node Y uses the Dujkstra algorithm to calculate the minimum path cost value MinCostPath from node Y to the control center, where the path cost Weight between two adjacent nodes is:

[0048] Weight=BaseCost+i×RSSI penalty +j×Utilization penalty ;

[0049] Among them, i is 3, j is 4, and BaseCost is the basic cost. Its value varies according to the connection type. The specific value of BaseCost is:

[0050] RSSI penalty is the signal strength loss, which is calculated as follows:

[0051] Where RSSI is the received signal strength indication;

[0052] Utilization penalty Utilization loss is the channel utilization loss, which is calculated as follows: penalty=(1-Utilization), where Utilization is the channel utilization rate;

[0053] Each node Y returns a minimum path cost value MinCostPath to the current node X.

[0054] The advantages of the present invention are:

[0055] 1. Fast recovery: When a link fails, the network connection can be quickly restored, significantly reducing system downtime;

[0056] 2. Enhanced stability: Through multi-link backup, the stability and reliability of the network are enhanced when facing node or link failures;

[0057] 3. Optimize performance: Rationally evaluate and optimize links to ensure that the network operates in the best condition at all times. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] The present invention will be further described below in conjunction with embodiments with reference to the accompanying drawings.

[0059] Figure 1 The present invention is a flowchart of an execution method of a Mesh network stability enhancement method based on multi-link automatic switching.

[0060] Figure 2 The present invention is a framework schematic diagram of a Mesh network stability enhancement system based on multi-link automatic switching.

[0061] Figure 3 The figure is a schematic diagram of a network node structure in a specific embodiment of the present invention. DETAILED DESCRIPTION

[0062] The embodiments of the present application provide a Mesh network stability enhancement method and system based on multi-link automatic switching, which are used to enhance networking stability, improve networking self-healing capabilities, and optimize network performance.

[0063] The technical solution in the embodiment of the present application has the following overall idea: by simultaneously considering the link strength and the minimum cost from the node directly connected to the current access node to the control center, the priority of the link is evaluated, so as to more reasonably and accurately obtain a communication link with better performance, and at the same time keep two alternative links with better performance active, so that when the main link fails to send, communication can be restored at the fastest speed, thereby enhancing the stability and reliability of the network in the face of node or link failures.

[0064] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0065] Embodiment 1

[0066] See also Figure 1 This embodiment provides a method for enhancing the stability of a Mesh network based on multi-link automatic switching, comprising the following steps:

[0067] Step S1: When the current node X requests to access the Mesh network, the current node X scans all available network links and initiates a scan message to the node Y directly connected to the current node X;

[0068] Step S2: Calculate the link strength score of each link between the current node X and the node Y directly connected to the current node X. Strength ;

[0069] Step S3, when node Y receives the scan message, node Y calculates the minimum path cost value MinCostPath from node Y to the control center, and returns the minimum path cost value MinCostPath to the current node X;

[0070] Step S4: The current node X calculates the final score of each link. Score , the final score Score The calculation formula is: Final Score =Score Strength -MinCostPath;

[0071] Step S5: sort the calculated final scores of all links, save the top three links with the highest final scores, select the link with the highest final score as the main link for communication, and keep the remaining two links as candidate links for keeping alive;

[0072] Step S6: The current node X uses the primary link for communication by default until the gateway detects that the primary link is abnormally disconnected, and then proceeds to step S7;

[0073] Step S7: determine whether there are other candidate links. If so, enable a link with the highest final score among the candidate links as the main link for communication, and return to step S6. Otherwise, return to step S1 to rescan all links.

[0074] Preferably, the Mesh network is compatible with the EasyMesh standard protocol, and the Mesh network includes a control center and a plurality of AP nodes, and is connected to the network through at least one of Ethernet, 5GHz, and 2.4GHz, wherein the connection priorities of the three connection modes of Ethernet, 5G, and 2.4G are in descending order. The core mechanism of this solution is to maintain multiple links while maintaining compatibility with the EasyMesh standard protocol, and only maintain data communication of one link at the same time, that is, there are 3 links, such as Ethernet, 5GHz, and 2.4GHz. In a preferred embodiment, when only Ethernet can be used for data communication, the Ethernet interface and the FrontBSS of the downlink connected STA are under the same bridge interface, that is, the same Layer 2 broadcast domain. The Backhaul STAs of 2.4GHz and 5GHz only maintain connection with the control center Controller and are not added to the Ethernet bridge.

[0075] Preferably, the current node X and the node Y directly connected to the current node are both AP nodes.

[0076] Preferably, the link strength score Score in step S2 is Strength The link strength score Score is related to the connection type and RSSI value. Strength The calculation process is as follows:

[0077] If the connection type between the current node X and its directly connected node Y is a wired connection, then the link strength score of the wired connection link from link X to Y is Score Strength The value of is 100;

[0078] If the connection type between the current node X and its directly connected node Y is a 5G wireless connection, then the link strength score of the 5G wireless connection link from link X to Y is Score Strength The calculation formula is:

[0079]

[0080] If the connection type between the current node X and its directly connected node Y is a 2.4G wireless connection, then the link strength score of the 2.4G wireless connection link from link X to Y is Score Strength The calculation formula is:

[0081]

[0082] RSSI 5G and RSSI 2.4G They are the 5G network received signal strength indication and the 2.4G network received signal strength indication, and the maximum values ​​are 90 and 80 respectively. RSSI5G and RSSI 2.4G They can all be directly obtained through the gateway. In 5G wireless connections, the RSSI value range is generally -30dBm at best and -90dBm at worst.

[0083] Preferably, the step S3 specifically includes:

[0084] Step S31: When node Y receives the scan message, node Y uses Dujkstra algorithm to calculate the minimum path cost value MinCostPath from node Y to the control center, where the path cost Weight between two adjacent nodes is:

[0085] Weight=BaseCost+i×RSSI penalty +j×Utilization penalty ;

[0086] Among them, i is 3, j is 4, and BaseCost is the basic cost. Its value varies according to the connection type. The specific value of BaseCost is:

[0087] RSSI penalty is the signal strength loss, which is calculated as follows:

[0088] Where RSSI is the received signal strength indication;

[0089] Utilization penalty Utilization loss is the channel utilization loss, which is calculated as follows: penalty =(1-Utilization), where Utilization is the channel utilization. The specific values ​​of RSSI and channel utilization can be directly obtained from the gateway.

[0090] Step S32: Each node Y returns a minimum path cost value MinCostPath to the current node X.

[0091] Preferably, the method is applicable to a small or medium-sized network structure in which the average number of hops from each AP to the Controller is controlled within about 10 (generally controlled within 15 for the best).

[0092] Embodiment 2

[0093] See also Figure 2 This embodiment provides a Mesh network stability enhancement system based on multi-link automatic switching, including:

[0094] An access request module, used for, when the current node X requests to access the Mesh network, the current node X scans all available network links and initiates a scan message to the node Y directly connected to the current node X;

[0095] The link strength calculation module is used to calculate the link strength score Score of each link between the current node X and the node Y directly connected to the current node X. Strength ;

[0096] The minimum path cost calculation module is used for calculating the minimum path cost value MinCostPath from node Y to the control center when node Y receives the scan message, and returns the minimum path cost value MinCostPath to the current node X;

[0097] Final score calculation module, used to calculate the final score of each link Score , the final score Score The calculation formula is: Final Score =Score Strength -MinCostPath;

[0098] The link preservation and backup module is used to sort the final scores of all links calculated, save the top three links with the highest final scores, select the link with the highest final score as the main link for communication, and keep the remaining two links as alternative links alive;

[0099] Communication module: the current node X uses the main link for communication by default until the gateway detects that the main link is abnormally disconnected, and then executes the automatic switching module;

[0100] The automatic switching module is used to determine whether there are other candidate links. If so, the link with the highest final score among the candidate links is enabled as the main link for communication and the communication module is executed. Otherwise, it returns to the access request module to rescan all links.

[0101] Preferably, the Mesh network is compatible with the EasyMesh standard protocol, and the Mesh network includes a control center and a plurality of AP nodes, and the network connection is performed through at least one of Ethernet, 5GHz, and 2.4GHz, wherein the connection priorities of the three connection modes of Ethernet, 5G, and 2.4G are in descending order. The core mechanism of this solution is to maintain multiple links while maintaining compatibility with the EasyMesh standard protocol, and only maintain data communication of one link at the same time, that is, there are 3 links, such as Ethernet, 5GHz, and 2.4GHz. In a preferred embodiment, when only Ethernet can perform data communication, the Ethernet interface and the Front BSS of the downlink connected STA are under the same bridge interface, that is, the same Layer 2 broadcast domain. The Backhaul STAs of 2.4GHz and 5GHz only maintain connection with the control center Controller and are not added to the Ethernet bridge.

[0102] Preferably, the current node X and the node Y directly connected to the current node are both AP nodes.

[0103] Preferably, the link strength score Score in the link strength calculation module Strength The link strength score Score is related to the connection type and RSSI value. Strength The calculation process is as follows:

[0104] If the connection type between the current node X and its directly connected node Y is a wired connection, then the link strength score of the wired connection link from link X to Y is Score Strength The value of is 100;

[0105] If the connection type between the current node X and its directly connected node Y is a 5G wireless connection, then the link strength score of the 5G wireless connection link from link X to Y is Score Strength The calculation formula is:

[0106]

[0107] If the connection type between the current node X and its directly connected node Y is a 2.4G wireless connection, then the link strength score of the 2.4G wireless connection link from link X to Y is Score Strength The calculation formula is:

[0108]

[0109] RSSI 5G and RSSI 2.4G They are the 5G network received signal strength indication and the 2.4G network received signal strength indication, and the maximum values ​​are 90 and 80 respectively. RSSI5G and RSSI 2.4G They can all be directly obtained through the gateway. In 5G wireless connections, the RSSI value range is generally -30dBm at best and -90dBm at worst.

[0110] Preferably, the minimum path cost calculation module specifically includes:

[0111] When node Y receives the scan message, node Y uses the Dujkstra algorithm to calculate the minimum path cost value MinCostPath from node Y to the control center, where the path cost Weight between two adjacent nodes is:

[0112] Weight=BaseCost+i×RSSI penalty +j×Utilization penalty ;

[0113] Among them, i is 3, j is 4, and BaseCost is the basic cost. Its value varies according to the connection type. The specific value of BaseCost is:

[0114] RSSI penalty is the signal strength loss, which is calculated as follows:

[0115] Where RSSI is the received signal strength indication;

[0116] Utilization penalty Utilization loss is the channel utilization loss, which is calculated as follows: penalty =(1-Utilization), where Utilization is the channel utilization. The specific values ​​of RSSI and channel utilization can be directly obtained from the gateway.

[0117] Each node Y returns a minimum path cost value MinCostPath to the current node X.

[0118] Preferably, the system is suitable for a small or medium-sized network structure in which the average number of hops from each AP to the Controller is controlled within about 10 (generally controlled within 15 for the best).

[0119] In order to more clearly illustrate the final evaluation score calculation process of the present invention, the following is an example with reference to the accompanying drawings:

[0120] In a Figure 3In the network shown, node A is the node to be accessed (i.e., the current node), and nodes B and C are nodes directly connected to node A to be accessed. For node A to be accessed, since it is the first time to access the network, it needs to initiate an access request and scan all available links;

[0121] The scan found that A has two directly connectable nodes B and C, and that A has a wired connection and a 2.4G connection to B, and A has a 5G connection and a 2.4G connection to C;

[0122] Calculate the link strength scores from the node A to be accessed to the nodes B and C directly connected to it, and obtain the following links and link strength scores:

[0123] Link 1, the wired connection from A to B, has a link strength score of 100;

[0124] Link 2: Get the RSSI of the 2.4G connection from A to B through the gateway 2.4G The value is -36, then the link strength score of the 2.4G connection link from A to B is

[0125] Link 3: Get RSSI from A to C through the gateway 5G is -32.67, so the link strength score of the 5G connection link from A to C is 86;

[0126] Link 4: Get RSSI from A to C through the gateway 2.4G is -39.75, so the link strength score of the 2.4G connection link from A to C is 67.

[0127] Next, calculate the minimum path cost from the nodes directly connected to the access point A to the control center Controller. The nodes directly connected to the access point A are B and C, so the minimum path cost of the two nodes needs to be calculated separately:

[0128] For node B, node B calculates the minimum path cost from itself to the control center, such as Figure 3 As shown, the paths from node B to the control center Controller are BKMJ-Controller and BKJ-Controller, where the path cost of BKMJ-Controller is 6.7+0+3.1+4.4=14.2, with 4 hops, and the path cost of BKJ-Controller is 6.7+7.9+4.4=19, with 3 hops. Therefore, the minimum path cost value from node B to the control center is 14.2, and node B returns the calculated minimum path cost value 14.2 to node A.

[0129] For node C, node C calculates the minimum path cost from itself to the control center, such as Figure 3 As shown, there is only one available path from node C to the control center Controller, namely CDL-Controller. Therefore, its minimum path cost is 4.1+2.6+1.3=8, and the number of hops is 3. Node C returns the calculated minimum path cost value 8 to node A.

[0130] Then, calculate the final score of each link separately:

[0131] Link 1 (AB, wired), final score = 100-14.2 = 85.8

[0132] Link 2 (AB, 2.4G), final score = 72-14.2 = 57.8

[0133] Link 3 (AC, 5G), final score = 86-8 = 78

[0134] Link 4 (AC, 2.4G), final score = 67-8 = 59

[0135] The final scores are sorted as follows: Link 1 (AB, wired), Link 3 (AC, 5G), Link 4 (AC, 2.4G), and Link 2 (AB, 2.4G). The top three links are saved to node A. Link 1 with the highest final score is used as the main link for communication, and Link 3 and Link 4 are selected as alternative links.

[0136] After that, each time a communication connection is made, the constructed link 1 (AB, wired) can be directly used as the main link for communication, until an abnormal failure occurs (for example, the corresponding network cable is unplugged or the wireless connection cannot be made, etc.), the gateway of node A detects that the link is broken, performs an interrupt operation, and automatically switches to the backup link. The network recovery process does not need to calculate the link again, but directly selects one of the alternative links saved in the node as the main link for communication, thereby realizing the user-side senseless switching, until all alternative links are unusable, the scanning and calculation program is restarted, and the new main link and alternative link are obtained and saved again. The whole process has a small amount of calculation and low performance consumption, while taking into account the link strength and the minimum path cost, reasonably optimizing the configuration, and improving the user's Internet experience.

[0137] Although the specific implementation modes of the present invention are described above, those skilled in the art should understand that the specific implementation modes described are only illustrative and are not intended to limit the scope of the present invention. Equivalent modifications and changes made by those skilled in the art in accordance with the spirit of the present invention should be included in the scope of protection of the claims of the present invention.

Claims

1. A method for enhancing the stability of a Mesh network based on multi-link automatic switching, characterized in that: The steps include: Step S1: When the current node X requests to access the Mesh network, the current node X scans all available network links and initiates a scan message to the node Y directly connected to the current node X; Step S2: Calculate the link strength score of each link between the current node X and the node Y directly connected to the current node X. Strength ; Step S3, when node Y receives the scan message, node Y calculates the minimum path cost value MinCostPath from node Y to the control center, and returns the minimum path cost value MinCostPath to the current node X; Step S4: The current node X calculates the final score of each link. Score , the final score Score The calculation formula is: Final Score =Score Strength -MinCostPath; Step S5: sort the calculated final scores of all links, save the top three links with the highest final scores, select the link with the highest final score as the main link for communication, and keep the remaining two links as candidate links for keeping alive; Step S6: The current node X uses the primary link for communication by default until the gateway detects that the primary link is abnormally disconnected, and then proceeds to step S7; Step S7: determine whether there are other candidate links. If so, enable a link with the highest final score among the candidate links as the main link for communication, and return to step S6. Otherwise, return to step S1 to rescan all links.

2. A method for enhancing the stability of a Mesh network based on multi-link automatic switching as claimed in claim 1, characterized in that: The Mesh network is compatible with the EasyMesh standard protocol. The Mesh network includes a control center and a plurality of AP nodes, and is connected to the network via at least one of Ethernet, 5GHz, and 2.4GHz.

3. The method for enhancing the stability of a Mesh network based on multi-link automatic switching according to claim 1, characterized in that: The current node X and the node Y directly connected to the current node are both AP nodes.

4. The method for enhancing the stability of a Mesh network based on multi-link automatic switching according to claim 1, characterized in that: The link strength score Score in step S2 Strength The link strength score Score is related to the connection type and RSSI value. Strongth The calculation process is as follows: If the connection type between the current node X and its directly connected node Y is a wired connection, then the link strength score of the wired connection link from link X to Y is Score Strength The value of is 100; If the connection type between the current node X and its directly connected node Y is a 5G wireless connection, then the link strength score of the 5G wireless connection link from link X to Y is Score Strength The calculation formula is: If the connection type between the current node X and its directly connected node Y is a 2.4G wireless connection, then the link strength score of the 2.4G wireless connection link from link X to Y is Score Strength The calculation formula is: RSSI 5G and RSSI 2.4G They are respectively the strength indication of the 5G network received signal and the 2.4G network received signal strength indication.

5. The method for enhancing the stability of a Mesh network based on multi-link automatic switching according to claim 1, characterized in that: The step S3 specifically includes: Step S31: When node Y receives the scan message, node Y uses Dujkstra algorithm to calculate the minimum path cost value MinCostPath from node Y to the control center, where the path cost Weight between two adjacent nodes is: Weight=BaseCost+i×RSSI penalty +j×Utilization penalty ; Among them, i is 3, j is 4, and BaseCost is the basic cost. Its value varies according to the connection type. The specific value of BaseCost is: RSSI penalty is the signal strength loss, which is calculated as follows: Where RSSI is the received signal strength indication; Utilization penalty Utilization loss is the channel utilization loss, which is calculated as follows: penalty =(1-Utilization), where Utilization is the channel utilization rate; Step S32: Each node Y returns a minimum path cost value MinCostPath to the current node X.

6. A Mesh network stability enhancement system based on multi-link automatic switching, characterized in that: include: An access request module, used for, when the current node X requests to access the Mesh network, the current node X scans all available network links and initiates a scan message to the node Y directly connected to the current node X; The link strength calculation module is used to calculate the link strength score Score of each link between the current node X and the node Y directly connected to the current node X. Strength ; The minimum path cost calculation module is used for calculating the minimum path cost value MinCostPath from node Y to the control center when node Y receives the scan message, and returning the minimum path cost value MimCostPath to the current node X; Final score calculation module, used to calculate the final score of each link Score , the final score Score The calculation formula is: Final Score =Score Strength -MinCostPath; The link preservation and backup module is used to sort the final scores of all links calculated, save the top three links with the highest final scores, select the link with the highest final score as the main link for communication, and keep the remaining two links as alternative links alive; The communication module is used for the current node X to use the main link for communication by default until the gateway detects that the main link is abnormally disconnected and executes the automatic switching module; The automatic switching module is used to determine whether there are other candidate links. If so, the link with the highest final score among the candidate links is enabled as the main link for communication and the communication module is executed. Otherwise, it returns to the access request module to rescan all links.

7. A Mesh network stability enhancement system based on multi-link automatic switching as claimed in claim 6, characterized in that: The Mesh network is compatible with the EasyMesh standard protocol. The Mesh network includes a control center and a plurality of AP nodes, and is connected to the network via at least one of Ethernet, 5GHz, and 2.4GHz.

8. The Mesh network stability enhancement system based on multi-link automatic switching as claimed in claim 6, characterized in that: The current node X and the node Y directly connected to the current node are both AP nodes.

9. A Mesh network stability enhancement system based on multi-link automatic switching as claimed in claim 6, characterized in that: The link strength score Score in the link strength calculation module Strength The link strength score Score is related to the connection type and RSSI value. Strength The calculation process is as follows: If the connection type between the current node X and its directly connected node Y is a wired connection, then the link strength score of the wired connection link from link X to Y is Score Strength The value of is 100; If the connection type between the current node X and its directly connected node Y is a 5G wireless connection, then the link strength score of the 5G wireless connection link from link X to Y is Score Strength The calculation formula is: If the connection type between the current node X and its directly connected node Y is a 2.4G wireless connection, then the link strength score of the 2.4G wireless connection link from link X to Y is Score Strength The calculation formula is: RSSI 5G and RSSI 2.4G They are respectively the strength indication of the 5G network received signal and the 2.4G network received signal strength indication.

10. A Mesh network stability enhancement system based on multi-link automatic switching as claimed in claim 6, characterized in that: The minimum path cost calculation module specifically includes: When node Y receives the scan message, node Y uses the Dujkstra algorithm to calculate the minimum path cost value MinCostPath from node Y to the control center, where the path cost Weight between two adjacent nodes is: Weight=BaseCost+i×RSSI penalty +j×Utilization penalty ; Among them, i is 3, j is 4, and BaseCost is the basic cost. Its value varies according to the connection type. The specific value of BaseCost is: RSSI penalty is the signal strength loss, which is calculated as follows: Where RSSI is the received signal strength indication; Utilization penalty Utilization loss is the channel utilization loss, which is calculated as follows: penalty =(1-Utilization), where Utilization is the channel utilization rate; Each node Y returns a minimum path cost value MinCostPath to the current node X.

Citation Information

Patent Citations

  • Mesh network-based routing management and routing methods, node, device and system

    CN101640628A

  • Method and device for switching link

    CN104780573A

  • Link switching method and system in wireless communication network

    CN106454982A

  • Link switching method and device

    CN108391251A

  • System and method for setting a path to an access point across a wireless mesh network

    US20130163412A1

Cited By

  • Network topology aware edge device non-inductive upgrading method and system and medium

    CN121193608A