CN116192734A - Double-link service backup method based on mesh network - Google Patents

Double-link service backup method based on mesh network Download PDF

Info

Publication number
CN116192734A
CN116192734A CN202211611274.5A CN202211611274A CN116192734A CN 116192734 A CN116192734 A CN 116192734A CN 202211611274 A CN202211611274 A CN 202211611274A CN 116192734 A CN116192734 A CN 116192734A
Authority
CN
China
Prior art keywords
link
mesh network
wireless
wired
double
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211611274.5A
Other languages
Chinese (zh)
Inventor
冯孝忠
杨磊
张元隆
高峰
陆忠进
郝小俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Creatcomm Technology Co ltd
Original Assignee
Nanjing Creatcomm Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Creatcomm Technology Co ltd filed Critical Nanjing Creatcomm Technology Co ltd
Priority to CN202211611274.5A priority Critical patent/CN116192734A/en
Publication of CN116192734A publication Critical patent/CN116192734A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • H04W36/305Handover due to radio link failure
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to the technical field of network communication, in particular to a double-link service backup method based on a mesh network, which provides a function of wireless network backup in an environment adopting wired connection networking, can switch to wireless after wired connection is disconnected, ensures normal transmission of the service, and simultaneously provides a quick detection and switching mechanism to ensure that link detection and link switching reach millisecond level, thereby reducing the influence of link switching on the service, and simultaneously, the wireless network is based on mesh, can resend the advantages of self-networking, automatic recovery and automatic routing of the wireless mesh network, and enhances the reliability of the network.

Description

Double-link service backup method based on mesh network
Technical Field
The invention relates to the technical field of network communication, in particular to a double-link service backup method based on a mesh network.
Background
The mesh network based on the 802.11 wireless protocol has the functions of wireless network ad hoc network and wireless link automatic recovery. The mesh network based on the 802.11 wireless protocol can realize automatic routing of wireless links through a mesh routing algorithm, all nodes in the mesh network are connected through wireless to form a tree network structure, and each node is provided with the routing algorithm to control the flow to run an optimal link. When a certain node in the network fails, the mesh network can acquire a new link again through an automatic routing algorithm.
After the nodes in the Mesh network reacquire the new links, the nodes need to be reconnected on the wireless network, and the process lasts for at least a few seconds, so that the service is disconnected, and the use is affected.
Disclosure of Invention
The invention provides a double-link service backup method based on a mesh network, which can fully ensure the reliability of data service. The self-healing capability of the wireless network is enhanced.
In order to achieve the purpose of the invention, the technical scheme adopted is as follows: a double-link service backup method based on a mesh network comprises the following steps:
1) The AP equipment starts a link detection module, and the link detection module sends a link detection message through a wired link at regular time;
2) A plurality of AP devices form a wireless mesh network;
3) After the link detection module finds out the wired link fault, the AP equipment is switched to the wireless mesh network;
4) The link detection module detects that the wired link is restored, and the AP equipment is switched to the wired link.
As an optimization scheme of the invention, the link detection module adopts a mode of sending ICMP messages, and the sending interval of the ICMP messages is 10ms at minimum.
As an optimization scheme of the invention, a link bridge interface mode is adopted for switching links, a service forwarding interface is a br-lan bridge interface, eth is a wired interface, ath is a wireless interface, and when the wired link is adopted, eth is bound into a br-lan, ath is deleted from the br-lan, and when the wireless mesh network is adopted, ath is bound into the br-lan, and eth is deleted from the br-lan.
As an optimization scheme of the invention, when a switch in a wired link fails, the AP equipment is switched to a wireless mesh network, and a plurality of AP equipment in the wireless mesh network select an optimal link through a routing module.
As an optimization scheme of the invention, the routing module adopts a mode of RSSI priority or hop count priority,
the RSSI-preferred manner includes: the AP equipment selects an upper link according to the RSSI; firstly, an AP device scans all devices providing AP hot spots, all scanned AP devices are ordered according to the signal intensity, and then an AP device with the optimal signal is selected as a superior device for association;
the hop count priority mode includes: each AP device in the wireless mesh network informs the hop count of the AP device to the root node, and when the previous device is selected, the AP device with the least hop count to the root node is selected as the previous device.
The invention has the positive effects that: 1) In the environment adopting the wired connection networking, the invention provides a function of wireless network backup, after the wired connection is disconnected, the service can be switched to wireless, so that the normal transmission of the service is ensured, and simultaneously, a quick detection and switching mechanism is provided, so that the link detection and the link switching are ensured to reach the millisecond level, thereby reducing the influence of the link switching on the service, and meanwhile, the wireless network is based on mesh, and the advantages of self-networking, automatic recovery and automatic routing of the wireless mesh network can be reappeared and played, and the reliability of the network is enhanced;
2) The invention adopts the wired transmission for data transmission, and the wired link can fully ensure the reliability of the data service. When the data priority link fails, the data service is switched to wireless, and wireless networking is performed by adopting mesh, so that networking configuration is greatly simplified and self-healing capacity of the network is enhanced;
3) The invention integrates the advantages of the 802.11 wireless mesh network and the double-link backup and the double-link quick switching, realizes the double-link backup of data, can realize the wireless ad hoc network, and is suitable for wireless coverage scenes with high data transmission reliability, wide coverage and high service transmission reliability.
Drawings
The invention will be described in further detail with reference to the drawings and the detailed description.
FIG. 1 is an overall flow chart of the present invention;
FIG. 2 is a logical block diagram of the present invention;
FIG. 3 is a representative application scenario diagram of the present invention;
FIG. 4 is a schematic illustration of an application when a wired link is not malfunctioning;
FIG. 5 is a schematic diagram of an application in the event of a wired link failure;
fig. 6 is a schematic diagram of an application in the event of a switch failure.
Detailed Description
As shown in fig. 1, the invention discloses a double-link service backup method based on a mesh network, which comprises the following steps:
1) The AP equipment starts a link detection module, and the link detection module sends a link detection message through a wired link at regular time;
2) A plurality of AP devices form a wireless mesh network;
3) After the link detection module finds out the wired link fault, the AP equipment is switched to the wireless mesh network;
4) The link detection module detects that the wired link is restored, and the AP equipment is switched to the wired link. At this time, the data is routed to the wired link, and the wireless connection is also maintained as a standby.
As shown in fig. 2 and 3, for the AP device, mesh networking needs to be supported, ethernet access is supported at the same time, and the data link supports both wireless and wired dual-link backup, and the link detection and the link fast switching are performed through the link control logic, so that the switching time can reach within 10ms.
As shown in fig. 4, the AP device performs dual-link backup in a wired+wireless mesh manner, where the wired link is prioritized, and when the link detection module finds that the wired link fails, the AP device automatically switches to the wireless link. The wireless link adopts a mesh scheme, so that the wireless link can be automatically networked and automatically routed. All APs have dual link backup and link detection mechanisms.
As shown in fig. 5, when the wired link of the AP device fails, the link detection module of the AP device detects that the wired link is disconnected, and the link detection module immediately switches the link to the wireless mesh link, thereby ensuring normal transmission of the service.
As shown in fig. 6, when the switch fails, all AP device nodes use mesh to perform networking, and the route of each node may perform the route selection of the optimal link through the route selection module. The routing algorithm of the node can adopt two types, one is RSSI priority, and the other is hop count priority. Under the strategy of RSSI priority, the device selects an upper-level link according to the RSSI, firstly, the device scans all devices providing AP hot spots, sorts all scanned devices according to the signal intensity, and then selects an AP with the optimal signal as the upper-level device for association. Under the hop count priority strategy, each device in the mesh networking can inform the hop count of the device to the root node, and when the previous device is selected, the device with the lowest hop count to the root node is selected as the previous device.
The RSSI preferentially selects the equipment with high RSSI as the upper-level equipment for the nodes, so that each node is ensured to select the link with the optimal signal strength as the data return link. The hop count priority is that the node preferentially selects the lowest hop count from the gateway as the upper-level link, and the hop count priority is selected to ensure that the bandwidth is the largest and the time delay is the smallest due to the characteristic of wireless. The hop count of all the devices in the network is calculated according to the hop count from the device to the gateway, so that all the AP devices share one gateway in order to ensure the correctness of the device routing, and only one gateway can be arranged in the network.
When the wired link of the AP is restored, the link detection link is switched to the wired link.
For link detection, a mode of sending an ICMP message is adopted, and it is required to ensure that the ICMP sending interval is configurable, and the minimum sending interval is 10ms.
The link switching is realized by adopting a linux bridge interface mode, the service forwarding interface is a br-lan bridge interface, the eth is a wired interface, the ath is a wireless interface, when the wired link forwarding is adopted, the eth is bound into the br-lan, the ath is deleted from the br-lan, and when the wireless link forwarding is adopted, the ath is bound into the br-lan, and the eth port is deleted from the br-lan.
While the foregoing is directed to embodiments of the present invention, other and further details of the invention may be had by the present invention, it should be understood that the foregoing description is merely illustrative of the present invention and that no limitations are intended to the scope of the invention, except insofar as modifications, equivalents, improvements or modifications are within the spirit and principles of the invention.

Claims (5)

1. A double-link service backup method based on a mesh network is characterized in that: the method comprises the following steps:
1) The AP equipment starts a link detection module, and the link detection module sends a link detection message through a wired link at regular time;
2) A plurality of AP devices form a wireless mesh network;
3) After the link detection module finds out the wired link fault, the AP equipment is switched to the wireless mesh network;
4) The link detection module detects that the wired link is restored, and the AP equipment is switched to the wired link.
2. The double-link service backup method based on the mesh network as claimed in claim 1, wherein: the link detection module adopts a mode of sending ICMP messages, and the sending interval of the ICMP messages is 10ms at minimum.
3. The double-link service backup method based on the mesh network as claimed in claim 1, wherein: the link is switched by using a linux bridge interface mode, the service forwarding interface is a br-lan bridge interface, the eth is a wired interface, the ath is a wireless interface, when the wired link is adopted, the eth is bound into a br-lan, the ath is deleted from the br-lan, and when the wireless mesh network is adopted, the ath is bound into the br-lan, and the eth is deleted from the br-lan.
4. A method for backup of a duplex link service based on a mesh network according to claim 2 or 3, wherein: when a switch in a wired link fails, the AP equipment is switched to a wireless mesh network, and a plurality of AP equipment in the wireless mesh network select an optimal link through a routing module.
5. The double-link service backup method based on the mesh network as claimed in claim 4, wherein the method comprises the following steps: the route selection module adopts a mode of RSSI priority or hop count priority;
the RSSI-preferred manner includes: the AP equipment selects an upper link according to the RSSI; firstly, an AP device scans all devices providing AP hot spots, all scanned AP devices are ordered according to the signal intensity, and then an AP device with the optimal signal is selected as a superior device for association;
the hop count priority mode includes: each AP device in the wireless mesh network informs the hop count of the AP device to the root node, and when the previous device is selected, the AP device with the least hop count to the root node is selected as the previous device.
CN202211611274.5A 2022-12-14 2022-12-14 Double-link service backup method based on mesh network Pending CN116192734A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211611274.5A CN116192734A (en) 2022-12-14 2022-12-14 Double-link service backup method based on mesh network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211611274.5A CN116192734A (en) 2022-12-14 2022-12-14 Double-link service backup method based on mesh network

Publications (1)

Publication Number Publication Date
CN116192734A true CN116192734A (en) 2023-05-30

Family

ID=86439308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211611274.5A Pending CN116192734A (en) 2022-12-14 2022-12-14 Double-link service backup method based on mesh network

Country Status (1)

Country Link
CN (1) CN116192734A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1764134A (en) * 2004-10-21 2006-04-26 上海贝尔阿尔卡特股份有限公司 General access point, network communication system and its method
CN101160988A (en) * 2005-02-01 2008-04-09 Exs有限公司 Hierarchical mesh network for wireless access
WO2011078646A1 (en) * 2009-12-23 2011-06-30 Exs Network Technologies Sdn. Bhd Client load balancing, power management, and mobility in hierarchical wireless mesh networks
CN109889409A (en) * 2019-03-15 2019-06-14 深圳市领佳物联科技有限公司 Cable network and wireless network double copies chain-circuit system and implementation method
US20190313265A1 (en) * 2016-11-22 2019-10-10 Nec Platforms, Ltd. Wireless communication device, method, and recording medium
US20210282223A1 (en) * 2020-03-06 2021-09-09 Hewlett Packard Enterprise Development Lp Connecting access point to mesh network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1764134A (en) * 2004-10-21 2006-04-26 上海贝尔阿尔卡特股份有限公司 General access point, network communication system and its method
CN101160988A (en) * 2005-02-01 2008-04-09 Exs有限公司 Hierarchical mesh network for wireless access
WO2011078646A1 (en) * 2009-12-23 2011-06-30 Exs Network Technologies Sdn. Bhd Client load balancing, power management, and mobility in hierarchical wireless mesh networks
US20190313265A1 (en) * 2016-11-22 2019-10-10 Nec Platforms, Ltd. Wireless communication device, method, and recording medium
CN109889409A (en) * 2019-03-15 2019-06-14 深圳市领佳物联科技有限公司 Cable network and wireless network double copies chain-circuit system and implementation method
US20210282223A1 (en) * 2020-03-06 2021-09-09 Hewlett Packard Enterprise Development Lp Connecting access point to mesh network

Similar Documents

Publication Publication Date Title
CN105992262B (en) Self-adaptive mode switching method of wireless Mesh network
US10027508B2 (en) Extended ring-like communication architecture
US8953499B2 (en) Method and apparatus for establishing spanning trees
CN112789898B (en) Wireless communication network, communication control method and infrastructure equipment therein
CN102480753B (en) Link state detection method and device
US8139478B1 (en) Recovery method for an optical network
CN102014019B (en) Aggregated link switching method and device
US20090019130A1 (en) Network relay system and control method thereof
US20130272111A1 (en) Method and device for link fault detecting and recovering based on arp interaction
KR20090030320A (en) Mobile ad-hoc network(manet) and method for implementing mutiple paths for fault tolerance
KR101245856B1 (en) Multi radio mesh network system and the control method that support radio communication standard more than different kind
US20100008344A1 (en) Self-configurable wireless local area network node
KR20060114041A (en) Multi-system mesh network
CN100406900C (en) Methods and apparatus for uplink macro-diversity in packet-switched cellular networks
KR101401752B1 (en) Method for Electing Ring Manager of Ring Topology Network, and Node
JP2004501528A (en) Self-organizing network with decision engine
US8467286B2 (en) Load balancing and fault protection in aggregation networks
US8218433B2 (en) Monitoring connectivity in ring networks
CN101743723A (en) System and method for an adaptive access point mode
US20050220062A1 (en) Wireless LAN system containing a plurality of access points
CN116192734A (en) Double-link service backup method based on mesh network
US9071538B2 (en) Method for dynamically adjusting switching loop and network equipment
CN101834739A (en) Repeater network management system, and repeater network management communication method and device
JP3963308B2 (en) Packet repeater
CN113709002B (en) SDN controlled forwarding fallback method for high survivability private network under complex terrain

Legal Events

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