CN110995585A - Link non-load sharing protection method - Google Patents
Link non-load sharing protection method Download PDFInfo
- Publication number
- CN110995585A CN110995585A CN201911262207.5A CN201911262207A CN110995585A CN 110995585 A CN110995585 A CN 110995585A CN 201911262207 A CN201911262207 A CN 201911262207A CN 110995585 A CN110995585 A CN 110995585A
- Authority
- CN
- China
- Prior art keywords
- link
- standby
- main
- main link
- load sharing
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/70—Routing based on monitoring results
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to a link non-load sharing protection method, which comprises the following steps: a non-load sharing group is established between user access equipment and an access network, only two group members are added in the non-load sharing group, one is a main link and the other is a standby link, under normal conditions, the main link is used as a default link for forwarding data, the standby link is in an idle state for a long time, the main link and the standby link are respectively configured with a fault detection mechanism and register event interruption, and when the main link is detected to be in fault, the main link is DOWN, and data flow of the main link is switched to the standby link; similarly, when the fault of the standby link is detected, the standby link is DOWN, and the data stream of the standby link is switched to the main link. The problem that the user cannot use the network or is in a network interruption state for a long time when the link fails is solved.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a link non-load sharing protection method.
Background
At present, based on the whole communication network topology structure, an access layer, a convergence layer and a core layer all have mature protection mechanisms, such as LSP/PW protection, ring network protection, etc., and an effective protection measure is lacked between a user access device and the access layer, when a link between the user access device and an access network fails, communication between users is interrupted, thereby causing abnormal communication between users.
Disclosure of Invention
Aiming at the technical problems in the prior art, the invention provides a link non-load sharing protection method, which solves the problem that a user cannot use a network or is in a network interruption state for a long time when a link fails.
The technical scheme for solving the technical problems is as follows: a link non-load sharing protection method comprises the following steps: a non-load sharing group is established between user access equipment and an access network, only two group members are added in the non-load sharing group, one is a main link and the other is a standby link, under normal conditions, the main link is used as a default link for forwarding data, the standby link is in an idle state for a long time, the main link and the standby link are respectively configured with a fault detection mechanism and register event interruption, and when the main link is detected to be in fault, the main link is DOWN, and data flow of the main link is switched to the standby link; similarly, when the fault of the standby link is detected, the standby link is DOWN, and the data stream of the standby link is switched to the main link.
The invention has the beneficial effects that: a link protection mechanism is set between the user access equipment and the access network, and the condition that the user network is interrupted to fail to realize the communication between the user and the user when one link fails is avoided.
On the basis of the technical scheme, the invention can be further improved as follows.
Further, the failure detection mechanism is BFD or OAM, and when a link failure is detected, the link switching time is less than 50 ms.
BFD is a bidirectional forwarding detection mechanism, can provide millisecond detection, and can realize rapid detection of a link, and BFD can realize rapid convergence of a route by linking with an upper layer routing protocol, so that the continuity of a service is ensured. The OAM is used to monitor the link state between two point-to-point connected devices, and monitor various performances of the link, including the measurement of packet loss, time delay and jitter, and the statistics of various flows; the connectivity of the link can be detected by sending a detection message, and a network administrator is informed in time when the link fails; and link failure can be detected through loopback of non-Ethernet OAM protocol messages.
The beneficial effect of adopting the further scheme is that: when the main link fails, the link failure can be quickly detected through BFD or OAM, and the data stream of the main link is switched to the standby link within 50ms, so that a user can hardly perceive the link failure, and the user experience is improved.
On the basis of the technical scheme, the invention can be further improved as follows.
Further, when the main link is detected to be recovered normally, if the standby link is UP, the waiting recovery Timer is started. When the timer is overtime, the data flow is automatically switched to the main link which is recovered to be normal.
The beneficial effect of adopting the further scheme is that: the purpose of this is to prevent the main link from oscillating and causing frequent switching of the link.
On the basis of the technical scheme, the invention can be further improved as follows.
Further, before the waiting Timer does not time out, if the main link or the standby link is detected to have a fault, the waiting recovery Timer is automatically cleared.
The beneficial effect of adopting the further scheme is that: the aim of the processing is to further ensure the network to be smooth and avoid the switched link from being a fault link after the timer is overtime.
On the basis of the technical scheme, the invention can be further improved as follows.
Further, the failure detection mechanism configured by the main link and the standby link is consistent.
The beneficial effect of adopting the further scheme is that: the main link and the standby link adopt the same fault detection mechanism, which is more beneficial to management, so that the link switching time and the interrupt response time are the same.
Drawings
FIG. 1 is a system architecture diagram of the present invention;
fig. 2 is a schematic diagram of a non-load sharing creation process and a switching mechanism according to the present invention.
Fig. 3 is a flow of waiting for recovery Timer processing according to the present invention.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, the present embodiment discloses a link non-load sharing protection method, which includes the following steps: a non-load sharing group is established between user access equipment and an access network, only two group members are added in the non-load sharing group, one is a main link and the other is a standby link, under normal conditions, the main link is used as a default link for forwarding data, the standby link is in an idle state for a long time, the main link and the standby link are respectively configured with a fault detection mechanism and register event interruption, and when the main link is detected to be in fault, the main link is DOWN, and data flow of the main link is switched to the standby link; similarly, when the fault of the standby link is detected, the standby link is DOWN, and the data stream of the standby link is switched to the main link.
In one embodiment, the user access equipment is connected with a computer host, and a server is connected to one side of the access network. When the network is deployed, a non-load sharing group is configured on a user access device and an access network device, two links are added to the non-load sharing group in a master and standby mode, when a service is configured, the non-load sharing group needs to be added to the service, and in addition, a link detection mechanism, such as BFD or OAM, needs to be configured. When the configured detection mechanism detects a link failure, the link switching time is less than 50ms, where the link switching time refers to the time for switching a data stream from the main link to the standby link when the main link fails, or the time for switching a data stream from the standby link to the main link when the standby link fails.
As shown in fig. 2, fig. 2 is a schematic diagram of a non-load sharing creation process and a switching mechanism; according to the steps shown in fig. 2, firstly, a non-load sharing group needs to be created, and then a main link and a standby link are added into the non-load sharing group, wherein the main link is used as a default link for forwarding data streams, then a failure detection mechanism of the two links is configured, an event is interrupted by registration, and when the main link is detected to have a failure, if the standby link UP occurs, the data streams of the main link are switched to the standby link; and when the standby link fails, switching the data stream to the main link.
On the basis of the above scheme, if the main link is detected to be failed and the data stream is switched to the standby link, when the main link is recovered, if the standby link is UP, the standby recovery Timer is started, and if the main link is not recovered, the standby link is continuously used. In the starting state of the waiting recovery Timer, if the waiting recovery Timer is not overtime, and if the main link or the standby link is detected to be failed, the waiting recovery Timer is automatically cleared. The purpose of this method is to prevent the main link state from oscillating and causing frequent switching of the link.
The specific process flow of waiting for recovery Timer is shown in fig. 3.
In addition, in this embodiment, the failure detection mechanism configured for the primary link and the backup link is the same. The main link and the standby link adopt the same fault detection mechanism, which is more beneficial to management, so that the link switching time and the interrupt response time are the same.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (5)
1. A link non-load sharing protection method is characterized by comprising the following steps: the method comprises the steps of establishing a non-load sharing group between user access equipment and an access network, adding a main link and a standby link in the non-load sharing group, wherein the main link is used as a default link for forwarding data, the standby link is in an idle state for a long time, the main link and the standby link are respectively configured with a fault detection mechanism and register event interruption, when the main link is detected to have a fault, switching data flow of the main link to the standby link, and when the standby link is detected to have the fault, switching data flow of the standby link to the main link.
2. The method according to claim 1, wherein the failure detection mechanism is BFD or OAM, and when a link failure is detected, the link switching time is less than 50 ms.
3. The method as claimed in claim 2, wherein when it is detected that the main link is recovering to normal, if the standby link is UP, a wait recovery Timer is started, and when the Timer times out, the data stream is automatically switched to the main link that has recovered to normal.
4. The method as claimed in claim 3, wherein the waiting recovery Timer is automatically cleared if the primary link or the backup link is detected to have failed before the waiting Timer expires.
5. The method as claimed in claim 4, wherein the failure detection mechanism configured for the primary link and the backup link is the same.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911262207.5A CN110995585A (en) | 2019-12-10 | 2019-12-10 | Link non-load sharing protection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911262207.5A CN110995585A (en) | 2019-12-10 | 2019-12-10 | Link non-load sharing protection method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110995585A true CN110995585A (en) | 2020-04-10 |
Family
ID=70092118
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911262207.5A Pending CN110995585A (en) | 2019-12-10 | 2019-12-10 | Link non-load sharing protection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110995585A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101159669A (en) * | 2007-10-09 | 2008-04-09 | 华为技术有限公司 | Method and device for switching service traffic |
CN102281168A (en) * | 2011-05-10 | 2011-12-14 | 中兴通讯股份有限公司 | Link fault processing method and device based on OAM (Operation Administration and Maintenance) alarm detection |
CN102820990A (en) * | 2012-02-29 | 2012-12-12 | 中兴通讯股份有限公司 | Method and device for switching service protection |
CN106160843A (en) * | 2015-04-23 | 2016-11-23 | 中兴通讯股份有限公司 | The response method of a kind of single fiber fault and device |
CN107070676A (en) * | 2016-11-16 | 2017-08-18 | 武汉瑞盈通网络技术有限公司 | The virtualized management method of the network equipment |
CN109218045A (en) * | 2017-06-30 | 2019-01-15 | 中兴通讯股份有限公司 | A kind of link switch-over method and device |
CN109787895A (en) * | 2019-03-29 | 2019-05-21 | 烽火通信科技股份有限公司 | A kind of dual-homing protection method, access node, equipment and communication network |
-
2019
- 2019-12-10 CN CN201911262207.5A patent/CN110995585A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101159669A (en) * | 2007-10-09 | 2008-04-09 | 华为技术有限公司 | Method and device for switching service traffic |
CN102281168A (en) * | 2011-05-10 | 2011-12-14 | 中兴通讯股份有限公司 | Link fault processing method and device based on OAM (Operation Administration and Maintenance) alarm detection |
CN102820990A (en) * | 2012-02-29 | 2012-12-12 | 中兴通讯股份有限公司 | Method and device for switching service protection |
CN106160843A (en) * | 2015-04-23 | 2016-11-23 | 中兴通讯股份有限公司 | The response method of a kind of single fiber fault and device |
CN107070676A (en) * | 2016-11-16 | 2017-08-18 | 武汉瑞盈通网络技术有限公司 | The virtualized management method of the network equipment |
CN109218045A (en) * | 2017-06-30 | 2019-01-15 | 中兴通讯股份有限公司 | A kind of link switch-over method and device |
CN109787895A (en) * | 2019-03-29 | 2019-05-21 | 烽火通信科技股份有限公司 | A kind of dual-homing protection method, access node, equipment and communication network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8886831B2 (en) | System and methodology for fast link failover based on remote upstream failures | |
CN102137017B (en) | Working method and device used for virtual network unit | |
US8117337B2 (en) | Method and device for implementing link pass through in point-to-multipoint network | |
CA2861984C (en) | Technique for handling a status change in an interconnect node | |
CN101340380B (en) | Method and apparatus for uninterrupted forwarding of bi-directional forwarding detection in master-slave switch implementation | |
EP2352253A1 (en) | Method and apparatus for protecting link aggregation group of ethernet ring | |
WO2009082923A1 (en) | Link fault processing method and data forwarding device | |
US9385944B2 (en) | Communication system, path switching method and communication device | |
CN104301146A (en) | Link switching method and device in software defined network | |
CN106533736B (en) | Network equipment restarting method and device | |
JP5170001B2 (en) | Node device, processing unit, and control frame processing method | |
WO2011143876A1 (en) | Master/backup switching method and device for service nodes | |
JP2009303092A (en) | Network equipment and line switching method | |
CN103227725A (en) | Method and device for dual-server backup of firewall | |
CN107431655B (en) | Method and apparatus for fault propagation in segmentation protection | |
CN102238067B (en) | Switching method and device on Rapid Ring Protection Protocol (RRPP) ring | |
JP2012231223A (en) | Access system and redundancy switching method | |
CN106656311A (en) | Data link backup apparatus and method | |
CN106453074A (en) | Switching method and apparatus | |
JP2010239279A (en) | Communication apparatus and method thereof, and communication system and method thereof | |
WO2013078997A1 (en) | Method for processing fault in mrp ring network, and mrp ring network | |
CN105049349A (en) | Relay System and Switching Device | |
CN106330699B (en) | Multicast link switching method and device and routing equipment | |
JP2004104186A (en) | Circuit switching system and method thereof | |
EP3462681B1 (en) | Apparatus and method for transmitting multicast service |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200410 |
|
RJ01 | Rejection of invention patent application after publication |