CN103763170B - Looped network protecting method and device - Google Patents

Looped network protecting method and device Download PDF

Info

Publication number
CN103763170B
CN103763170B CN201410043860.3A CN201410043860A CN103763170B CN 103763170 B CN103763170 B CN 103763170B CN 201410043860 A CN201410043860 A CN 201410043860A CN 103763170 B CN103763170 B CN 103763170B
Authority
CN
China
Prior art keywords
tunnel
label
node
centroid
service message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410043860.3A
Other languages
Chinese (zh)
Other versions
CN103763170A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410043860.3A priority Critical patent/CN103763170B/en
Publication of CN103763170A publication Critical patent/CN103763170A/en
Application granted granted Critical
Publication of CN103763170B publication Critical patent/CN103763170B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of looped network protecting method and device.The method includes:Centroid obtains the first tunnel and enters the mapping relations of label and first tunnel in the positive outgoing label of Section Point in the forward direction of first node;The Centroid judges that forward direction of the tunnel label of the service message for receiving with first tunnel in first node enters whether label matches;If the tunnel label of the service message is replaced with positive outgoing label of first tunnel in Section Point by matching, the Centroid.The embodiment of the present invention is when the quantity of intersecting ring in looped network is more than or equal to 3 and during any two joining simultaneous faults comprising first node, Centroid enters the mapping relations of label and positive outgoing label according to forward direction, the tunnel label of service message is replaced with into positive outgoing label, allow that service message is forwarded directly to destination node, it is ensured that business is not interrupted;In addition the embodiment of the present invention also reduces configuring maintenance workload and reduces the load of equipment.

Description

Looped network protecting method and device
Technical field
The present embodiments relate to the communication technology, more particularly to a kind of looped network protecting method and device.
Background technology
Because multi-protocol label switching ring network protection has than traditional linear protection, configuring maintenance workload is low, save money The advantage of source network resource and high reliability, so multi-protocol label switching ring network protection scheme is promoted.
There is networking of a large amount of individual nodes across multiple intersecting rings in communication network, be as shown in Figure 1 a kind of individual node Across the ring-network topology figure of multiple rings, N number of ring as shown in Figure 1 intersects, and node B and node C is the joining of ring 1 and ring 2, node E With the joining that node C is ring 2 and ring 3, node D and node C is the joining of ring N-1 and ring N, and its interior joint C is all rings Joining.When realizing transannular business 40 from node A to node G, in the joining B, joining E, joining F for passing through and intersecting The mapping relations that the first tunnel forward direction on nodeb enters label and positive outgoing label are configured with point D(TunnelB information)、 Forward direction of first tunnel on node E enters the mapping relations of label and positive outgoing label(TunnelE information), the first tunnel section Forward direction on point F enters forward direction of the label with the mapping relations (tunnelF information) and the first tunnel of positive outgoing label on node D Enter the mapping relations of label and positive outgoing label(TunnelD information), to prevent any node failure in node B, E, F and D, On node c simultaneously be replicated with information of first tunnel in all joinings, i.e. tunnelB information tunnelE information, TunnelF information and tunnelD information.
However, when node B and node D simultaneous faults, node B and node E simultaneous faults, node B and node F event simultaneously Barrier, or, it is necessary to Centroid C carries out the mark of tunnel information twice during any two node simultaneous faults in addition to node B Sign switching motion and be just avoided that service disconnection, but a node can not realize tunnel information twice in multiprotocol label switching Tag switching action, so cause the business to interrupt in Centroid C, i.e. any two joining comprising node B Simultaneous faults, or will cause positive service disconnection during any two joining simultaneous faults in addition to node B.
The content of the invention
The embodiment of the present invention provides a kind of looped network protecting method and device, so that the quantity of proper intersecting ring is more than or equal to 3 When, when any two joining simultaneous faults comprising first node on the first tunnel, or in addition to first node Positive business is not interrupted during any two joining simultaneous faults, the first node be in the first ring in addition to the Centroid The node intersected with the second ring.
The one side of the embodiment of the present invention is to provide a kind of ring net protection method, including:
Centroid obtains the first tunnel and enters label with first tunnel in Section Point in the forward direction of first node The mapping relations of positive outgoing label;
The tunnel label of the service message that the Centroid judgement is received is with first tunnel in first node Forward direction enters whether label matches;
If the tunnel label of the service message is replaced with first tunnel in second section by matching, the Centroid The positive outgoing label of point;
Wherein, the Centroid is the common crossed node of N number of ring, and N is more than or equal to 3;
The first node be on first tunnel, and in the first ring in addition to the Centroid with the second ring Intersecting node, first ring and second ring intersect;
The Section Point be on first tunnel, and in N rings in addition to the Centroid with N-1 rings Intersecting node, the N rings and the N-1 rings intersect.
The other side of the embodiment of the present invention is to provide a kind of ring net protection method, including:
Centroid obtains the mapping relations of positive spare labels and the first tunnel in the positive outgoing label of Section Point;Institute The extra label that positive spare labels are first tunnel is stated, for can not when the first joining on first tunnel When service message is sent into destination node, the tunnel label of the service message is replaced with the forward direction by first joining Spare labels, so that the service message reaches the Centroid along the protection passage of looped network;
The Centroid judges whether the tunnel label of the service message for receiving matches with the positive spare labels;
If the tunnel label of the service message is replaced with first tunnel in second section by matching, the Centroid The positive outgoing label of point;
Wherein, the Centroid is the common crossed node of N number of ring, and N is more than or equal to 3;
The Section Point be on first tunnel, and in N rings in addition to the Centroid with N-1 rings Intersecting node, the N rings and the N-1 rings intersect;
During first joining is the first ring to all joinings of the N rings that first tunnel is passed through Any joining.
The other side of the embodiment of the present invention is to provide a kind of Centroid, including:
Acquisition module, label is entered with first tunnel in second section for obtaining the first tunnel in the forward direction of first node The mapping relations of the positive outgoing label of point;
Matching module, for the tunnel label of service message that judges to receive with first tunnel in first node Forward direction enters whether label matches;
Replacement module, the tunnel label and described first of the service message for judging to receive for the matching module Tunnel replaces with first tunnel and exists when the forward direction of first node enters tag match, by the tunnel label of the service message The positive outgoing label of Section Point;
Wherein, the Centroid is the common crossed node of N number of ring, and N is more than or equal to 3;
The first node be on first tunnel, and in the first ring in addition to the Centroid with the second ring Intersecting node, first ring and second ring intersect;
The Section Point be on first tunnel, and in N rings in addition to the Centroid with N-1 rings Intersecting node, the N rings and the N-1 rings intersect.
The other side of the embodiment of the present invention is to provide a kind of Centroid, including:
Acquisition module, closes for obtaining positive spare labels and the first tunnel in the mapping of the positive outgoing label of Section Point System;The positive spare labels are the extra label in first tunnel, for intersecting when first on first tunnel When service message can not be sent to destination node by point, the tunnel label of the service message is replaced with institute by first joining Positive spare labels are stated, so that the service message reaches the Centroid along the protection passage of looped network;
Matching module, for the tunnel label of service message that judges to receive and the positive spare labels whether Match somebody with somebody;
Replacement module, the tunnel label and the forward direction of the service message for judging to receive for the matching module When spare labels are matched, the tunnel label of the service message is replaced with into positive bid of first tunnel in Section Point Sign;
Wherein, the Centroid is the common crossed node of N number of ring, and N is more than or equal to 3;
The Section Point be on first tunnel, and in N rings in addition to the Centroid with N-1 rings Intersecting node, the N rings and the N-1 rings intersect;
During first joining is the first ring to all joinings of the N rings that first tunnel is passed through Any joining.
Looped network protecting method and device provided in an embodiment of the present invention, when the quantity of intersecting ring in looped network is more than or equal to 3 And any two joining simultaneous faults comprising first node, Centroid can receive service message(For example can be with By existing looped network protection switching technology), label is entered with first tunnel in the forward direction of first node according to the first tunnel In the mapping relations of the positive outgoing label of Section Point, the tunnel label of service message is replaced with the first tunnel and existed by Centroid The positive outgoing label of Section Point, so that service message can be forwarded directly to destination node, it is ensured that positive business not in It is disconnected;Or, during any two joining simultaneous faults in addition to first node, Centroid can receive service message(Example Such as can be by existing looped network protection switching technology), according to positive spare labels and the first tunnel Section Point forward direction The tunnel label of service message is replaced with the first tunnel and gone out in the forward direction of Section Point by the mapping relations of outgoing label, Centroid Label, so that service message can be forwarded directly to destination node, it is ensured that positive business is not interrupted.Further, since being not required to Will in other information of the Centroid configuration in addition to above-mentioned mapping relations, just guaranteed service is not interrupted, therefore the present invention is implemented Example also reduces configuring maintenance workload and reduces the load of equipment.
Brief description of the drawings
Fig. 1 is a kind of ring-network topology figure of individual node across multiple rings;
Fig. 2 is ring net protection method flow chart provided in an embodiment of the present invention;
The ring-network topology figure that Fig. 3 is applicable by ring net protection method provided in an embodiment of the present invention;
The ring-network topology figure that Fig. 4 is applicable by ring net protection method provided in an embodiment of the present invention;
The ring-network topology figure that Fig. 5 is applicable by ring net protection method provided in an embodiment of the present invention;
The ring net protection method flow chart that Fig. 6 is provided for another embodiment of the present invention;
The ring-network topology figure that Fig. 7 is applicable by ring net protection method provided in an embodiment of the present invention;
Fig. 8 is ring net protection method flow chart provided in an embodiment of the present invention;
The ring-network topology figure that Fig. 9 is applicable by ring net protection method provided in an embodiment of the present invention;
The ring net protection method flow chart that Figure 10 is provided for another embodiment of the present invention;
The applicable ring-network topology figure of ring net protection method that Figure 11 is provided by another embodiment of the present invention;
Figure 12 is the structure chart of Centroid provided in an embodiment of the present invention;
The structure chart of the Centroid that Figure 13 is provided for another embodiment of the present invention;
Figure 14 is the hardware structure diagram of Centroid provided in an embodiment of the present invention;
The hardware structure diagram of the Centroid that Figure 15 is provided for another embodiment of the present invention.
Specific embodiment
Fig. 2 is ring net protection method flow chart provided in an embodiment of the present invention.The embodiment of the present invention is suitable for when looped network During any two joining simultaneous faults of the quantity of intersecting ring more than or equal to 3 and comprising first node, realize that looped network is protected The method of shield, comprises the following steps that:
Step S101, Centroid obtain the first tunnel and enter label and first tunnel the in the forward direction of first node The mapping relations of the positive outgoing label of two nodes.
For convenience of understanding, Fig. 3 is refer to.The looped network that Fig. 3 is applicable by ring net protection method provided in an embodiment of the present invention Topological diagram.As shown in figure 3, there is N number of ring to intersect in looped network, Centroid C is simultaneously the common joining of all rings.It is existing from source One transannular business 40 of node A to destination node G, a tunnel of transmission transannular business is made up of node A, B, E, F, D, G, It is considered as the first tunnel, and from source node A to the direction of destination node G as forward direction.Ring 1 and ring 2 are intersecting, node B and centromere Point C is the joining of ring 1 and ring 2, the node that node B intersects in addition to Centroid C on the first tunnel and in being ring 1 with ring 2, It is considered as first node;Ring N-1 and ring N intersects, and node D and Centroid C is the joining of ring N and ring N-1, and node D is first On tunnel and be the node intersected with ring N-1 in addition to Centroid C in ring N, it is considered as Section Point.
Tunnel information of first tunnel on first node B described in the embodiment of the present invention enters label and forward direction including forward direction Outgoing label, tunnel information of first tunnel on Section Point D enters label and positive outgoing label including forward direction, in order to when the Node or link in one tunnel carry out looped network protection when breaking down, and the first tunnel is configured to Centroid by network management system Road enters the mapping relations of label and first tunnel in the positive outgoing label of Section Point in the forward direction of first node.For example, It is 100 that forward direction of first tunnel on first node B enters label, and positive outgoing label is 200, and first tunnel is second It is 500 that forward direction on node D enters label, and positive outgoing label is 600, and network management system configures first tunnel and exists to Centroid The mapping that forward direction on first node B enters positive outgoing label 600 of the label 100 with first tunnel on Section Point D is closed System.
Step S102, the Centroid judge the tunnel label of service message that receives and first tunnel the The forward direction of one node enters whether label matches.
After the Centroid receives service message, judge the tunnel label of service message with first tunnel The forward direction of one node enters whether label matches, that is, whether the tunnel label for judging the service message is 100.
If the tunnel label of the service message is replaced with first tunnel by step S103, matching, the Centroid Positive outgoing label of the road in Section Point.
If the tunnel label of the service message that the Centroid judgement is received is with first tunnel in first node Forward direction enter tag match, then the tunnel label of the service message is replaced with into forward direction of first tunnel in Section Point Outgoing label, will the tunnel label 100 of the service message replace with positive outgoing label of first tunnel in Section Point 600.Centroid C according to first tunnel Section Point the corresponding purpose ring of positive outgoing label 600(That is ring N)With Purpose link point(That is node G), the ring label in certain direction of addition ring N(Such as be ring N with node G be the suitable of purpose node Clockwise ring label, or counter clockwise direction ring labels of the ring N with node G as purpose node)Send service message, therefore business Message will reach purpose link point G along ring N.Direction on how to select ring N, can at random be determined by Centroid, Can be artificial preassigned, first can also be determined according to the break-make situation of the link of ring N, it is assumed for example that Centroid C Link CD failures are monitored, then Centroid can add ring N with node G as mesh before the tunnel label of service message Node protection passage ring label counterclockwise so that service message reaches purpose link point G along counter clockwise direction.
The ring-network topology figure that Fig. 4 is applicable by ring net protection method provided in an embodiment of the present invention.As shown in figure 4, first Node B and Section Point D simultaneous faults, due to detecting first node B failures, by existing looped network protection switching technology, The service message that node A will be sent to first node B is sent to Centroid C, and the tunnel label of service message is described It is 100 that forward direction of one tunnel on first node B enters label, and Centroid C is according to the first tunnel for obtaining in first node Forward direction enters the mapping relations of label and first tunnel in the positive outgoing label of Section Point, by the tunnel of the service message Label 100 replaces with positive outgoing label 600 of first tunnel in Section Point, and Centroid C is according to the logical of the link of ring N Disconnected situation determines that counterclockwise protections of the ring N with node G as purpose node is led in addition before the tunnel label of service message Road ring label, so that service message reaches purpose link point G along counter clockwise direction.
The ring-network topology figure that Fig. 5 is applicable by ring net protection method provided in an embodiment of the present invention.As shown in figure 5, first Node B and Section Point F simultaneous faults, due to detecting first node B failures, by existing looped network protection switching technology, The service message that node A will be sent to first node B is sent to Centroid C, and the tunnel label of service message is described It is 100 that forward direction of one tunnel on first node B enters label, and Centroid C is according to the first tunnel for obtaining in first node Forward direction enters the mapping relations of label and first tunnel in the positive outgoing label of Section Point, by the tunnel of the service message Label 100 replaces with positive outgoing label 600 of first tunnel in Section Point, and Centroid C is according to the logical of the link of ring N Disconnected situation determines that clockwise work of the ring N with node G as purpose node is led in addition before the tunnel label of service message Road ring label, so that service message reaches purpose link point G clockwise.Ring-network topology figure as shown in Figure 5 is also applicable In first node B and the situation of Section Point E simultaneous faults, here is omitted.
The embodiment of the present invention when intersecting ring in looped network quantity be more than or equal to 3 when and comprising first node any two During individual joining simultaneous faults, Centroid can receive service message(For example can be by existing looped network protection switching skill Art), the positive outgoing label of label and first tunnel in Section Point is entered in the forward direction of first node according to the first tunnel The tunnel label of service message is replaced with positive outgoing label of first tunnel in Section Point by mapping relations, Centroid, from And alloing that service message is forwarded directly to destination node, it is ensured that the first tunnel forward direction business is not interrupted;Further, since being not required to Will in other information of the Centroid configuration in addition to above-mentioned mapping relations, just guaranteed service is not interrupted, therefore the present invention is implemented Example also reduces configuring maintenance workload and reduces the load of equipment.
The ring net protection method flow chart that Fig. 6 is provided for another embodiment of the present invention.On the basis of the embodiment described in Fig. 2 On, can also be comprised the following steps after step S103:
Step 104, the Centroid obtain first tunnel and reversely enter label and described first in Section Point Mapping relations of the tunnel in the reverse outgoing label of first node.
Network management system can also configure the first tunnel and reversely enter label and described first in Section Point to Centroid Realized when being sent to source node A by destination node G so as to service message in the mapping relations of the reverse outgoing label of first node in tunnel Looped network protection.
Step 105, the Centroid judge the tunnel label and first tunnel of the service message for receiving Reversely enter whether label matches in Section Point.
After the Centroid receives service message, judge the tunnel label of service message with first tunnel Two nodes reversely enter label whether match.
If the tunnel label of the service message is replaced with first tunnel by step 106, matching, the Centroid In the reverse outgoing label of first node.
If the tunnel label of the service message that the Centroid judgement is received is with first tunnel in Section Point Reversely enter tag match, then the tunnel label of the service message is replaced with into first tunnel in the reverse of first node Outgoing label.
Fig. 7 is the ring-network topology figure being applicable corresponding to the ring net protection method of Fig. 6.As shown in fig. 7, node D and node F During simultaneous faults, the ring net protection method that the embodiment of the present invention is provided may be such that the first tunnel reverse traffic is not interrupted.
In the embodiment of the present invention, it should be understood that step 101, step 102, step 103 and step 104, step 105, step 106 Execution sequence be not limited solely to order shown in Fig. 6, for example, step 104-106 can be first carried out, then perform step 101-103.
The embodiment of the present invention when intersecting ring in looped network quantity be more than or equal to 3 when and comprising Section Point any two During individual joining simultaneous faults, Centroid can receive service message(For example can be by existing looped network protection switching skill Art), the reverse outgoing label of label and first tunnel in first node is reversely entered in Section Point according to the first tunnel The tunnel label of service message is replaced with reverse outgoing label of first tunnel in first node by mapping relations, Centroid, from And alloing that service message is forwarded directly to source node, it is ensured that the first tunnel reverse traffic is not interrupted;Further, since need not In other information of the Centroid configuration in addition to above-mentioned mapping relations, just guaranteed service is not interrupted, therefore the embodiment of the present invention Also reduce configuring maintenance workload and reduce the load of equipment.
Fig. 8 is ring net protection method flow chart provided in an embodiment of the present invention;The embodiment of the present invention is suitable for when looped network The quantity of intersecting ring realizes looped network protection more than or equal to 3 and during any two joining simultaneous faults in addition to first node Method, comprise the following steps that:
Step 801, Centroid obtain positive spare labels and the first tunnel and are reflected in the positive outgoing label of Section Point Penetrate relation;The positive spare labels are the extra label in first tunnel, for when first on first tunnel When service message can not be sent to destination node by joining, first joining replaces the tunnel label of the service message It is the positive spare labels, so that the service message reaches the Centroid along the protection passage of looped network.
The ring-network topology figure that Fig. 9 is applicable by ring net protection method provided in an embodiment of the present invention.In the embodiment of the present invention In order to carry out looped network protection when the node in the first tunnel or link break down, matched somebody with somebody to Centroid by network management system Put the mapping relations of positive spare labels and first tunnel in the positive outgoing label of Section Point.The positive spare labels It is the extra label in first tunnel, for that can not be sent to service message when the first joining on first tunnel During destination node, the tunnel label of the service message is replaced with the positive spare labels by first joining, so that The service message reaches the Centroid along the protection passage of looped network, and first joining is that first tunnel is passed through Any joining in the first ring crossed to all joinings of the N rings.
For example when node E and node F simultaneous faults, when service message reaches node B by source node A, node B is detected Service message can not be sent to node E by node E failures, node B, then node B replaces with the tunnel label of the service message Positive spare labels, the positive spare labels are different from the institute of the first ring for being passed through of first tunnel to the N rings The forward direction for having joining enters label and positive outgoing label, i.e., positive spare labels are to be different from node B, node E, node F and section The forward direction of point D enters label, the label of positive outgoing label, described after the tunnel label of service message replaces with positive spare labels Service message will reach the Centroid C along the protection passage BC of looped network.
Step 802, the Centroid judge the tunnel label and the positive spare labels of the service message for receiving Whether match.
After the Centroid receives service message, the tunnel label and the positive spare labels of service message are judged Whether match.
If the tunnel label of the service message is replaced with first tunnel by step 803, matching, the Centroid In the positive outgoing label of Section Point.
If the Centroid judges that the tunnel label of the service message for receiving is matched with the positive spare labels, The tunnel label of the service message is replaced with into positive outgoing label of first tunnel in Section Point.
Any two of the embodiment of the present invention when the quantity of intersecting ring in looped network is more than or equal to 3 and in addition to first node During joining simultaneous faults, Centroid can receive service message(For example can be by existing looped network protection switching skill Art), according to positive spare labels and the first tunnel the positive outgoing label of Section Point mapping relations, Centroid is by business The tunnel label of message replaces with positive outgoing label of first tunnel in Section Point, so that service message can directly be sent out Toward destination node, it is ensured that the first tunnel forward direction business is not interrupted;Further, since need not be reflected except above-mentioned in Centroid configuration Just guaranteed service is not interrupted the other information penetrated outside relation, therefore the embodiment of the present invention also reduces configuring maintenance workload And reduce the load of equipment.
The ring net protection method flow chart that Figure 10 is provided for another embodiment of the present invention;In the base of the embodiment shown in Fig. 8 On plinth, can also be comprised the following steps after step 803:
Step 804, the reverse spare labels of Centroid acquisition reversely the going out in first node with first tunnel The mapping relations of label;The reverse spare labels are the extra label in first tunnel, for when first tunnel On the first joining when service message can not be sent into source node, first joining is by the tunnel mark of the service message Label replace with the reverse spare labels, so that the service message reaches the Centroid along the protection passage of looped network.
Network management system can also configure reverse spare labels with first tunnel in the anti-of first node to Centroid To the mapping relations of outgoing label, looped network protection is realized when being sent to source node A by destination node G so as to service message.Figure 11 is this The ring-network topology figure that invention is applicable corresponding to the ring net protection method of embodiment illustrated in fig. 10.
Step 805, the Centroid judge the tunnel label and the reverse spare labels of the service message for receiving Whether match.
After the Centroid receives service message, the tunnel label and the reverse spare labels of service message are judged Whether match.
If the tunnel label of the service message is replaced with first tunnel by step 806, matching, the Centroid In the reverse outgoing label of first node.
If the Centroid judges that the tunnel label of the service message for receiving is matched with the reverse spare labels, The tunnel label of the service message is replaced with into reverse outgoing label of first tunnel in first node.
As shown in figure 11, node E and during node F simultaneous faults, the ring net protection method that the embodiment of the present invention is provided can So that the first tunnel reverse traffic is not interrupted.In the embodiment of the present invention, it should be understood that step 801, step 802, step 803 and step 804th, step 805, the execution sequence of step 806 are not limited solely to the order shown in Figure 10, for example, step 804- can be first carried out 806, then perform step 801-803.
On the basis of the embodiment of the present invention, for example, the positive spare labels value is unique.
The forward direction of all nodes of the first ring that positive spare labels are passed through with first tunnel to the N rings Spare labels are set to same value, or the first ring that reverse spare labels and first tunnel are passed through is to described The reverse spare labels of all nodes of N rings are set to same value and can reduce positive spare labels configuring maintenance workload.
For example, similarly, the reverse spare labels value is unique.
Any two of the embodiment of the present invention when the quantity of intersecting ring in looped network is more than or equal to 3 and in addition to Section Point During joining simultaneous faults, Centroid can receive service message(For example can be by existing looped network protection switching skill Art), according to reverse spare labels and first tunnel the reverse outgoing label of first node mapping relations, Centroid will The tunnel label of service message replaces with reverse outgoing label of first tunnel in first node, so that service message can be straight Sending and receiving are toward source node, it is ensured that the first tunnel reverse traffic is not interrupted;Further, since need not be in Centroid configuration except above-mentioned Just guaranteed service is not interrupted other information outside mapping relations, therefore the embodiment of the present invention also reduces configuring maintenance work Measure and reduce the load of equipment.
Figure 12 is the structure chart of Centroid provided in an embodiment of the present invention.Centroid provided in an embodiment of the present invention can With perform ring net protection method embodiment offer handling process, as shown in figure 12, Centroid 120 include acquisition module 121, Matching module 122 and replacement module 123, acquisition module 121 be used for obtain the first tunnel the forward direction of first node enter label with Mapping relations of first tunnel in the positive outgoing label of Section Point;Matching module 122 is used for the business for judging to receive Forward direction of the tunnel label of message with first tunnel in first node enters whether label matches;Replacement module 123 is used for institute State matching module 122 and judge the forward direction of the tunnel label of the service message that receives and first tunnel in first node When entering tag match, the tunnel label of the service message is replaced with into positive bid of first tunnel in Section Point Sign;
Wherein, the Centroid is the common crossed node of N number of ring, and N is more than or equal to 3;
The first node be on first tunnel, and in the first ring in addition to the Centroid with the second ring Intersecting node, first ring and second ring intersect;
The Section Point be on first tunnel, and in N rings in addition to the Centroid with N-1 rings Intersecting node, the N rings and the N-1 rings intersect.
On the basis of the embodiment of the present invention, the acquisition module 121 is additionally operable to obtain first tunnel in second section Point reversely enters the mapping relations of label and first tunnel in the reverse outgoing label of first node;The matching module 122 It is additionally operable to judge that the tunnel label of the service message for receiving reversely enters label with first tunnel in Section Point Whether match;The replacement module 123 is additionally operable to the tunnel of the service message received when the judgement of the matching module 122 Label when reversely entering tag match, the tunnel label of the service message is replaced with first tunnel in Section Point Reverse outgoing label of first tunnel in first node.
The embodiment of the present invention when intersecting ring in looped network quantity be more than or equal to 3 when and comprising first node any two During individual joining simultaneous faults, Centroid can receive service message(For example can be by existing looped network protection switching skill Art), the positive outgoing label of label and first tunnel in Section Point is entered in the forward direction of first node according to the first tunnel The tunnel label of service message is replaced with positive outgoing label of first tunnel in Section Point by mapping relations, Centroid, from And alloing that service message is forwarded directly to destination node, it is ensured that the first tunnel forward direction business is not interrupted;Further, since being not required to Will in other information of the Centroid configuration in addition to above-mentioned mapping relations, just guaranteed service is not interrupted, therefore the present invention is implemented Example also reduces configuring maintenance workload and reduces the load of equipment;Further, when the quantity of intersecting ring in looped network is big During any two joining simultaneous faults when equal to 3 and comprising Section Point, Centroid can receive business report Text(For example can be by existing looped network protection switching technology), label is reversely entered in Section Point according to first tunnel With first tunnel the reverse outgoing label of first node mapping relations, Centroid replaces the tunnel label of service message Reverse outgoing label of first tunnel in first node is changed to, so that service message can be forwarded directly to source node, it is ensured that First tunnel reverse traffic is not interrupted.
The structure chart of the Centroid that Figure 13 is provided for another embodiment of the present invention.Centromere provided in an embodiment of the present invention Point can perform the handling process of ring net protection method embodiment offer, and as shown in figure 13, Centroid 130 includes acquisition module 131st, matching module 132 and replacement module 133, acquisition module 131 are used to obtain positive spare labels and the first tunnel second The mapping relations of the positive outgoing label of node;The positive spare labels are the extra label in first tunnel, for working as When service message can not be sent to destination node by the first joining on first tunnel, first joining is by the industry The tunnel label of business message replaces with the positive spare labels, so that the service message reaches institute along the protection passage of looped network State Centroid;Matching module 132 is used to judge that the tunnel label of the service message for receiving to be with the positive spare labels No matching;Replacement module 133 be used for the matching module 132 judge the tunnel label of the service message that receives with it is described When positive spare labels are matched, the tunnel label of the service message is replaced with into forward direction of first tunnel in Section Point Outgoing label;
Wherein, the Centroid is the common crossed node of N number of ring, and N is more than or equal to 3;
The Section Point be on first tunnel, and in N rings in addition to the Centroid with N-1 rings Intersecting node, the N rings and the N-1 rings intersect;
During first joining is the first ring to all joinings of the N rings that first tunnel is passed through Any joining.
On the basis of the embodiment of the present invention, the acquisition module 131 is additionally operable to obtain reverse spare labels with described Mapping relations of one tunnel in the reverse outgoing label of first node;The reverse spare labels are the extra of first tunnel Label, for when service message can not be sent to source node by the first joining on first tunnel, described first to intersect The tunnel label of the service message is replaced with the reverse spare labels by point, so that protection of the service message along looped network Passage reaches the Centroid;The matching module 132 is additionally operable to judge tunnel label and the institute of the service message for receiving State whether reverse spare labels match;The replacement module 133 be additionally operable to when the matching module 132 judge receive it is described When the tunnel label of service message is matched with the reverse spare labels, the tunnel label of the service message is replaced with described Reverse outgoing label of first tunnel in first node.
Optionally, the positive spare labels value is unique.
Any two of the embodiment of the present invention when the quantity of intersecting ring in looped network is more than or equal to 3 and in addition to first node During joining simultaneous faults, Centroid can receive service message(For example can be by existing looped network protection switching skill Art), according to positive spare labels and the first tunnel the positive outgoing label of Section Point mapping relations, Centroid is by business The tunnel label of message replaces with positive outgoing label of first tunnel in Section Point, so that service message can directly be sent out Toward destination node, it is ensured that the first tunnel forward direction business is not interrupted;Further, since need not be reflected except above-mentioned in Centroid configuration Just guaranteed service is not interrupted the other information penetrated outside relation, therefore the embodiment of the present invention also reduces configuring maintenance workload And reduce the load of equipment;Further, when the quantity of intersecting ring in looped network is more than or equal to 3 and in addition to Section Point Any two joining simultaneous faults when, Centroid can receive service message(Can for example be protected by existing looped network Protective switching technology), according to reverse spare labels and first tunnel the reverse outgoing label of first node mapping relations, in The tunnel label of service message is replaced with reverse outgoing label of first tunnel in first node by heart node, so that business report Text can be forwarded directly to source node, it is ensured that the first tunnel reverse traffic is not interrupted.
The embodiment of the present invention additionally provides a kind of Centroid 1400, and as shown in figure 14, the Centroid 1400 includes:Always Line 1404;And processor 1402, memory 1403 and the interface 1401 of bus 1404 are connected to, the wherein interface 1401 is used for Obtain the first tunnel and enter the mapping of label and first tunnel in the positive outgoing label of Section Point in the forward direction of first node Relation;The memory 1403 is used for store instruction, the processor 1402 be used to performing the instruction for judge the business that receives Forward direction of the tunnel label of message with first tunnel in first node enters whether label matches, if matching, the centromere The tunnel label of the service message is replaced with positive outgoing label of first tunnel in Section Point by point;The interface 1401 Be additionally operable to obtain first tunnel Section Point reversely enter label with first tunnel reversely going out in first node The mapping relations of label;The memory 1403 is additionally operable to store instruction, and the processor 1402 is additionally operable to perform the instruction for sentencing The tunnel label of the service message that disconnecting is received reversely enters whether label matches with first tunnel in Section Point, If the tunnel label of the service message is replaced with first tunnel in the reverse of first node by matching, the Centroid Outgoing label.Therefore, the Centroid of the embodiment of the present invention, when the quantity of intersecting ring in looped network is more than or equal to 3 and comprising first Node can receive service message in interior any two joining simultaneous faults(Can for example be protected by existing looped network Protective switching technology), the forward direction of label and first tunnel in Section Point is entered in the forward direction of first node according to the first tunnel The tunnel label of service message is replaced with the first tunnel and gone out in the forward direction of Section Point by the mapping relations of outgoing label, Centroid Label, so that service message can be forwarded directly to destination node, it is ensured that the first tunnel forward direction business is not interrupted;Additionally, Due to need not in other information of the Centroid configuration in addition to above-mentioned mapping relations, just guaranteed service is not interrupted, therefore this Inventive embodiments also reduce configuring maintenance workload and reduce the load of equipment;Further, when intersecting ring in looped network Quantity when being more than or equal to 3 and during any two joining simultaneous faults comprising Section Point, Centroid can be received To service message(For example can be by existing looped network protection switching technology), according to first tunnel in the anti-of Section Point To entering the mapping relations of label and first tunnel in the reverse outgoing label of first node, Centroid is by the tunnel of service message Road tag replacement is reverse outgoing label of first tunnel in first node, so that service message can be forwarded directly to source section Point, it is ensured that the first tunnel reverse traffic is not interrupted.
The embodiment of the present invention additionally provides a kind of Centroid 1500, and as shown in figure 15, the Centroid 1500 includes:Always Line 1504;And processor 1502, memory 1503 and the interface 1501 of bus 1504 are connected to, the wherein interface 1501 is used for Obtain the mapping relations of positive spare labels and the first tunnel in the positive outgoing label of Section Point;The memory 1503 is used to deposit Storage instruction, the processor 1502 be used to performing the instruction for judge the tunnel label of service message that receives and the forward direction Whether spare labels are matched, if matching, the tunnel label of the service message is replaced with first tunnel by the Centroid Positive outgoing label of the road in Section Point;The interface 1501 is additionally operable to obtain reverse spare labels with first tunnel first The mapping relations of the reverse outgoing label of node;The memory 1503 is additionally operable to store instruction, and the processor 1502 is additionally operable to perform The instruction is used to judge whether the tunnel label of the service message for receiving matches with the reverse spare labels, if matching, institute State Centroid and the tunnel label of the service message is replaced with into reverse outgoing label of first tunnel in first node.Can Choosing, the positive spare labels value is unique.
Therefore, the Centroid of the embodiment of the present invention, when the quantity of intersecting ring in looped network is more than or equal to 3 and except first segment Point outside any two joining simultaneous faults when, service message can be received(For example can be by existing looped network protection Switching technique), according to positive spare labels and the first tunnel the positive outgoing label of Section Point mapping relations, Centroid The tunnel label of service message is replaced with into positive outgoing label of first tunnel in Section Point, so that service message can be with It is forwarded directly to destination node, it is ensured that the first tunnel forward direction business is not interrupted;Further, since need not be removed in Centroid configuration Just guaranteed service is not interrupted other information outside above-mentioned mapping relations, therefore the embodiment of the present invention also reduces configuring maintenance Workload and reduce the load of equipment;Further, when the quantity of intersecting ring in looped network is more than or equal to 3 and except second section Point outside any two joining simultaneous faults when, Centroid can receive service message(For example can be by existing Looped network protection switching technology), according to reverse spare labels and first tunnel the reverse outgoing label of first node mapping The tunnel label of service message is replaced with reverse outgoing label of first tunnel in first node by relation, Centroid, so that Obtaining service message can be forwarded directly to source node, it is ensured that the first tunnel reverse traffic is not interrupted.
In several embodiments provided by the present invention, it should be understood that disclosed apparatus and method, can be by it Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical of device or unit by some interfaces Letter connection, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme 's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can store and be deposited in an embodied on computer readable In storage media.Above-mentioned SFU software functional unit storage is in a storage medium, including some instructions are used to so that a computer Equipment(Can be personal computer, server, or network equipment etc.)Or processor(processor)Perform the present invention each The part steps of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage(Read- Only Memory, ROM), random access memory(Random Access Memory, RAM), magnetic disc or CD etc. it is various Can be with the medium of store program codes.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module Division carry out for example, in practical application, can distribute complete by different functional modules by above-mentioned functions as needed Into, will the internal structure of device be divided into different functional modules, to complete all or part of function described above.On The specific work process of the device of description is stated, the corresponding process in preceding method embodiment is may be referred to, be will not be repeated here.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent Pipe has been described in detail with reference to foregoing embodiments to the present invention, it will be understood by those within the art that:Its according to The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered Row equivalent;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology The scope of scheme.

Claims (10)

1. a kind of ring net protection method, it is characterised in that methods described is applied to the quantity of intersecting ring more than or equal to 3, and In the looped network of any two joining simultaneous faults comprising first node, methods described includes:
Centroid obtains the first tunnel and enters the forward direction of label and first tunnel in Section Point in the forward direction of first node The mapping relations of outgoing label;
The Centroid judges the forward direction of the tunnel label of the service message for receiving and first tunnel in first node Enter whether label matches;
If the tunnel label of the service message is replaced with first tunnel in Section Point by matching, the Centroid Positive outgoing label;
Wherein, the Centroid is the common crossed node of N number of ring, and N is more than or equal to 3;
The first node is on first tunnel, and to intersect with the second ring in addition to the Centroid in the first ring Node, first ring and second ring are intersecting;
The Section Point is on first tunnel, and to intersect with N-1 rings in addition to the Centroid in N rings Node, the N rings and the N-1 rings are intersecting.
2. method according to claim 1, it is characterised in that also include:
The Centroid obtains first tunnel and reversely enters label with first tunnel in first segment in Section Point The mapping relations of the reverse outgoing label of point;
The tunnel label of the service message that the Centroid judgement is received is with first tunnel in Section Point Reversely enter whether label matches;
If the tunnel label of the service message is replaced with first tunnel in first node by matching, the Centroid Reverse outgoing label.
3. a kind of ring net protection method, it is characterised in that methods described is applied to the quantity of intersecting ring more than or equal to 3, and In the looped network of any two joining simultaneous faults in addition to first node, wherein, the first node on the first tunnel, And the first node is the node intersected with the second ring in addition to Centroid in the first ring, first ring and second ring Intersecting, methods described includes:
Centroid obtains the mapping relations of positive spare labels and the first tunnel in the positive outgoing label of Section Point;It is described just To the extra label that spare labels are first tunnel, for can not be by industry when the first joining on first tunnel When business message is sent to destination node, it is standby that the tunnel label of the service message is replaced with the forward direction by first joining Label, so that the service message reaches the Centroid along the protection passage of looped network;
The Centroid judges whether the tunnel label of the service message for receiving matches with the positive spare labels;
If the tunnel label of the service message is replaced with first tunnel in Section Point by matching, the Centroid Positive outgoing label;
Wherein, the Centroid is the common crossed node of N number of ring, and N is more than or equal to 3;
The Section Point is on first tunnel, and to intersect with N-1 rings in addition to the Centroid in N rings Node, the N rings and the N-1 rings are intersecting;
First joining is any in the first ring to all joinings of the N rings that first tunnel is passed through Joining.
4. method according to claim 3, it is characterised in that also include:
The mapping that the Centroid obtains reverse outgoing label of the reverse spare labels with first tunnel in first node is closed System;The reverse spare labels are the extra label in first tunnel, for intersecting when first on first tunnel When service message can not be sent to source node by point, first joining replaces with the tunnel label of the service message described Reverse spare labels, so that the service message reaches the Centroid along the protection passage of looped network;
The Centroid judges whether the tunnel label of the service message for receiving matches with the reverse spare labels;
If the tunnel label of the service message is replaced with first tunnel in first node by matching, the Centroid Reverse outgoing label.
5. method according to claim 3, it is characterised in that the positive spare labels value is unique.
6. a kind of Centroid, it is characterised in that be applied to the quantity of intersecting ring more than or equal to 3, and comprising first node In the looped network of interior any two joining simultaneous faults, including:
Acquisition module, label is entered with first tunnel in Section Point for obtaining the first tunnel in the forward direction of first node The mapping relations of positive outgoing label;
Matching module, for the tunnel label of service message that judges to receive and first tunnel first node forward direction Enter whether label matches;
Replacement module, the tunnel label and first tunnel of the service message for judging to receive for the matching module When the forward direction of first node enters tag match, the tunnel label of the service message is replaced with into first tunnel second The positive outgoing label of node;
Wherein, the Centroid is the common crossed node of N number of ring, and N is more than or equal to 3;
The first node is on first tunnel, and to intersect with the second ring in addition to the Centroid in the first ring Node, first ring and second ring are intersecting;
The Section Point is on first tunnel, and to intersect with N-1 rings in addition to the Centroid in N rings Node, the N rings and the N-1 rings are intersecting.
7. Centroid according to claim 6, it is characterised in that the acquisition module is additionally operable to obtain first tunnel Road reversely enters the mapping relations of label and first tunnel in the reverse outgoing label of first node Section Point;
The matching module is additionally operable to judge the tunnel label of the service message for receiving with first tunnel second Node reversely enter label whether match;
The replacement module be additionally operable to when the matching module judge the tunnel label of the service message that receives with it is described The tunnel label of the service message when reversely entering tag match, is replaced with first tunnel by the first tunnel in Section Point Reverse outgoing label of the road in first node.
8. a kind of Centroid, it is characterised in that be applied to the quantity of intersecting ring more than or equal to 3, and except first node it In the looped network of outer any two joining simultaneous faults, wherein, the first node is on the first tunnel, and the first segment Point is the node intersected with the second ring in addition to Centroid in the first ring, and first ring and second ring are intersecting, including:
Acquisition module, for obtaining the mapping relations of positive spare labels and the first tunnel in the positive outgoing label of Section Point; The positive spare labels are the extra label in first tunnel, for when the first joining on first tunnel not When service message can be sent into destination node, first joining by the tunnel label of the service message replace with it is described just To spare labels, so that the service message reaches the Centroid along the protection passage of looped network;
Whether matching module, the tunnel label of the service message for judging to receive matches with the positive spare labels;
Replacement module, the tunnel label of the service message for judging to receive for the matching module is standby with the forward direction During tag match, the tunnel label of the service message is replaced with into positive outgoing label of first tunnel in Section Point;
Wherein, the Centroid is the common crossed node of N number of ring, and N is more than or equal to 3;
The Section Point is on first tunnel, and to intersect with N-1 rings in addition to the Centroid in N rings Node, the N rings and the N-1 rings are intersecting;
First joining is any in the first ring to all joinings of the N rings that first tunnel is passed through Joining.
9. Centroid according to claim 8, it is characterised in that the acquisition module is additionally operable to obtain reversely standby mark Sign the mapping relations in the reverse outgoing label of first node with first tunnel;The reverse spare labels are first tunnel The extra label in road, for when service message can not be sent to source node by the first joining on first tunnel, institute State the first joining and the tunnel label of the service message is replaced with into the reverse spare labels, so that the service message edge The protection passage of looped network reaches the Centroid;
The matching module be additionally operable to judge the tunnel label of the service message for receiving and the reverse spare labels whether Match somebody with somebody;
The replacement module be additionally operable to when the matching module judge the tunnel label of the service message that receives with it is described When reverse spare labels are matched, the tunnel label of the service message is replaced with into first tunnel in the reverse of first node Outgoing label.
10. Centroid according to claim 8, it is characterised in that the positive spare labels value is unique.
CN201410043860.3A 2014-01-29 2014-01-29 Looped network protecting method and device Active CN103763170B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410043860.3A CN103763170B (en) 2014-01-29 2014-01-29 Looped network protecting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410043860.3A CN103763170B (en) 2014-01-29 2014-01-29 Looped network protecting method and device

Publications (2)

Publication Number Publication Date
CN103763170A CN103763170A (en) 2014-04-30
CN103763170B true CN103763170B (en) 2017-06-20

Family

ID=50530333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410043860.3A Active CN103763170B (en) 2014-01-29 2014-01-29 Looped network protecting method and device

Country Status (1)

Country Link
CN (1) CN103763170B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105553847B (en) * 2014-11-04 2020-02-28 中兴通讯股份有限公司 Switching method and device in multi-protocol label switching ring network
CN111813754A (en) * 2020-06-24 2020-10-23 深圳市元征科技股份有限公司 File processing method, file processing device, diagnostic equipment and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075400A (en) * 2011-03-04 2011-05-25 上海市信息网络有限公司 Rapid ring protection protocol (RRPP) ring network topology transmission system and transmission method
CN102546425A (en) * 2012-01-31 2012-07-04 华为技术有限公司 Crossed ring network protection method, equipment and system
CN102970219A (en) * 2012-11-30 2013-03-13 华为技术有限公司 Method and device for binding protection rings

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075400A (en) * 2011-03-04 2011-05-25 上海市信息网络有限公司 Rapid ring protection protocol (RRPP) ring network topology transmission system and transmission method
CN102546425A (en) * 2012-01-31 2012-07-04 华为技术有限公司 Crossed ring network protection method, equipment and system
CN102970219A (en) * 2012-11-30 2013-03-13 华为技术有限公司 Method and device for binding protection rings

Also Published As

Publication number Publication date
CN103763170A (en) 2014-04-30

Similar Documents

Publication Publication Date Title
CN106331098A (en) Server cluster system
CN101924654B (en) Point-to-multipoint service-based path switching method and system
CN104253745B (en) A kind of route withdraw method and the network equipment
CN104852867A (en) Data packet forwarding method, device and system
CN104521192A (en) Techniques for flooding optimization for link state protocols in a network topology
CN105721318A (en) Method and device for discovering network topology in software defined network SDN (Software Defined Network)
CN103067277A (en) Method of building control channel, forwarding point (FP) and controller
CN105357114A (en) Distributed network equipment
CN105765889B (en) Extension bridge and the method being executed by it
CN109586959A (en) A kind of method and device of fault detection
CN106375105A (en) Method of determining path fault, controller, switches and system
CN105379201A (en) Path switching method and device
CN105915426A (en) Failure recovery method and device of ring network
CN104378186A (en) Network redundant data processing methods, devices and system
CN102739445B (en) A kind of method and system for rapidly positioning faults of looped network
CN103580923B (en) Software deploying method and device
CN106161078A (en) A kind of Ethernet ring protection switching reverse method and node
CN109889411A (en) A kind of method and device of data transmission
CN103763170B (en) Looped network protecting method and device
CN107656847A (en) Node administration method, system, device and storage medium based on distributed type assemblies
CN105812221A (en) Data transmission device and method in virtual extensible local area network
CN105610594A (en) Service chain fault diagnosis method and service chain fault diagnosis device
CN106528324A (en) Fault recovery method and apparatus
EP2693706A1 (en) Method and device for implementing multi-protection overlapped protection groups
CN103490998A (en) Protection tunnel building method and device and flow switching method and device

Legal Events

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