WO2015196640A1 - Double-switching ring network protection method and device - Google Patents

Double-switching ring network protection method and device Download PDF

Info

Publication number
WO2015196640A1
WO2015196640A1 PCT/CN2014/088626 CN2014088626W WO2015196640A1 WO 2015196640 A1 WO2015196640 A1 WO 2015196640A1 CN 2014088626 W CN2014088626 W CN 2014088626W WO 2015196640 A1 WO2015196640 A1 WO 2015196640A1
Authority
WO
WIPO (PCT)
Prior art keywords
tunnel
node
ring network
switching
protection
Prior art date
Application number
PCT/CN2014/088626
Other languages
French (fr)
Chinese (zh)
Inventor
何益波
姚芳
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to KR1020177002280A priority Critical patent/KR101907585B1/en
Priority to JP2016575118A priority patent/JP6408615B2/en
Publication of WO2015196640A1 publication Critical patent/WO2015196640A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors

Definitions

  • the invention relates to the technical field of double-cut ring network protection, and in particular relates to a double-cut ring network protection method and device.
  • MPLS-TP MPLS Transport Profile
  • the ring network protection technology has the advantage of segment layer protection, which can save a large number of LSP (Label Switched Path) entries and configuration workload.
  • LSP Label Switched Path
  • two shared ring networks are tangent to a two-node interconnect.
  • a single-ring protection mechanism can be used, but if there are multiple faults, such as a tangent point at some If both physical links in the ring fail, traffic will still be interrupted.
  • the current scheme is to adopt a method of superimposing linear protection, as shown in FIG. 1 , which includes two ring networks which are respectively composed of an ABDC node and a CDFE node and are tangent to the node C and the node D.
  • a double-cut ring network structure is typical, in which the dotted line shows a protection tunnel for tunnel linear protection.
  • FIG. 1 a typical method of superimposed linear protection is adopted, which has the following problems: the protection configuration is complicated, a large number of linear LSP protections need to be deployed, and a large number of LSP OAMs (Operation Administration and Maintenance) need to be enabled; The OAM needs to occupy more bandwidth and hardware and software resources.
  • the linear protection lag time is usually required. , causing the switching time to be between 100 and 150 ms.
  • the main technical problem to be solved by the embodiments of the present invention is to provide a double-cut ring network protection method and device, which solves the problems of complicated configuration, low resource utilization, and long occupation time of the related superimposed linear protection scheme.
  • a double-cut ring network protection method where the double-cut ring network includes an ingress ring network and a ring-out network that are tangent to a primary node and a backup node, and the method includes:
  • the handover tunnel includes a primary handover tunnel that is from the primary node to the backup node, and at least a part of the tunnel directly connects the primary node and the backup node, and a backup protection switching tunnel opposite to the direction of the primary switching tunnel, where all nodes in the ring-entry network are on the standby protection switching tunnel;
  • the current service is switched to the switching tunnel and delivered to the backup node, and the backup node enters the outgoing ring network.
  • the two physical links of the primary node in the outgoing ring network refer to the physical link where the primary node is located in the outgoing ring network and the non-interconnected port.
  • the backup protection switching tunnel is a closed loop tunnel.
  • the method further includes:
  • the service is preferentially switched to the working tunnel of the outgoing ring network, and if the working tunnel is faulty, it is switched to the protection tunnel of the working tunnel.
  • the step of switching the current service to the handover tunnel includes:
  • the current service is preferentially switched to the primary handover tunnel, and if the primary handover tunnel is faulty, the service is switched to the backup protection handover tunnel.
  • the step of the primary node failing on both physical links in the outgoing ring network includes:
  • the master node only fails on two physical links in the outgoing ring network
  • the two physical links of the primary node in the outgoing ring network fail, and at the same time, at least one physical link in the incoming ring network fails.
  • a double-cut ring network protection device wherein the double-cut ring network includes tangent to a master node and a backup The ringing network and the outgoing ring network of the node;
  • the double-cut ring network protection device includes a path configuration module and a path switching module, where:
  • the path configuration module is configured to: establish a handover tunnel in the ring-in network; the handover tunnel includes a direction from the master node to the backup node, and at least a part of the tunnel directly connects to the master node and the a primary switching tunnel of the backup node, and a backup protection switching tunnel opposite to the direction of the primary switching tunnel, where all nodes in the incoming ring network are on the standby protection switching tunnel;
  • the path switching module is configured to: when the primary node fails in the two physical links in the outgoing ring network, switch the current service to the switching tunnel, where the switching tunnel The service is delivered to the backup node;
  • the two physical links of the primary node in the outgoing ring network refer to the physical link where the primary node is located in the outgoing ring network and the non-interconnected port.
  • the backup protection switching tunnel is a closed loop tunnel.
  • the path switching module includes a working path switching submodule and a protection path switching submodule, where:
  • the working path switching sub-module is configured to switch the current service to the working tunnel of the outgoing ring network preferentially after the current service enters the outgoing ring network through the backup node, as described above. If the tunnel is faulty, notify the protection path switching submodule;
  • the protection path switching sub-module is configured to: after receiving the notification, switch the current service to a protection tunnel of the working tunnel.
  • the path switching module includes a primary path switching submodule and an alternate path switching submodule;
  • the primary path switching sub-module is configured to switch the current service to the primary switching tunnel preferentially when the current service is switched to the switching tunnel, and notify the standby if the primary switching tunnel fails.
  • Path switching submodule
  • the standby path switching submodule is configured to: after receiving the notification, switch the current service to the standby protection switching tunnel.
  • the failure of the primary node in the two physical links in the outgoing ring network includes:
  • the master node only fails on two physical links in the outgoing ring network
  • the two physical links of the primary node in the outgoing ring network fail, and at the same time, at least one physical link in the incoming ring network fails.
  • the double-cut ring network protection method and device provided by the embodiment of the present invention first establish a handover tunnel in the ring-entry network; the handover tunnel includes a direction from the primary node to the backup node, and at least a part of the tunnel directly connects the primary node and the backup node.
  • the primary switching tunnel, and the backup protection switching tunnel in the opposite direction of the primary switching tunnel, all the nodes in the ring-entry network are on the standby protection switching tunnel; then when the primary node fails in the two physical links in the outgoing ring network
  • the current service is directly switched to the previously established switching tunnel, and is transmitted to the backup node through the switching tunnel, and then enters the outgoing ring network through the backup node.
  • the switchover tunnel configured in the ring can be used to implement the switchover of the cross-ring network in a simple and fast manner, and does not need to deploy a large number of linear LSP protections, thereby reducing deployment.
  • the resources required for a large number of linear LSPs are used to improve the resource utilization, and the configuration process is simplified.
  • the linear protection lag time is not required, so that the switching time can be reduced.
  • the entire protection switching needs of the solution of the embodiment of the present invention is verified. The time meets no more than 50ms, and the path is consistent for the two-way service switching.
  • FIG. 1 is a schematic diagram of superposition linear protection for a double-cut ring network in the related art
  • FIG. 2 is a schematic structural diagram of a double-cut ring network according to Embodiment 1 of the present invention.
  • FIG. 3 is a schematic flowchart of a double-cut ring network protection method according to Embodiment 1 of the present invention.
  • FIG. 4 is a schematic structural diagram of a double-cut ring network protection device according to Embodiment 2 of the present invention.
  • FIG. 5 is a schematic diagram of two physical link failure situations of a primary node in an outgoing ring network according to Embodiment 3 of the present invention.
  • FIG. 6 is a schematic diagram of two physical link failure situations 2 of a master node in an outgoing ring network according to Embodiment 3 of the present invention.
  • FIG. 7 is a schematic diagram of two physical link failures of a master node in an outgoing ring network according to Embodiment 3 of the present invention. Schematic diagram of case three;
  • FIG. 8 is a schematic diagram of four physical link failure situations 4 of a primary node in an outgoing ring network according to Embodiment 3 of the present invention.
  • FIG. 9 is a schematic diagram of a fault condition of two physical links of a master node in an ingress ring network according to Embodiment 3 of the present invention.
  • FIG. 10 is a schematic diagram of two physical link failure situations 2 of a primary node in an ingress ring network according to Embodiment 3 of the present invention.
  • FIG. 11 is a schematic diagram of three physical link failure situations 3 of a primary node in an ingress ring network according to Embodiment 3 of the present invention.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • nodes A-B-C-D form a ring network 1
  • nodes C-D-F-E form a ring network 2
  • ring network 1 and ring network 2 are interconnected by node C and node D, and node C and node D become cross-ring nodes.
  • the node through which the service tunnel passes is called the primary node, and the other node is called the backup node.
  • the backup node stores the service tunnel configuration.
  • ring network 1 and ring network 2 it can be referred to as an incoming ring network and an outgoing ring network in a direction from the direction of service flow. For example, in FIG.
  • a bidirectional service tunnel from the A node to the E node is established, and from the A node to the E node direction, where the service tunnel enters the shared ring network on the A node, and the service tunnel on the C network element is shared from the shared network. Exit from the ring network, then enter the shared ring network on the right side, exit the shared ring network on the E node, and restore the service tunnel. Because the C node is the node through which the service tunnel passes, it is called the primary node; the corresponding D node is the backup node; the ring network 1 is called the ingress ring network, and the ring network 2 is called the outgoing ring network.
  • the ring 2 is called the ring-in network
  • the ring 1 is called the ring-out network.
  • the connection port between the primary node and the backup node is called an interconnection port.
  • a link detection device may be set on the primary node and the backup node to detect the physical link status of the four ports (two interconnect ports and two non-interconnect ports) on the primary node and the backup node.
  • the two ports connected by the master node C and the backup node D are interconnect ports, and the ends connected to the node A and the node E respectively.
  • the port is a non-interconnecting port; the two ports connected to the primary node C of the backup node D are interconnecting ports, and the ports respectively connected to the node B and the node F are non-interconnecting ports.
  • the two physical links of the primary node C in the ring-entry network refer to the two physical links of the CA and the CD in the ring-entry network; the two links in the outgoing ring network refer to the ring-connected network.
  • a working tunnel and a corresponding protection tunnel are arranged in the ring network.
  • the working tunnel is generally configured as the longest path so that all nodes are on the working tunnel; the corresponding protection tunnel is opposite to the working tunnel and is closed loop.
  • the working tunnel of the ring network 1 is D->B->A->C
  • the corresponding protection tunnel is D->C->A->B->D
  • the working tunnel of the ring network 2 is F->D->C->E
  • the corresponding protection tunnel is F->E->C->D->F.
  • Step 301 Establish a handover tunnel in the ring network of the double-cut ring network.
  • the switching tunnel established here includes a primary switching tunnel from the primary node to the backup node, and at least a part of the tunnel is directly connected to the primary node and the backup node, and a backup protection switching tunnel opposite to the primary switching tunnel, in the ring network. All nodes are on the standby protection switching tunnel;
  • Step 302 Determine whether the two physical links of the primary node in the outgoing ring network are faulty. If yes, go to step 303; otherwise, return to continue judgment;
  • Step 303 Switch the current service to the previously established switching tunnel, and deliver the same to the backup node through the switching tunnel.
  • Step 304 The service enters the outgoing ring network through the backup node.
  • any other node is the starting node, and the backup node is the terminating node, as long as at least a part of the tunnel of the primary switching tunnel directly connects the two directly from the primary node to the standby node.
  • all the nodes in the ring-entry network are all on the standby protection switching tunnel.
  • the standby protection switching tunnel can be configured as a closed-loop tunnel or according to the actual situation. Need to be configured as a non-closed loop tunnel.
  • the configuration process of the handover tunnel is still exemplarily described below in conjunction with the double-cut ring network shown in FIG. 2:
  • the ring network 1 is still taken into the ring network, and the ring network 2 is taken as an outgoing ring network.
  • the manner of establishing a handover tunnel may include any one of the following methods:
  • the third type is preferred for the above several configurations. It should be understood that, as the specific configuration of the shared ring network is changed, for example, the number of nodes is increased or decreased, the specific configuration is not limited to the above examples, and may be appropriately modified according to specific structures and application scenarios.
  • the service is preferentially switched to the working tunnel of the outgoing ring network. If the working tunnel fails, the service is switched to the protection tunnel of the working tunnel.
  • the working tunnel fault here may specifically refer to a fault between the current node of the service to the egress node (that is, the node that the service exits the shared ring network).
  • the round-trip handover is performed until the service arrives at the egress node and exits the shared ring network (ie, exits the ring network).
  • the two physical links of the primary node in the outgoing ring network are all faulty.
  • the process of switching the current service to the switching tunnel includes:
  • the service is switched to the primary switching tunnel, for example, the primary switching tunnel is faulty, and the service is switched to the corresponding standby protection switching tunnel.
  • the primary handover tunnel fault here refers specifically to the failure of the path between the current node of the service and the standby node on the primary handover tunnel.
  • the primary node when the two physical links in the ring network fail, the primary node can directly forward the service to the backup node through the working tunnel and the protection tunnel in the ring network; the master node is in the ring network. Failures in both physical links include:
  • the primary node only fails on two physical links in the ring network
  • the two physical links of the primary node in the ring-entry network fail and at the same time, at least one physical link in the outgoing ring network fails;
  • the failure of the two physical links of the master node in the outgoing ring network includes:
  • the primary node only fails on two physical links in the outgoing ring network
  • the two physical links of the primary node in the outgoing ring network fail and at the same time, at least one physical link in the incoming ring network fails.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • This embodiment provides a double-cut ring network protection device.
  • the path configuration module 41 and the path switching module 42 are included:
  • the path configuration module 41 is configured to: establish a handover tunnel in the ring-in network; the handover tunnel includes a primary handover tunnel from the primary node to the backup node, and at least a part of the tunnel directly connects the primary node and the backup node, and the primary handover tunnel
  • the alternate protection switching tunnel in the opposite direction, all nodes in the ring network are on the standby protection switching tunnel;
  • the path switching module 42 is configured to: when the primary node fails in the two physical links in the outgoing ring network, switch the current service to the switching tunnel, and the service is delivered to the backup node by the switching tunnel. The service then enters the outgoing ring network through the backup node.
  • the backup protection switching tunnel configured by the path configuration module 41 in this embodiment is a closed loop tunnel; of course, it may be a non-closed loop tunnel according to actual conditions. It can be used in a shared ring network in a specific configuration, and is preferably configured on the principle that the configured path is the longest.
  • the path switching module 42 includes a working path switching sub-module 421 and a protection path switching sub-module 422.
  • the working path switching sub-module 421 is configured to switch the service priority to the out-out after the service enters the outgoing ring network through the backup node.
  • the protection path switching sub-module 422 is notified; the protection path switching sub-module 422 is configured to: receive the After the notification, the service is switched to the protection tunnel of the working tunnel.
  • the path switching module 42 further includes a primary path switching submodule 423 and an alternate path switching submodule 424;
  • the primary path switching submodule 423 when the service is switched to the handover tunnel, the primary path switching submodule 423 is configured to: preferentially switch the service to the primary switching tunnel, such as the primary switching tunnel failure, and notify the alternate path switching submodule 424; the alternate path switching subroutine Module 424 is configured to switch the service to the alternate protection switching tunnel upon receipt of the notification.
  • the primary node when the two physical links in the ring network fail, the primary node can directly forward the service to the backup node through the working tunnel and the protection tunnel in the ring network; the master node is in the ring network. Failures in both physical links include:
  • the primary node only fails on two physical links in the ring network
  • the two physical links of the primary node in the ring-entry network fail and at the same time, at least one physical link in the outgoing ring network fails;
  • the failure of the two physical links of the master node in the outgoing ring network includes:
  • the primary node only fails on two physical links in the outgoing ring network
  • the two physical links of the primary node in the outgoing ring network fail and at the same time, at least one physical link in the incoming ring network fails.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • the double-cut ring network shown in FIG. 2 is still taken as an example for description.
  • the service tunnel enters the shared ring network, and the service tunnel on the node C exits from the left shared ring network, and then Enter the shared ring network on the right and exit the shared ring network on the E node to restore the service tunnel.
  • the C node is a network element through which the service tunnel passes, it is called a master node.
  • the ring network 1 is called an incoming ring network
  • the ring network 2 is called an outgoing ring network.
  • the ring network 2 is referred to as an ingress ring network, and the ring network 1 is referred to as an egress ring network.
  • the following description of the embodiment is taken as an example from the direction of A to E; for the slave E node It is a symmetric process in the direction of the A node, and will not be described here.
  • the outbound interface is still the working tunnel in the loop from F->D->C->E.
  • the inbound interface can be used to fill the port between D and B, or a port can be set arbitrarily.
  • Configure the primary switching tunnel in the ring network that is, ring network 1) as B->A->C->D; and configure the corresponding backup protection switching tunnel as B->D->C->A->B .
  • the working tunnel of the ring-entry network is D->B->A->C, and the corresponding protection tunnel is D->C->A->B->D;
  • the working tunnel of the ring-out network ie ring network 2
  • It is F->D->C->E;
  • the corresponding protection tunnel is F->E->C->D->F.
  • the single ring protection switch that is, through the working tunnel of the ring network and the ring network.
  • the corresponding protection tunnel can be reversed by switching.
  • There is no cross-ring switching action For example, if the link between node A and node C in the ring network is broken, a simple single-ring switching operation is required.
  • a cross-ring switching action is involved only when the primary node fails on both physical links in the ring network. The following describes the specific fault examples of the master node.
  • FIG. 5 shows that the primary node C only appears on the two physical links in the outgoing ring network (ie, C->E link and C->D link). Fault; the switching process at this time is:
  • the service enters the primary node C through the working tunnel of the ring network, and the cross-ring switching action occurs on the primary node C.
  • the service exits from the working tunnel of the incoming ring network on the primary node C and directly enters the primary switching tunnel.
  • the service can be directly transmitted from the node C to the node D (the node is a backup node) and terminated at the node D; at the node D After exiting the service, the service enters the outgoing ring network on the backup node D.
  • the service After entering the outgoing ring network, the service first enters the working tunnel of the outgoing ring network F->D->C->E; since node D to node C If the path is faulty, the service cannot be directly transmitted to the egress node E through the working tunnel, so switch to the corresponding protection tunnel F->E->C->D->F; the path between node E and node C fails. And the service is to be down at the node E (that is, to exit the shared ring network), so the single ring switching operation is performed at the node E, and then switched to the working tunnel, and after switching to the working tunnel, the service is currently in the On node E, therefore, it is directly down at node E. Refer to the dotted line in Figure 5 for the path involved in this switching process.
  • FIG. 6 the figure shows that two physical links (ie, C->E link and C->D link) of the primary node C in the outgoing ring network are faulty, and are simultaneously in the ring.
  • the path between the node A and the node C on the working tunnel is faulty, and the switch is switched to the protection tunnel of the working tunnel.
  • the B through the protection tunnel passes through the B and D to reach the C network element.
  • the NE is switched to the working tunnel, and then exits the shared ring network and is ready to enter the loop.
  • the ring network works and the protection link are faulty.
  • the master node C has a cross-ring switching action. The service enters the ring on the master node C.
  • the working tunnel of the network exits and directly enters the primary switching tunnel.
  • the service Since the service is currently on the node C of the primary switching tunnel, and the path between the node C and the node D is not faulty, the service can be directly transmitted from the node C to the node D ( The node is a backup node) and terminates at node D; the node D exits to get the service, and the service enters the ring network on the backup node D; the next action is the same as the subsequent processing in FIG.
  • the two physical links (ie, C->E link and C->D link) of the primary node C in the outgoing ring network are faulty, and are simultaneously in the ring.
  • Another link in the network (C->D link) fails; the switching process at this time is:
  • the service enters the primary node C through the working tunnel of the ring network. Since the working and protection links of the outgoing ring network are broken, a cross-ring switching action occurs at the primary node C, and the service tunnels from the incoming ring network on the primary node C. Exit, directly enter the main switching tunnel. Since the service is currently on the node C of the primary switching tunnel, and the path between the node C and the node D fails, switch to the corresponding backup protection switching tunnel, and switch over the standby protection tunnel.
  • the nodes C, A, and B are delivered to the node D; the node D exits to obtain the service, and the service enters the outgoing ring network on the backup node D; after entering the outgoing ring network, the service first enters the working tunnel of the outgoing ring network F->D ->C->E; Because the path between node D and node C is faulty, the service cannot be directly transmitted to the egress node E through the working tunnel, so switch to the corresponding protection tunnel F->E->C->D- >F; since the service is currently on node D, the service can be directly delivered to node F and then to node E; the path between node E and node C fails, and the service is to be down at node E.
  • the two physical links (ie, C->E link and C->D link) of the primary node C in the outgoing ring network are faulty, and are simultaneously in the ring.
  • the two physical links in the network (C->D link and C->A) are faulty; the switching process at this time is:
  • the path between the node A and the node C on the working tunnel is faulty when it is transmitted through the working tunnel, and the switch is switched to the protection tunnel corresponding to the working tunnel.
  • the protection tunnel reaches the D point through the node B, due to the CD
  • the standby node performs a cross-ring switching action to exit the service tunnel carried on the protection tunnel.
  • the service enters the ring network on the backup node D. After entering the ring network, the service first enters the working tunnel of the ring network.
  • the figure shows that the primary node C only fails on two physical links in the ring network (ie, C->A link and C->D link);
  • the process is:
  • the path between the node A and the node C on the working tunnel is faulty when it is transmitted through the working tunnel, and the switch is switched to the protection tunnel corresponding to the working tunnel.
  • the protection tunnel reaches the D point through the node B, due to the CD
  • the standby node performs a cross-ring switching action to exit the service tunnel carried on the protection tunnel.
  • the service enters the ring network on the backup node D. After entering the ring network, the service first enters the working tunnel of the ring network.
  • the figure shows that two physical links (ie, C->A link and C->D link) of the primary node C in the ring-entry network are faulty, and are in the ring-out network.
  • a physical link ie, C->E link
  • fails; the switching process at this time is:
  • the path between the node A and the node C on the working tunnel is faulty when it is transmitted through the working tunnel, and the switch is switched to the protection tunnel corresponding to the working tunnel.
  • the protection tunnel reaches the D point through the node B, due to the CD
  • the standby node performs a cross-ring switching action to exit the service tunnel carried on the protection tunnel.
  • the service enters the ring network on the backup node D. After entering the ring network, the service first enters the working tunnel of the ring network.
  • the figure shows that two physical links of the primary node C in the ring-entry network (ie, C->A link and C->D link) fail, and are in the ring-out network. Another physical link (ie, C->D link) fails; the switching process at this time is:
  • the path between the node A and the node C on the working tunnel is faulty when it is transmitted through the working tunnel, and the switch is switched to the protection tunnel corresponding to the working tunnel.
  • the protection tunnel reaches the D point through the node B, due to the CD
  • the standby node performs a cross-ring switching action to exit the service tunnel carried on the protection tunnel.
  • the service enters the ring network on the backup node D. After entering the ring network, the service first enters the working tunnel of the ring network.
  • the switchover of the ring network can be implemented in a simple and fast manner without the need to deploy a large number of linear LSPs.
  • the LSP needs to occupy the resources, improve the resource utilization, and simplify the configuration process.
  • the time required for the entire protection switching is verified by the solution of the embodiment of the present invention. It does not exceed 50ms, and the path is consistent after two-way service switching. Therefore, the present invention has strong industrial applicability.

Abstract

A double-switching ring network protection method and device. The method comprises: first, establishing a switching tunnel in a ring-in network, wherein the switching tunnel comprises a main switching tunnel of which the direction is from a main node to a backup node and at least a part of which is directly connected to the main node and the backup node, and a standby protection switching tunnel in the direction opposite to that of the main switching tunnel, and all the nodes in the ring-in network are all on the standby protection switching tunnel; and then, when two physical links of the main node in a ring-out network both fail, directly switching a current service to the previously established switching tunnel, and transmitting same to the backup node through the switching tunnel, so as to enter the ring-out network through the backup node. According to the technical solution, when ring network-cross switching needs to be conducted, the ring network-cross switching can be succinctly and quickly realized by directly using a switching tunnel configured in a ring-in network without deploying a large number of linear LSP protections or configuring a linear protection delay time.

Description

双切环网保护方法及装置Double-cut ring network protection method and device 技术领域Technical field
本发明涉及双切环网保护技术领域,具体涉及一种双切环网保护方法及装置。The invention relates to the technical field of double-cut ring network protection, and in particular relates to a double-cut ring network protection method and device.
背景技术Background technique
在分组传送网(PTN:Packet Transport Network)/路由器设备中,MPLS-TP(MPLS Transport Profile,传送多协议标签交换)保护主要包括线性保护和环网保护。环网保护技术优势在于段层保护,可以节省大量的交换路径标签(LSP:Label Switched Path)条目数目和配置工作量。通常在业务接入、汇聚和核心分配会存在不同的环网保护,这些环会存在相切情况。在这种双切环网中,两个共享环网相切于双节点互联,对于单环的故障还是可以采用单环中的保护机制,但是如果存在多处故障,例如相切点在某个环网中的两个物理链路都出现故障,则流量还是会中断。针对该问题,目前的方案是采用叠加线性保护的方法,如图1所示,该图所示包括分别由A-B-D-C节点和C-D-F-E节点组成的两个相切于节点C和节点D的环网,也是典型了双切环网结构,其中虚线所示为隧道线性保护的保护隧道。由图1可知其采用了典型的叠加线性保护的方法,该方案会存在以下问题:保护配置较复杂,需要部署大量线性LSP保护,且需要启用较多的LSP OAM(Operation Administration and Maintenance);大量的OAM需占用较多的带宽和软硬件资源;且叠加线性保护后,因保护LSP需要被环网保护,导致带宽利用率降低;另外,环网叠加线性情况下,通常需要配置线性保护迟滞时间,导致倒换时间要在100~150ms。In a packet transport network (PTN: Packet Transport Network)/router device, MPLS-TP (MPLS Transport Profile) protection mainly includes linear protection and ring network protection. The ring network protection technology has the advantage of segment layer protection, which can save a large number of LSP (Label Switched Path) entries and configuration workload. There are usually different ring protections in service access, aggregation, and core allocation. These rings have a tangible situation. In this double-cut ring network, two shared ring networks are tangent to a two-node interconnect. For a single-ring fault, a single-ring protection mechanism can be used, but if there are multiple faults, such as a tangent point at some If both physical links in the ring fail, traffic will still be interrupted. To solve this problem, the current scheme is to adopt a method of superimposing linear protection, as shown in FIG. 1 , which includes two ring networks which are respectively composed of an ABDC node and a CDFE node and are tangent to the node C and the node D. A double-cut ring network structure is typical, in which the dotted line shows a protection tunnel for tunnel linear protection. It can be seen from FIG. 1 that a typical method of superimposed linear protection is adopted, which has the following problems: the protection configuration is complicated, a large number of linear LSP protections need to be deployed, and a large number of LSP OAMs (Operation Administration and Maintenance) need to be enabled; The OAM needs to occupy more bandwidth and hardware and software resources. After the linear protection is added, the protection of the LSP needs to be protected by the ring network, resulting in a decrease in bandwidth utilization. In addition, when the ring network is linear, the linear protection lag time is usually required. , causing the switching time to be between 100 and 150 ms.
发明内容Summary of the invention
本发明实施例要解决的主要技术问题是,提供一种双切环网保护方法及装置,解决相关叠加线性保护方案存在的配置复杂、资源利用率低、倒换过程占用时间长的问题。 The main technical problem to be solved by the embodiments of the present invention is to provide a double-cut ring network protection method and device, which solves the problems of complicated configuration, low resource utilization, and long occupation time of the related superimposed linear protection scheme.
为解决上述技术问题,采用如下技术方案:In order to solve the above technical problems, the following technical solutions are adopted:
一种双切环网保护方法,其中,所述双切环网包括相切于主节点和备份节点的入环网和出环网,该方法包括:A double-cut ring network protection method, where the double-cut ring network includes an ingress ring network and a ring-out network that are tangent to a primary node and a backup node, and the method includes:
在所述入环网中建立切换隧道;所述切换隧道包括方向为从所述主节点到所述备份节点、且至少一部分隧道直接连接所述主节点和所述备份节点的主切换隧道,以及与所述主切换隧道方向相反的备用保护切换隧道,所述入环网中的所有节点均在所述备用保护切换隧道上;Establishing a handover tunnel in the ring-in network; the handover tunnel includes a primary handover tunnel that is from the primary node to the backup node, and at least a part of the tunnel directly connects the primary node and the backup node, and a backup protection switching tunnel opposite to the direction of the primary switching tunnel, where all nodes in the ring-entry network are on the standby protection switching tunnel;
当所述主节点在所述出环网中的两个物理链路均出现故障,将当前业务切换到所述切换隧道并传递至所述备份节点,通过所述备份节点进入所述出环网;When the primary node fails in the two physical links in the outgoing ring network, the current service is switched to the switching tunnel and delivered to the backup node, and the backup node enters the outgoing ring network. ;
所述主节点在所述出环网中的两个物理链路是指,所述主节点在所述出环网中的互联端口和非互联端口分别所在的物理链路。The two physical links of the primary node in the outgoing ring network refer to the physical link where the primary node is located in the outgoing ring network and the non-interconnected port.
可选地,所述备用保护切换隧道为闭环隧道。Optionally, the backup protection switching tunnel is a closed loop tunnel.
可选地,所述当前业务通过所述备份节点进入所述出环网的步骤后,该方法还包括:Optionally, after the step of the current service entering the ring network through the backup node, the method further includes:
将所述业务优先切换至所述出环网的工作隧道上,如所述工作隧道故障,则切换至所述工作隧道的保护隧道上。The service is preferentially switched to the working tunnel of the outgoing ring network, and if the working tunnel is faulty, it is switched to the protection tunnel of the working tunnel.
可选地,将所述当前业务切换到所述切换隧道的步骤包括:Optionally, the step of switching the current service to the handover tunnel includes:
优先将所述当前业务切换到所述主切换隧道,如所述主切换隧道故障,将所述业务切换到所述备用保护切换隧道。The current service is preferentially switched to the primary handover tunnel, and if the primary handover tunnel is faulty, the service is switched to the backup protection handover tunnel.
可选地,所述主节点在所述出环网中的两个物理链路均出现故障的步骤包括:Optionally, the step of the primary node failing on both physical links in the outgoing ring network includes:
所述主节点仅在所述出环网中的两个物理链路出现故障;The master node only fails on two physical links in the outgoing ring network;
或所述主节点在所述出环网中的两个物理链路出现故障,且同时在所述入环网中的至少一个物理链路出现故障。Or the two physical links of the primary node in the outgoing ring network fail, and at the same time, at least one physical link in the incoming ring network fails.
一种双切环网保护装置,其中,所述双切环网包括相切于主节点和备份 节点的入环网和出环网;A double-cut ring network protection device, wherein the double-cut ring network includes tangent to a master node and a backup The ringing network and the outgoing ring network of the node;
所述双切环网保护装置包括路径配置模块和路径切换模块,其中:The double-cut ring network protection device includes a path configuration module and a path switching module, where:
所述路径配置模块设置成:在所述入环网中建立切换隧道;所述切换隧道包括方向为从所述主节点到所述备份节点、且至少一部分隧道直接连接所述主节点和所述备份节点的主切换隧道,以及与所述主切换隧道方向相反的备用保护切换隧道,所述入环网中的所有节点均在所述备用保护切换隧道上;The path configuration module is configured to: establish a handover tunnel in the ring-in network; the handover tunnel includes a direction from the master node to the backup node, and at least a part of the tunnel directly connects to the master node and the a primary switching tunnel of the backup node, and a backup protection switching tunnel opposite to the direction of the primary switching tunnel, where all nodes in the incoming ring network are on the standby protection switching tunnel;
所述路径切换模块设置成:当所述主节点在所述出环网中的两个物理链路均出现故障时,将当前业务切换到所述切换隧道上,由所述切换隧道将所述业务传递至所述备份节点;The path switching module is configured to: when the primary node fails in the two physical links in the outgoing ring network, switch the current service to the switching tunnel, where the switching tunnel The service is delivered to the backup node;
所述主节点在所述出环网中的两个物理链路是指,所述主节点在所述出环网中的互联端口和非互联端口分别所在的物理链路。The two physical links of the primary node in the outgoing ring network refer to the physical link where the primary node is located in the outgoing ring network and the non-interconnected port.
可选地,所述备用保护切换隧道为闭环隧道。Optionally, the backup protection switching tunnel is a closed loop tunnel.
可选地,所述路径切换模块包括工作路径切换子模块和保护路径切换子模块,其中:Optionally, the path switching module includes a working path switching submodule and a protection path switching submodule, where:
所述工作路径切换子模块设置成:在所述当前业务通过所述备份节点进入所述出环网后,将所述当前业务优先切换至所述出环网的工作隧道上,如所述工作隧道故障,则通知所述保护路径切换子模块;The working path switching sub-module is configured to switch the current service to the working tunnel of the outgoing ring network preferentially after the current service enters the outgoing ring network through the backup node, as described above. If the tunnel is faulty, notify the protection path switching submodule;
所述保护路径切换子模块设置成:在收到所述通知后,将所述当前业务切换至所述工作隧道的保护隧道上。The protection path switching sub-module is configured to: after receiving the notification, switch the current service to a protection tunnel of the working tunnel.
可选地,所述路径切换模块包括主路径切换子模块和备用路径切换子模块;Optionally, the path switching module includes a primary path switching submodule and an alternate path switching submodule;
所述主路径切换子模块设置成:在将所述当前业务切换到所述切换隧道时,优先将所述当前业务切换到所述主切换隧道,如所述主切换隧道故障,通知所述备用路径切换子模块;The primary path switching sub-module is configured to switch the current service to the primary switching tunnel preferentially when the current service is switched to the switching tunnel, and notify the standby if the primary switching tunnel fails. Path switching submodule;
所述备用路径切换子模块设置成:在收到所述通知后,将所述当前业务切换到所述备用保护切换隧道。The standby path switching submodule is configured to: after receiving the notification, switch the current service to the standby protection switching tunnel.
可选地,所述主节点在所述出环网中的两个物理链路均出现故障包括: Optionally, the failure of the primary node in the two physical links in the outgoing ring network includes:
所述主节点仅在所述出环网中的两个物理链路出现故障;The master node only fails on two physical links in the outgoing ring network;
或所述主节点在所述出环网中的两个物理链路出现故障,且同时在所述入环网中的至少一个物理链路出现故障。Or the two physical links of the primary node in the outgoing ring network fail, and at the same time, at least one physical link in the incoming ring network fails.
本发明的有益效果是:The beneficial effects of the invention are:
本发明实施例提供的双切环网保护方法及装置,首先在入环网中建立切换隧道;该切换隧道包括方向为从主节点到备份节点、且至少一部分隧道直接连接主节点和备份节点的主切换隧道,以及该主切换隧道方向相反的备用保护切换隧道,入环网中的所有节点均在备用保护切换隧道上;然后当主节点在出环网中的两个物理链路均出现故障时,直接将当前业务切换到之前建立好的切换隧道,通过该切换隧道传递至备份节点,进而通过备份节点进入出环网。可见,本发明实施例在需要进行跨环网切换时,直接利用入环中配置的切换隧道即可简洁、快速的实现跨环网的切换,并不需要部署大量线性LSP保护,因此可以减少部署大量线性LSP所需占用的资源,提升资源利用率,同时简化配置过程;另外也不再需要配置线性保护迟滞时间,因此还可减少倒换时间;经验证采用本发明实施例的方案整个保护倒换需要的时间满足不超过50ms,且对于双向业务倒换后路径一致。The double-cut ring network protection method and device provided by the embodiment of the present invention first establish a handover tunnel in the ring-entry network; the handover tunnel includes a direction from the primary node to the backup node, and at least a part of the tunnel directly connects the primary node and the backup node. The primary switching tunnel, and the backup protection switching tunnel in the opposite direction of the primary switching tunnel, all the nodes in the ring-entry network are on the standby protection switching tunnel; then when the primary node fails in the two physical links in the outgoing ring network The current service is directly switched to the previously established switching tunnel, and is transmitted to the backup node through the switching tunnel, and then enters the outgoing ring network through the backup node. It can be seen that, when the switchover of the ring network is required, the switchover tunnel configured in the ring can be used to implement the switchover of the cross-ring network in a simple and fast manner, and does not need to deploy a large number of linear LSP protections, thereby reducing deployment. The resources required for a large number of linear LSPs are used to improve the resource utilization, and the configuration process is simplified. In addition, the linear protection lag time is not required, so that the switching time can be reduced. The entire protection switching needs of the solution of the embodiment of the present invention is verified. The time meets no more than 50ms, and the path is consistent for the two-way service switching.
附图概述BRIEF abstract
图1为相关技术中对双切环网采用叠加线性保护的示意图;1 is a schematic diagram of superposition linear protection for a double-cut ring network in the related art;
图2为本发明实施例一中提供的双切环网结构示意图;2 is a schematic structural diagram of a double-cut ring network according to Embodiment 1 of the present invention;
图3为本发明实施例一中提供的双切环网保护方法流程示意图;3 is a schematic flowchart of a double-cut ring network protection method according to Embodiment 1 of the present invention;
图4为本发明实施例二中提供的双切环网保护装置结构示意图;4 is a schematic structural diagram of a double-cut ring network protection device according to Embodiment 2 of the present invention;
图5为本发明实施例三中提供的主节点在出环网中的两个物理链路故障情况一的示意图;5 is a schematic diagram of two physical link failure situations of a primary node in an outgoing ring network according to Embodiment 3 of the present invention;
图6为本发明实施例三中提供的主节点在出环网中的两个物理链路故障情况二的示意图;6 is a schematic diagram of two physical link failure situations 2 of a master node in an outgoing ring network according to Embodiment 3 of the present invention;
图7为本发明实施例三中提供的主节点在出环网中的两个物理链路故障 情况三的示意图;FIG. 7 is a schematic diagram of two physical link failures of a master node in an outgoing ring network according to Embodiment 3 of the present invention; Schematic diagram of case three;
图8为本发明实施例三中提供的主节点在出环网中的两个物理链路故障情况四的示意图;8 is a schematic diagram of four physical link failure situations 4 of a primary node in an outgoing ring network according to Embodiment 3 of the present invention;
图9为本发明实施例三中提供的主节点在入环网中的两个物理链路故障情况一的示意图;FIG. 9 is a schematic diagram of a fault condition of two physical links of a master node in an ingress ring network according to Embodiment 3 of the present invention;
图10为本发明实施例三中提供的主节点在入环网中的两个物理链路故障情况二的示意图;10 is a schematic diagram of two physical link failure situations 2 of a primary node in an ingress ring network according to Embodiment 3 of the present invention;
图11为本发明实施例三中提供的主节点在入环网中的两个物理链路故障情况三的示意图。FIG. 11 is a schematic diagram of three physical link failure situations 3 of a primary node in an ingress ring network according to Embodiment 3 of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
下面通过具体实施方式结合附图对本发明作进一步详细说明。The present invention will be further described in detail below with reference to the accompanying drawings.
实施例一:Embodiment 1:
本实施例首先结合图2对几个概念进行解释说明。在图2中,节点A-B-C-D组成环网1,节点C-D-F-E组成环网2;环网1和环网2通过节点C和节点D互联,节点C和节点D则成为跨环节点。其中,业务隧道经过的节点称为主节点,另一节点则称为备份节点,备份节点上备份存储有业务隧道配置。对于环网1和环网2,从业务流向的一个方向看可以对应的称为入环网和出环网。例如,在图2中,建立从A节点到E节点的双向业务隧道,从A节点到E节点方向上看,其中在A节点上,业务隧道进入共享环网,C网元上业务隧道从共享环网中退出,然后进入右侧共享环网中,在E节点上退出共享环网,还原得到业务隧道。由于C节点是业务隧道穿通的节点,称之为主节点;对应的D节点为备份节点;环网1称为入环网,环网2称为出环网。如果业务从E节点到A节点的方向上看,则环网2称为入环网,环网1称为出环网。其中,主节点和备份节点之间的连接端口称为互联端口。在主节点和备份节点上可设置链路检测装置,分别检测主节点和备份节点上4个端口(2个互联端口和2个非互联端口)的物理链路状态。在图2中,主节点C与备份节点D连接的两个端口为互联端口,分别与节点A和节点E连接的端 口为非互联端口;备份节点D与主节点C连接的两个端口为互联端口,分别与节点B和节点F连接的端口为非互联端口。主节点C在入环网中的两个物理链路则是指在入环网中的CA和CD两个物理链路;在出环网中的两条链路则是指在出环网中的CE和CD两条物理链路。This embodiment first explains several concepts in conjunction with FIG. 2. In FIG. 2, nodes A-B-C-D form a ring network 1, and nodes C-D-F-E form a ring network 2; ring network 1 and ring network 2 are interconnected by node C and node D, and node C and node D become cross-ring nodes. The node through which the service tunnel passes is called the primary node, and the other node is called the backup node. The backup node stores the service tunnel configuration. For ring network 1 and ring network 2, it can be referred to as an incoming ring network and an outgoing ring network in a direction from the direction of service flow. For example, in FIG. 2, a bidirectional service tunnel from the A node to the E node is established, and from the A node to the E node direction, where the service tunnel enters the shared ring network on the A node, and the service tunnel on the C network element is shared from the shared network. Exit from the ring network, then enter the shared ring network on the right side, exit the shared ring network on the E node, and restore the service tunnel. Because the C node is the node through which the service tunnel passes, it is called the primary node; the corresponding D node is the backup node; the ring network 1 is called the ingress ring network, and the ring network 2 is called the outgoing ring network. If the service is viewed from the E-node to the A-node, the ring 2 is called the ring-in network, and the ring 1 is called the ring-out network. The connection port between the primary node and the backup node is called an interconnection port. A link detection device may be set on the primary node and the backup node to detect the physical link status of the four ports (two interconnect ports and two non-interconnect ports) on the primary node and the backup node. In FIG. 2, the two ports connected by the master node C and the backup node D are interconnect ports, and the ends connected to the node A and the node E respectively. The port is a non-interconnecting port; the two ports connected to the primary node C of the backup node D are interconnecting ports, and the ports respectively connected to the node B and the node F are non-interconnecting ports. The two physical links of the primary node C in the ring-entry network refer to the two physical links of the CA and the CD in the ring-entry network; the two links in the outgoing ring network refer to the ring-connected network. Two physical links of CE and CD.
另外,在环网中都配置有工作隧道和对应的保护隧道。在共享环网中,工作隧道一般都配置为最长路径,以使所有节点都在该工作隧道上;对应的保护隧道则与该工作隧道方向相反且为闭环。在图2中,环网1的工作隧道为D->B->A->C,对应的保护隧道则为D->C->A->B->D;环网2的工作隧道为F->D->C->E;对应的保护隧道则为F->E->C->D->F。In addition, a working tunnel and a corresponding protection tunnel are arranged in the ring network. In a shared ring network, the working tunnel is generally configured as the longest path so that all nodes are on the working tunnel; the corresponding protection tunnel is opposite to the working tunnel and is closed loop. In FIG. 2, the working tunnel of the ring network 1 is D->B->A->C, and the corresponding protection tunnel is D->C->A->B->D; the working tunnel of the ring network 2 is F->D->C->E; the corresponding protection tunnel is F->E->C->D->F.
基于上述概念示例性的说明,下面结合图3对本实施例提供的双切环网保护方法进行示例性的说明,请参见图3所示,包括:Based on the exemplary description of the foregoing concepts, the dual-cut ring network protection method provided in this embodiment is exemplarily described below with reference to FIG. 3, which is shown in FIG.
步骤301:在双切环网的入环网中建立切换隧道;Step 301: Establish a handover tunnel in the ring network of the double-cut ring network.
此处建立的切换隧道包括方向为从主节点到备份节点、且至少一部分隧道直接连接主节点和备份节点的主切换隧道,以及与该主切换隧道方向相反的备用保护切换隧道,入环网中的所有节点均在该备用保护切换隧道上;The switching tunnel established here includes a primary switching tunnel from the primary node to the backup node, and at least a part of the tunnel is directly connected to the primary node and the backup node, and a backup protection switching tunnel opposite to the primary switching tunnel, in the ring network. All nodes are on the standby protection switching tunnel;
步骤302:判断主节点在出环网中的两个物理链路是否均出现故障,如是,转至步骤303;否则,返回继续判断;Step 302: Determine whether the two physical links of the primary node in the outgoing ring network are faulty. If yes, go to step 303; otherwise, return to continue judgment;
步骤303:将当前业务切换到之前建立好的切换隧道,并通过该切换隧道传递至备份节点;Step 303: Switch the current service to the previously established switching tunnel, and deliver the same to the backup node through the switching tunnel.
步骤304:业务通过备份节点进入出环网。Step 304: The service enters the outgoing ring network through the backup node.
可见,通过图3所示的方案,当主节点在其中一个环的两个物理链路方向均发生故障时,能够通过跨环节点保护机制,实现业务的恢复,将该主节点跨环的业务,绕行到另一个备份节点跨环,整个保护倒换需要的时间满足不超过50ms,同时双向业务倒换后路径一致。It can be seen that, by using the scheme shown in FIG. 3, when the primary node fails in the direction of the two physical links of one of the rings, the service can be restored through the protection mechanism of the cross-ring node, and the service of the primary node cross-ring is performed. Bypassing to another backup node across the ring, the time required for the entire protection switchover does not exceed 50ms, and the path is the same after the two-way service switchover.
在本实施例中,配置主切换隧道时,理论上可以入环网中除备份节点以外In this embodiment, when configuring the primary switching tunnel, it is theoretically possible to enter the ring network in addition to the backup node.
的其他任意节点为起始节点,以备份节点为终止节点,只要该主切换隧道的至少一部分隧道有直接从主节点到备节点的方向将二者直接连接即可。 对应的,配置主切换隧道对应的备用保护切换隧道时,则只要入环网中的所有节点均在该备用保护切换隧道上即可,该备用保护切换隧道可以配置为闭环隧道,也可以根据实际需要配置为非闭环隧道。下面仍结合图2所示的双切环网对切换隧道的配置过程进行示例性的说明:Any other node is the starting node, and the backup node is the terminating node, as long as at least a part of the tunnel of the primary switching tunnel directly connects the two directly from the primary node to the standby node. Correspondingly, when configuring the backup protection switching tunnel corresponding to the primary switching tunnel, all the nodes in the ring-entry network are all on the standby protection switching tunnel. The standby protection switching tunnel can be configured as a closed-loop tunnel or according to the actual situation. Need to be configured as a non-closed loop tunnel. The configuration process of the handover tunnel is still exemplarily described below in conjunction with the double-cut ring network shown in FIG. 2:
在图2中,仍以环网1为入环网,环网2为出环网进行示例性说明。在入环网中,建立切换隧道的方式可包括以下方式中的任意一种:In FIG. 2, the ring network 1 is still taken into the ring network, and the ring network 2 is taken as an outgoing ring network. In the ring network, the manner of establishing a handover tunnel may include any one of the following methods:
方式一:配置主切换隧道为:C->D;对应的备用保护切换隧道为C->A->B->D->C;Manner 1: Configure the primary switching tunnel as: C->D; the corresponding standby protection switching tunnel is C->A->B->D->C;
方式二:配置主切换隧道为:A->C->D;对应的备用保护切换隧道为A->B->D->C->A;Manner 2: Configure the primary switching tunnel as: A->C->D; the corresponding standby protection switching tunnel is A->B->D->C->A;
方式三:配置主切换隧道为:B->A->C->D;对应的备用保护切换隧道为B->D->C->A->B。Manner 3: Configure the primary switching tunnel as B->A->C->D; the corresponding standby protection switching tunnel is B->D->C->A->B.
在共享环网络中,优选使得配置的路径最长。因此,对于上述几种配置方式优选第三种。应当理解的是,随着共享环网具体组成结构的变形,例如节点的增加或减少,具体配置方式并不仅限于以上几种示例的方式,还可根据具体结构和应用场景进行适当的变形。In a shared ring network, it is preferable to make the configured path the longest. Therefore, the third type is preferred for the above several configurations. It should be understood that, as the specific configuration of the shared ring network is changed, for example, the number of nodes is increased or decreased, the specific configuration is not limited to the above examples, and may be appropriately modified according to specific structures and application scenarios.
在本实施例中,当业务通过备份节点进入出环网后,还包括以下过程:In this embodiment, after the service enters the ring network through the backup node, the following process is also included:
在出环网中,将该业务优先切换至出环网的工作隧道上,如工作隧道故障,则切换至该工作隧道的保护隧道上。此处的工作隧道故障具体可指业务当前所在节点到出节点(也即业务退出共享环网的那个节点)之间的路径发生故障。当然,当切换到保护隧道上,保护隧道到达出节点部分的路径也发生故障时,则再切换至工作隧道上;这样往返切换直到业务到达出节点退出共享环网(即退出出环网)。In the outgoing ring network, the service is preferentially switched to the working tunnel of the outgoing ring network. If the working tunnel fails, the service is switched to the protection tunnel of the working tunnel. The working tunnel fault here may specifically refer to a fault between the current node of the service to the egress node (that is, the node that the service exits the shared ring network). Of course, when switching to the protection tunnel and the path of the protection tunnel to the egress node is also faulty, it is switched to the working tunnel; thus, the round-trip handover is performed until the service arrives at the egress node and exits the shared ring network (ie, exits the ring network).
在本实施例中,主节点在出环网中的两个物理链路都均出现故障,在入环网中,将当前业务切换到切换隧道的过程包括:In this embodiment, the two physical links of the primary node in the outgoing ring network are all faulty. In the incoming ring network, the process of switching the current service to the switching tunnel includes:
优先将业务切换到主切换隧道,如主切换隧道故障,在将业务切换到对应的备用保护切换隧道。此处的主切换隧道故障具体指在主切换隧道上,业务当前节点到达备用节点之间的路径发生故障。 The service is switched to the primary switching tunnel, for example, the primary switching tunnel is faulty, and the service is switched to the corresponding standby protection switching tunnel. The primary handover tunnel fault here refers specifically to the failure of the path between the current node of the service and the standby node on the primary handover tunnel.
在本实施例中,主节点在入环网中的两个物理链路均出现故障时,可直接通过入环网中的工作隧道和保护隧道将业务传递至备份节点;主节点在入环网中的两个物理链路均出现故障包括:In this embodiment, when the two physical links in the ring network fail, the primary node can directly forward the service to the backup node through the working tunnel and the protection tunnel in the ring network; the master node is in the ring network. Failures in both physical links include:
主节点仅在入环网中的两个物理链路出现故障;The primary node only fails on two physical links in the ring network;
或主节点在入环网中的两个物理链路出现故障且同时在出环网中的至少一个物理链路出现故障;Or the two physical links of the primary node in the ring-entry network fail and at the same time, at least one physical link in the outgoing ring network fails;
主节点在出环网中的两个物理链路均出现故障包括:The failure of the two physical links of the master node in the outgoing ring network includes:
主节点仅在出环网中的两个物理链路出现故障;The primary node only fails on two physical links in the outgoing ring network;
或主节点在出环网中的两个物理链路出现故障且同时在入环网中的至少一个物理链路出现故障。Or the two physical links of the primary node in the outgoing ring network fail and at the same time, at least one physical link in the incoming ring network fails.
实施例二:Embodiment 2:
本实施例提供了一种双切环网保护装置,请参见图4所示,包括路径配置模块41和路径切换模块42:This embodiment provides a double-cut ring network protection device. Referring to FIG. 4, the path configuration module 41 and the path switching module 42 are included:
路径配置模块41设置成:在入环网中建立切换隧道;该切换隧道包括方向为从主节点到备份节点、且至少一部分隧道直接连接主节点和备份节点的主切换隧道,以及与主切换隧道方向相反的备用保护切换隧道,入环网中的所有节点均在备用保护切换隧道上;The path configuration module 41 is configured to: establish a handover tunnel in the ring-in network; the handover tunnel includes a primary handover tunnel from the primary node to the backup node, and at least a part of the tunnel directly connects the primary node and the backup node, and the primary handover tunnel The alternate protection switching tunnel in the opposite direction, all nodes in the ring network are on the standby protection switching tunnel;
路径切换模块42设置成:当主节点在出环网中的两个物理链路均出现故障时,将当前业务切换到切换隧道上,由切换隧道将业务传递至备份节点。业务再通过该备份节点进入出环网中。The path switching module 42 is configured to: when the primary node fails in the two physical links in the outgoing ring network, switch the current service to the switching tunnel, and the service is delivered to the backup node by the switching tunnel. The service then enters the outgoing ring network through the backup node.
本实施例中路径配置模块41配置的备用保护切换隧道为闭环隧道;当然根据实际情况也可为非闭环隧道。其在具体配置时可沿用在共享环网络中,优选使得配置的路径最长的原则进行配置。The backup protection switching tunnel configured by the path configuration module 41 in this embodiment is a closed loop tunnel; of course, it may be a non-closed loop tunnel according to actual conditions. It can be used in a shared ring network in a specific configuration, and is preferably configured on the principle that the configured path is the longest.
本实施例中,路径切换模块42包括工作路径切换子模块421和保护路径切换子模块422,工作路径切换子模块421设置成:在业务通过备份节点进入出环网后,将业务优先切换至出环网的工作隧道上,如工作隧道故障,则通知保护路径切换子模块422;保护路径切换子模块422设置成:在收到该 通知后,将业务切换至所述工作隧道的保护隧道上。In this embodiment, the path switching module 42 includes a working path switching sub-module 421 and a protection path switching sub-module 422. The working path switching sub-module 421 is configured to switch the service priority to the out-out after the service enters the outgoing ring network through the backup node. On the working tunnel of the ring network, if the working tunnel fails, the protection path switching sub-module 422 is notified; the protection path switching sub-module 422 is configured to: receive the After the notification, the service is switched to the protection tunnel of the working tunnel.
本实施例中,路径切换模块42还包括主路径切换子模块423和备用路径切换子模块424;In this embodiment, the path switching module 42 further includes a primary path switching submodule 423 and an alternate path switching submodule 424;
在入环网中,将业务切换到切换隧道时,主路径切换子模块423设置成:优先将业务切换到主切换隧道,如主切换隧道故障,通知备用路径切换子模块424;备用路径切换子模块424设置成:在收到通知后,将业务切换到备用保护切换隧道。In the ringing network, when the service is switched to the handover tunnel, the primary path switching submodule 423 is configured to: preferentially switch the service to the primary switching tunnel, such as the primary switching tunnel failure, and notify the alternate path switching submodule 424; the alternate path switching subroutine Module 424 is configured to switch the service to the alternate protection switching tunnel upon receipt of the notification.
在本实施例中,主节点在入环网中的两个物理链路均出现故障时,可直接通过入环网中的工作隧道和保护隧道将业务传递至备份节点;主节点在入环网中的两个物理链路均出现故障包括:In this embodiment, when the two physical links in the ring network fail, the primary node can directly forward the service to the backup node through the working tunnel and the protection tunnel in the ring network; the master node is in the ring network. Failures in both physical links include:
主节点仅在入环网中的两个物理链路出现故障;The primary node only fails on two physical links in the ring network;
或主节点在入环网中的两个物理链路出现故障且同时在出环网中的至少一个物理链路出现故障;Or the two physical links of the primary node in the ring-entry network fail and at the same time, at least one physical link in the outgoing ring network fails;
主节点在出环网中的两个物理链路均出现故障包括:The failure of the two physical links of the master node in the outgoing ring network includes:
主节点仅在出环网中的两个物理链路出现故障;The primary node only fails on two physical links in the outgoing ring network;
或主节点在出环网中的两个物理链路出现故障且同时在入环网中的至少一个物理链路出现故障。Or the two physical links of the primary node in the outgoing ring network fail and at the same time, at least one physical link in the incoming ring network fails.
实施例三:Embodiment 3:
为了更好的理解本发明,下面结合附图,对主节点的几种故障情况分别进行示例性的说明。In order to better understand the present invention, several fault situations of the master node are separately illustrated in the following with reference to the accompanying drawings.
仍以图2所示的双切环网为例进行说明。建立从节点A到节点E的双向业务隧道,从A节点到E节点方向上看,其中在A节点上,业务隧道进入共享环网,C节点上业务隧道从左侧共享环网中退出,然后进入右侧共享环网中,在E节点上退出共享环网,还原得到业务隧道。由于C节点是业务隧道穿通的网元,称之为主节点。环网1称为入环网,环网2称为出环网。如果从E节点到A节点的方向上看,则环网2称为入环网,环网1称为出环网。本实施例下面的说明都是以从A到E方向上看为例进行说明;对于从E节点 到A节点的方向上看是对称的处理,此处不再赘述。The double-cut ring network shown in FIG. 2 is still taken as an example for description. Establish a bidirectional service tunnel from node A to node E, from the direction of the A node to the E node. On the node A, the service tunnel enters the shared ring network, and the service tunnel on the node C exits from the left shared ring network, and then Enter the shared ring network on the right and exit the shared ring network on the E node to restore the service tunnel. Since the C node is a network element through which the service tunnel passes, it is called a master node. The ring network 1 is called an incoming ring network, and the ring network 2 is called an outgoing ring network. If viewed from the direction of the E node to the A node, the ring network 2 is referred to as an ingress ring network, and the ring network 1 is referred to as an egress ring network. The following description of the embodiment is taken as an example from the direction of A to E; for the slave E node It is a symmetric process in the direction of the A node, and will not be described here.
由于节点C时主节点,因此需将节点C上的业务隧道配置复制配置到备份节点D上,其中出接口依然是从F->D->C->E的那条出环中的工作隧道,入接口可以填D和B之间的端口,也可任意设置一个端口。在入环网(即环网1)中配置主切换隧道为:B->A->C->D;并配置对应的备用保护切换隧道为B->D->C->A->B。入环网的工作隧道为D->B->A->C,对应的保护隧道则为D->C->A->B->D;出环网(即环网2)的工作隧道为F->D->C->E;对应的保护隧道则为F->E->C->D->F。Because the node C is the master node, you need to configure the service tunnel configuration on the node C to the backup node D. The outbound interface is still the working tunnel in the loop from F->D->C->E. The inbound interface can be used to fill the port between D and B, or a port can be set arbitrarily. Configure the primary switching tunnel in the ring network (that is, ring network 1) as B->A->C->D; and configure the corresponding backup protection switching tunnel as B->D->C->A->B . The working tunnel of the ring-entry network is D->B->A->C, and the corresponding protection tunnel is D->C->A->B->D; the working tunnel of the ring-out network (ie ring network 2) It is F->D->C->E; the corresponding protection tunnel is F->E->C->D->F.
在入环网或出环网出现单处故障,或者入环网和出环网同时出现单处故障时,属于是单环的保护倒换(也即通过入环网和出环网的工作隧道和对应的保护隧道进行倒换即可解决),不存在跨环倒换动作。例如,入环网中的节点A和节点C之间链路断了,只需简单的单环倒换动作即可。只有主节点在入环网中的两个物理链路均出现故障,才会涉及到跨环倒换动作。下面结合主节点具体的几种故障示例进行说明。When there is a single fault in the ring network or the ring network, or when the ring network and the ring network have a single fault at the same time, it belongs to the single ring protection switch (that is, through the working tunnel of the ring network and the ring network). The corresponding protection tunnel can be reversed by switching. There is no cross-ring switching action. For example, if the link between node A and node C in the ring network is broken, a simple single-ring switching operation is required. A cross-ring switching action is involved only when the primary node fails on both physical links in the ring network. The following describes the specific fault examples of the master node.
在上述设置基础上,请参见图5所示,该图所示为主节点C仅在出环网中的两个物理链路(即C->E链路和C->D链路)出现故障;此时的倒换过程为:Based on the above settings, refer to FIG. 5, which shows that the primary node C only appears on the two physical links in the outgoing ring network (ie, C->E link and C->D link). Fault; the switching process at this time is:
业务经入环网的工作隧道到达主节点C,在主节点C出现跨环倒换动作,业务在主节点C上从入环网的工作隧道退出,直接进入主切换隧道,由于业务当前在主切换隧道的节点C上,且节点C到节点D之间的路径并未故障,因此业务可直接由节点C传递至节点D(该节点为备份节点),并在节点D处终结;在节点D处退出得到业务,业务在备份节点D上进入出环网;进入出环网后,业务首先进入出环网的工作隧道F->D->C->E;由于节点D到节点C之间的路径故障,业务没办法通过工作隧道直接传递至出节点E处,因此切换至对应的保护隧道F->E->C->D->F上;节点E到节点C之间的路径发生故障,且业务要在节点E处下环(即退出共享环网),因此会在节点E处进行单环的倒换动作,又切换至工作隧道上,切换到工作隧道上之后,由于业务当前就处于节点E上,因此在节点E处直接下环。该切换过程所涉及到的路径请参见图5中虚线示出部分。 The service enters the primary node C through the working tunnel of the ring network, and the cross-ring switching action occurs on the primary node C. The service exits from the working tunnel of the incoming ring network on the primary node C and directly enters the primary switching tunnel. On the node C of the tunnel, and the path between the node C and the node D is not faulty, the service can be directly transmitted from the node C to the node D (the node is a backup node) and terminated at the node D; at the node D After exiting the service, the service enters the outgoing ring network on the backup node D. After entering the outgoing ring network, the service first enters the working tunnel of the outgoing ring network F->D->C->E; since node D to node C If the path is faulty, the service cannot be directly transmitted to the egress node E through the working tunnel, so switch to the corresponding protection tunnel F->E->C->D->F; the path between node E and node C fails. And the service is to be down at the node E (that is, to exit the shared ring network), so the single ring switching operation is performed at the node E, and then switched to the working tunnel, and after switching to the working tunnel, the service is currently in the On node E, therefore, it is directly down at node E. Refer to the dotted line in Figure 5 for the path involved in this switching process.
请参见图6所示,该图所示为主节点C在出环网中的两个物理链路(即C->E链路和C->D链路)出现故障,且同时在入环网中的一个链路(C->A链路)出现故障;此时的倒换过程为:Referring to FIG. 6, the figure shows that two physical links (ie, C->E link and C->D link) of the primary node C in the outgoing ring network are faulty, and are simultaneously in the ring. A link in the network (C->A link) fails; the switching process at this time is:
业务在入环网中,经工作隧道传递时发现工作隧道上节点A到节点C之间路径发生故障,切换到工作隧道的保护隧道上,通过保护隧道经过B、D到达C网元,在C网元切换到工作隧道,然后退出共享环网,准备进入出环,发现出环网的工作和保护链路都出现故障,主节点C出现跨环倒换动作,业务在主节点C上从入环网的工作隧道退出,直接进入主切换隧道,由于业务当前在主切换隧道的节点C上,且节点C到节点D之间的路径并未故障,因此业务可直接由节点C传递至节点D(该节点为备份节点),并在节点D处终结;在节点D处退出得到业务,业务在备份节点D上进入出环网;接下来的动作和图5中后面的处理一样。When the service is transmitted to the ring network, the path between the node A and the node C on the working tunnel is faulty, and the switch is switched to the protection tunnel of the working tunnel. The B through the protection tunnel passes through the B and D to reach the C network element. The NE is switched to the working tunnel, and then exits the shared ring network and is ready to enter the loop. The ring network works and the protection link are faulty. The master node C has a cross-ring switching action. The service enters the ring on the master node C. The working tunnel of the network exits and directly enters the primary switching tunnel. Since the service is currently on the node C of the primary switching tunnel, and the path between the node C and the node D is not faulty, the service can be directly transmitted from the node C to the node D ( The node is a backup node) and terminates at node D; the node D exits to get the service, and the service enters the ring network on the backup node D; the next action is the same as the subsequent processing in FIG.
请参见图7所示,该图所示为主节点C在出环网中的两个物理链路(即C->E链路和C->D链路)出现故障,且同时在入环网中的另一个链路(C->D链路)出现故障;此时的倒换过程为:Referring to FIG. 7, the two physical links (ie, C->E link and C->D link) of the primary node C in the outgoing ring network are faulty, and are simultaneously in the ring. Another link in the network (C->D link) fails; the switching process at this time is:
业务经入环网的工作隧道到达主节点C,由于出环网的工作和保护链路都断了,在主节点C出现跨环倒换动作,业务在主节点C上从入环网的工作隧道退出,直接进入主切换隧道,由于业务当前在主切换隧道的节点C上,且节点C到节点D之间的路径发生故障,切换到对应的备用保护切换隧道上,经备用保护切换隧道上的节点C、A、B传递至节点D处;在节点D处退出得到业务,业务在备份节点D上进入出环网;进入出环网后,业务首先进入出环网的工作隧道F->D->C->E;由于节点D到节点C之间的路径故障,业务不能通过工作隧道直接传递至出节点E处,因此切换至对应的保护隧道F->E->C->D->F上;由于业务当前在节点D上,因此可直接将业务传递至节点F,然后传递至节点E处;节点E到节点C之间的路径发生故障,且业务要在节点E处下环(即退出共享环网),因此会在节点E处进行单环的倒换动作,又切换至工作隧道上,切换到工作隧道上之后,由于业务当前就处于节点E上,因此在节点E处直接下环。该切换过程所涉及到的路径请参见图 7中虚线示出部分。The service enters the primary node C through the working tunnel of the ring network. Since the working and protection links of the outgoing ring network are broken, a cross-ring switching action occurs at the primary node C, and the service tunnels from the incoming ring network on the primary node C. Exit, directly enter the main switching tunnel. Since the service is currently on the node C of the primary switching tunnel, and the path between the node C and the node D fails, switch to the corresponding backup protection switching tunnel, and switch over the standby protection tunnel. The nodes C, A, and B are delivered to the node D; the node D exits to obtain the service, and the service enters the outgoing ring network on the backup node D; after entering the outgoing ring network, the service first enters the working tunnel of the outgoing ring network F->D ->C->E; Because the path between node D and node C is faulty, the service cannot be directly transmitted to the egress node E through the working tunnel, so switch to the corresponding protection tunnel F->E->C->D- >F; since the service is currently on node D, the service can be directly delivered to node F and then to node E; the path between node E and node C fails, and the service is to be down at node E. (ie exit the shared ring), so it will be at node E After the line switching operation monocyclic, and switched to the working tunnel, the tunnel is switched to the work, since the current service is in node E, thus directly under the ring at node E. See the figure for the path involved in the switching process. The dotted line in 7 shows the part.
请参见图8所示,该图所示为主节点C在出环网中的两个物理链路(即C->E链路和C->D链路)出现故障,且同时在入环网中的两个物理链路(C->D链路以及C->A)均出现故障;此时的倒换过程为:Referring to FIG. 8 , the two physical links (ie, C->E link and C->D link) of the primary node C in the outgoing ring network are faulty, and are simultaneously in the ring. The two physical links in the network (C->D link and C->A) are faulty; the switching process at this time is:
业务在入环网中,经工作隧道传递时发现工作隧道上节点A到节点C之间的路径发生故障,切换到工作隧道对应的保护隧道,保护隧道通过节点B到达D点时,由于CD之间光纤断了,备节点发生跨环倒换动作,将保护隧道上承载的业务隧道退出,业务在备份节点D上进入出环网;进入出环网后,业务首先进入出环网的工作隧道F->D->C->E;由于节点D到节点C之间的路径故障,业务不能通过工作隧道直接传递至出节点E处,因此切换至对应的保护隧道F->E->C->D->F上;由于业务当前在节点D上,因此可直接将业务传递至节点F,然后传递至节点E处;节点E到节点C之间的路径发生故障,且业务要在节点E处下环(即退出共享环网),因此会在节点E处进行单环的倒换动作,又切换至工作隧道上,切换到工作隧道上之后,由于业务当前就处于节点E上,因此在节点E处直接下环。该切换过程所涉及到的路径请参见图8中虚线示出部分。When the service is transmitted to the ring network, the path between the node A and the node C on the working tunnel is faulty when it is transmitted through the working tunnel, and the switch is switched to the protection tunnel corresponding to the working tunnel. When the protection tunnel reaches the D point through the node B, due to the CD When the fiber is broken, the standby node performs a cross-ring switching action to exit the service tunnel carried on the protection tunnel. The service enters the ring network on the backup node D. After entering the ring network, the service first enters the working tunnel of the ring network. ->D->C->E; Since the path between node D and node C is faulty, the service cannot be directly transmitted to the egress node E through the working tunnel, so switch to the corresponding protection tunnel F->E->C- >D->F; since the service is currently on node D, the service can be directly delivered to node F and then to node E; the path between node E and node C fails, and the service is at node E. At the lower ring (that is, exiting the shared ring network), a single-ring switching operation is performed at the node E, and then switched to the working tunnel. After switching to the working tunnel, since the service is currently on the node E, the node is E is directly down the ring. Refer to the dotted line in Figure 8 for the path involved in this switching process.
请参见图9所示,该图所示为主节点C仅在入环网中的两个物理链路(即C->A链路和C->D链路)出现故障;此时的倒换过程为:Referring to FIG. 9, the figure shows that the primary node C only fails on two physical links in the ring network (ie, C->A link and C->D link); The process is:
业务在入环网中,经工作隧道传递时发现工作隧道上节点A到节点C之间的路径发生故障,切换到工作隧道对应的保护隧道,保护隧道通过节点B到达D点时,由于CD之间光纤断了,备节点发生跨环倒换动作,将保护隧道上承载的业务隧道退出,业务在备份节点D上进入出环网;进入出环网后,业务首先进入出环网的工作隧道F->D->C->E;由于节点D到节点C以及节点C到节点E之间的路径都未发生故障,业务直接经工作隧道上D->C->E路径达到节点E,在节点E处直接下环。该切换过程所涉及到的路径请参见图9中虚线示出部分。When the service is transmitted to the ring network, the path between the node A and the node C on the working tunnel is faulty when it is transmitted through the working tunnel, and the switch is switched to the protection tunnel corresponding to the working tunnel. When the protection tunnel reaches the D point through the node B, due to the CD When the fiber is broken, the standby node performs a cross-ring switching action to exit the service tunnel carried on the protection tunnel. The service enters the ring network on the backup node D. After entering the ring network, the service first enters the working tunnel of the ring network. ->D->C->E; Since the path between node D and node C and node C to node E has not failed, the service directly reaches node E through the D->C->E path on the working tunnel. Node E is directly down the ring. Refer to the dotted line in Figure 9 for the path involved in this switching process.
请参见图10所示,该图所示为主节点C在入环网中的两个物理链路(即C->A链路和C->D链路)出现故障,同时在出环网中的一个物理链路(即C->E链路)出现故障;此时的倒换过程为: Referring to FIG. 10, the figure shows that two physical links (ie, C->A link and C->D link) of the primary node C in the ring-entry network are faulty, and are in the ring-out network. A physical link (ie, C->E link) fails; the switching process at this time is:
业务在入环网中,经工作隧道传递时发现工作隧道上节点A到节点C之间的路径发生故障,切换到工作隧道对应的保护隧道,保护隧道通过节点B到达D点时,由于CD之间光纤断了,备节点发生跨环倒换动作,将保护隧道上承载的业务隧道退出,业务在备份节点D上进入出环网;进入出环网后,业务首先进入出环网的工作隧道F->D->C->E;由于节点C到节点E之间的路径发生故障,业务在工作隧道上的节点C处进行单环倒换切换到对应的保护隧道F->E->C->D->F上,经保护隧道上的C->D->F->E路径到达节点E处,然后在节点E处进行单环的倒换动作,又切换至工作隧道上,切换到工作隧道上之后,由于业务当前就处于节点E上,因此在节点E处直接下环。该切换过程所涉及到的路径请参见图10中虚线示出部分。When the service is transmitted to the ring network, the path between the node A and the node C on the working tunnel is faulty when it is transmitted through the working tunnel, and the switch is switched to the protection tunnel corresponding to the working tunnel. When the protection tunnel reaches the D point through the node B, due to the CD When the fiber is broken, the standby node performs a cross-ring switching action to exit the service tunnel carried on the protection tunnel. The service enters the ring network on the backup node D. After entering the ring network, the service first enters the working tunnel of the ring network. ->D->C->E; Because the path between node C and node E fails, the service performs single-loop switching at node C on the working tunnel to switch to the corresponding protection tunnel F->E->C- >D->F, the C->D->F->E path on the protected tunnel reaches the node E, then the single-loop switching action is performed at the node E, and then switched to the working tunnel, and switched to work. After the tunnel, since the service is currently on node E, it is directly down at node E. Refer to the dotted line in Figure 10 for the path involved in this switching process.
请参见图11所示,该图所示为主节点C在入环网中的两个物理链路(即C->A链路和C->D链路)出现故障,同时在出环网中的另一个物理链路(即C->D链路)出现故障;此时的倒换过程为:Referring to FIG. 11, the figure shows that two physical links of the primary node C in the ring-entry network (ie, C->A link and C->D link) fail, and are in the ring-out network. Another physical link (ie, C->D link) fails; the switching process at this time is:
业务在入环网中,经工作隧道传递时发现工作隧道上节点A到节点C之间的路径发生故障,切换到工作隧道对应的保护隧道,保护隧道通过节点B到达D点时,由于CD之间光纤断了,备节点发生跨环倒换动作,将保护隧道上承载的业务隧道退出,业务在备份节点D上进入出环网;进入出环网后,业务首先进入出环网的工作隧道F->D->C->E;由于节点D到节点C之间的路径发生故障,业务在工作隧道上的节点D处进行单环倒换切换到对应的保护隧道F->E->C->D->F上,经保护隧道上的D->F->E路径到达节点E处,然后在节点E处进行单环的倒换动作,又切换至工作隧道上,切换到工作隧道上之后,由于业务当前就处于节点E上,因此在节点E处直接下环。该切换过程所涉及到的路径请参见图11中虚线示出部分。When the service is transmitted to the ring network, the path between the node A and the node C on the working tunnel is faulty when it is transmitted through the working tunnel, and the switch is switched to the protection tunnel corresponding to the working tunnel. When the protection tunnel reaches the D point through the node B, due to the CD When the fiber is broken, the standby node performs a cross-ring switching action to exit the service tunnel carried on the protection tunnel. The service enters the ring network on the backup node D. After entering the ring network, the service first enters the working tunnel of the ring network. ->D->C->E; Because the path between node D and node C fails, the service performs single-loop switching at node D on the working tunnel to switch to the corresponding protection tunnel F->E->C- >D->F, the D->F->E path on the protected tunnel reaches the node E, then the single-loop switching operation is performed at the node E, and then switched to the working tunnel, and after switching to the working tunnel Since the service is currently on node E, it is directly down at node E. Refer to the dotted line in Figure 11 for the path involved in this switching process.
以上内容是结合具体的实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。The above is a further detailed description of the present invention in connection with the specific embodiments, and the specific embodiments of the present invention are not limited to the description. It will be apparent to those skilled in the art that the present invention may be made without departing from the spirit and scope of the invention.
工业实用性 Industrial applicability
本发明实施例在需要进行跨环网切换时,直接利用入环中配置的切换隧道即可简洁、快速的实现跨环网的切换,并不需要部署大量线性LSP保护,因此可以减少部署大量线性LSP所需占用的资源,提升资源利用率,同时简化配置过程;另外也不再需要配置线性保护迟滞时间,因此还可减少倒换时间;经验证采用本发明实施例的方案整个保护倒换需要的时间满足不超过50ms,且对于双向业务倒换后路径一致。因此本发明具有很强的工业实用性。 When the switchover of the ring network is required, the switchover of the cross-ring network can be implemented in a simple and fast manner without the need to deploy a large number of linear LSPs. The LSP needs to occupy the resources, improve the resource utilization, and simplify the configuration process. In addition, it is no longer necessary to configure the linear protection lag time, so the switching time can be reduced. The time required for the entire protection switching is verified by the solution of the embodiment of the present invention. It does not exceed 50ms, and the path is consistent after two-way service switching. Therefore, the present invention has strong industrial applicability.

Claims (10)

  1. 一种双切环网保护方法,其中,所述双切环网包括相切于主节点和备份节点的入环网和出环网,该方法包括:A double-cut ring network protection method, where the double-cut ring network includes an ingress ring network and a ring-out network that are tangent to a primary node and a backup node, and the method includes:
    在所述入环网中建立切换隧道;所述切换隧道包括方向为从所述主节点到所述备份节点、且至少一部分隧道直接连接所述主节点和所述备份节点的主切换隧道,以及与所述主切换隧道方向相反的备用保护切换隧道,所述入环网中的所有节点均在所述备用保护切换隧道上;Establishing a handover tunnel in the ring-in network; the handover tunnel includes a primary handover tunnel that is from the primary node to the backup node, and at least a part of the tunnel directly connects the primary node and the backup node, and a backup protection switching tunnel opposite to the direction of the primary switching tunnel, where all nodes in the ring-entry network are on the standby protection switching tunnel;
    当所述主节点在所述出环网中的两个物理链路均出现故障,将当前业务切换到所述切换隧道,由所述切换隧道将所述当前业务传递至所述备份节点,通过所述备份节点进入所述出环网;When the primary node fails in the two physical links in the outgoing ring network, the current service is switched to the switching tunnel, and the current service is delivered to the backup node by the switching tunnel. The backup node enters the outgoing ring network;
    其中,所述主节点在所述出环网中的两个物理链路是指,所述主节点在所述出环网中的互联端口和非互联端口分别所在的物理链路。The two physical links of the primary node in the outgoing ring network refer to the physical link where the primary node is located in the outgoing ring network and the non-interconnected port.
  2. 如权利要求1所述的双切环网保护方法,其中,所述备用保护切换隧道为闭环隧道。The double-cut ring network protection method according to claim 1, wherein the backup protection switching tunnel is a closed-loop tunnel.
  3. 如权利要求1所述的双切环网保护方法,其中,所述当前业务通过所述备份节点进入所述出环网的步骤后,该方法还包括:The method of claim 1, wherein the method further comprises: after the step of the current service entering the ring network through the backup node, the method further comprises:
    将所述当前业务优先切换至所述出环网的工作隧道上,如所述工作隧道故障,则切换至所述工作隧道的保护隧道上。The current service is preferentially switched to the working tunnel of the outgoing ring network, and if the working tunnel is faulty, it is switched to the protection tunnel of the working tunnel.
  4. 如权利要求1-3中任一项所述的双切环网保护方法,其中,将所述当前业务切换到所述切换隧道的步骤包括:The double-cut ring network protection method according to any one of claims 1 to 3, wherein the step of switching the current service to the handover tunnel comprises:
    优先将所述当前业务切换到所述主切换隧道,如所述主切换隧道故障,将所述业务切换到所述备用保护切换隧道。The current service is preferentially switched to the primary handover tunnel, and if the primary handover tunnel is faulty, the service is switched to the backup protection handover tunnel.
  5. 如权利要求1-3中任一项所述的双切环网保护方法,其中,所述主节点在所述出环网中的两个物理链路均出现故障的步骤包括:The double-cut ring network protection method according to any one of claims 1 to 3, wherein the step of the primary node failing on both physical links in the outgoing ring network comprises:
    所述主节点仅在所述出环网中的两个物理链路出现故障;The master node only fails on two physical links in the outgoing ring network;
    或所述主节点在所述出环网中的两个物理链路出现故障,且同时在所述入环网中的至少一个物理链路出现故障。 Or the two physical links of the primary node in the outgoing ring network fail, and at the same time, at least one physical link in the incoming ring network fails.
  6. 一种双切环网保护装置,其中,所述双切环网包括相切于主节点和备份节点的入环网和出环网;A double-cut ring network protection device, wherein the double-cut ring network includes an ingress ring network and a ring-out network that are tangent to a primary node and a backup node;
    所述双切环网保护装置包括路径配置模块和路径切换模块,其中:The double-cut ring network protection device includes a path configuration module and a path switching module, where:
    所述路径配置模块设置成:在所述入环网中建立切换隧道;所述切换隧道包括方向为从所述主节点到所述备份节点、且至少一部分隧道直接连接所述主节点和所述备份节点的主切换隧道,以及与所述主切换隧道方向相反的备用保护切换隧道,所述入环网中的所有节点均在所述备用保护切换隧道上;The path configuration module is configured to: establish a handover tunnel in the ring-in network; the handover tunnel includes a direction from the master node to the backup node, and at least a part of the tunnel directly connects to the master node and the a primary switching tunnel of the backup node, and a backup protection switching tunnel opposite to the direction of the primary switching tunnel, where all nodes in the incoming ring network are on the standby protection switching tunnel;
    所述路径切换模块设置成:当所述主节点在所述出环网中的两个物理链路均出现故障时,将当前业务切换到所述切换隧道上,由所述切换隧道将所述当前业务传递至所述备份节点;The path switching module is configured to: when the primary node fails in the two physical links in the outgoing ring network, switch the current service to the switching tunnel, where the switching tunnel The current service is delivered to the backup node;
    其中,所述主节点在所述出环网中的两个物理链路是指,所述主节点在所述出环网中的互联端口和非互联端口分别所在的物理链路。The two physical links of the primary node in the outgoing ring network refer to the physical link where the primary node is located in the outgoing ring network and the non-interconnected port.
  7. 如权利要求6所述的双切环网保护装置,其中,所述备用保护切换隧道为闭环隧道。The double-cut ring network protection device according to claim 6, wherein the backup protection switching tunnel is a closed loop tunnel.
  8. 如权利要求6所述的双切环网保护装置,其中,所述路径切换模块包括工作路径切换子模块和保护路径切换子模块,其中:The double-cut ring network protection device according to claim 6, wherein the path switching module comprises a working path switching sub-module and a protection path switching sub-module, wherein:
    所述工作路径切换子模块设置成:在所述当前业务通过所述备份节点进入所述出环网后,将所述当前业务优先切换至所述出环网的工作隧道上,如所述工作隧道故障,则通知所述保护路径切换子模块;The working path switching sub-module is configured to switch the current service to the working tunnel of the outgoing ring network preferentially after the current service enters the outgoing ring network through the backup node, as described above. If the tunnel is faulty, notify the protection path switching submodule;
    所述保护路径切换子模块设置成:在收到所述通知后,将所述当前业务切换至所述工作隧道的保护隧道上。The protection path switching sub-module is configured to: after receiving the notification, switch the current service to a protection tunnel of the working tunnel.
  9. 如权利要求6-8中任一项所述的双切环网保护装置,其中,所述路径切换模块包括主路径切换子模块和备用路径切换子模块;The double-cut ring network protection device according to any one of claims 6-8, wherein the path switching module comprises a primary path switching sub-module and an alternate path switching sub-module;
    所述主路径切换子模块设置成:在将所述当前业务切换到所述切换隧道时,优先将所述当前业务切换到所述主切换隧道,如所述主切换隧道故障,通知所述备用路径切换子模块;The primary path switching sub-module is configured to switch the current service to the primary switching tunnel preferentially when the current service is switched to the switching tunnel, and notify the standby if the primary switching tunnel fails. Path switching submodule;
    所述备用路径切换子模块设置成:在收到所述通知后,将所述当前业务切换到所述备用保护切换隧道。 The standby path switching submodule is configured to: after receiving the notification, switch the current service to the standby protection switching tunnel.
  10. 如权利要求6-8中任一项所述的双切环网保护装置,其中,所述主节点在所述出环网中的两个物理链路均出现故障包括:The double-cut ring network protection device according to any one of claims 6-8, wherein the failure of the primary node in both physical links in the outgoing ring network includes:
    所述主节点仅在所述出环网中的两个物理链路出现故障;The master node only fails on two physical links in the outgoing ring network;
    或所述主节点在所述出环网中的两个物理链路出现故障,且同时在所述入环网中的至少一个物理链路出现故障。 Or the two physical links of the primary node in the outgoing ring network fail, and at the same time, at least one physical link in the incoming ring network fails.
PCT/CN2014/088626 2014-06-25 2014-10-15 Double-switching ring network protection method and device WO2015196640A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020177002280A KR101907585B1 (en) 2014-06-25 2014-10-15 Double-contacting ring network protection method and device
JP2016575118A JP6408615B2 (en) 2014-06-25 2014-10-15 Double connection ring network protection method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410291062.2 2014-06-25
CN201410291062.2A CN105207871B (en) 2014-06-25 2014-06-25 Double-cut ring network protection method and device

Publications (1)

Publication Number Publication Date
WO2015196640A1 true WO2015196640A1 (en) 2015-12-30

Family

ID=54936597

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/088626 WO2015196640A1 (en) 2014-06-25 2014-10-15 Double-switching ring network protection method and device

Country Status (4)

Country Link
JP (1) JP6408615B2 (en)
KR (1) KR101907585B1 (en)
CN (1) CN105207871B (en)
WO (1) WO2015196640A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115065590A (en) * 2022-06-28 2022-09-16 烽火通信科技股份有限公司 Method and device for realizing linear protection of distributed dual-state machine

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915371B (en) * 2016-04-07 2019-03-26 烽火通信科技股份有限公司 A kind of bicyclic escape realization method and system of PTN looped network protection
CN107592251A (en) * 2016-07-08 2018-01-16 中兴通讯股份有限公司 The method of shared ring transannular networking structure and transannular Business Stream forwarding
CN108023800A (en) * 2016-11-03 2018-05-11 ***通信集团广东有限公司 A kind of guard method of LTE bearer networks and device
CN111726287B (en) * 2020-07-13 2022-01-25 中国联合网络通信集团有限公司 Ring network protection method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035714A (en) * 2010-12-17 2011-04-27 中兴通讯股份有限公司 Intersected or tangent ring network protection method and system
CN102148733A (en) * 2010-02-04 2011-08-10 华为技术有限公司 Protection method, device and system of intersected ring networks
WO2013059966A1 (en) * 2011-10-28 2013-05-02 Telefonaktiebolaget L M Ericsson (Publ) Protection in ring network of label switching routers
CN103516540A (en) * 2012-06-29 2014-01-15 中兴通讯股份有限公司 Device and method for looped network protection switching
CN103684951A (en) * 2012-08-31 2014-03-26 ***通信集团公司 Ring network protection method and system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003258822A (en) * 2002-02-27 2003-09-12 Nec Corp Packet ring network and inter-packet ring network connection method used in the same
JP4175965B2 (en) * 2003-07-07 2008-11-05 三菱電機株式会社 Ring network and communication method in ring network
JP2009016905A (en) * 2007-06-29 2009-01-22 Fujitsu Ltd Packet network system
CN101197747B (en) * 2007-12-14 2010-07-28 北京国电智深控制技术有限公司 System and method for industrial real-time control Ethernet redundancy fault-tolerant network
CN101908983B (en) * 2009-06-08 2014-09-10 中兴通讯股份有限公司 Joint detection method and system for Ethernet local segment protection
CN102546343B (en) * 2010-12-21 2014-12-10 中兴通讯股份有限公司 Protection switching method and device for intersected rings
CN102882780B (en) * 2011-07-15 2016-09-28 中兴通讯股份有限公司 Looped network tunnel configuration method based on overlapping trees, ring network protection method and system
IL215738A0 (en) * 2011-10-11 2011-11-30 Eci Telecom Ltd Method for fast-re-routing (frr) in communication networks
CN102546425B (en) * 2012-01-31 2014-11-05 华为技术有限公司 Crossed ring network protection method, equipment and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148733A (en) * 2010-02-04 2011-08-10 华为技术有限公司 Protection method, device and system of intersected ring networks
CN102035714A (en) * 2010-12-17 2011-04-27 中兴通讯股份有限公司 Intersected or tangent ring network protection method and system
WO2013059966A1 (en) * 2011-10-28 2013-05-02 Telefonaktiebolaget L M Ericsson (Publ) Protection in ring network of label switching routers
CN103516540A (en) * 2012-06-29 2014-01-15 中兴通讯股份有限公司 Device and method for looped network protection switching
CN103684951A (en) * 2012-08-31 2014-03-26 ***通信集团公司 Ring network protection method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Scheme of Double-Ring and Double-Node of Ring Network", LYH3381181, 26 April 2011 (2011-04-26), pages 1 and 5, Retrieved from the Internet <URL:http://wenku.***.com/view/52869aacdd3383c4bb4cd2e2.html> *
HUAWEI TECHNOLOGIES CO., LTD.: "White Paper of PTN R3C02 Ring Network Protection Technology", 8 April 2013 (2013-04-08), pages 14 - 15, Retrieved from the Internet <URL:http://www.huawei.com/cn/static/HW-261738.pdf> *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115065590A (en) * 2022-06-28 2022-09-16 烽火通信科技股份有限公司 Method and device for realizing linear protection of distributed dual-state machine
CN115065590B (en) * 2022-06-28 2023-05-26 烽火通信科技股份有限公司 Method and device for realizing linear protection of distributed dual-state machine

Also Published As

Publication number Publication date
KR101907585B1 (en) 2018-10-15
CN105207871B (en) 2020-07-31
KR20170024033A (en) 2017-03-06
JP2017519453A (en) 2017-07-13
CN105207871A (en) 2015-12-30
JP6408615B2 (en) 2018-10-17

Similar Documents

Publication Publication Date Title
US10721139B2 (en) Protection switching systems and methods in a packet network based on signal degrade
US9838216B2 (en) P2MP traffic protection in MPLS-TP ring topology
US8780700B2 (en) Triggering a redundant router master/backup status change based on switch connectivity
WO2015196640A1 (en) Double-switching ring network protection method and device
JP2012533246A (en) Recovery mechanism for point-to-multipoint traffic
CN108337144A (en) The metropolitan areas TD-LTE return network, path protecting method
WO2015196676A1 (en) Networking protection method and device, and main convergence network element in networking
WO2016116050A1 (en) Failure protection method, device and system for ring protection link
WO2012079418A1 (en) Method and system for intersecting or tangent ring network protection
WO2013049981A1 (en) Hybrid ring network protection method and system based on shared path
WO2015032356A1 (en) Network protection method and apparatus, next-ring node, and system
US20140029416A1 (en) Segment recovery in connection-oriented network
CN103607293A (en) Flow protection method and equipment thereof
WO2016086548A1 (en) Pseudo wire dual-homing protection switching system, method and device
WO2013040940A1 (en) Ring network protection method and device
JP5812934B2 (en) Communication system and communication control method
WO2011024187A2 (en) A protection switching method and system
EP3139527B1 (en) Protection switching method, node and control device
WO2014075594A1 (en) Service transmission protection method and device based on intersecting ring of multi-ring structure network
JP2013539285A (en) Method and apparatus for restoring a connection through a provider network on demand
EP3462681B1 (en) Apparatus and method for transmitting multicast service
WO2013004124A1 (en) Method and node for service flow forwarding in distributed link aggregation system
EP2975809B1 (en) Providing protection to a service in a communication network
WO2017124685A1 (en) Service forwarding method and apparatus
WO2013064027A1 (en) Inter-loop service protection method and apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14895665

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016575118

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20177002280

Country of ref document: KR

Kind code of ref document: A

122 Ep: pct application non-entry in european phase

Ref document number: 14895665

Country of ref document: EP

Kind code of ref document: A1