[go: up one dir, main page]

CN102624568B - A kind of Notification Method accessing circuit side link-failure state and device - Google Patents

A kind of Notification Method accessing circuit side link-failure state and device Download PDF

Info

Publication number
CN102624568B
CN102624568B CN201210104949.7A CN201210104949A CN102624568B CN 102624568 B CN102624568 B CN 102624568B CN 201210104949 A CN201210104949 A CN 201210104949A CN 102624568 B CN102624568 B CN 102624568B
Authority
CN
China
Prior art keywords
state
side link
oam
normal
fault
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.)
Active
Application number
CN201210104949.7A
Other languages
Chinese (zh)
Other versions
CN102624568A (en
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.)
Guangdong Institute Of Computing Technology Application
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210104949.7A priority Critical patent/CN102624568B/en
Publication of CN102624568A publication Critical patent/CN102624568A/en
Application granted granted Critical
Publication of CN102624568B publication Critical patent/CN102624568B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of Notification Method accessing circuit (AC) sidelinks malfunction, including: if it is determined that the state of AC sidelinks becomes normal from fault, then restart to send Operations, Administration and Maintenance (OAM) detection of connectivity (CC) message;If it is determined that the state of AC sidelinks is from normally becoming fault, then stop sending OAM CC message.The present invention further simultaneously discloses the notice device of a kind of AC sidelinks malfunction, use the present invention can make the oam state of pseudo-wire (PW) sidelinks and the oam state linkage of AC sidelinks, and reduce and judge whether AC sidelinks fault eliminates the spent time, improve switchback speed, and then minimizing network packet loss rate, improve the reliability of network.

Description

Method and device for notifying fault state of side link of access circuit
Technical Field
The present invention relates to a protection Switching technique in a two-Layer Virtual Private Network (L2 VPN) of a Multi-Protocol Label Switching (MPLS), and in particular, to a method and an apparatus for notifying an Access Circuit (AC) side link fault state.
Background
A protection Switching scheme provided by a Multi-Protocol Label Switching (MPLS) two-Layer Virtual Private Network (L2 VPN) is a Pseudo Wire (PW) dual-homing protection scheme, and its composition structure is shown in fig. 1: a Customer Edge (CE) device 1 is connected to a Provider Edge (PE, Provider Edge) device 1, and the PE device 1 doubly returns to a PE device 2 and a PE device 3 through a main PW and a standby PW, where the PE device 1 is a network device that manages the main/standby PW, a path between the PE device 1 and the PE device 2 is a path taken by a main pseudo wire PW1, and a path between the PE device 1 and the PE device 3 is a path taken by a standby pseudo wire PW 2; the link between the PE device 2 and the CE device 2 is an AC-side link. The PW dual-homing protection method comprises the following steps: under normal conditions, the working pseudo wire of the PE device 1 is PW1, and when the PE device 1 determines that a device or a link on PW1 or an AC side link fails, the PE device 1 switches the service to a standby pseudo wire PW 2; when PE device 1 determines that the device or link on PW1, or the AC side link, failed, PE device 1 switches service back to PW 1.
In the above PW dual-homing protection method, the PE device 1 determines whether a PW side link fails and whether the failure is eliminated, and the determination is implemented by an Operation, Administration and maintenance (OAM) Connectivity detection (CC) message, specifically: the PE equipment 2 continuously sends OAMC messages to the PE equipment 1, and once the PE equipment 1 detects that the OAMC messages sent by the PE equipment 2 are not received by the PE equipment, a PW side link is judged to be in fault; and when the PE equipment 1 receives the OAMC message again, judging that the PW side link fault is eliminated. In the PW dual-homing protection method, the PE device 1 determines whether the AC side link fails and whether the Failure is eliminated, and both the determination are implemented by detecting a Client Signal Failure (CSF) message, specifically: the PE equipment 1 detects whether the CSF message sent by the PE equipment 2 is received or not in real time, and if the CSF message is received, the PE equipment 1 judges that the AC side fails; after the PE device 1 opens the standby path PW2, it still detects in real time whether a CSF message sent by the PE device 2 is received, and if the PE device 1 does not receive a CSF message sent by the PE device 2 for a plurality of consecutive cycles (usually three cycles), the PE device 1 determines that the AC side link failure is resolved.
However, when determining that the AC side link failure is resolved, compared with the method for determining PW side link failure resolution, since the sending period of the CSF message is long (for example, the sending period of the CSF message is one second in general), and the PE device 1 needs to perform determination by using CSF messages of multiple periods, the switchback is slow; especially, when the system requires zero-delay cutback (WTR), the PE device 1 cannot timely determine whether the AC side link fault is resolved, so that the cutback speed cannot meet the requirement, thereby further affecting the reliability of the network.
It can be seen that, in the existing method for determining whether the AC side link fault is eliminated, due to the fact that much time is spent, the back switching is slow, and then a large amount of packet is lost, which affects the reliability of the network.
Disclosure of Invention
In view of this, an object of the present invention is to provide a method and an apparatus for notifying an AC sidelink fault state, which can enable an OAM state of a PW sidelink to be linked with an OAM state of an AC sidelink, reduce time taken to determine whether an AC sidelink fault is eliminated, improve a back-cut speed, further reduce a network packet loss rate, and improve network reliability.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention provides a method for notifying an AC side link fault state, which comprises the following steps:
if the state of the AC side link is determined to be changed from the fault to the normal state, restarting to send the OAM CC message;
and if the condition that the link at the AC side is changed from normal to failure is determined, stopping sending the OAMC message.
In the foregoing solution, before determining that the state of the AC-side link changes from the failure to the normal state, the method further includes: judging whether the current AC side link is in a normal working state, if so, detecting whether the state of the AC side link is changed from normal to fault in real time; if not, detecting whether the state of the AC side link is changed from the fault to normal or not in real time.
In the foregoing solution, after the detecting in real time whether the state of the AC side link changes from the fault to normal, the method further includes: if the AC side link is determined to be changed from the fault state to the normal state, restarting sending the OAMC message, and continuing to judge whether the current AC side link is in the normal working state; otherwise, it is continuously detected whether the state of the AC side link changes from failure to normal.
In the foregoing solution, after the detecting in real time whether the state of the AC side link changes from normal to failure, the method further includes: if the AC side link is determined to be changed from normal to fault, stopping sending the OAMCC message, and continuing to judge whether the current AC side link is in a normal working state; otherwise, it is continuously detected whether the state of the AC side link changes from normal to failure.
The present invention also provides an apparatus for notifying an AC side link failure state, the apparatus including: an active party OAM module and a follower party OAM module; wherein,
the active side OAM module is used for informing the following side OAM module to restart sending the OAMC message when the state of the AC side link is determined to be changed from the fault to the normal state; when the state of the AC side link is determined to be changed from normal to fault, informing the following party of the OAM module to stop sending the OAM CC message;
and the following party OAM module is used for sending the OAMCC messages or stopping sending the OAMCC messages according to the notification of restarting sending the OAMCC messages or stopping sending the OAMCC messages sent by the active party OAM module.
In the above scheme, the active OAM module is further configured to determine whether a current AC side link is in a normal operating state, and if so, start to detect whether a state of the AC side link changes from normal to a fault in real time; if not, real-time detection is started to determine whether the state of the AC side link is changed from failure to normal.
In the foregoing solution, the active OAM module is specifically configured to, when it is determined that the state of the AC side link changes from the fault to the normal state, notify the following OAM module to restart sending an OAM CC message, and then continue to determine whether the current AC side link is in the normal working state; otherwise, it is continuously detected whether the state of the AC side link changes from failure to normal.
In the foregoing solution, the active OAM module is specifically configured to notify the following OAM module to stop sending an OAM CC message when it is determined that the state of the AC side link changes from normal to faulty, and then continue to determine whether the current AC side link is in a normal working state; otherwise, it is continuously detected whether the state of the AC side link changes from normal to failure.
The method and the device for notifying the fault state of the AC side link can enable the network equipment to control the sending of the network equipment and stop sending the OAM CC message according to the state of the AC side link, and link the OAM state of the AC side link to the OAM state of the PW side link, so that the corresponding network equipment for managing the main/standby path does not need to make modification, still uses a mechanism for detecting the OAM CC message in the prior art, and carries out switching and back switching along with the state of the AC side link;
in addition, when the invention is used, the OAMC message can be sent again when the state of the AC side link is determined to be changed from the fault to the normal state, so that the control of the sending of the OAMC message according to the state of the AC side link can be realized, and the back switching can be carried out along with the state of the AC side link under the condition that the corresponding network equipment for managing the main/standby path does not need to be modified, therefore, the problem that the back switching speed is influenced because the fault elimination of the AC side link can be determined through a plurality of CSF message periods in the prior art can be avoided, the aims of reducing the time for judging whether the fault of the AC side link is eliminated and improving the back switching speed are achieved, and the network packet loss rate is reduced and the network reliability is improved through improving the back switching speed.
Drawings
FIG. 1 is a schematic structural diagram of a PW dual homing protection scheme;
FIG. 2 is a flow chart of a method for notifying an AC side link fault state according to the present invention;
fig. 3 is a schematic structural diagram of the notification apparatus for AC side link failure state according to the present invention.
Detailed Description
The basic idea of the invention is: if the state of the AC side link is determined to be changed from the fault to the normal state, restarting to send the OAM CC message; and if the condition that the link at the AC side is changed from normal to failure is determined, stopping sending the OAMC message.
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
The method for notifying the fault state of the AC side link, as shown in FIG. 2, comprises the following steps:
step 101: judging whether the current AC side link is in a normal working state, if so, executing a step 102; if not, go to step 104.
Here, the determination of whether the current AC side link is in the normal operation state is: according to the OAM function of the ethernet in the prior art (an OAM discovery mechanism in IEEE 802.3ah may be used, or a Connection Fault Management (CFM) function in IEEE 802.1ag may be used), or according to the specified judgment in the Bidirectional Forwarding Detection (BFD) technology in the prior art, the following may be determined: on the AC side link of the PE device, the judgment is performed by turning on its own ethernet OAM function or BFD function, which is not described herein again.
Step 102: detecting whether the state of the AC side link changes from normal to fault in real time, if so, executing step 103; otherwise, step 102 is repeated.
Here, the detecting whether the state of the AC side link changes from normal to failure may be performed according to the existing ethernet OAM function or the specification in the BFD technology, and may be: the PE equipment starts the Ethernet OAM function or BFD function of the PE equipment to detect the state of the AC side link connected with the PE equipment.
Step 103: and stopping sending the OAM CC message, and returning to the step 101.
Here, the composition and the sending method of the OAM CC message are prior art, and are not described herein again.
After the step 103 is completed, if the network device managing the primary/backup path detects that the OAMCC message is not received, the service on the primary path is switched to the backup path according to the prior art, which is not described herein again; the network device for managing the main/standby path is as follows: the network device at the network location where the PE device 1 shown in fig. 1 is located manages switching between the active path and the standby path and back-switching according to the prior art.
Step 104: detecting whether the state of the AC side link is changed from a fault to normal in real time, and if so, executing step 105; otherwise, step 104 is repeated.
Here, the detecting whether the state of the AC side link changes from the failure to the normal state is performed according to the specification of the existing ethernet OAM function or the BFD technology, and may be: the PE device detects the state of the AC side link connected with the PE device by starting the Ethernet OAM function or the BFD function of the PE device.
Step 105: and restarting sending the OAM CC message, and returning to the step 101.
After step 105 is completed, the network device that manages the primary/backup path and receives the OAM CC packet switches back the service to the primary path according to the prior art, which is not described herein.
The present invention provides an apparatus for notifying an AC side link failure state, as shown in fig. 3, including: an active side OAM module 21 and a follower side OAM module 22; wherein,
the active side OAM module 21 is configured to notify the following side OAM module 22 to restart sending an OAM CC message when it is determined that the state of the AC side link changes from a failure to normal; and when determining that the state of the AC side link changes from normal to failure, notifying the following party OAM module 22 to stop sending the OAM CC message;
and the following party OAM module 22 is configured to send an OAM CC message or stop sending the OAM CC message according to the notification that the active party OAM module 21 restarts sending the OAM CC message or stops sending the OAM CC message.
The active OAM module 21 is further configured to determine whether the current AC side link is in a normal operating state, and if so, start to detect whether the state of the AC side link changes from normal to a fault in real time; if not, real-time detection is started to determine whether the state of the AC side link is changed from failure to normal.
The active OAM module 21 may detect whether the current AC side link is in a normal working state, whether the state of the AC side link changes from normal to failure, and whether the state of the AC side link changes from failure to normal by starting its own ethernet OAM function or BFD function, where a specific implementation method is the prior art and is not described herein.
The active OAM module 21 is specifically configured to send a notification to stop sending the OAM CC message to the follower OAM module 22 when it is determined that the state of the AC side link changes from normal to faulty.
The following party OAM module 22 sends an OAM CC message to the corresponding network device according to the technology specified by the existing MPLS-TP OAM function, which is not described herein again.
The active OAM module 21 is specifically configured to send a notification to restart sending an OAM CC message to the following OAM module 22 when it is determined that the state of the AC side link changes from the failure to the normal state.
The active side OAM module and the follower side OAM module can be used as functional modules to be installed in PE equipment connected with an AC side link.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (6)

1. A method for notifying an AC side link fault condition of an access circuit, the method comprising:
linking the OAM state of the AC side link to the OAM state of the pseudo wire PW side link;
if the state of the AC side link is determined to be changed from the fault to the normal state, the network equipment connected with the AC side link controls the network equipment to restart sending operation, administration and maintenance (OAM) connectivity detection (CC) messages, and the network equipment which manages the main/standby path and receives the OAM CC messages switches back the service on the standby path to the main path;
if the state of the AC side link is determined to be changed from normal to fault, the network equipment connected with the AC side link controls the network equipment to stop sending the OAMC message, and the network equipment managing the main/standby path detects that the OAMC message is not received and switches the service on the main path to the standby path;
before the determining that the state of the AC side link changes from the failure to normal, the method further includes: judging whether the current AC side link is in a normal working state, if so, detecting whether the state of the AC side link is changed from normal to fault in real time; if not, detecting whether the state of the AC side link is changed from the fault to normal or not in real time.
2. The method of claim 1, wherein after detecting whether the state of the AC side link changes from failure to normal in real time, the method further comprises: if the AC side link is determined to be changed from the fault state to the normal state, restarting sending the OAMC message, and continuing to judge whether the current AC side link is in the normal working state; otherwise, it is continuously detected whether the state of the AC side link changes from failure to normal.
3. The method of claim 1, wherein after detecting whether the state of the AC side link changes from normal to failed in real time, the method further comprises: if the AC side link is determined to be changed from normal to fault, stopping sending the OAMC message, and continuing to judge whether the current AC side link is in a normal working state; otherwise, it is continuously detected whether the state of the AC side link changes from normal to failure.
4. An apparatus for notifying an AC side link failure state for linking an OAM state of an AC side link to an OAM state of a pseudo wire PW side link, comprising: an active party OAM module and a follower party OAM module; wherein,
the active side OAM module is used for informing the following side OAM module to restart sending the OAMC message when the state of the AC side link is determined to be changed from the fault to the normal state; when the state of the AC side link is determined to be changed from normal to fault, informing the following party of the OAM module to stop sending the OAM CC message; when the OAM module of the following party sends an OAM CC message, switching back the service on the standby path to the main path; when the following party OAM module stops sending the OAM CC message, the service on the main path is switched to the standby path;
the follow-party OAM module is used for sending the OAMCC messages or stopping sending the OAMCC messages according to the notice of restarting sending the OAMCC messages or stopping sending the OAMCC messages sent by the active-party OAM module;
the active side OAM module is also used for judging whether the current AC side link is in a normal working state, and if so, starting to detect whether the state of the AC side link is changed from normal to fault in real time; if not, real-time detection is started to determine whether the state of the AC side link is changed from failure to normal.
5. The apparatus of claim 4,
the active side OAM module is specifically configured to notify the following side OAM module to restart sending an OAM CC message when it is determined that the state of the AC side link changes from a fault to normal, and then continue to determine whether the current AC side link is in a normal working state; otherwise, it is continuously detected whether the state of the AC side link changes from failure to normal.
6. The apparatus of claim 4,
the active side OAM module is specifically configured to notify the following side OAM module to stop sending the OAM CC message when it is determined that the state of the AC side link is changed from normal to fault, and then continue to determine whether the current AC side link is in a normal working state; otherwise, it is continuously detected whether the state of the AC side link changes from normal to failure.
CN201210104949.7A 2012-04-11 2012-04-11 A kind of Notification Method accessing circuit side link-failure state and device Active CN102624568B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210104949.7A CN102624568B (en) 2012-04-11 2012-04-11 A kind of Notification Method accessing circuit side link-failure state and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210104949.7A CN102624568B (en) 2012-04-11 2012-04-11 A kind of Notification Method accessing circuit side link-failure state and device

Publications (2)

Publication Number Publication Date
CN102624568A CN102624568A (en) 2012-08-01
CN102624568B true CN102624568B (en) 2016-09-28

Family

ID=46564259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210104949.7A Active CN102624568B (en) 2012-04-11 2012-04-11 A kind of Notification Method accessing circuit side link-failure state and device

Country Status (1)

Country Link
CN (1) CN102624568B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916270B (en) * 2014-03-21 2017-06-13 烽火通信科技股份有限公司 The system for realizing Link State Pass Through function based on PTN, method and device
CN105703929A (en) * 2014-11-25 2016-06-22 中兴通讯股份有限公司 Management path switching method, management path switching device and management path switching system
CN108471369B (en) * 2018-06-27 2021-01-15 深圳创维数字技术有限公司 Network dialing method, device and storage medium
WO2020167773A1 (en) 2019-02-12 2020-08-20 Idac Holdings, Inc. Method for sidelink radio link monitoring and determining radio link failure

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697401A (en) * 2004-05-10 2005-11-16 阿尔卡特公司 Remote Access Link Fault Indication Mechanism
CN101984591A (en) * 2010-10-13 2011-03-09 中兴通讯股份有限公司 Service convergence method and system in transport-multiprotocol label switching network
CN102160337A (en) * 2008-09-09 2011-08-17 爱立信电话股份有限公司 Reducing cc message transmission in a provider network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101944951B (en) * 2010-08-30 2016-01-20 中兴通讯股份有限公司 The method of switching back links between networks and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697401A (en) * 2004-05-10 2005-11-16 阿尔卡特公司 Remote Access Link Fault Indication Mechanism
CN102160337A (en) * 2008-09-09 2011-08-17 爱立信电话股份有限公司 Reducing cc message transmission in a provider network
CN101984591A (en) * 2010-10-13 2011-03-09 中兴通讯股份有限公司 Service convergence method and system in transport-multiprotocol label switching network

Also Published As

Publication number Publication date
CN102624568A (en) 2012-08-01

Similar Documents

Publication Publication Date Title
US9602373B2 (en) Method, apparatus and system for dual-homing protection switching
EP2528272A1 (en) Dual-attached protection switching method based on vpls and system thereof
US9521055B2 (en) Network connectivity management
EP2951959B1 (en) Using ethernet ring protection switching with computer networks
US10708132B2 (en) Technique for handling a status change in an interconnect node
EP3171555A1 (en) Fault detection method for virtual router redundancy protocol and router device
JP5170001B2 (en) Node device, processing unit, and control frame processing method
CN102624568B (en) A kind of Notification Method accessing circuit side link-failure state and device
CN101873223A (en) N+M service backup mechanism based on IP switching
CN104796329B (en) A kind of link automatic switching method and device
CN100461706C (en) Method for recovering sponsor media accessing control address and operation businesss edge apparatus
CN105306330A (en) Network protection method and device, and primary convergence network element in network
CN101777997A (en) Method and system for switching flow of network link
EP2613477B1 (en) Method for triggering route switching and service provider-end provider edge device
WO2015139534A1 (en) System, method and apparatus for achieving link-state pass through function based on ptn
WO2015109734A1 (en) Pseudo wire protection method, device and node
CN104579953B (en) A kind of method, Virtual Router Redundancy Protocol backup group and network for issuing routing
CN104468347B (en) Control method and device of the network data from loopback
CN107040392B (en) Pseudo wire dual-homing protection management method and communication equipment
CN106411546B (en) Pseudo wire dual-homing protection control method and communication equipment
WO2013155940A1 (en) Method and device for reporting fault generation and disappearance
US20120230207A1 (en) Early detection of loss of continuity in a maintenance association
CN104348676A (en) Link detection method and device based on operation administration and maintenance
CN101321050A (en) Method and system for implementing multi-machine hot backup of bridge network accelerating device
CN105530113A (en) Method and device for realizing protection switching of spanning tree protocol

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
CB03 Change of inventor or designer information

Inventor after: Chen Guochang

Inventor after: Gu Xiaoxiong

Inventor after: Feng Diehua

Inventor after: Chen Zhijun

Inventor after: Liu Peipeng

Inventor before: Li Jing

COR Change of bibliographic data
TR01 Transfer of patent right

Effective date of registration: 20170221

Address after: 510000 Yuexiu District, Guangzhou, new road, No. 171, building No. 1, building No.

Patentee after: Guangdong Institute of computing technology application

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Patentee before: ZTE Corporation