A kind of Notification Method accessing circuit side link-failure state and device
Technical field
The present invention relates to the two of multiprotocol label switching (MPLS, Multi-Protocol Label Switching)
Pretection switch technology in layer virtual private network (L2VPN, Layer 2Virtual Private Network),
Particularly relate to a kind of Notification Method accessing circuit (AC, Attachment Circuit) sidelinks malfunction
And device.
Background technology
Multiprotocol label switching (MPLS, Multi-Protocol Label Switching) Layer 2 virtual private network
The scheme of a kind of pretection switch that (L2VPN, Layer 2Virtual Private Network) provides is pseudo-wire
(PW, Pseudo Wire) dual-homing protection scheme, its composition structure as shown in Figure 1: customer edge (CE,
Customer Edge) equipment 1 is connected with Provider Edge (PE, Provider Edge) equipment 1, and PE sets
Standby 1 by active and standby PW dual homed to PE equipment 2 and PE equipment 3, and wherein, PE equipment 1 is management
The network equipment of active/standby PW, the path between PE equipment 1 and PE equipment 2 is primary pseudo-wire PW1 institute
The path walked, the path that the path between PE equipment 1 and PE equipment 3 is walked by standby pseudo-wire PW2;
Link between PE equipment 2 and CE equipment 2 is AC sidelinks.PW dual-homing protection method is: normal
In the case of, PE equipment 1 pseudo-wire that works is PW1, when PE equipment 1 judge the equipment on PW1 or link,
Or when AC sidelinks breaks down, business is switched to standby pseudo-wire PW2 by PE equipment 1;When PE sets
On standby 1 judgement PW1 when equipment or link or AC sidelinks trouble shooting, PE equipment 1 is by business
Switchback is to PW1.
In above-mentioned PW dual-homing protection method, PE equipment 1 judges whether PW sidelinks breaks down and event
Whether barrier eliminates, by Operations, Administration and Maintenance (OAM, Operation Administration and
Maintenance) detection of connectivity (CC, Continuity and Connectivity Check) message comes
Realize, particularly as follows: PE equipment 2 continuously sends OAM CC message to PE equipment 1, once
PE equipment 1 detects and self is not received by the OAM CC message that PE equipment 2 is sent, then judge PW
Sidelinks breaks down;When PE equipment 1 receives OAM CC message again, it is determined that the event of PW sidelinks
Barrier eliminates.In above-mentioned PW dual-homing protection method, PE equipment 1 judge AC sidelinks whether break down with
And whether fault eliminates, all reported by detection Client Signal Fail (CSF, Customer Signal Failure)
Literary composition realizes, particularly as follows: PE equipment 1 detects whether to receive the CSF message that PE equipment 2 is sent in real time,
If receiving, then PE equipment 1 judges to break down in AC side;After PE equipment 1 opens backup path PW2,
Detect whether the most in real time to receive the CSF message that PE equipment 2 is sent, if PE equipment 1 several weeks continuous
Phase (usually three cycles) confiscates the CSF message that PE equipment 2 is sent, then PE equipment 1 judges
AC sidelinks trouble shooting.
But, compared with the method judging PW sidelinks trouble shooting, it is determined that AC sidelinks trouble shooting
Time, due to the transmission cycle of described CSF message longer (such as generally the transmission cycle of CSF message is one second),
And PE equipment 1 needs to be judged by the CSF message in multiple cycles, so switchback can be made slower;
Especially as system requirements zero propagation switchback (WTR, Wait To Restore), can be due to PE equipment 1
Cannot judge whether AC sidelinks fault releases in time, cause switchback speed to be unable to reach requirement, thus,
Affect the reliability of network further.
Visible, in the method whether current existing AC of judgement sidelinks fault eliminates, more owing to spending
Time, cause switchback slow, and then a large amount of packet loss, affect the reliability of network.
Summary of the invention
In view of this, it is an object of the invention to provide a kind of AC sidelinks malfunction Notification Method and
Device, can make the oam state of PW sidelinks and the oam state linkage of AC sidelinks, and reduce
Judge whether AC sidelinks fault eliminates the spent time, improve switchback speed, and then minimizing network is lost
Bag rate, improves the reliability of network.
For reaching above-mentioned purpose, the technical scheme is that and be achieved in that:
The invention provides the Notification Method of a kind of AC sidelinks malfunction, the method includes:
If it is determined that the state of AC sidelinks becomes normal from fault, then restart to send OAM CC report
Literary composition;
If it is determined that the state of AC sidelinks is from normally becoming fault, then stop sending OAM CC message.
In such scheme, the state of the described AC of determination sidelinks from fault become normal before, the method
Also include: judge whether current AC sidelinks is in normal operating conditions, detect institute the most in real time
In the state of AC sidelinks whether from normally becoming fault;If it is not, detect AC sidelinks the most in real time
State whether become normal from fault.
In such scheme, the state of described real-time detection AC sidelinks whether from fault become normal after,
The method also includes: if it is determined that the state of AC sidelinks becomes normal from fault, then restart to send
OAM CC message, is further continued for judging whether current AC sidelinks is in normal operating conditions;Otherwise,
Whether the state continuing detection AC sidelinks becomes normal from fault.
In such scheme, the state of described real-time detection AC sidelinks whether after normally becoming fault,
The method also includes: if it is determined that the state of AC sidelinks is from normally becoming fault, then stop sending OAM
CC message, is further continued for judging whether current AC sidelinks is in normal operating conditions;Otherwise, inspection is continued
Whether survey the state of AC sidelinks from normally becoming fault.
Present invention also offers the notice device of a kind of AC sidelinks malfunction, this device includes: actively
Side's OAM module and the side's of following OAM module;Wherein,
Masters OAM module, for when the state determining AC sidelinks becomes normal from fault, logical
Know that the side's of following OAM module restarts to send OAM CC message;And when determining the shape of AC sidelinks
State is in time normally becoming fault, and the notice side of following OAM module stops sending OAM CC message;
The side's of following OAM module, restarts transmission OAM for send according to masters OAM module
CC message or stopping send the notice of OAM CC message, send OAM CC message or stop sending
OAM CC message.
In such scheme, described masters OAM module, it is additionally operable to whether judge current AC sidelinks
Be in normal operating conditions, the most whether the state starting to detect in real time AC sidelinks becomes from normal
For fault;If it is not, whether the state then starting to detect in real time AC sidelinks becomes normal from fault.
In such scheme, described masters OAM module, specifically for when the state determining AC sidelinks
When fault becomes normal, then the notice side of following OAM module restarts to send OAM CC message,
It is further continued for judging whether current AC sidelinks is in normal operating conditions;Otherwise, detection AC side is continued
Whether the state of link becomes normal from fault.
In such scheme, described masters OAM module, specifically for when the state determining AC sidelinks
In time normally becoming fault, then the notice side of following OAM module stops sending OAM CC message, followed by
Continue and judge whether current AC sidelinks is in normal operating conditions;Otherwise, detection AC sidelinks is continued
State whether from normally becoming fault.
The Notification Method of AC sidelinks malfunction provided by the present invention and device, can make network equipment root
Control the transmission of self according to the state of AC sidelinks and stop sending the function of OAM CC message, by AC
The oam state of sidelinks links the oam state of PW sidelinks, and then, corresponding management is active/standby
The network equipment in path is not required to make amendment, still uses and detect the machine of OAM CC message in prior art
System, along with the state of AC sidelinks switches over and switchback;
It addition, the use present invention can be when the state determining AC sidelinks be become normal from fault, again
Start to send OAM CC message, so, can realize controlling OAM CC according to AC sidelinks state
The transmission of message, in the case of making the network equipment managing active/standby path of correspondence be not required to make amendment, with
The state AC sidelinks carries out switchback, so, so that it may avoid needing in prior art to report through multiple CSF
The problem affecting switchback speed that the literary composition cycle could determine AC sidelinks Failure elimination and bring, and then reach
Reduce and judge whether AC sidelinks fault eliminates the spent time, improve the purpose of switchback speed, and lead to
Cross and improve switchback velocity interpolation minimizing network packet loss rate and improve the reliability of network.
Accompanying drawing explanation
Fig. 1 is the composition structural representation of PW dual-homing protection scheme;
Fig. 2 is the Notification Method schematic flow sheet of AC sidelinks malfunction of the present invention;
Fig. 3 is the composition structural representation of the notice device of AC sidelinks malfunction of the present invention.
Detailed description of the invention
The basic thought of the present invention is: if it is determined that the state of AC sidelinks becomes normal from fault, then weigh
Newly start to send OAM CC message;If it is determined that the state of AC sidelinks is from normally becoming fault, then stop
Only send OAM CC message.
Below in conjunction with the accompanying drawings and specific embodiment the present invention is further described in more detail.
The Notification Method of a kind of AC sidelinks malfunction that the present invention provides, as in figure 2 it is shown, include
Following steps:
Step 101: judge whether current AC sidelinks is in normal operating conditions, the most then perform
Step 102;If it is not, then perform step 104.
Here, described judge whether current AC sidelinks is in normal operating conditions and is: according to existing skill
Ethernet OAM function in art (can use the OAM discovery mechanism in IEEE 802.3ah or
Connection fault management (CFM, Connectivity Fault Management) merit in IEEE 802.1ag
Can), or according to two-way converting detection (BFD, Bidirectional Forwarding in prior art
Detection) regulation in technology judges, Ke Yiwei: in the AC sidelinks of PE equipment, pass through
Ethernet OAM function or the BFD function of opening self judge, do not repeat.
Step 102: whether the state of detection AC sidelinks is from normally becoming fault, the most in real time
Perform step 103;Otherwise, repeated execution of steps 102.
Here, whether the state of described detection AC sidelinks is from normally becoming fault for according to existing ether
Regulation in net OAM(Operation Administration Maintenance) or BFD technology detects, Ke Yiwei: PE opening of device self
The state of the AC sidelinks that Ethernet OAM function or BFD Function detection self connect.
Step 103: stop sending OAM CC message, return step 101.
Here, composition and the transmission mode of described OAM CC message are prior art, do not repeat.
After above-mentioned steps 103 completes, manage the network equipment in active/standby path and detect and be not received by OAM
CC message, then be switched to backup path according to prior art by the business on primary path, do not do
Repeat;The network equipment in the active/standby path of described management is: be in residing for PE equipment 1 as shown in Figure 1
The network equipment of network site, according to the switching between prior art management primary path and backup path
And switchback.
Step 104: whether the state of detection AC sidelinks becomes normal from fault in real time, the most then hold
Row step 105;Otherwise, repeated execution of steps 104.
Here, whether the state of described detection AC sidelinks becomes normal for according to existing ether from fault
Regulation in net OAM(Operation Administration Maintenance) or BFD technology detects, and Ke Yiwei: PE equipment is by opening certainly
The state of the AC sidelinks that the Ethernet OAM function of body or BFD Function detection self connect.
Step 105: restart to send OAM CC message, return step 101.
After step 105 completes, receive the network equipment managing active/standby path of described OAM CC message,
According to prior art by service switchback to primary path, do not repeat.
The present invention proposes the notice device of a kind of AC sidelinks malfunction, as it is shown on figure 3, include: main
Dynamic side OAM module 21 and the side's of following OAM module 22;Wherein,
Masters OAM module 21, is used for when the state determining AC sidelinks becomes normal from fault,
The notice side of following OAM module 22 restarts to send OAM CC message;And when determining AC side chain
The state on road is in time normally becoming fault, and the notice side of following OAM module 22 stops sending OAM CC report
Literary composition;
The side's of following OAM module 22, for according to masters OAM module 21 send restart send out
Send OAM CC message or stop sending the notice of OAM CC message, sending OAM CC message or stopping
Send OAM CC message.
Described masters OAM module 21, is additionally operable to judge whether current AC sidelinks is in normal work
Make state, the most then start whether to detect the state of AC sidelinks in real time from normally becoming fault;If
Not, then whether the state starting to detect in real time AC sidelinks becomes normal from fault.
Described masters OAM module 21 can be by opening self Ethernet OAM function or BFD
Function detection current AC sidelinks whether be in normal operating conditions, AC sidelinks state whether from
Whether the state normally becoming fault and AC sidelinks becomes normal from fault, concrete methods of realizing
For prior art, do not repeat.
Described masters OAM module 21, specifically for when determining that the state of AC sidelinks is from normally becoming
During fault, the notice stopping sending OAM CC message is sent to the side's of following OAM module 22.
The technology that the described side of following OAM module 22 specifies according to existing MPLS-TP OAM(Operation Administration Maintenance) is to right
The network equipment answered sends OAM CC message, does not repeats.
Described masters OAM module 21, specifically for when determining that the state of AC sidelinks becomes from fault
Time normal, the notice restarting to send OAM CC message is sent to the side's of following OAM module 22.
Above-mentioned masters OAM module and the side's of following OAM module all can be arranged on even as functional module
Connect in the PE equipment of AC sidelinks.
The above, only presently preferred embodiments of the present invention, it is not intended to limit the protection of the present invention
Scope.