CN105656776A - Pseudo-wire dual-homing protection switching system, method and device - Google Patents

Pseudo-wire dual-homing protection switching system, method and device Download PDF

Info

Publication number
CN105656776A
CN105656776A CN201410715264.5A CN201410715264A CN105656776A CN 105656776 A CN105656776 A CN 105656776A CN 201410715264 A CN201410715264 A CN 201410715264A CN 105656776 A CN105656776 A CN 105656776A
Authority
CN
China
Prior art keywords
node
dnipw
side source
flow
protection
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.)
Granted
Application number
CN201410715264.5A
Other languages
Chinese (zh)
Other versions
CN105656776B (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.)
ZTE Corp
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 CN201410715264.5A priority Critical patent/CN105656776B/en
Priority to PCT/CN2015/074617 priority patent/WO2016086548A1/en
Publication of CN105656776A publication Critical patent/CN105656776A/en
Application granted granted Critical
Publication of CN105656776B publication Critical patent/CN105656776B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a pseudo-wire dual-homing protection switching system, comprising a main node, a standby node, a network side source node and a user side source node, wherein a work PW is arranged between the main node and the network side source node, a protection PW is arranged between the standby node and the network side source node, a work AC is arranged between the main node and the user side source node, and a protection AC is arranged between the standby node and the user side source node; a first DNI PW and a second DNI PW are arranged between the main node and the standby node; the first DNI PW is used for protecting the work AC on the main node and loading the traffic from the network side source node, as well as protecting the protection PW on the standby node and loading the traffic from the user side source node; and the second DNI PW is used for protecting the work PW on the main node and loading the traffic from the user side source node, as well as protecting the protection AC on the standby node and loading the traffic from the network side source node. The invention further discloses a pseudo-wire dual-homing protection switching method and device.

Description

A kind of pseudo-line dual-homing protection switched system, method and apparatus
Technical field
The present invention relates to multiprotocol label switching (MPLS, Multi-ProtocolLabelSwitching) communicationTechnical field, is specifically related to a kind of pseudo-line dual-homing protection switched system, method and apparatus.
Background technology
In MPLS communication network, binode interconnected pseudo-line (DNIPW, DualNodeInterconnectionPseudoWire) be mainly applicable to pseudo-line dual-homing protection scene, its cardinal principle is:Between dual homed node device, form single-point protection, DNIPW dual-homing protection typical scene as shown in Figure 1,Wherein, PE2 and PE3 are dual homed node, and PE2 is that primary node, PE3 are secondary node, PE2 and PE3Realize by convergence-level equipment; PE1 is network side source node, is realized by access layer equipment; PE4 is userSide source node, is realized by core layer equipment; A DNIPW is set between described dual homed node PE2 and PE3,Its basic structure and functions are as follows:
Network-Network interface (NNI, NetworkNetworkInterface) side, between PE1 and PE2,And between PE1 and PE3, being equipped with PW protection group, this PW protection group comprises: between PE1 and PE2Protection PW between work PW and PE1 and PE3;
User-network side interface (UNI, UserNetworksInterface) side, support is automatic across frameThe protection that (MC-APS, Multi-ChassisAutomaticProtectionSwitched) switched in protectionMode.
DNIPW is used for forwarding the service traffics between dual homed node PE2 and PE3, and PE2 and PE3 pass throughThe interconnected mode of binode realizes single-point business and forwards.
But in the actual networking plan of pseudo-line dual-homing protection, this DNIPW had both needed to control NNI effluentThe switching of amount, controls the switching of UNI effluent amount again, while being conventionally difficult to ensure that under DNI scene, protection is switchedThere is not packet loss, therefore, be difficult to reach 50ms carrier class protection switching standards.
Enumerate several scenes that there will be packet drop below:
Scene 1: in the time that the APS of UNI side detection link failure is protected switching fast, for opposite end striding equipmentNode PE3, the work of perception in time AC breaks down and can not be in time for work AC faultCarry out and switch, therefore, thereby cause packet loss to stop with regard to being difficult to ensure to switch fast.
Taking Fig. 1 as example, when the work AC in UNI sidelinks breaks down, the MC-APS protection of PE3Switching need to be taken a long time alternately and is switched to protection AC link by protocol massages, causes NNI side mistakeThe flow generation packet loss coming;
Scene 2: in the time that the APS of NNI side detection link failure is protected switching fast, for PE3,The work of perception in time PW breaks down and can not carry out and switch for work PW fault in time, also veryBe difficult to ensure that thereby quick switching of card causes packet loss cutout.
Taking Fig. 1 as example, when the work PW in NNI sidelinks breaks down, the MC-PW protection of PE3Switching need to be taken a long time alternately and is switched to protection PW link by protocol massages, causes UNI side mistakeThe flow packet loss coming;
Scene 3: in the time of primary node power-down rebooting, secondary node just need to be controlled NNI side and UNI simultaneouslyThe protection of effluent amount is switched, and is difficult to ensure that switching fast causes packet loss cutout.
Taking Fig. 1 as example, when primary node power down, the MC-APS protection of secondary node is switched to be needed by associationView message interaction takes a long time and is switched to protection AC link, the flow packet loss that causes NNI side to be come;MC-PW protection is switched and need to be taken a long time alternately and be switched to protection PW link by protocol massages,The flow packet loss that causes UNI side to be come.
Summary of the invention
In order to solve the technical problem of existing existence, the embodiment of the present invention expects to provide a kind of pseudo-line dual-homing protectionSwitched system, method and apparatus.
The embodiment of the present invention provides a kind of pseudo-line dual-homing protection switched system, and described system comprises: primary jointPoint, secondary node, network side source node and user's side source node; Wherein, described primary node and network sideThe pseudo-line PW of the work that is provided with between source node, is provided with guarantor between described secondary node and network side source nodeProtect PW, between described primary node and user's side source node, be provided with work aggregated links AC, described for subsequent useBetween node and user's side source node, be provided with protection AC; It is characterized in that described primary node and for subsequent useBetween node, be provided with the interconnected pseudo-line DNIPW of the first binode and the 2nd DNIPW; Wherein,
A described DNIPW, for protect work AC on primary node, bearer network side source node mistakeThe flow coming; Also, at secondary node, protect PW, the stream that carrying user side source node is comeAmount;
Described the 2nd DNIPW, for protect work PW on primary node, carrying user side source node mistakeThe flow coming; Also for protection protection AC on secondary node, the stream that bearer network side side source node is comeAmount.
In such scheme, described primary node is used for according to the duty of work PW a DNIPWOn the traffic forwarding of coming to network side source node, also for the flow of coming on the 2nd DNIPW is passed throughWork AC is forwarded to user's side source node;
Described secondary node is for being forwarded to user by the flow of coming on a DNIPW by protection ACSide source node, also for being sent to network side source by the flow of coming on the 2nd DNIPW by protection PWNode.
In such scheme, described primary node is in the time working PW fault-free, by a DNIPWThe flow of coming over is transmitted to network side source node by work PW; Or,
For in the time working PW fault, the flow receiving on a DNIPW is switched to second fastOn DNIPW, send to secondary node, be transmitted to network side source node by secondary node.
Further, described system also disposes pseudo-line automatic protection switching PWAPS and the pseudo-line across frameAutomatic protection switching MC-PWAPS is for network side dual-homing protection and link aggregation/linear multiplex section protection(LAG/MSP) with across the link aggregation/linear multiplex section protection (MC-LAG/MSP) of frame for usingFamily sidelinks protection.
In such scheme, described PWAPS, in the time that work PW breaks down, realizes network side source jointThe switching of flow from work PW to protection PW on point, described MC-PWAPS is simultaneously for working as work PWWhile breaking down, realize the switching of primary node to secondary node; Described LAG/MSP is for working as work ACWhile breaking down, the duty of user's side source node is switched to by protection AC and is received and transmitted traffic,Described MC-PWAPS, simultaneously in the time that work AC breaks down, realizes primary node to secondary nodeSwitching.
In such scheme, in system under normal circumstances, flow sends via work PW from network side source nodeTo user's side source node process, when flow arrives after primary node, via work, AC is sent to user's sideSource node is sent to user's side source node via a DNIPW and protection AC simultaneously; User's side source jointPoint is selected a reception of carrying out flow according to work at present state in work AC and protection AC;
When flow is sent to network side source node from user's side source node via work AC and protection AC simultaneouslyTime, the flow that primary node reception work AC sends, the flow that secondary node sends protection AC viaThe one DNIPW is sent to primary node, flow, also resistance that primary node selective reception work AC sendsFill in the flow that a DNIPW sends.
The embodiment of the present invention provides a kind of pseudo-line dual-homing protection changing method, and network side source node is by workPseudo-line PW or protection PW are to user side equipment transmitted traffic, and user side equipment is by work aggregated links ACWith protection AC respectively to network equipment transmitted traffic; Described method also comprises:
Network side source node is during to user's side source node transmitted traffic, and primary node is interconnected by the first binodeThe flow that pseudo-line DNIPW protection work AC bearer network side source node are come; Secondary node passes throughThe flow that the 2nd DNIPW protection protection AC bearer network side source node are come;
User's side source node is during to network side source node transmitted traffic, and primary node is protected by the 2nd DNIPWNurse makes PW and carries the flow that user's side source node is come; Secondary node is protected by a DNIPWProtect protection PW and carry the flow that user's side source node is come.
In such scheme, described primary node, by a DNIPW protection work AC, comprising: primaryNode sends to secondary node by described flow by a DNIPW;
Described primary node, by the 2nd DNIPW protection work PW, comprising: primary node is by described streamAmount sends to secondary node by the 2nd DNIPW;
Described secondary node, by the 2nd DNIPW protection protection AC, comprising: secondary node is by described streamAmount sends to primary node by the 2nd DNIPW;
Described secondary node, by a DNIPW protection protection PW, comprising: secondary node is by described streamAmount sends to primary node by a DNIPW.
In such scheme, described primary node sends to secondary node by described flow by a DNIPWTime, described secondary node is sent to network side source by the flow of coming on a DNIPW by protection PWNode;
When primary node sends to secondary node by described flow by the 2nd DNIPW, described secondary nodeThe flow of coming on the 2nd DNIPW is sent to network side source node by protection PW;
When secondary node sends to primary node by described flow by the 2nd DNIPW, described primary nodeThe flow of coming on the 2nd DNIPW is forwarded to user's side source node by work AC;
When secondary node sends to primary node by described flow by a DNIPW, described primary nodeAccording to work PW duty by described traffic forwarding to network side source node.
In such scheme, described primary node according to work PW duty by described traffic forwarding to netNetwork side source node, comprising:
In the time of work PW fault-free, the flow of coming on a DNIPW is passed through work by described primary nodeBe transmitted to network side source node as PW;
In the time of work PW fault, described primary node is cut the flow receiving on a DNIPW fastChange on the 2nd DNIPW and send to secondary node, be transmitted to network side source node by secondary node.
The embodiment of the present invention provides a kind of pseudo-line dual-homing protection changing method, and described method comprises:
Network side source node is during to user's side source node transmitted traffic, and primary node is interconnected by the first binodeThe flow that pseudo-line DNIPW protection work aggregated links AC bearer network side source node are come;
User's side source node is during to network side source node transmitted traffic, and primary node is protected by the 2nd DNIPWNurse fakes line PW and carries the flow that user's side source node is come.
In such scheme, described primary node, by a DNIPW protection work AC, comprising: primaryNode sends to secondary node by described flow by a DNIPW;
Described primary node, by the 2nd DNIPW protection work PW, comprising: primary node is by described streamAmount sends to secondary node by the 2nd DNIPW.
Further, described method also comprises: primary node receives secondary node by the 2nd DNIPWSend flow time, the flow of coming on the 2nd DNIPW is forwarded to user's side source joint by work ACPoint; Primary node receive secondary node by the one DNIPW send flow time, according to work PWDuty by described traffic forwarding to network side source node.
In such scheme, described primary node according to work PW duty by described traffic forwarding to netNetwork side source node, comprising:
In the time of work PW fault-free, the flow of coming on a DNIPW is passed through work by described primary nodeBe transmitted to network side source node as PW;
In the time of work PW fault, described primary node is cut the flow receiving on a DNIPW fastChange on the 2nd DNIPW and send to secondary node, be transmitted to network side source node by secondary node.
The embodiment of the present invention provides a kind of pseudo-line dual-homing protection switching device shifter, is positioned on primary node, described inDevice comprises: the interconnected pseudo-line DNIPW of the first binode and the 2nd DNIPW; Wherein,
A described DNIPW, for network side source node during to user's side source node transmitted traffic, protectionThe flow that work aggregated links AC bearer network side source node are come;
Described the 2nd DNIPW, for user's side source node during to network side source node transmitted traffic, protectionPseudo-line PW carry the flow that user's side source node is come works.
In such scheme, a described DNIPW protects work AC in the following manner:
Receive the flow of primary node transmission and be transmitted to secondary node;
Described the 2nd DNIPW protects work PW in the following manner:
Receive the flow of primary node transmission and be transmitted to secondary node.
In such scheme, described device also comprises: first flow forwarding module, and for receiving at primary nodeWhile passing through the flow of the 2nd DNIPW transmission to secondary node, the flow of coming on the 2nd DNIPW is logicalThe work AC of mistake is forwarded to user's side source node; Also for receiving secondary node at primary node by firstDNIPW send flow time, according to work PW duty by described traffic forwarding to network side sourceNode.
In such scheme, described device also comprises judge module, for judging work PW work at present state,Described duty comprises: fault and fault-free;
Traffic forwarding module, in the time working PW fault-free, by the flow of coming on a DNIPWBy work, PW is transmitted to network side source node;
Traffic forwarding module, in the time working PW fault, by the flow receiving on a DNIPWBe switched to fast on the 2nd DNIPW and send to secondary node, be transmitted to network side source joint by secondary nodePoint.
The embodiment of the present invention provides a kind of pseudo-line dual-homing protection changing method, and described method comprises:
Network side source node is during to user's side source node transmitted traffic, and secondary node is interconnected by the second binodeThe flow that pseudo-line DNIPW protection protection aggregated links AC bearer network side source node are come;
User's side source node is during to network side source node transmitted traffic, and secondary node is protected by a DNIPWProtect the pseudo-line PW of protection and carry the flow that user's side source node is come.
In such scheme, described secondary node, by a DNIPW protection protection PW, comprising: for subsequent useNode sends to primary node by described flow by a DNIPW;
Described secondary node, by the 2nd DNIPW protection protection AC, comprising: secondary node is by described streamAmount sends to primary node by the 2nd DNIPW.
In such scheme, described secondary node receives the flow that primary node sends by a DNIPWTime, the flow of coming on a DNIPW is sent to network side source node by protection PW;
Described secondary node receive primary node by the 2nd DNIPW send flow time, by secondThe flow of coming on DNIPW is sent to network side source node by protection PW.
The embodiment of the present invention provides a kind of pseudo-line dual-homing protection switching device shifter, is positioned on secondary node, described inDevice comprises: the interconnected pseudo-line DNIPW of the 3rd binode and the 4th DNIPW; Wherein,
Described the 3rd DNIPW, for, protecting during to network side source node transmitted traffic at user's side source nodeProtect the pseudo-line PW of protection and carry the flow that user's side source node is come;
Described the 4th DNIPW, for, protecting during to user's side source node transmitted traffic at network side source nodeProtect the flow that protection aggregated links AC bearer network side source node are come.
In such scheme, described the 3rd DNIPW protects PW in the following manner:
Receive the flow of secondary node transmission and be transmitted to primary node;
Described the 4th DNIPW protects AC in the following manner:
Receive the flow of secondary node transmission and be transmitted to primary node.
In such scheme, described device also comprises: the second flow forwarding module, and for receiving primary jointWhen point passes through the flow of the 3rd DNIPW transmission, the flow of coming on the 3rd DNIPW is sent out by protection PWDeliver to network side source node; Also for receive primary node by the 4th DNIPW send flow time,The flow of coming on the 4th DNIPW is sent to network side source node by protection PW.
The pseudo-line dual-homing protection of one switched system, method and apparatus that the embodiment of the present invention provides, wherein,Described pseudo-line dual-homing protection switched system, comprising: primary node, secondary node, network side source node and useFamily side source node; Wherein, between described primary node and network side source node, be provided with the pseudo-line PW of work;Between described secondary node and network side source node, be provided with protection PW; Described primary node and user's side sourceBetween node, be provided with work aggregated links AC; Between described secondary node and user's side source node, be provided withProtection AC; Further, between described primary node and secondary node, be provided with the interconnected puppet of the first binodeLine DNIPW and the 2nd DNIPW; Wherein, a described DNIPW, for protecting on primary nodeWork AC, the flow that bearer network side source node is come; Also, at secondary node, protect PW,The flow that carrying user side source node is come; Described the 2nd DNIPW, for protecting work on primary nodeMake PW, the flow that carrying user side source node is come; Also, for protection protection AC on secondary node, holdCarry the flow that network side side source node is come. So, between primary node and secondary node, arrange two simultaneouslyBar DNIPW, wherein a DNIPW forms protection group, another DNI with work AC and protection PWPW and work PW and protection AC form protection group, and between a DNIPW and the 2nd DNIPWForm cross protection, this structure has made up the deficiencies in the prior art, has avoided at user's side and/or network sideWhile breaking down, the packet loss and the cutout that can not realize link switching in time on secondary node time, cause, and energyEnough reach 50ms carrier class protection switching standards.
Brief description of the drawings
Fig. 1 is DNIPW dual-homing protection scene structure figure in prior art;
The pseudo-line dual-homing protection switched system basic block diagram that Fig. 2 provides for the embodiment of the present invention;
The pseudo-line dual-homing protection switched system exemplary block diagram that Fig. 3 provides for the embodiment of the present invention;
The pseudo-line dual-homing protection changing method basic flow sheet one that Fig. 4 provides for the embodiment of the present invention;
The pseudo-line dual-homing protection changing method basic flow sheet two that Fig. 5 provides for the embodiment of the present invention;
The pseudo-line dual-homing protection switching device shifter structure chart one that Fig. 6 provides for the embodiment of the present invention;
The pseudo-line dual-homing protection changing method basic flow sheet three that Fig. 7 provides for the embodiment of the present invention;
The pseudo-line dual-homing protection switching device shifter structure chart two that Fig. 8 provides for the embodiment of the present invention.
Detailed description of the invention
The pseudo-line dual-homing protection switched system providing in the embodiment of the present invention, comprising: primary node, joint for subsequent usePoint, network side source node and user's side source node; Wherein, between described primary node and network side source nodeThe pseudo-line PW of the work that is provided with; Between described secondary node and network side source node, be provided with protection PW; DescribedBetween primary node and user's side source node, be provided with work aggregated links AC; Described secondary node and userBetween side source node, be provided with protection AC; Further, between described primary node and secondary node, arrangeThere are the interconnected pseudo-line DNIPW of the first binode and the 2nd DNIPW; Wherein, a described DNIPW, usesIn protecting work AC on primary node, the flow that bearer network side source node is come; Also for for subsequent useOn node, protection protection PW, the flow that carrying user side source node is come; Described the 2nd DNIPW, usesIn protect work PW on primary node, the flow that carrying user side source node is come; Also for for subsequent useProtection protection AC on node, the flow that bearer network side side source node is come.
Below by drawings and the specific embodiments, the present invention is described in further detail.
Embodiment mono-
The embodiment of the present invention one provides a kind of pseudo-line dual-homing protection switched system, as shown in Figure 2, and this systemComprise: primary node 21, secondary node 22, network side source node 23 and user's side source node 24; Wherein,
Between described primary node 21 and network side source node 23, be provided with work PW; Described secondary node22 and network side source node 23 between be provided with protection PW;
Between described primary node 21 and user's side source node 24, be provided with work AC; Described secondary node22 and user's side source node 24 between be provided with protection AC;
The working mechanism of receiving based on 24 pairs of bills of user's side source node, user's effluent amount will be simultaneously by workAC and protection AC are sent to network side, and for the flow of coming from network side, user's side source node 24According to the working condition of the protection group of work at present AC and protection AC formation, selective reception work ACOr the flow of protection AC, block the flow of an other link simultaneously;
The working mechanism that side source node 23 single-shot lists Network Based are received, network side source node 23 is by work PWOr protection PW is to user's side source node 24 transmitted traffics, simultaneously by for the work PW of transmitted traffic orProtection PW receives the flow that user's side source node 24 sends.
Further, between described primary node 21 and secondary node 22, be provided with a DNIPW andTwo DNIPW;
Concrete, a described DNIPW, for protecting work AC, bearer network on primary node 21The flow that network side source node 23 is come; Also, at secondary node 22, protect PW, carrying is usedThe flow that family side source node 23 is come; Described the 2nd DNIPW, for protecting work on primary node 21Make PW, the flow that carrying user side source node 24 is come; Also for protection protection on secondary node 22AC, the flow that bearer network side side source node 24 is come. Like this, described pseudo-line dual-homing protection switched systemIn will form multiple protection groups; Concrete, from network side to user's side, PW and protection PW first workPseudo-line dual-homing protection group each other, forms between work AC and a DNIPW across the pseudo-line dual homed of frame and protectsProtect group, the 2nd DNIPW and protection AC and form the pseudo-line dual-homing protection group across frame; From user's side to netNetwork side, work AC and protection AC link protection group each other, work PW and the 2nd DNIPW form acrossPseudo-line dual-homing protection group, a DNIPW and the protection PW of frame form the pseudo-line dual-homing protection across frameGroup.
Further, described primary node 21 for according to work PW duty by a DNIPWOn the traffic forwarding of coming to network side source node 23, also for the flow of coming on the 2nd DNIPW is logicalThe work AC of mistake is forwarded to user's side source node 24; Described secondary node 22 is for by a DNIPWThe flow of coming over is forwarded to user's side source node 24 by protection AC, also for the 2nd DNIPW was gone upThe flow coming is sent to network side source node 23 by protection PW. Visible, a DNIPW or secondThe routing direction of the flow of coming on DNIPW on primary node 21 or secondary node 22 determined;
Concrete, the duty of described work PW comprises: fault and fault-free.
Concrete, described primary node 21, in the time working PW fault-free, was gone up a DNIPWThe flow coming is transmitted to network side source node by work PW; Or,
For in the time working PW fault, the flow receiving on a DNIPW is switched to second fastOn DNIPW, send to secondary node, be transmitted to network side source node by secondary node.
It should be noted that, conventionally in system under normal circumstances, the duty acquiescence of network side source node 23For receiving flow and transmitted traffic by work PW, the duty of user's side source node 24 is defaulted as to be passed throughWork AC and protection AC transmitted traffic simultaneously, received flow and blocked protection AC and come by work ACFlow;
Therefore, as shown in Figure 2, in system under normal circumstances, when flow from network side source node 23 via workBe sent in user's side source node 24 processes as PW, when flow arrives after primary node 21, via workAC is sent to user's side source node 24, is sent to user's side via a DNIPW and protection AC simultaneouslySource node 24; User's side source node 24 receives the flow of work AC transmission, also blocks and protect AC to sendFlow;
When flow is sent to network side source joint from user's side source node 24 via work AC and protection AC simultaneouslyPoint 23 o'clock, now, because the duty of network side source node 23 is to receive user's side by work PWFlow, therefore, primary node 21 receives the flow that work AC sends, and secondary node 22 will be protected simultaneouslyThe flow that AC sends is sent to primary node 21 via a DNIPW, and primary node 21 is according to user's sideSource node 24 work at present states judge the flow that reception work AC sends and block a DNIPW and send outThe flow sending.
Further, described pseudo-line dual-homing protection switched system disposes PWAPS and MC-PWAPS useIn network side dual-homing protection; Concrete, described PWAPS, in the time that work PW breaks down, realizesThe switching of flow from work PW to protection PW on network side source node 23, described MC-PWAPS simultaneouslyFor in the time that work PW breaks down, realize the switching of primary node 21 to secondary node 22, that is, and willOriginally the network side flow switch that receives work PW transmission by primary node 21 is for passing through secondary node 22Receive the network side flow that protection PW sends;
Described pseudo-line dual-homing protection switched system dispose link aggregation/linear multiplex section protection (LAG/MSP,LinkAggregation/LinearMultipexSectionProtection) with across the link aggregation/linearity of frameMultiplex section protection (MC-LAG/LMSP) is protected for user's sidelinks; Concrete, described LAG/MSPFor in the time that work AC breaks down, the duty of user's side source node 24 is switched to by protectionAC receives and transmitted traffic, and described MC-PWAPS, simultaneously in the time that work AC breaks down, realizesPrimary node 21 to the switching of secondary node 22, that is, receives work AC by script by primary node 21The user's effluent amount sending switches to by primary node 21 and receives user's effluent amount that protection AC sends.
Visible, in such scheme, a DNIPW and the 2nd DNIPW are in pseudo-line dual-homing protection systemIn across the upper directly formation of chassis equipment (primary node 21 and secondary node 22) cross protection, and separatelyDivide the work that clear and definite, primary node 21 or secondary node 22 come to a DNIPW and the 2nd DNIPWThe routing direction of flow is also fixing;
Therefore, in the time that the AC that only works breaks down, user's side source node 24 quick sensing faults, and oughtFront duty switches to by protection AC and receives and transmitted traffic; Secondary node 22 receives self-shieldThe flow of AC, and according to the flow of coming on the duty selective reception protection AC of work AC, by instituteState flow and be forwarded to primary node 21 by a DNIPW, primary node 21 receives from a DNIThe flow of PW, and directly send to network side source joint by work PW according to default traffic forwarding directionPoint 23; And from network side to user's side, when primary node 21 receives the flow that work PW comes, willThis flow is sent to secondary node 22 by a DNIPW, and secondary node 22 is directly according to defaultTraffic forwarding direction is sent to user's side source by the flow sending over from a DNIPW by protection ACNode 24; Visible, when user's side work AC breaks down, exist across the secondary node 22 in chassis equipmentBefore perceiving user's side fault and carrying out switching, realize the quick of flow according to default routing directionWith correct forwarding, prevent packet loss;
In the time that the PW that only works breaks down, network side source node 23 quick sensing faults, and by protectionPW sends network side flow; When secondary node 22 receives the flow of self-shield PW, according to current workMake the duty of PW, described flow is sent to user by the 2nd DNIPW and protection AC respectivelySide source node 24, when primary node 21 receives the flow that the 2nd DNIPW comes, also turns according to defaultOriginating party is to described flow is forwarded to user's side source node 24 by work AC; And from user's side to network side,User's side source node 24 respectively by work AC and protection AC transmitted traffic to network side source node 23, mainReceive with node 21 after the flow of work AC transmission, owing to perceiving work PW fault, therefore, willDescribed flow sends to secondary node 22 by the 2nd DNIPW, and thus, secondary node 22 receivesTwo flows that two DNIPW and protection AC send, and select according to the duty of work at present ACReceive a wherein flow that link sends, and stop up another link; Visible, as network side work PWWhile breaking down, the scheme providing according to the embodiment of the present invention, is feeling across the secondary node 22 in chassis equipmentBefore knowing user's side fault and carrying out and switch, according to original routing direction realized flow fast andCorrect forwarding, has prevented the generation of packet loss;
In the time of work AC and work PW simultaneous faults, user's side source node 24 is by protecting AC by flowBe sent to secondary node 22, secondary node 22 perception in time work PW breaks down and carries out switching,Therefore, still flow is sent to primary node 21 by a DNIPW, primary node 21 receivesAfter the flow that secondary node 22 sends, because perceiving work PW, primary node 21 breaks down, because ofThis, primary node 21 is switched to the 2nd DNI by described fast by the flow receiving on a DNIPWOn PW, send to secondary node 22; Afterwards, secondary node 22 according to default routing direction directly by secondThe traffic forwarding of coming on DNIPW is to network side source node 23; Therefore, by above-mentioned at primary node 21Handover mechanism between the one DNIPW and the 2nd DNIPW of upper realization, can ensure as work ACWhile breaking down with work PW, there is not packet loss to the flow of network side in user's side simultaneously;
In addition, for network side, to user's side, network side source node 23 is sent out flow by protection PWDeliver to secondary node 22, secondary node 22 is according to the duty of work at present PW, and described flow is logicalOverprotection AC and the 2nd DNIPW are forwarded to respectively user's side source node 24, therefore, and by this mechanismAlso can ensure that network side, to the flow of user's side, packet loss does not occur.
The exemplary block diagram of the pseudo-line dual-homing protection switched system that Fig. 3 provides for the embodiment of the present invention; Fig. 3In, PE1 is that network side source node, PE2 are that primary node, PE3 are that secondary node, PE4 are user's sideSource node; Link 1,2 is respectively the input and output link of PE1; Link 3,4 is respectively work PWWith protection PW; Two DNIPWs of link 5,6 for arranging between PE2 and PE3, wherein, link 5For DNIPW1, link 6 is DNIPW2; Link 7,8 is respectively work AC and protection AC; Link9,10 output link and the input links that are respectively on PE4;
The operation principle of the pseudo-line dual-homing protection switched system according to Fig. 3, the embodiment of the present invention being provided is below doneBelow describe in detail.
Step S401: under all links non-failure conditions working properly, the pseudo-line protection of PE1 and PE2 node workDo leading, that is, PE1 is by work PW (link 3) transmitted traffic, and PE2 selective reception link 3 sendsFlow; PE4 node M SP protection is operated in master, i.e. PE4 selective reception work AC (link 7) sends outThe flow sending.
Now, NNI side has two flows to UNI effluent amount: (a) link 1 → link 3 → link 7 → chainRoad 9, that is, flow arrives link 9 through link 3, link 7 successively from link 1, (b) link 1 → link3 → link, 5 → link, 8 → link 9, PE4 node is operated in main selective reception stream according to current MSP protectionAmount (a); UNI side also has two flows to NNI effluent amount: (a) link 10 → link 7 → link 3 →Link 2, (b) link 10 → link 8 → link 5 → link 3 → link 2, PE2 node is according to current workDo state choosing and receive flow (a), the flow of coming through link 5 is blocked.
In the time that network side link 3 breaks down, go to step S402; In the time that user's sidelinks 7 breaks down,Go to step S403; When breaking down, user's sidelinks 8 goes to step S404; As DNI host node PE2Power down goes to step S409;
Step S402:NNI sidelinks 3 breaks down in situation, and PE1, the pseudo-line protection of PE2 node detectBe switched to fast protection link to active link fault, the not perception of UNI side, PE4 node M SP protectionBe operated in master. Now, NNI side has two flows to UNI effluent amount: (a) link 1 → link 4 → chainRoad 6 → link, 7 → link 9, (b) link 1 → link 4 → link 8 → link 9, PE4 is according to currentMSP protection is operated in main separation and receives flow (a); UNI side also has two to NNI effluent amount: (a) link10 → link, 7 → link, 6 → link, 4 → link 2, (b) link 10 → link 8 → link 4 → link 2,PE2 node receives flow (b) according to work at present condition selecting, and the flow of coming through link 6 is hinderedPlug.
If network side link 3 faults disappear, go to step S401; If user's sidelinks 7 breaks down,Go to step S405; If user's sidelinks 8 breaks down, go to step S407;
Step S403:UNI sidelinks 7 breaks down in situation, and PE4 node LMSP protection detects workBe switched to fast protection link as link failure, PE1, the pseudo-line protection of PE2 node is operated in master. NowTraffic forwarding situation, NNI side has two flows to UNI effluent amount: (a) link 1 → link 3 → link 7(fault) → link 9, (b) link 1 → link 3 → link 5 → link 8 → link 9, PE4 is according to working asFront LMSP protection is operated in alternative receipts flow (b), and the flow of coming through link 7 gets clogged because of link failure;UNI side also has two flows to NNI effluent amount: (a) link 10 → link 7 (fault) → link 3 →Link 2, (b) link 10 → link 8 → link 5 → link 3 → link 2, PE2 node is according to current workDo state choosing and receive flows (b), the flow of coming through link 7 gets clogged because of link failure.
If network side link 7 faults disappear, go to step S401; If user's sidelinks 3 breaks down,Go to step S406.
Step S404:UNI sidelinks 8 breaks down in situation, and PE4 node LMSP protects work at presentLeading, detecting that protection link failure is still operated in master, PE1, the pseudo-line protection of PE2 node is operated in master.Now traffic forwarding situation, NNI side has two flows to UNI effluent amount: (a) link 1 → link 3 →Link 7 → link 9, (b) link 1 → link 3 → link 5 → link 8 (fault) → links 9, PE4Be operated in main separation according to current MSP protection and receive flow (a), the flow of coming through link 8 is because of link failure quiltBlock; UNI side only has a flow to NNI effluent amount because of link 8 faults: link 10 → link 7 → chainRoad 3 → link 2.
If network side link 8 faults disappear, go to step S401; If network side link 3 breaks down,Go to step S408.
Step S405: if first NNI sidelinks 3 breaks down, consistent with step S402, thenUNI sidelinks 7 breaks down, and PE4 node M SP protection detects that active link fault switches fastTo protection link. Now traffic forwarding situation, NNI side has two flows to UNI effluent amount: (a) link1 → link, 4 → link, 6 → link, 7 (fault) → links 9, (b) link 1 → link 4 → link 8 →Link 9, PE4 node is operated in alternative receipts flow (b) according to current MSP protection, comes through link 7Flow gets clogged because of link failure; UNI side also has two flows to NNI effluent amount: (a) link 10 → chainRoad 7 (fault) → link 6 → link 4 → link 2, (b) link 10 → link 8 → link 4 → link 2,PE2 node is according to work at present state choosing receipts flows (b), and the flow of coming through link 7 is because of link failure quiltBlock.
If user's sidelinks 7 faults disappear, go to step S402.
Step S406: if first UNI sidelinks 7 breaks down, consistent with step S403, thenNNI sidelinks 3 breaks down, PE1, and the pseudo-line protection of PE2 node detects that active link fault carries out soonSpeed is switched to protection link. Now traffic forwarding situation, NNI side has two flows to UNI effluent amount: (a)Link 1 → link 4 → link 6 → link 7 (fault) → links 9, (b) link 1 → link 4 → link8 → link 9, PE4 node is operated in alternative receipts flow (b) according to current MSP protection, through link 7 mistakesThe flow coming gets clogged because of link failure; UNI side only has a flow to NNI effluent amount: link 10 → chainRoad 8 → link, 4 → link 2.
If network side link 3 faults disappear, go to step S403.
Step S407: if first NNI sidelinks 3 breaks down, consistent with step S402, thenUNI sidelinks 8 breaks down. Now traffic forwarding situation, NNI side has two flows to UNI effluent amount:(a) link 1 → link 4 → link 6 → link 7 → link 9, (b) link 1 → link 4 → link 8(fault) → link 9, PE4 node is operated in main separation according to current MSP protection and receives flow (a), through chainThe flow of coming in road 8 gets clogged because of link failure; UNI side to NNI effluent amount because link 8 faults only have, a flow: link 10 → link 7 → link 6 → link 4 → link 2.
If user's sidelinks 8 faults disappear, go to step S402.
Step S408: if first UNI sidelinks 8 breaks down, consistent with step S404, thenNNI sidelinks 3 breaks down, PE1, and the pseudo-line protection of PE2 node detects that active link fault carries out soonSpeed is switched to protection link. Now traffic forwarding situation, NNI side has two flows to UNI effluent amount: (a)Link 1 → link 4 → link 6 → link 7 → link 9, (b) link 1 → link 4 → link 8 (fault)→ link 9, PE4 node is operated in main separation according to current MSP protection and receives flow (a), comes through link 8Flow get clogged because of link failure; UNI side to NNI effluent amount because link 8 faults only have a flow:Link 10 → link 7 → link 6 → link 4 → link 2.
If network side link 3 faults disappear, go to step S404.
Step S409:DNI host node PE2 power down failure condition. (1) the pseudo-line protection of PE1 node PW inspectionMeasure active link fault and be switched to fast protection PW link, the pseudo-line protection of PE3 node DNIPWDetect that active link fault is switched to protection PW link fast, PE4 node LMSP protects detectionBe switched to fast protection AC link to active link fault, now traffic forwarding situation, NNI side arrivesUNI effluent amount has two flows: (a) link 1 → link 4 → link 6 → link 7 (fault) → links9, (b) link 1 → link 4 → link 8 → link 9, PE4 node is operated according to current MSP protectionAlternative receipts flow (b), the flow of coming through link 7 gets clogged because of link failure; UNI side is to NNI effluentAmount also has two flows: (a) link 10 → link 7 (fault) → link 6 → link 4 → link 2, (b)Link 10 → link 8 → link 4 → link 2, PE2 node selects and receives flows (b) according to work at present state,The flow of coming through link 7 gets clogged because of link failure.
Power on if DNI host node PE2 fault disappears, go to step S401.
Other situations: if UNI side work AC and protection AC break down simultaneously, or NNI side workMake PW and protect PW to break down simultaneously, link 3 and link 4 break down simultaneously, or link7 and link 8 break down simultaneously, network traffics forward any variation do not occur. Because the pseudo-line of NNI side is twoRule protections standby link 4 traffic forwarding that breaks down is consistent with step S401, states therefore do not do here to tire out. If chainRoad 5 or link 6 break down and can cause intersecting the pseudo-line dual-homing protection of DNI networking scene and deteriorate to common puppetLine dual-homing protection networking scene, so also do not analyze here.
The PWAPS based on Fig. 3, the embodiment of the present invention being mentioned below and the operation principle of LAG/MSP are enteredRow is introduced, and MC-PWAPS and MC-LAG/MSP are similar with it;
PWAPS is a kind of network protection mechanism, and the detection and the business that are mainly used in network side fault are switched,In the time that work PW breaks down, it is upper that business is switched to protection PW, thereby the upper carrying of protection work PWBusiness. PWAPS detects (BFD, bidirectionalforwardingdetection) by PW two-way convertingMechanism or operation management maintain (OAM, OperationAdministrationandMaintenance) detectThe state of mechanism testing PW and protection PW, when PE Equipment Inspection is during to work PW fault, twoThe mutual APS agreement of end PE equipment, carries out PWAPS and switches, and it is upper that business is switched to protection PW, realizesService protection. PWAPS supports two kinds of networking application: protection group and striding equipment (MC-PWAPS) in equipmentProtection group. Under normal circumstances, business transmits on work PW, in the time of work PW fault, APS occursProtection is switched, and business transmits on protection PW.
As shown in Figure 3, at PE1, PE2, network sidelinks fault on PE3 equipment, the inspection of PWAPS stateSurvey switching flow is as follows:
Step S501: open OAM/BFD report on the work PW of PE1 equipment that configures pseudo-line protection groupLiterary composition detects, and goes to step S502.
Step S302: judge whether pseudo-line protection group active link work PW has OAM/BFD to detect alarm,If had, determine that work PW breaks down, and now goes to step S303.
Step S503: on PE1 equipment, whether APS carries out agreement and calculate pseudo-line protection group and switch, ifTo go to step S504.
Step S504: on the main PW of pseudo-line protection group active link, the event of OAM/BFD packet check linkBarrier produces alarm, and APS carries out agreement and calculates pseudo-line protection group and be switched to protection link protection PW, afterwards,Go to step S505.
Step S505: judge that the upper OAM/BFD of the main PW of pseudo-line protection active link detects alarm and whether disappears,If so, go to step S506.
Step S506: send OAM/BFD detection messages on the main PW of pseudo-line protection active link, noticeLink failure disappears, and goes to step S507.
Step S507: OAM/BFD packet check link failure on the main PW of pseudo-line protection group active linkAlarm disappears, and APS calculates pseudo-line protection switchback to the main PW of active link, goes to step S502.
LAG refers to multiple Ethernet interfaces is aggregating to the technology that forms a port in logic. LACP associationView is for dynamically controlling whether physical port is joined to aggregation group. In non-load sharing link aggregation group,Each LAG group can configure two members and form 1:1 protected mode, and business only transmits on working port,In the time of working port fault, normally work thereby protect port can enable rapidly guarantee service traffics. LMSPBe linear multiplex section protection, be mainly used in the protection of emulation narrow band service port. LMSP is by SDH frameThe expense K1/K2 byte of multiplex section completes the exchange of turning protocol. LAG/MSP is mainly used in usingFamily side fault detect and link switching.
As shown in Figure 3, user side link failure on PE2, PE3 and PE4, LAG/LMSP orIt is as follows that MC-LAG/LMSP Link State detects switching flow:
Step S601: the main AC of active link at configuration LAG/LMSP port protection group equipment (refers to workAC) the upper LAG/SDH packet check of opening, goes to step S602.
Step S602: judge whether the main AC of LAG/LMSP protection active link has link detecting alarm,If go to step S603.
Step S603: it is standby that the upper detection of the main AC of active link link failure generation alarm is switched to protection linkAC (referring to protect AC) is upper, goes to step S604.
Step S604: judge whether the upper alarm of the main AC of LAG/MSP port protection group disappears, if so,Go to step S605.
Step S605: the upper link failure of noticing of the main AC of active link disappears, and goes to step S606.
Step S606: the fault warning of the main AC uplink of active link disappears, and LAG/LMSP port protection returnsSwitch to the main AC of active link, go to step S602.
Embodiment bis-
The embodiment of the present invention two provides a kind of pseudo-line dual-homing protection changing method, as shown in Figure 4, and described sideMethod comprises the following steps:
Step 401: network side source node sends to user side equipment by the pseudo-line PW of work or protection PWFlow, user side equipment is by work AC and protect AC respectively to network equipment transmitted traffic;
Step 402: network side source node is during to user's side source node transmitted traffic, and primary node is by firstThe flow that DNIPW protection work AC bearer network side source node are come; Secondary node is by secondThe flow that DNIPW protection protection AC bearer network side source node are come;
Concrete, described primary node, by a DNIPW protection work AC, comprising: primary nodeDescribed flow is sent to secondary node by a DNIPW;
Described secondary node, by the 2nd DNIPW protection protection AC, comprising: secondary node is by described streamAmount sends to primary node by the 2nd DNIPW.
Further, when described primary node sends to secondary node by described flow by a DNIPW,Described secondary node is sent to network side source node by the flow of coming on a DNIPW by protection PW;
When secondary node sends to primary node by described flow by the 2nd DNIPW, described primary nodeThe flow of coming on the 2nd DNIPW is forwarded to user's side source node by work AC.
Step 403: user's side source node is during to network side source node transmitted traffic, and primary node is by secondDNIPW protection work PW also carries the flow that user's side source node is come; Secondary node is by firstDNIPW protection protection PW also carries the flow that user's side source node is come;
Concrete, described primary node, by the 2nd DNIPW protection work PW, comprising: primary nodeDescribed flow is sent to secondary node by the 2nd DNIPW;
Described secondary node, by a DNIPW protection protection PW, comprising: secondary node is by described streamAmount sends to primary node by a DNIPW.
Further, when described primary node sends to secondary node by described flow by the 2nd DNIPW,Described secondary node is sent to network side source node by the flow of coming on the 2nd DNIPW by protection PW;
When secondary node sends to primary node by described flow by a DNIPW, described primary nodeAccording to work PW duty by described traffic forwarding to network side source node.
Concrete, the duty of work PW comprises: fault and fault-free;
In the time of work PW fault-free, the flow of coming on a DNIPW is passed through work by described primary nodeBe transmitted to network side source node as PW;
In the time of work PW fault, described primary node is cut the flow receiving on a DNIPW fastChange on the 2nd DNIPW and send to secondary node, be transmitted to network side source node by secondary node.
Those skilled in the art can understand, and above-mentioned steps 401-403 in actual use can't districtSuccessively order.
Embodiment tri-
The embodiment of the present invention three provides a kind of pseudo-line dual-homing protection changing method, as shown in Figure 5, and described sideMethod comprises:
Step 501: network side source node is during to user's side source node transmitted traffic, and primary node is by firstThe flow that DNIPW protection work AC bearer network side source node are come;
Concrete, described primary node, by a DNIPW protection work AC, comprising: primary nodeDescribed flow is sent to secondary node by a DNIPW;
Step 502: user's side source node is during to network side source node transmitted traffic, and primary node is by secondDNIPW protection work PW also carries the flow that user's side source node is come.
Concrete, described primary node, by the 2nd DNIPW protection work PW, comprising: primary nodeDescribed flow is sent to secondary node by the 2nd DNIPW
Further, said method also comprises: primary node receives secondary node by the 2nd DNIPWSend flow time, the flow of coming on the 2nd DNIPW is forwarded to user's side source joint by work ACPoint; Primary node receive secondary node by the one DNIPW send flow time, according to work PWDuty by described traffic forwarding to network side source node.
Concrete, described primary node according to the duty of work PW by described traffic forwarding to network sideSource node, comprising:
In the time of work PW fault-free, the flow of coming on a DNIPW is passed through work by described primary nodeBe transmitted to network side source node as PW;
In the time of work PW fault, described primary node is cut the flow receiving on a DNIPW fastChange on the 2nd DNIPW and send to secondary node, be transmitted to network side source node by secondary node.
Those skilled in the art can understand, and above-mentioned steps 501 and 502 in actual use can'tDistinguish sequencing.
Embodiment tetra-
The embodiment of the present invention four provides a kind of pseudo-line dual-homing protection switching device shifter, is positioned on primary node, asShown in Fig. 6, described device comprises: a DNIPW61 and the 2nd DNIPW62; Wherein,
A described DNIPW61,, protects during to user's side source node transmitted traffic for network side source nodeNurse makes the flow that AC bearer network side source node are come;
Described the 2nd DNIPW62,, protects during to network side source node transmitted traffic for user's side source nodeNurse makes PW and carries the flow that user's side source node is come.
Concrete, a described DNIPW61 protects work AC in the following manner:
Receive the flow of primary node transmission and be transmitted to secondary node.
Concrete, described the 2nd DNIPW62 protects work PW in the following manner:
Receive the flow of primary node transmission and be transmitted to secondary node.
Further, described device also comprises: first flow forwarding module 63, and for receiving at primary nodeWhile passing through the flow of the 2nd DNIPW transmission to secondary node, the flow of coming on the 2nd DNIPW is logicalThe work AC of mistake is forwarded to user's side source node; Also for receiving secondary node at primary node by firstDNIPW send flow time, according to work PW duty by described traffic forwarding to network side sourceNode.
Further, described device also comprises judge module 64, for judging work PW work at present state,Described duty comprises: fault and fault-free;
Described traffic forwarding module 63, in the time working PW fault-free, went up a DNIPW61The flow coming is transmitted to network side source node by work PW;
Traffic forwarding module 63, in the time working PW fault, by what receive on a DNIPW61Flow is switched to fast on the 2nd DNIPW62 and sends to secondary node, is transmitted to network by secondary nodeSide source node.
Embodiment five
The embodiment of the present invention five provides a kind of pseudo-line dual-homing protection changing method, as shown in Figure 7, and described sideMethod comprises:
Step 701: network side source node is during to user's side source node transmitted traffic, and secondary node is by secondThe flow that DNIPW protection protection AC bearer network side source node are come;
Concrete, described secondary node, by the 2nd DNIPW protection protection AC, comprising: secondary nodeDescribed flow is sent to primary node by the 2nd DNIPW.
Step 702: user's side source node is during to network side source node transmitted traffic, and secondary node is by firstDNIPW protection protection PW also carries the flow that user's side source node is come;
Concrete, described secondary node, by a DNIPW protection protection PW, comprising: secondary nodeDescribed flow is sent to primary node by a DNIPW.
Further, said method also comprises: described secondary node receives primary node by a DNIPW send flow time, by the flow of coming on a DNIPW by protection PW be sent to network sideSource node;
Described secondary node receive primary node by the 2nd DNIPW send flow time, by secondThe flow of coming on DNIPW is sent to network side source node by protection PW.
Those skilled in the art can understand, and above-mentioned steps 701 and 702 in actual use can'tDistinguish sequencing.
Embodiment six
The embodiment of the present invention six provides a kind of pseudo-line dual-homing protection switching device shifter, is positioned on secondary node, asShown in Fig. 8, described device comprises: the 3rd DNIPW81 and the 4th DNIPW82; Wherein,
Described the 3rd DNIPW81, at user's side source node during to network side source node transmitted traffic,Protection protection PW also carries the flow that user's side source node is come;
Described the 4th DNIPW82, at network side source node during to user's side source node transmitted traffic,The flow that protection protection AC bearer network side source node are come.
Concrete, described the 3rd DNIPW81 protects PW in the following manner:
Receive the flow of secondary node transmission and be transmitted to primary node;
Described the 4th DNIPW82 protects AC in the following manner:
Receive the flow of secondary node transmission and be transmitted to primary node.
Further, described device also comprises: the second flow forwarding module 83, and for receiving primary jointWhen point passes through the flow of a DNIPW transmission, the flow of coming on a DNIPW is passed through to protection PWBe sent to network side source node; Also for receiving primary node by the flow of the 2nd DNIPW transmissionTime, the flow of coming on the 2nd DNIPW is sent to network side source node by protection PW.
In specific implementation process, above-mentioned first flow forwarding module 63 and judge module 64 can be by primaryCentral processing unit (CPU, CentralProcessingUnit) in node, microprocessor (MPU,MicroProcessingUnit), digital signal processor (DSP, DigitalSignalProcessor) maybe can be compiledJourney logic array (FPGA, Field-ProgrammableGateArray) realizes; Above-mentioned the second flowForwarding module 83 can be realized by the CPU in secondary node, MPU, DSP or FPGA; Above-mentionedOne DNIPW61, the 2nd DNIPW62, the 3rd DNIPW81 and the 4th DNIPW82 can be by leading toLetter link is realized.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or meterCalculation machine program product. Therefore, the present invention can adopt hardware implementation example, implement software example or in conjunction with software andThe form of the embodiment of hardware aspect. And the present invention can adopt one or more and wherein include calculatingThe computer-usable storage medium of machine usable program code (includes but not limited to magnetic disc store and optical storageDevice etc.) form of the upper computer program of implementing.
The present invention is that reference is according to the method for the embodiment of the present invention, equipment (system) and computer programFlow chart and/or block diagram describe. Should understand can be by computer program instructions realization flow figure and/or sideFlow process in each flow process in block diagram and/or square frame and flow chart and/or block diagram and/or the knot of square frameClose. Can provide these computer program instructions to all-purpose computer, special-purpose computer, Embedded Processor orThe processor of other programmable data processing device is to produce a machine, and making can by computer or otherThe instruction that the processor of programming data treatment facility is carried out produces for realizing in flow process or multiple of flow chartThe device of the function of specifying in square frame of flow process and/or block diagram or multiple square frame.
These computer program instructions also can be stored in can vectoring computer or other programmable data processing deviceIn computer-readable memory with ad hoc fashion work, make to be stored in this computer-readable memoryInstruction produces the manufacture that comprises command device, and this command device is realized at flow process of flow chart or multiple streamThe function of specifying in square frame of journey and/or block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makeMust on computer or other programmable devices, carry out sequence of operations step to produce computer implemented placeReason, thus the instruction of carrying out on computer or other programmable devices is provided for realizing one of flow chartThe step of the function of specifying in square frame of flow process or multiple flow process and/or block diagram or multiple square frame.
The above, be only preferred embodiment of the present invention, is not intended to limit protection model of the present inventionEnclose.

Claims (24)

1. a pseudo-line dual-homing protection switched system, described system comprises: primary node, secondary node, netNetwork side source node and user's side source node; Wherein, between described primary node and network side source node, be provided withThe pseudo-line PW that works, is provided with protection PW, described primary joint between described secondary node and network side source nodeBetween point and user's side source node, be provided with work aggregated links AC, described secondary node and user's side source jointBetween point, be provided with protection AC; It is characterized in that, between described primary node and secondary node, be provided withThe interconnected pseudo-line DNIPW of one binode and the 2nd DNIPW; Wherein,
A described DNIPW, for protect work AC on primary node, bearer network side source node mistakeThe flow coming; Also, at secondary node, protect PW, the stream that carrying user side source node is comeAmount;
Described the 2nd DNIPW, for protect work PW on primary node, carrying user side source node mistakeThe flow coming; Also for protection protection AC on secondary node, the stream that bearer network side side source node is comeAmount.
2. system according to claim 1, is characterized in that,
Described primary node is used for according to the duty of work PW the flow of coming on a DNIPWBe transmitted to network side source node, also for the flow of coming on the 2nd DNIPW is forwarded by work ACTo user's side source node;
Described secondary node is for being forwarded to user by the flow of coming on a DNIPW by protection ACSide source node, also for being sent to network side source by the flow of coming on the 2nd DNIPW by protection PWNode.
3. system according to claim 2, is characterized in that, described primary node is for workingWhen PW fault-free, the flow of coming on a DNIPW is transmitted to network side source joint by work PWPoint; Or,
For in the time working PW fault, the flow receiving on a DNIPW is switched to second fastOn DNIPW, send to secondary node, be transmitted to network side source node by secondary node.
4. according to the wherein system described in any one of claims 1 to 3, it is characterized in that, described system alsoDispose pseudo-line automatic protection switching PWAPS and the pseudo-line automatic protection switching MC-PWAPS across frameFor network side dual-homing protection and link aggregation/linear multiplex section protection (LAG/MSP) with across frameLink aggregation/linear multiplex section protection (MC-LAG/MSP) is protected for user's sidelinks.
5. system according to claim 3, is characterized in that, described PWAPS is for working as workWhen PW breaks down, realize the switching of flow from work PW to protection PW on network side source node, instituteState MC-PWAPS simultaneously in the time that work PW breaks down, realize primary node to secondary nodeSwitch; Described LAG/MSP is in the time that work AC breaks down, by the work shape of user's side source nodeState switches to by protection AC and receives and transmitted traffic, and described MC-PWAPS is simultaneously for working as work ACWhile breaking down, realize the switching of primary node to secondary node.
6. according to the wherein system described in any one of claims 1 to 3, it is characterized in that, normal in systemIn situation, flow is sent to user's side source node process via work PW from network side source node, works as streamAmount arrives after primary node, and via work, AC is sent to user's side source node, simultaneously via a DNIPWAC is sent to user's side source node with protection; User's side source node according to work at present state work ACSelect a reception of carrying out flow with protecting in AC;
When flow is sent to network side source node from user's side source node via work AC and protection AC simultaneouslyTime, the flow that primary node reception work AC sends, the flow that secondary node sends protection AC viaThe one DNIPW is sent to primary node, flow, also resistance that primary node selective reception work AC sendsFill in the flow that a DNIPW sends.
7. a pseudo-line dual-homing protection changing method, network side source node is by the pseudo-line PW of work or protectionPW is to user side equipment transmitted traffic, and user side equipment is by work aggregated links AC and protection AC differenceTo network equipment transmitted traffic; It is characterized in that, described method also comprises:
Network side source node is during to user's side source node transmitted traffic, and primary node is interconnected by the first binodeThe flow that pseudo-line DNIPW protection work AC bearer network side source node are come; Secondary node passes throughThe flow that the 2nd DNIPW protection protection AC bearer network side source node are come;
User's side source node is during to network side source node transmitted traffic, and primary node is protected by the 2nd DNIPWNurse makes PW and carries the flow that user's side source node is come; Secondary node is protected by a DNIPWProtect protection PW and carry the flow that user's side source node is come.
8. method according to claim 7, is characterized in that, described primary node is by a DNIPW protection work AC, comprising: primary node sends to joint for subsequent use by described flow by a DNIPWPoint;
Described primary node, by the 2nd DNIPW protection work PW, comprising: primary node is by described streamAmount sends to secondary node by the 2nd DNIPW;
Described secondary node, by the 2nd DNIPW protection protection AC, comprising: secondary node is by described streamAmount sends to primary node by the 2nd DNIPW;
Described secondary node, by a DNIPW protection protection PW, comprising: secondary node is by described streamAmount sends to primary node by a DNIPW.
9. method according to claim 8, is characterized in that, described primary node is logical by described flowWhen crossing a DNIPW and sending to secondary node, described secondary node is by the stream of coming on a DNIPWAmount is sent to network side source node by protection PW;
When primary node sends to secondary node by described flow by the 2nd DNIPW, described secondary nodeThe flow of coming on the 2nd DNIPW is sent to network side source node by protection PW;
When secondary node sends to primary node by described flow by the 2nd DNIPW, described primary nodeThe flow of coming on the 2nd DNIPW is forwarded to user's side source node by work AC;
When secondary node sends to primary node by described flow by a DNIPW, described primary nodeAccording to work PW duty by described traffic forwarding to network side source node.
10. method according to claim 9, is characterized in that, described primary node is according to work PWDuty by described traffic forwarding to network side source node, comprising:
In the time of work PW fault-free, the flow of coming on a DNIPW is passed through work by described primary nodeBe transmitted to network side source node as PW;
In the time of work PW fault, described primary node is cut the flow receiving on a DNIPW fastChange on the 2nd DNIPW and send to secondary node, be transmitted to network side source node by secondary node.
11. 1 kinds of pseudo-line dual-homing protection changing methods, is characterized in that, described method comprises:
Network side source node is during to user's side source node transmitted traffic, and primary node is interconnected by the first binodeThe flow that pseudo-line DNIPW protection work aggregated links AC bearer network side source node are come;
User's side source node is during to network side source node transmitted traffic, and primary node is protected by the 2nd DNIPWNurse fakes line PW and carries the flow that user's side source node is come.
12. methods according to claim 11, is characterized in that, described primary node is by firstDNIPW protection work AC, comprising: primary node sends to standby by described flow by a DNIPWWith node;
Described primary node, by the 2nd DNIPW protection work PW, comprising: primary node is by described streamAmount sends to secondary node by the 2nd DNIPW.
13. methods according to claim 12, is characterized in that, described method also comprises:
Primary node receive secondary node by the 2nd DNIPW send flow time, by the 2nd DNIPWOn the flow of coming be forwarded to user's side source node by work AC;
Primary node receive secondary node by the one DNIPW send flow time, according to work PWDuty by described traffic forwarding to network side source node.
14. methods according to claim 13, is characterized in that, described primary node is according to workThe duty of PW to network side source node, comprises described traffic forwarding:
In the time of work PW fault-free, the flow of coming on a DNIPW is passed through work by described primary nodeBe transmitted to network side source node as PW;
In the time of work PW fault, described primary node is cut the flow receiving on a DNIPW fastChange on the 2nd DNIPW and send to secondary node, be transmitted to network side source node by secondary node.
15. 1 kinds of pseudo-line dual-homing protection switching device shifters, are positioned on primary node, it is characterized in that described dressPut and comprise: the interconnected pseudo-line DNIPW of the first binode and the 2nd DNIPW; Wherein,
A described DNIPW, for network side source node during to user's side source node transmitted traffic, protectionThe flow that work aggregated links AC bearer network side source node are come;
Described the 2nd DNIPW, for user's side source node during to network side source node transmitted traffic, protectionPseudo-line PW carry the flow that user's side source node is come works.
16. devices according to claim 15, is characterized in that, a described DNIPW by withLower mode is protected work AC:
Receive the flow of primary node transmission and be transmitted to secondary node;
Described the 2nd DNIPW protects work PW in the following manner:
Receive the flow of primary node transmission and be transmitted to secondary node.
17. devices according to claim 16, is characterized in that, described device also comprises: first-classAmount forwarding module, while passing through the flow of the 2nd DNIPW transmission for receive secondary node at primary node,The flow of coming on the 2nd DNIPW is forwarded to user's side source node by work AC; Also for leadingWith node receive secondary node by the one DNIPW send flow time, according to work PW workState by described traffic forwarding to network side source node.
18. methods according to claim 15, is characterized in that, described device also comprises judge module,Be used for judging work PW work at present state, described duty comprises: fault and fault-free;
Traffic forwarding module, in the time working PW fault-free, by the flow of coming on a DNIPWBy work, PW is transmitted to network side source node;
Traffic forwarding module, in the time working PW fault, by the flow receiving on a DNIPWBe switched to fast on the 2nd DNIPW and send to secondary node, be transmitted to network side source joint by secondary nodePoint.
19. 1 kinds of pseudo-line dual-homing protection changing methods, is characterized in that, described method comprises:
Network side source node is during to user's side source node transmitted traffic, and secondary node is interconnected by the second binodeThe flow that pseudo-line DNIPW protection protection aggregated links AC bearer network side source node are come;
User's side source node is during to network side source node transmitted traffic, and secondary node is protected by a DNIPWProtect the pseudo-line PW of protection and carry the flow that user's side source node is come.
20. methods according to claim 19, is characterized in that, described secondary node is by firstDNIPW protection protection PW, comprising: secondary node sends to master by described flow by a DNIPWWith node;
Described secondary node, by the 2nd DNIPW protection protection AC, comprising: secondary node is by described streamAmount sends to primary node by the 2nd DNIPW.
21. methods according to claim 20, is characterized in that, described secondary node receives primaryWhen node passes through the flow of a DNIPW transmission, the flow of coming on a DNIPW is passed through to protectionPW is sent to network side source node;
Described secondary node receive primary node by the 2nd DNIPW send flow time, by secondThe flow of coming on DNIPW is sent to network side source node by protection PW.
22. 1 kinds of pseudo-line dual-homing protection switching device shifters, are positioned on secondary node, it is characterized in that described dressPut and comprise: the interconnected pseudo-line DNIPW of the 3rd binode and the 4th DNIPW; Wherein,
Described the 3rd DNIPW, for, protecting during to network side source node transmitted traffic at user's side source nodeProtect the pseudo-line PW of protection and carry the flow that user's side source node is come;
Described the 4th DNIPW, for, protecting during to user's side source node transmitted traffic at network side source nodeProtect the flow that protection aggregated links AC bearer network side source node are come.
23. devices according to claim 22, is characterized in that, described the 3rd DNIPW by withLower mode protection PW:
Receive the flow of secondary node transmission and be transmitted to primary node;
Described the 4th DNIPW protects AC in the following manner:
Receive the flow of secondary node transmission and be transmitted to primary node.
24. devices according to claim 23, is characterized in that, described device also comprises: secondAmount forwarding module, for receive primary node by the 3rd DNIPW send flow time, by the 3rdThe flow of coming on DNIPW is sent to network side source node by protection PW; Also for receiving masterWhile passing through the flow of the 4th DNIPW transmission with node, the flow of coming on the 4th DNIPW is passed through to protectProtect PW and be sent to network side source node.
CN201410715264.5A 2014-12-01 2014-12-01 Pseudo wire dual-homing protection switching system, method and device Active CN105656776B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410715264.5A CN105656776B (en) 2014-12-01 2014-12-01 Pseudo wire dual-homing protection switching system, method and device
PCT/CN2015/074617 WO2016086548A1 (en) 2014-12-01 2015-03-19 Pseudo wire dual-homing protection switching system, method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410715264.5A CN105656776B (en) 2014-12-01 2014-12-01 Pseudo wire dual-homing protection switching system, method and device

Publications (2)

Publication Number Publication Date
CN105656776A true CN105656776A (en) 2016-06-08
CN105656776B CN105656776B (en) 2020-03-27

Family

ID=56090898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410715264.5A Active CN105656776B (en) 2014-12-01 2014-12-01 Pseudo wire dual-homing protection switching system, method and device

Country Status (2)

Country Link
CN (1) CN105656776B (en)
WO (1) WO2016086548A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109787895A (en) * 2019-03-29 2019-05-21 烽火通信科技股份有限公司 A kind of dual-homing protection method, access node, equipment and communication network
CN110351129A (en) * 2019-06-27 2019-10-18 烽火通信科技股份有限公司 Cross-domain guard method and system are transmitted in grouping
CN111131035A (en) * 2019-12-18 2020-05-08 新华三半导体技术有限公司 Data transmission method and device
CN111865798A (en) * 2020-06-29 2020-10-30 烽火通信科技股份有限公司 Method and system for realizing MPLS-TP dual-homing protection of AC side message communication of main and auxiliary nodes
CN112769587A (en) * 2019-11-05 2021-05-07 中兴通讯股份有限公司 Forwarding method and device for access flow of dual-homing device and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114826872B (en) * 2022-04-02 2023-05-26 烽火通信科技股份有限公司 Node protection alarm linkage optimization method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141330A (en) * 2007-10-23 2008-03-12 华为技术有限公司 Method, system and equipment to establish BFD detection for LSP tunnel
CN101257441A (en) * 2008-02-29 2008-09-03 华为技术有限公司 Method, equipment and system for forwarding message as well as equipment for receiving message
CN101616051A (en) * 2008-06-27 2009-12-30 华为技术有限公司 Create the method and the device of pseudo-line
CN101902353A (en) * 2009-05-31 2010-12-01 华为技术有限公司 Protecting method, device and system of packet network
CN101984591A (en) * 2010-10-13 2011-03-09 中兴通讯股份有限公司 Service convergence method and system in transport-multiprotocol label switching network
CN102325037A (en) * 2011-05-25 2012-01-18 中兴通讯股份有限公司 Method and system for switching pseudo-wire dual-homing network and dual-homing operator equipment
CN102487327A (en) * 2010-12-01 2012-06-06 中兴通讯股份有限公司 Service switch method and device
CN102611577A (en) * 2012-03-02 2012-07-25 中兴通讯股份有限公司 LDP (Label Distribution Protocol) conversation-based method, device and system for protecting PWs (Pseudo Wires)
CN102710523A (en) * 2012-06-14 2012-10-03 中兴通讯股份有限公司 Method and system for switching path
US8724452B2 (en) * 2010-12-30 2014-05-13 Eci Telecom Ltd. Technique for protecting communication traffic in a connection having redundancy

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141330A (en) * 2007-10-23 2008-03-12 华为技术有限公司 Method, system and equipment to establish BFD detection for LSP tunnel
CN101257441A (en) * 2008-02-29 2008-09-03 华为技术有限公司 Method, equipment and system for forwarding message as well as equipment for receiving message
CN101616051A (en) * 2008-06-27 2009-12-30 华为技术有限公司 Create the method and the device of pseudo-line
CN101902353A (en) * 2009-05-31 2010-12-01 华为技术有限公司 Protecting method, device and system of packet network
CN101984591A (en) * 2010-10-13 2011-03-09 中兴通讯股份有限公司 Service convergence method and system in transport-multiprotocol label switching network
CN102487327A (en) * 2010-12-01 2012-06-06 中兴通讯股份有限公司 Service switch method and device
US8724452B2 (en) * 2010-12-30 2014-05-13 Eci Telecom Ltd. Technique for protecting communication traffic in a connection having redundancy
CN102325037A (en) * 2011-05-25 2012-01-18 中兴通讯股份有限公司 Method and system for switching pseudo-wire dual-homing network and dual-homing operator equipment
CN102611577A (en) * 2012-03-02 2012-07-25 中兴通讯股份有限公司 LDP (Label Distribution Protocol) conversation-based method, device and system for protecting PWs (Pseudo Wires)
CN102710523A (en) * 2012-06-14 2012-10-03 中兴通讯股份有限公司 Method and system for switching path

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109787895A (en) * 2019-03-29 2019-05-21 烽火通信科技股份有限公司 A kind of dual-homing protection method, access node, equipment and communication network
WO2020199421A1 (en) * 2019-03-29 2020-10-08 烽火通信科技股份有限公司 Dual-homing protection method, access node, device and communication network
CN110351129A (en) * 2019-06-27 2019-10-18 烽火通信科技股份有限公司 Cross-domain guard method and system are transmitted in grouping
CN110351129B (en) * 2019-06-27 2021-12-14 烽火通信科技股份有限公司 Packet transmission cross-domain protection method and system
CN112769587A (en) * 2019-11-05 2021-05-07 中兴通讯股份有限公司 Forwarding method and device for access flow of dual-homing device and storage medium
WO2021088808A1 (en) * 2019-11-05 2021-05-14 中兴通讯股份有限公司 Method for dual-homing device access traffic forwarding, device, and storage medium
CN111131035A (en) * 2019-12-18 2020-05-08 新华三半导体技术有限公司 Data transmission method and device
CN111865798A (en) * 2020-06-29 2020-10-30 烽火通信科技股份有限公司 Method and system for realizing MPLS-TP dual-homing protection of AC side message communication of main and auxiliary nodes

Also Published As

Publication number Publication date
WO2016086548A1 (en) 2016-06-09
CN105656776B (en) 2020-03-27

Similar Documents

Publication Publication Date Title
CN105656776A (en) Pseudo-wire dual-homing protection switching system, method and device
CN102571426B (en) Double-homing protection method and device
CN103534982B (en) The protection method of service reliability, equipment and network virtualization system
CN104980372A (en) Relay System And Switching Device
CN102035712B (en) Multiprotocol label exchanged ring network protection method, device and system
CN102882780B (en) Looped network tunnel configuration method based on overlapping trees, ring network protection method and system
US20080068988A1 (en) Packet communication method and packet communication device
CN103684951B (en) A kind of ring network protection method and system
CN104270231B (en) A kind of system and method for realizing binode interconnection pseudo-wire
CN101710875A (en) Method and device for realizing rapid re-routing
CN103581025B (en) Method and system for processing routing information and equipment
CN101783743B (en) Business protection method and switching node
CN105871674A (en) Ring protection link fault protection method, device and system
CN101425941B (en) Loop network link convergence time and recovery time test system
WO2016058320A1 (en) Method, device and system for reducing centralized protection switching time in potn system
CN107465611A (en) The pretection switch method and device of SDN controllers and Switch control link
EP3182645B1 (en) Network protection switching method, network device and storage medium
CN1933422B (en) Network trouble switching method
CN101483491B (en) Shared guard ring, multicast source route protection method and node thereof
CN102143043A (en) Method and device for establishing label switching path
CN101964743A (en) Multiprotocol label-switched path APS (Active Protection System) protection and management method, equipment and system
CN108616426B (en) Ring network and service data forwarding method
CN105681149A (en) Loop network protection method and device
CN106161232A (en) A kind of method and apparatus of protecting tunnel switching
JP5929720B2 (en) Communication system and network relay device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant