CN103117924A - Method and device for protection switching - Google Patents

Method and device for protection switching Download PDF

Info

Publication number
CN103117924A
CN103117924A CN2013100562818A CN201310056281A CN103117924A CN 103117924 A CN103117924 A CN 103117924A CN 2013100562818 A CN2013100562818 A CN 2013100562818A CN 201310056281 A CN201310056281 A CN 201310056281A CN 103117924 A CN103117924 A CN 103117924A
Authority
CN
China
Prior art keywords
tunnel
protection
node
main
standby
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
CN2013100562818A
Other languages
Chinese (zh)
Other versions
CN103117924B (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201310056281.8A priority Critical patent/CN103117924B/en
Publication of CN103117924A publication Critical patent/CN103117924A/en
Application granted granted Critical
Publication of CN103117924B publication Critical patent/CN103117924B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method and a device for protection switching. The method includes the steps: adding all tunnels except for a main tunnel between a head node and a tail node into a tunnel backup set when protection switching between the head node and the tail node is built; performing protection switching for service transmission between the head node and the tail node through the main tunnel and a standby tunnel selected from the tunnel backup set by the head node; and when detecting that the main tunnel fails, selecting two tunnels from the tunnel backup set, using one of the two tunnels as a secondary main tunnel, using the other tunnel as a secondary standby tunnel and performing protection switching for service transmission between the head node and the tail node through the secondary main tunnel and the secondary standby tunnel. By the method and the device, existing resources can be sufficiently used.

Description

A kind of protection reverse method and equipment
Technical field
The application relates to communication technical field, particularly a kind of protection reverse method and equipment.
Background technology
Multiprotocol label switching-transport architecture (MPLS Transport Profile, MPLS TP) be based on packet switching, connection-oriented multi-service tranmission techniques, can not only carry preferably the carrier class Ethernet service, and traditional TDM and ATM business have been taken into account, also can support the IP/MPLS business to transmit, satisfy standardization business, high reliability, flexible expansion, strict QOS and perfect five base attributes such as OAM.
MPLS TP supports wrap protection end to end, comprises that 1:1 protection is switched with 1+1 protection to switch, wherein,
It is to provide active and standby two Tunnel between the head node of Tunnel and tail node that 1:1 protection is switched, and under normal circumstances, data are transmitted on main Tunnel; Find that by testing mechanism (as MPLS OAM) defective occurs main Tunnel when head node, need to protect when switching, data exchange is upward continued transmission to standby Tunnel.The 1:1 protection is switched and is supported unidirectional tunnel and bidirectional tunnel.
It is to provide active and standby two Tunnel between the head node of Tunnel and tail node that 1+1 protection is switched, and under normal circumstances, data all transmits on main Tunnel, standby Tunnel, tail node selective reception master Tunnel or for the data of Tunnel; When finding that by testing mechanism (as MPLS OAM) wherein defective occurs a Tunnel, switch head node protection, at this moment tail node can only receive the flow in another tunnel.1+1 protection is switched and is only supported bidirectional tunnel.
As seen, the 1:1 protection supported of MPLS TP is switched to switch with 1+1 protection and has been realized the tunnel with another TP of 1 TP protecting tunnel.
In actual applications; more than two paths often between head node and tail node; for example in MPLS TP networking shown in Figure 1; physical presence four paths between PE1 and PE2: PE1-P1-PE2, PE1-P2-PE2, PE1-P3-PE2, PE1-P4-PE2; yet; according to the wrap protection of MPLS TP, can only select wherein two to implement protection and switch in four paths, fail for the protection of switching in the two other path.
Hence one can see that; the wrap protection that existing MPLS TP supports can not utilize existing resource fully; can't reach more stable effect, same reason, other supports also to have this problem that can't take full advantage of existing resource in the network environment of wrap protection end to end.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of protection reverse method, the method can take full advantage of existing resource.
For achieving the above object, technical scheme provided by the invention is:
A kind of protection reverse method comprises:
Set up when between head node and tail node, protection is switched, all tunnels except main tunnel between head node and tail node are joined in the tunnel backup group;
The standby tunnel that head node is selected by main tunnel with from the tunnel backup group is switched the transmission of the business between head node and tail node enforcement protection;
When main tunnel failure being detected; select two tunnels from the tunnel backup group; with a tunnel in two tunnels as secondary main tunnel, another tunnel as secondary standby tunnel, by secondary main tunnel and secondary standby tunnel to the business between head node and tail node transmission implement protection and switch.
A kind of protection switching equipment comprises: grouped element, detecting unit, selected cell, protection switch unit;
Described grouped element, be used for that this equipment is set up as head node and tail node between protection when switching, will and tail node between all tunnels except main tunnel join in the tunnel backup group;
Described detecting unit, for detection of this equipment as the fault whether of the main tunnel between head node and tail node;
Described protection switch unit is used for by main tunnel with from the standby tunnel that the tunnel backup group is selected, this equipment being switched as the transmission of the business between head node and tail node enforcement protection; When arriving this equipment as the main tunnel failure between head node and tail node for detection of unit inspection; the notice selected cell is selected two tunnels from the tunnel backup group; with a tunnel in two tunnels as secondary main tunnel, another tunnel as secondary standby tunnel, and the secondary main tunnel of selecting by selected cell and secondary standby tunnel to this equipment as the business between head node and tail node transmission implement protection and switch.
In sum, the present invention is by joining the tunnel backup group with all tunnels outside the main tunnel between head node and tail node, under normal circumstances, use main tunnel and a standby tunnel selecting is realized the protection of the transmission of the business between head node and tail node is switched from the tunnel backup group; During main tunnel failure between head node and node, use two tunnels in the tunnel backup group to realize the protection of the transmission of the business between head node and tail node is switched, can take full advantage of existing resource.
Description of drawings
Fig. 1 is prior art MPLS TP networking schematic diagram;
Fig. 2 is the schematic flow sheet of embodiment of the present invention protection reverse method;
Fig. 3 is the structural representation of the protection switching equipment that provides of the embodiment of the present invention.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, referring to the accompanying drawing embodiment that develops simultaneously, scheme of the present invention is described in further detail.
In the embodiment of the present invention; in order to take full advantage of existing resource; setting up protection between head node and tail node when switching; with a tunnel between head node and tail node as main tunnel; other tunnel between head node and tail node is all joined in a tunnel backup group, utilize tunnel in main tunnel and tunnel backup group to realize that the protection between head node and tail node switches.
The protection reverse method that the embodiment of the present invention provides; be applicable to multiple networking; such as MPLS TP networking, Ethernet virtual interconnected (EVI) networking etc.; under MPLS TP networking; head node and tail node are the route exchange devices that is connected by MPLS TP tunnel; under the EVI networking, head node is two layers of access device that are connected by gre tunneling with tail node.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of embodiment of the present invention protection reverse method, comprises the following steps:
The standby tunnel that step 201, head node are selected by main tunnel with from the tunnel backup group is switched the transmission of the business between head node and tail node enforcement protection;
In the present embodiment, it can be that the 1:1 protection is switched that described protection is switched, or 1+1 protection is switched.
When protection is switched as 1:1; the standby tunnel of selecting by main tunnel with from the tunnel backup group is switched the transmission of the business between head node and tail node enforcement protection and comprised: the head node head node sends service message by main tunnel to tail node, and tail node receives the service message of voluntary tunnel.
When protection is switched as 1+1; the standby tunnel of selecting by main tunnel with from the tunnel backup group is switched the transmission of the business between head node and tail node enforcement protection and comprised: the head node head node sends service message by main tunnel and standby tunnel to tail node, and the tail node selective reception comes the service message of voluntary tunnel.
Step 202, when main tunnel failure being detected; select two tunnels from the tunnel backup group; with a tunnel in two tunnels as secondary main tunnel, another tunnel as secondary standby tunnel, by secondary main tunnel and secondary standby tunnel to the business between head node and tail node transmission implement protection and switch.
When protection is switched as 1:1; by secondary main tunnel and secondary standby tunnel, the transmission of the business between head node and tail node enforcement protection is switched and comprise: head node sends service message by secondary main tunnel to tail node, and tail node receives the service message from secondary main tunnel.
When protection is switched as 1+1; by secondary main tunnel and secondary standby tunnel, the transmission of the business between head node and tail node enforcement protection is switched and comprise: head node sends service message by secondary main tunnel and secondary standby tunnel to tail node, and the tail node selective reception is from the service message in secondary main tunnel.
In this step; after main tunnel failure between head node and tail node; by secondary main tunnel and the secondary standby tunnel selected from the tunnel backup group, the transmission of the business between head node and tail node enforcement protection is switched; at this moment; if the secondary main tunnel fails that should select has following two kinds of situations:
One, the main tunnel between head node and tail node recovers from fault; in this case; the business transmission can be switched go back to main tunnel, the standby tunnel of again selecting by main tunnel and from the tunnel backup group is switched the transmission of the business between head node and tail node enforcement protection.
Two, the main tunnel between head node and tail node still is in malfunction; do not recover from fault; in this case; the secondary main tunnel that need to reselect from the tunnel backup group and secondary standby tunnel are switched the transmission of the business between head node and tail node enforcement protection by secondary main tunnel and the secondary standby tunnel of new selection.
In actual applications, because the tunnel is also unstable when just recovering, shake can occur from fault, repeatedly switch the problem of bringing for fear of the business transmission between two tunnels, can set in advance a tunnel switchback time.like this, in above-mentioned the first situation, again before the standby tunnel of selecting by main tunnel and from the tunnel backup group is switched the transmission of the business between head node and tail node enforcement protection, can also judge that whether the time of main tunnel failure recovery is greater than the default tunnel switchback time, if, the business transmission can be switched go back to main tunnel, again the standby tunnel of selecting by main tunnel and from the tunnel backup group is switched the transmission of the business between head node and tail node enforcement protection, otherwise, the secondary main tunnel that can reselect from the tunnel backup group and secondary standby tunnel, secondary main tunnel and secondary standby tunnel by new selection are switched the transmission of the business between head node and tail node enforcement protection.
In the embodiment of the present invention shown in Figure 2; in order to select suitable standby tunnel, secondary main tunnel and secondary standby tunnel from the tunnel backup group; and utilize main tunnel and standby tunnel that the transmission of the business between head node and tail node enforcement protection is switched; or utilize secondary main tunnel and secondary standby tunnel that the transmission of the business between head node and tail node enforcement protection is switched; can after all tunnels except main tunnel between head node and tail node are joined the tunnel backup group, all tunnels in the tunnel backup group be sorted according to preset rules.Correspondingly; when selecting a standby tunnel corresponding to main tunnel from the tunnel backup group; article one in clooating sequence can be selected as standby tunnel in the tunnel of fault, thereby can be utilized main tunnel and the standby tunnel selected is protected the transmission of the business between head node and tail node enforcement and switched from the tunnel backup group.Select two tunnels from the tunnel backup group, with a tunnel in two tunnels as secondary main tunnel, another tunnel as the method in secondary standby tunnel be: article one in clooating sequence is not selected as secondary main tunnel in the tunnel of fault, article one in clooating sequence is not selected as secondary standby tunnel in the tunnel of fault.
take Fig. 1 as example, suppose path P E1-P1-PE2 bearing tunnel 1, be the main tunnel between PE1 and PE2, path P E1-P2-PE2, PE1-P3-PE2, PE1-P4-PE2 is bearing tunnel 2 respectively, tunnel 3, tunnel 4, can be with tunnel 2, tunnel 3, tunnel 4 joins in the tunnel backup group, suppose according to default to the tunnel in the tunnel backup group sequence to obtain ranking results as follows: tunnel 2, tunnel 3, tunnel 4, in the tunnel 1, tunnel 2, tunnel 3, tunnel 4 is not all during fault, can select tunnel 2 as the standby tunnel in tunnel 1 from the tunnel backup group, make between PE1 and PE2 and to be undertaken by tunnel 1 and tunnel 2 that the 1:1 protection is switched or 1+1 protection is switched, when tunnel 1 fault, can select tunnel 2 as secondary main tunnel from the tunnel backup group, tunnel 3 is as secondary standby tunnel, makes to be undertaken by tunnel 2 and tunnel 3 between PE1 and PE2 that the 1:1 protection is switched or 1+1 protection is switched.When supposing again tunnel 1 fault, fault has also occured in tunnel 2; can select tunnel 3 as secondary main tunnel from the tunnel backup group; tunnel 4 is as secondary standby tunnel, makes to be undertaken by tunnel 3 and tunnel 4 between PE1 and PE2 that the 1:1 protection is switched or 1+1 protection is switched.
here, need to prove, when selecting secondary main tunnel and secondary standby tunnel from the tunnel backup group, (for example consider based on the problem of avoiding the tunnel repeatedly to switch, the secondary main tunnel of this selection is just to recover from fault, in this case, the fault recovery situation in secondary main tunnel is unstable, the network jitter that may occur), when particularly selecting certain tunnel as secondary main tunnel, can judge first that also the failure recovery time in main tunnel of the tunnel centering that this priority is the highest is whether greater than the default tunnel switchback time, if, this tunnel can be selected as secondary main tunnel, otherwise, can continue to judge next tunnel fault whether in clooating sequence, and this next tunnel not under failure condition failure recovery time whether greater than (if fault not always of default tunnel switchback time, failure recovery time is infinitely great), thereby determine whether next tunnel meets the condition of selecting in secondary main tunnel (also namely not fault and failure recovery time greater than the default tunnel switchback time).
Above-mentioned can have multiple according to the method that preset rules sorts all tunnels in the tunnel backup group, for example: according to the tunnel prioritization, perhaps according to Tunnel Identifier sequence, perhaps sort according to Tunnel Identifier when identical according to tunnel prioritization and tunnel priority, etc.
The below is take Fig. 1 as example, and transmission is illustrated to the business under 1:1 and 1+1 protection Switchover mechanism respectively.
Suppose all faults not of tunnel 2 in Fig. 1, tunnel 3, tunnel 4.
If adopt the 1:1 wrap protection between PE1 and PE2,,
In normal situation, tunnel 2 is selected as the standby tunnel in tunnel 1, and PE1 sends service message by tunnel 1 to PE2, and PE2 also can receive the service message from tunnel 1.
When tunnel 1 broke down, PE1 selected tunnel 2 as secondary main tunnel from the tunnel backup group, and tunnel 3 is as secondary standby tunnel, and sent service message by tunnel 2 to PE2, and PE2 also can receive the service message from tunnel 2.
If PE1 and PE2 utilize tunnel 2 and tunnel 3 to carry out 1:1 and protect when switching; if tunnel 2 breaks down again and tunnel 1 does not recover from fault; PE1 selects tunnel 3 as secondary main tunnel from the tunnel backup group; tunnel 4 is as secondary standby tunnel; and send service message by tunnel 3 to PE2, and PE2 also can receive the service message from tunnel 3.
If adopt the 1+1 protection Switchover mechanism between PE1 and PE2,,
In normal situation, tunnel 2 is selected as the standby tunnel in tunnel 1, PE1 by tunnel 1 and tunnel 2 to PE2 transmission service message, PE2 can selective reception from the service message in tunnel 1.
When tunnel 1 broke down, PE1 selected tunnel 2 as secondary main tunnel from the tunnel backup group, and tunnel 3 is as secondary standby tunnel, and sent service message by tunnel 2 and tunnel 3 to PE2, PE2 can selective reception from the service message in tunnel 2.
If PE1 and PE2 utilize tunnel 2 and tunnel 3 to carry out 1+1 protection when switching; if tunnel 2 breaks down again and tunnel 1 does not recover from fault; PE1 selects tunnel 3 as secondary main tunnel from the tunnel backup group; tunnel 4 is as secondary standby tunnel; and sending service message by tunnel 3 and tunnel 4 to PE2, PE2 can receive the service message from tunnel 3.
The above protection reverse method that the embodiment of the present invention is provided has been described in detail, and the present invention also provides a kind of protection switching equipment, describe below in conjunction with Fig. 3,
Fig. 3 is the structural representation of the protection switching equipment that provides of the embodiment of the present invention, and as shown in Figure 3, this equipment comprises grouped element 301, detecting unit 302, protection switch unit 303, selected cell 304; Wherein,
Grouped element 301, be used for that this equipment is set up as head node and tail node between protection when switching, will and tail node between all tunnels except main tunnel join in the tunnel backup group;
Detecting unit 302, for detection of this equipment as the fault whether of the main tunnel between head node and tail node;
Protection switch unit 303 is used for by main tunnel with from the standby tunnel that the tunnel backup group is selected, this equipment being switched as the transmission of the business between head node and tail node enforcement protection; When this equipment being detected as the main tunnel failure between head node and tail node for detection of unit 302; notice selected cell 304 is selected two tunnels from the tunnel backup group; with a tunnel in two tunnels as secondary main tunnel, another tunnel as secondary standby tunnel, and the secondary main tunnel of selecting by selected cell 304 and secondary standby tunnel to this equipment as the business between head node and tail node transmission implement protection and switch.
In above-mentioned protection switching equipment,
Described detecting unit 302 is further used for detecting each tunnel fault whether in the tunnel backup group; Whether recover from fault as the main tunnel between head node and tail node for detection of this equipment;
Described protection switch unit 303 is after changing the transmission of the business between head node and tail node enforcement protection by secondary main tunnel and secondary standby tunnel, be further used for: if detecting unit 302 detects this secondary main tunnel failure, if this equipment recovers as the main tunnel failure between head node and tail node, the standby tunnel of selecting by main tunnel with from the tunnel backup group is switched the transmission of the business between head node and tail node enforcement protection; If this equipment does not recover as the main tunnel failure between head node and tail node; notify selected cell 304 to reselect two tunnels from the tunnel backup group; with a tunnel in two tunnels newly selecting as new secondary main tunnel, another tunnel as new secondary standby tunnel, and the secondary main tunnel of newly selecting by selected cell 304 and secondary standby tunnel to the business between head node and tail node transmission implement protection and switch.
In above-mentioned protection switching equipment,
described protection switch unit 303 is after detecting unit 302 determines that this equipment recovers as the main tunnel failure between head node and tail node, before the standby tunnel of selecting by main tunnel with from the tunnel backup group is switched the transmission of the business between head node and tail node enforcement protection, be further used for: judge that whether the main tunnel restoration time is greater than the predefined tunnel switchback time, if, the standby tunnel of selecting by main tunnel with from the tunnel backup group is switched the transmission of the business between head node and tail node enforcement protection, otherwise, notice selected cell 304 reselects two tunnels from the tunnel backup group, with a tunnel in two tunnels newly selecting as new secondary main tunnel, another tunnel is as new secondary standby tunnel, and by secondary main tunnel and secondary standby tunnel that selected cell 304 is newly selected, the transmission of the business between head node and tail node enforcement protection is switched.
In above-mentioned protection switching equipment,
Described grouped element 301 is further used for: all tunnels in the tunnel backup group are sorted according to preset rules after all tunnels except main tunnel join in the tunnel backup group between with head node and tail node;
Described selected cell 304 is used for when the standby tunnel of selecting from the tunnel backup group: clooating sequence article one is not selected standby tunnel as main tunnel in the tunnel of fault;
Described selected cell 304 is being selected two tunnels from the tunnel backup group, with a tunnel in two tunnels as new secondary main tunnel, another tunnel during as new secondary standby tunnel, be used for: clooating sequence article one is selected as secondary main tunnel in the tunnel of fault, second not the tunnel of fault as secondary standby tunnel.
In above-mentioned protection switching equipment,
Described grouped element 301 is when sorting all tunnels in the tunnel backup group according to preset rules, be used for: according to the tunnel prioritization, perhaps according to Tunnel Identifier sequence, perhaps sort according to Tunnel Identifier when identical according to tunnel prioritization and tunnel priority.
In above-mentioned protection switching equipment,
Described protection is switched and is switched or 1+1 protection is switched for 1:1 protection.
The technical scheme that is provided by the invention described above embodiment as can be known; when having many tunnels between head node and tail node; by all tunnels outside main tunnel are joined the tunnel backup group and are assigned to different tunnel centerings; utilize each tunnel to realizing the protection to main tunnel; can take full advantage of all tunnels between head node and tail node; take full advantage of on the one hand existing resource; also guarantee on the other hand the robustness that between head node and tail node, protection is switched, improved the stability of business transmission between head node and tail node.
The above is only preferred embodiment of the present invention, is not for limiting protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (12)

1. a protection reverse method, is characterized in that, sets up when between head node and tail node, protection is switched, and all tunnels except main tunnel between head node and tail node are joined in the tunnel backup group; The method comprises:
The standby tunnel that head node is selected by main tunnel with from the tunnel backup group is switched the transmission of the business between head node and tail node enforcement protection;
When main tunnel failure being detected; select two tunnels from the tunnel backup group; with a tunnel in two tunnels as secondary main tunnel, another tunnel as secondary standby tunnel, by secondary main tunnel and secondary standby tunnel to the business between head node and tail node transmission implement protection and switch.
2. protection reverse method according to claim 1, is characterized in that,
Described by secondary main tunnel and secondary standby tunnel to the business between head node and tail node transmission implement further to comprise after protection changes:
If this secondary main tunnel failure detected, if the main tunnel failure between head node and tail node recovers, the standby tunnel of selecting by main tunnel with from the tunnel backup group to the business between head node and tail node transmission implement to protect and switch; If the main tunnel failure between head node and tail node does not recover; reselect two tunnels from the tunnel backup group; with a tunnel in two tunnels as new secondary main tunnel, another tunnel as new secondary standby tunnel, by new secondary main tunnel and secondary standby tunnel to the business between head node and tail node transmission implement protection and switch.
3. protection reverse method according to claim 2, is characterized in that,
after determining the main tunnel failure recovery between head node and tail node, before the standby tunnel of selecting by main tunnel with from the tunnel backup group is switched the transmission of the business between head node and tail node enforcement protection, further comprise: judge that whether main tunnel failure recovery time is greater than the predefined tunnel switchback time, if, the standby tunnel of selecting by main tunnel with from the tunnel backup group is switched the transmission of the business between head node and tail node enforcement protection, otherwise, reselect two tunnels from the tunnel backup group, with a tunnel in two tunnels as new secondary main tunnel, another tunnel is as new secondary standby tunnel, by new secondary main tunnel and secondary standby tunnel, the transmission of the business between head node and tail node enforcement protection is switched.
4. according to claim 1,2 or 3 described protection reverse methods, is characterized in that,
Described with after between head node and tail node, all tunnels except main tunnel join in the tunnel backup group, further comprise: all tunnels in the tunnel backup group are sorted according to preset rules;
The method in the standby tunnel of selecting from the tunnel backup group is: article one in clooating sequence is not selected standby tunnel as main tunnel in the tunnel of fault;
Select two tunnels from the tunnel backup group, with a tunnel in two tunnels as new secondary main tunnel, another tunnel as the method in new secondary standby tunnel be: article one in clooating sequence is selected as secondary main tunnel in the tunnel of fault, second not the tunnel of fault as secondary standby tunnel.
5. protection reverse method according to claim 4, is characterized in that,
With all tunnels in the tunnel backup group according to the method for preset rules sequence be: according to the tunnel prioritization, perhaps according to the Tunnel Identifier sequence, perhaps sort according to Tunnel Identifier when identical according to tunnel prioritization and tunnel priority.
6. protection reverse method according to claim 4, is characterized in that, described protection is switched as 1:1 protects and switched, or 1+1 protection is switched.
7. a protection switching equipment, is characterized in that, this equipment comprises grouped element, detecting unit, selected cell, protection switch unit;
Described grouped element, be used for that this equipment is set up as head node and tail node between protection when switching, will and tail node between all tunnels except main tunnel join in the tunnel backup group;
Described detecting unit, for detection of this equipment as the fault whether of the main tunnel between head node and tail node;
Described protection switch unit is used for by main tunnel with from the standby tunnel that the tunnel backup group is selected, this equipment being switched as the transmission of the business between head node and tail node enforcement protection; When arriving this equipment as the main tunnel failure between head node and tail node for detection of unit inspection; the notice selected cell is selected two tunnels from the tunnel backup group; with a tunnel in two tunnels as secondary main tunnel, another tunnel as secondary standby tunnel, and the secondary main tunnel of selecting by selected cell and secondary standby tunnel to this equipment as the business between head node and tail node transmission implement protection and switch.
8. protection switching equipment according to claim 7, is characterized in that,
Described detecting unit is further used for detecting each tunnel fault whether in the tunnel backup group; Whether recover from fault as the main tunnel between head node and tail node for detection of this equipment;
Described protection switch unit is after changing the transmission of the business between head node and tail node enforcement protection by secondary main tunnel and secondary standby tunnel, be further used for: if detecting unit detects this secondary main tunnel failure, if this equipment recovers as the main tunnel failure between head node and tail node, the standby tunnel of selecting by main tunnel with from the tunnel backup group is switched the transmission of the business between head node and tail node enforcement protection; If this equipment does not recover as the main tunnel failure between head node and tail node; notify selected cell to reselect two tunnels from the tunnel backup group; with a tunnel in two tunnels newly selecting as new secondary main tunnel, another tunnel as new secondary standby tunnel, and the secondary main tunnel of newly selecting by selected cell and secondary standby tunnel to the business between head node and tail node transmission implement protection and switch.
9. protection switching equipment according to claim 8, is characterized in that,
described protection switch unit is after detecting unit determines that this equipment recovers as the main tunnel failure between head node and tail node, before the standby tunnel of selecting by main tunnel with from the tunnel backup group is switched the transmission of the business between head node and tail node enforcement protection, be further used for: judge that whether the main tunnel restoration time is greater than the predefined tunnel switchback time, if, the standby tunnel of selecting by main tunnel with from the tunnel backup group is switched the transmission of the business between head node and tail node enforcement protection, otherwise, the notice selected cell reselects two tunnels from the tunnel backup group, with a tunnel in two tunnels newly selecting as new secondary main tunnel, another tunnel is as new secondary standby tunnel, and by secondary main tunnel and secondary standby tunnel that selected cell is newly selected, the transmission of the business between head node and tail node enforcement protection is switched.
10. according to claim 7,8 or 9 described protection switching equipments, is characterized in that,
Described grouped element is further used for: all tunnels in the tunnel backup group are sorted according to preset rules after all tunnels except main tunnel join in the tunnel backup group between with head node and tail node;
Described selected cell is used for when the standby tunnel of selecting from the tunnel backup group: clooating sequence article one is not selected standby tunnel as main tunnel in the tunnel of fault;
Described selected cell is being selected two tunnels from the tunnel backup group, with a tunnel in two tunnels as new secondary main tunnel, another tunnel during as new secondary standby tunnel, be used for: clooating sequence article one is selected as secondary main tunnel in the tunnel of fault, second not the tunnel of fault as secondary standby tunnel.
11. protection switching equipment according to claim 10 is characterized in that,
Described grouped element is when sorting all tunnels in the tunnel backup group according to preset rules, be used for: according to the tunnel prioritization, perhaps according to Tunnel Identifier sequence, perhaps sort according to Tunnel Identifier when identical according to tunnel prioritization and tunnel priority.
12. protection switching equipment according to claim 10 is characterized in that,
Described protection is switched and is switched or 1+1 protection is switched for 1:1 protection.
CN201310056281.8A 2013-02-22 2013-02-22 A kind of pretection switch method and apparatus Active CN103117924B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310056281.8A CN103117924B (en) 2013-02-22 2013-02-22 A kind of pretection switch method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310056281.8A CN103117924B (en) 2013-02-22 2013-02-22 A kind of pretection switch method and apparatus

Publications (2)

Publication Number Publication Date
CN103117924A true CN103117924A (en) 2013-05-22
CN103117924B CN103117924B (en) 2017-08-11

Family

ID=48416202

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310056281.8A Active CN103117924B (en) 2013-02-22 2013-02-22 A kind of pretection switch method and apparatus

Country Status (1)

Country Link
CN (1) CN103117924B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106936683A (en) * 2015-12-31 2017-07-07 北京网御星云信息技术有限公司 A kind of method and device for realizing tunnel configuration
CN108924046A (en) * 2018-07-16 2018-11-30 烽火通信科技股份有限公司 A kind of guard method and system of gre tunneling bearer service

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9935900B2 (en) * 2014-10-16 2018-04-03 Electronics And Telecommunications Research Institute Method for providing protection switching service in virtual tenant network and controller therefor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949767A (en) * 2005-10-11 2007-04-18 华为技术有限公司 Method for switching master-slave back-up route apparatus based on virtual router redundant protocol
CN101056268A (en) * 2007-05-30 2007-10-17 华为技术有限公司 Method and router for fast rerouting
CN101610143A (en) * 2009-07-09 2009-12-23 华为技术有限公司 The guard method of link data, system and device
WO2010020146A1 (en) * 2008-08-19 2010-02-25 华为技术有限公司 Correlative protection method, device and system for flux engineering channel
CN102025585A (en) * 2009-09-09 2011-04-20 中兴通讯股份有限公司 Method and device for protecting Ethernet tunnel
CN102025646A (en) * 2011-01-05 2011-04-20 杭州华三通信技术有限公司 Link switching method and device thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949767A (en) * 2005-10-11 2007-04-18 华为技术有限公司 Method for switching master-slave back-up route apparatus based on virtual router redundant protocol
CN101056268A (en) * 2007-05-30 2007-10-17 华为技术有限公司 Method and router for fast rerouting
WO2010020146A1 (en) * 2008-08-19 2010-02-25 华为技术有限公司 Correlative protection method, device and system for flux engineering channel
CN101610143A (en) * 2009-07-09 2009-12-23 华为技术有限公司 The guard method of link data, system and device
CN102025585A (en) * 2009-09-09 2011-04-20 中兴通讯股份有限公司 Method and device for protecting Ethernet tunnel
CN102025646A (en) * 2011-01-05 2011-04-20 杭州华三通信技术有限公司 Link switching method and device thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106936683A (en) * 2015-12-31 2017-07-07 北京网御星云信息技术有限公司 A kind of method and device for realizing tunnel configuration
CN106936683B (en) * 2015-12-31 2019-09-17 北京网御星云信息技术有限公司 A kind of method and device for realizing tunnel configuration
CN108924046A (en) * 2018-07-16 2018-11-30 烽火通信科技股份有限公司 A kind of guard method and system of gre tunneling bearer service
CN108924046B (en) * 2018-07-16 2021-06-29 烽火通信科技股份有限公司 Method and system for protecting GRE tunnel bearing service

Also Published As

Publication number Publication date
CN103117924B (en) 2017-08-11

Similar Documents

Publication Publication Date Title
CN101877665B (en) Ring network protecting method, network node and ring network
CN101189837B (en) Packet ring network system, packet transfer method, and node
US8483050B2 (en) Method and apparatus for ethernet ring protection
US9270485B2 (en) Method for ethernet ring protection
CN102571426B (en) Double-homing protection method and device
US8416683B2 (en) Method for protecting data service in metropolitan area transport network
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
CN101710875A (en) Method and device for realizing rapid re-routing
JP2004523979A (en) Selective protection for ring topologies
WO2011095101A1 (en) Linear 1: n protection method, device and system for packet transport network
CN103490921B (en) Network protection method, device, lower link point and system
CN101197733A (en) Automatic detection method and device for network connectivity
Hariyawan Comparison analysis of recovery mechanism at MPLS network
EP2658177B1 (en) Method for detecting tunnel faults and traffic engineering node
CN104468208A (en) Detection and recovery method and device for communication faults
CN100563145C (en) Bundle interface among the RPR and its implementation and device
CN103368844B (en) Message processing method and LSR in MPLS network
CN103117924A (en) Method and device for protection switching
CN102812750B (en) Fault handling method, grouping conveying network and node in grouping conveying network
CN103414591B (en) Method for rapidly converging when a kind of port failure recovers and system
CN102315972B (en) Method for realizing label switching path (LSP) switching and device
CN102055673A (en) Multi-route network and route switching method
CN102546352A (en) Method and system for realizing point-to-multipoint label switching path protection
EP2573977A1 (en) Subnet protection method and device for transport multi-protocol label switching (tmpls) network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant