WO2016070535A1 - 一种多协议标签交换环网中的倒换方法及装置 - Google Patents

一种多协议标签交换环网中的倒换方法及装置 Download PDF

Info

Publication number
WO2016070535A1
WO2016070535A1 PCT/CN2015/073909 CN2015073909W WO2016070535A1 WO 2016070535 A1 WO2016070535 A1 WO 2016070535A1 CN 2015073909 W CN2015073909 W CN 2015073909W WO 2016070535 A1 WO2016070535 A1 WO 2016070535A1
Authority
WO
WIPO (PCT)
Prior art keywords
outgoing
working
protection
tunnel
interface
Prior art date
Application number
PCT/CN2015/073909
Other languages
English (en)
French (fr)
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 中兴通讯股份有限公司
Publication of WO2016070535A1 publication Critical patent/WO2016070535A1/zh

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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a switching method and apparatus in a multi-protocol label switching ring network.
  • MPLS-TP Multi-Protocol Label Switching Transport Profile
  • MPLS-TP has become a mainstream direction for the development of transmission networks.
  • the MPLS-TP technology simplifies and modifies the multi-protocol label switching (MPLS) and pseudowire (MPLS/PW) technologies, and introduces concepts such as transport network layering, operation and maintenance management OAM, and protection, which meet the requirements of the transport network.
  • MPLS-TP provides a layered concept, which is mainly divided into Section Layer, Label Switch Path Layer, and Pseudo Wire Layer.
  • the OAM (Operations, Administration, and Maintenance) standards are defined for each layer, and the linear protection standards of LSP (Label Switch Path) and PW (Pseudo Wire) are also defined.
  • protection is mainly responsible for the reliability of the network.
  • the switchover from the faulty link to the backup link is completed, and the normal operation is restored in the shortest time.
  • Business communication As a core topic of the MPLS-TP network, protection is mainly responsible for the reliability of the network. In the case of network failure or reduced transmission quality, the switchover from the faulty link to the backup link is completed, and the normal operation is restored in the shortest time. Business communication.
  • the service switching is performed by using the common lookup label table to modify the next outgoing interface.
  • the traditional switching time is mainly composed of two parts: alarm detection and switching. The switching time is long and the service switching is not timely. Affect the transmission quality of the business.
  • the object of the present invention is to provide a method and a device for switching in a multi-protocol label switching ring network, which can solve the problem that the service switching in the traditional ring network switching uses the common lookup label table to modify the next hop-out interface, and the traditional switching time. It is mainly composed of two parts: alarm detection and switching action. The switching time is long and the service switching is not timely, which affects the transmission quality of the service.
  • an embodiment of the present invention provides a switching method in a multi-protocol label switching ring network, where the method includes: the first intermediate node detects that a link between itself and an adjacent second intermediate node occurs. The first intermediate node acquires the association relationship between the outgoing working tunnel and the outgoing protection tunnel of the first intermediate node that is established in advance; the first intermediate node switches the outgoing data flow to the outgoing protection tunnel according to the association relationship Or switch the outgoing data flow out to the protection tunnel to the outgoing working tunnel.
  • the step of detecting that the link between the first intermediate node and the adjacent second intermediate node fails the first intermediate node acquires link failure alarm information transmitted by the link; The node detects the link failure information and detects that the link between the adjacent second intermediate node fails.
  • the step of establishing an association relationship between the outbound working tunnel and the outbound protection tunnel of the first intermediate node includes: the first intermediate node establishes association information between the working outbound interface and the protection outgoing interface; and the first intermediate node according to the working outbound interface and protection The association information of the outbound interface is obtained, and the association relationship between the outgoing working tunnel and the outgoing protection tunnel of the first intermediate node is obtained.
  • the step of the first intermediate node establishing the association information between the working outbound interface and the protection outgoing interface includes: the first intermediate node acquires the working out label corresponding to the working outbound interface; the first intermediate node checks the table according to the working out label Obtaining the protection outgoing label information associated with the working out label; the first intermediate node acquiring the protection outgoing interface corresponding to the protected outgoing label according to the protected outgoing label; the first intermediate node accessing the working out interface and the The protection output interface is encapsulated and the package information is obtained.
  • the package information includes association information between the working out interface and the protection outgoing interface.
  • the outbound interface obtains the corresponding outbound working tunnel
  • the first intermediate node obtains the corresponding outgoing protection tunnel according to the protection outgoing interface
  • the first intermediate node obtains the association information according to the working out interface and the protection outgoing interface.
  • an embodiment of the present invention further provides a switching apparatus in a multi-protocol label switching ring network, including: a detecting module configured to detect a chain between itself and an adjacent second intermediate node
  • the acquisition module is configured to obtain a pre-established association relationship between the outgoing working tunnel and the outgoing protection tunnel; and the switching module is configured to switch the outgoing data flow to the outgoing protection tunnel according to the association relationship, Or switch the outgoing traffic to the outgoing tunnel to the outgoing working tunnel.
  • the detecting module includes: a first acquiring sub-module, configured to acquire link fault alarm information transmitted by the link; and a detecting sub-module configured to detect the link fault information, detecting and adjacent The link between the second intermediate nodes fails.
  • the switching device further includes: establishing a sub-module, configured to establish association information between the working egress interface and the protection egress interface; and the second obtaining sub-module is configured to obtain the association information according to the working egress interface and the protection egress interface, The relationship between the outgoing working tunnel and the outgoing protective tunnel.
  • the establishing sub-module includes: a first acquiring unit, configured to obtain a working out label corresponding to the working outbound interface; and a second obtaining unit, configured to obtain, according to the working out label, the table and the working out label information And the third obtaining unit is configured to obtain a protection outgoing interface corresponding to the protected outgoing label according to the protected outgoing label; and the fourth obtaining unit is configured to set the working out interface and the protection
  • the outbound interface is encapsulated to obtain the package information, where the package information includes association information between the working out interface and the protection outgoing interface.
  • the second obtaining sub-module includes: a fifth obtaining unit, configured to acquire a corresponding outgoing working tunnel according to the working out interface, and a sixth obtaining unit, configured to obtain a corresponding according to the protection outgoing interface
  • the outbound protection tunnel is configured to acquire the association relationship between the outgoing working tunnel and the outgoing protection tunnel according to the association information between the working outbound interface and the protection outgoing interface.
  • the association relationship between the working tunnel and the outgoing protection (backup) tunnel is established in advance, so that when the link is faulty, the association relationship can be directly performed according to the association relationship.
  • the switchover of the data flow to the tunnel avoids the problem of time delay caused by the next hop outbound interface of the data flow, which makes the service switching more timely and improves the service transmission quality.
  • FIG. 1 is a schematic flowchart 1 of a switching method in a multi-protocol label switching ring network according to the present invention
  • FIG. 2 is a schematic flowchart 2 of a switching method in a multi-protocol label switching ring network according to the present invention
  • FIG. 3 is a schematic flowchart 3 of a switching method in a multi-protocol label switching ring network according to the present invention
  • FIG. 4 is a schematic flowchart 4 of a switching method in a multi-protocol label switching ring network according to the present invention
  • FIG. 5 is a schematic diagram showing the flow of data flow in a multi-protocol label switching ring network without failure in a specific embodiment of the present invention
  • FIG. 6 is a schematic diagram showing the flow of data flows when a multi-protocol label switching ring network fails in a specific embodiment of the present invention
  • FIG. 7 is a schematic structural view 1 of a switching device in a multi-protocol label switching ring network of the present invention.
  • FIG. 8 is a second structural diagram of a switching device in a multi-protocol label switching ring network according to the present invention.
  • FIG. 9 is a third structural diagram of a switching device in a multi-protocol label switching ring network according to the present invention.
  • FIG. 10 is a schematic structural diagram 4 of a switching device in a multi-protocol label switching ring network according to the present invention.
  • Figure 11 is a block diagram 5 showing the structure of a switching device in the multi-protocol label switching ring network of the present invention.
  • the method for switching in a multi-protocol label switching ring network of the present invention includes the following steps:
  • Step 11 The first intermediate node detects that the link between itself and the adjacent second intermediate node fails.
  • Step 12 The first intermediate node acquires an association relationship between the outbound working tunnel and the outgoing protection tunnel of the first intermediate node that is established in advance;
  • Step 13 The first intermediate node switches the outgoing data flow to the outgoing protection tunnel to the outgoing tunnel according to the association relationship, or switches the outgoing data flow to the outgoing working tunnel.
  • step 11 and step 12 do not have a strict execution order, and step 12 may be performed first, then step 11 is performed, and then step 13 is performed.
  • the relationship between the outbound working tunnel and the outgoing protection tunnel of the first intermediate node is first configured, as shown in FIG. 2, including:
  • Step 21 The first intermediate node establishes association information between the working outbound interface and the protection outgoing interface.
  • Step 22 The first intermediate node acquires an association relationship between the outgoing working tunnel and the outgoing protection tunnel of the first intermediate node according to the association information between the working outgoing interface and the protected outgoing interface.
  • step 21 is specifically shown in FIG. 3, and includes the following steps:
  • Step 31 The first intermediate node acquires a working out label corresponding to the working outbound interface.
  • Step 32 The first intermediate node obtains a protection outgoing label associated with the working out label information according to the working out label and the lookup table.
  • Step 33 The first intermediate node acquires a protection outgoing interface corresponding to the protected outgoing label according to the protected outgoing label.
  • Step 34 The first intermediate node encapsulates the working outbound interface and the protection outgoing interface respectively, and obtains the encapsulation information.
  • the encapsulation information includes the association information between the working egress interface and the protection egress interface.
  • step 22 is specifically as shown in FIG. 4, and includes the following steps:
  • Step 41 The first intermediate node acquires a corresponding outgoing working tunnel according to the working outbound interface
  • the first intermediate node acquires a corresponding outgoing protection tunnel according to the protection outgoing interface
  • Step 42 The first intermediate node acquires an association relationship between the outgoing working tunnel and the outgoing protection tunnel according to the association information between the working outbound interface and the protection outgoing interface.
  • MPLS multi-protocol label switching
  • Wrapping packing
  • the A node is the upper ring node and the D node is the lower ring node
  • the B node and the C node are intermediate nodes
  • the B node is the first intermediate node
  • the C node is For the second intermediate node adjacent to the first intermediate node
  • the specific configuration steps are as follows: First, each outgoing interface has a corresponding outgoing
  • the working outbound label corresponding to the working outbound interface of the Node B is W2; and then the Node B is configured according to the label.
  • the working out label W2 lookup table obtains the protected outgoing label corresponding to the working outgoing label W2.
  • the protected outgoing label corresponding to the W2 is P6, and the data flow flows from the A node to the D node as an example.
  • the association between the working outgoing label W2 and the protected outgoing label P6, the association relationship between the working outgoing label W3 and the protected outgoing label P5, and the like are stored in the table. Then, the Node B obtains the protection corresponding to the P6 according to the P6.
  • the information is encapsulated by the working out interface and the protected outbound interface, where the encapsulated information includes: the associated information of the working outbound interface and the protected outgoing interface; and then, because the outgoing interface has a corresponding outgoing tunnel, Therefore, the Node B first obtains the corresponding outgoing working tunnel LSP-1 according to the working outbound interface, and obtains a protection outgoing tunnel LSP-2 according to the protected outgoing interface; and then according to the association between the working outgoing interface and the protected outgoing interface And establishing an association relationship between the outgoing working tunnel LSP-1 and the outgoing protection tunnel LSP-2.
  • the working path and working out label of the ring network are described as: A[W1] ⁇ B[W2] ⁇ C[W3]-D; where A[W1] ⁇ B[W2] is taken as an example, and the node B slave node is explained.
  • a receives the outgoing data stream with the working out label W1 the Node B queries the label table, queries the working out label corresponding to the outbound interface of the Node B as W2, and replaces the label W1 in the outgoing data stream with W2. And send out from the corresponding work out interface.
  • the link between the Node B and the C node fails, that is, the outbound working tunnel LSP-1 of the Node B fails.
  • the tunnel LSP-1 and the outbound working tunnel LSP-3 of the C node generate a link fault alarm, and respectively send the link fault alarm to the Node B and the C node, and the Node B receives the link fault alarm information.
  • the association relationship between the pre-configured outgoing working tunnel LSP-1 and the outgoing protection tunnel LSP-2 is obtained, and then the association relationship between the pre-configured outgoing working tunnel LSP-1 and the outgoing protection tunnel LSP-2 is obtained according to the obtained relationship.
  • the outbound data flow of the B node to the working tunnel LSP-1 is switched to the outgoing protection tunnel LSP-2, and the outgoing data flow is transmitted to the C node outgoing protection tunnel LSP-4 through the protection path of the ring network, the C node
  • the link fault alarm information is also received, and the C node first obtains the association relationship between the pre-configured outgoing working tunnel LSP-3 and the outgoing protection tunnel LSP-4, and then according to the obtained pre-configured outgoing working tunnel LSP- 3, in association with the outgoing protection tunnel LSP-4, the outgoing data flow is switched from the outgoing protection tunnel LSP-4 to the outgoing working tunnel, so that the outgoing data flow flows into the D node through the outbound working tunnel LSP-3 of the C node. ring.
  • the intermediate node is a Node B and a Node C
  • both the Node B and the Node C first obtain the associated relationship between the pre-configured outgoing working tunnel and the outgoing protective tunnel.
  • the ring network fails, if the link between the Node B and the C node fails, that is, the outbound working tunnel LSP-1 of the Node B fails.
  • the tunnel LSP-1 and the outbound working tunnel LSP of the C node -3 generates a link failure alarm, and sends the link failure alarm to the Node B and the C node respectively.
  • the Node B obtains the pre-configured outgoing working tunnel LSP-1 according to the above.
  • the outgoing relationship of the outbound protection tunnel LSP-2 is directly switched to the outbound data stream of the B node to the working tunnel LSP-1 to the outgoing protection tunnel LSP-2, and the outgoing data stream is transmitted to the C through the protection path of the ring network.
  • the node sends out the protection tunnel LSP-4.
  • the C node also receives the link failure alarm information. Therefore, according to the pre-match obtained above.
  • the association between the outgoing working tunnel LSP-3 and the outgoing protection tunnel LSP-4 directly switches the outgoing data flow from the outgoing protection tunnel LSP-4 to the outgoing working tunnel, so that the outgoing data flow passes through the outgoing working tunnel of the C node.
  • LSP-3 flows into the D node and goes down the ring.
  • the switching mode and the principle are similar to the case where the A node is the upper ring node and the D node is the lower ring node, and details are not described herein again.
  • the intermediate node is used to establish a relationship between the working tunnel and the outgoing protection (backup) tunnel in advance, so that when the link is faulty, the tunnel switching of the outgoing data flow can be directly performed according to the association relationship, thereby avoiding the lookup direction.
  • an embodiment of the present invention further provides a switching device in a multi-protocol label switching ring network, including:
  • the detecting module 71 is configured to detect that a link between itself and the adjacent second intermediate node fails
  • the obtaining module 72 is configured to acquire a pre-established association relationship between the outgoing working tunnel and the outgoing protection tunnel;
  • the switching module 73 is configured to switch the outgoing data stream that is sent out to the working tunnel to the outgoing protection tunnel according to the association relationship, or to switch the outgoing data flow to the outgoing working tunnel.
  • the detection module 71 includes:
  • the first obtaining sub-module 81 is configured to acquire link fault alarm information transmitted by the link;
  • the detecting sub-module 82 is configured to detect the link failure information and detect that a link with the adjacent second intermediate node has failed.
  • the switching device as shown in FIG. 9, further includes:
  • the second obtaining sub-module 92 is configured to obtain an association relationship between the working tunnel and the outgoing protection tunnel according to the association information between the working outgoing interface and the protected outgoing interface.
  • the establishing submodule 91 as shown in FIG. 10, further includes:
  • the first obtaining unit 101 is configured to obtain a work out label corresponding to the working out interface
  • the second obtaining unit 102 is configured to obtain, according to the working out label, a protection out label associated with the working out label information according to the lookup table;
  • the third obtaining unit 103 is configured to acquire, according to the protected outgoing label, a protection outgoing interface corresponding to the protected outgoing label;
  • the fourth obtaining unit 104 is configured to encapsulate the working out interface and the protection outbound interface respectively to obtain the package information, where the package information includes association information between the working out interface and the protection outgoing interface.
  • the second obtaining sub-module 92 includes:
  • the fifth obtaining unit 110 is configured to acquire a corresponding outgoing working tunnel according to the working out interface, and
  • the sixth obtaining unit 111 is configured to acquire a corresponding outgoing protection tunnel according to the protection outgoing interface
  • the seventh obtaining unit 112 is configured to acquire an association relationship between the outgoing working tunnel and the outgoing protection tunnel according to the association information between the working out interface and the protection outgoing interface.
  • the device is a device including the above method, and the implementation manner of the embodiment of the above method is applicable to the embodiment of the device, and the same technical effect can be achieved.
  • the intermediate node is used to establish an association relationship between the working tunnel and the outgoing protection (backup) tunnel in advance, so that when the link is faulty, the outgoing data flow can be directly performed according to the association relationship.
  • the tunnel switching avoids the problem of time delay caused by the next hop outbound interface of the data stream, which makes the service switching more timely and improves the service transmission quality.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供一种多协议标签交换环网中的倒换方法及装置,其中,该方法包括:第一中间节点检测到自身与相邻的第二中间节点之间的链路发生故障;第一中间节点获取预先建立的第一中间节点的出向工作隧道与出向保护隧道的关联关系;第一中间节点根据所述关联关系,将出向工作隧道上的出向数据流切换到出向保护隧道,或将出向保护隧道上的出向数据流切换到出向工作隧道。本发明的方案使得在多协议标签交换网环网中的数据流倒换过程中,无需查表,大大节省了倒换时间。

Description

一种多协议标签交换环网中的倒换方法及装置 技术领域
本发明涉及通信技术领域,特别是涉及一种多协议标签交换环网中的倒换方法及装置。
背景技术
MPLS-TP(Multi-Protocol Label Switching Transport Profile,多协议标签交换传输网标准)是由国际电信联盟远程通信标准化组织ITU-T和互联网工程任务组IETF成立的联合工作组在2008年4月提出,其前身是ITU-T于2005年5月开始开发的分组传送技术T-MPLS技术标准。
随着通信技术的发展,MPLS-TP成为了传输网发展一个主流方向。MPLS-TP技术对多协议标签交换(MPLS)、伪线(MPLS/PW)技术进行了简化和改造,引入了传送网分层、操作维护管理OAM和保护等概念,符合传送网的需求。MPLS-TP为了适应传送网的需求,提供了分层的概念,主要分为段层(Section Layer)、LSP层(Label Switch Path Layer)、PW层(Pseudo Wire Layer)。针对各层定义了各自的OAM(Operations,Administration,and Maintenance)标准,也定义了LSP(Label Switch Path)和PW(Pseudo Wire)的线性保护标准。
保护作为MPLS-TP网络的一个核心话题,主要负责网络的可靠性保障,在网络发生故障或者传输质量降低的情况下,完成由故障链路到备份链路的倒换,在最短时间内恢复正常的业务通信。
传统环网倒换时业务切换都是采用普通的查找标签表修改下一跳出接口等方式,并且传统倒换时间主要由告警检测和倒换动作两部分构成,倒换时间较长,业务倒换不及时,也会影响业务的传输质量。
发明内容
本发明的目的是提供一种多协议标签交换环网中的倒换方法及装置,能够解决传统环网倒换时业务切换都是采用普通的查找标签表修改下一跳出接口等方式,并且传统倒换时间主要由告警检测和倒换动作两部分够成,倒换时间较长,业务倒换不及时,影响业务的传输质量的问题。
为了解决上述技术问题,本发明的实施例提供一种多协议标签交换环网中的倒换方法,其中,包括:第一中间节点检测到自身与相邻的第二中间节点之间的链路发生故障;第一中间节点获取预先建立的第一中间节点的出向工作隧道与出向保护隧道的关联关系;第一中间节点根据所述关联关系,将出向工作隧道上的出向数据流切换到出向保护隧道,或将出向保护隧道上的出向数据流切换到出向工作隧道。
其中,所述第一中间节点检测到自身与相邻的第二中间节点之间的链路发生故障的步骤包括:第一中间节点获取所述链路传递的链路故障告警信息;第一中间节点对所述链路故障信息进行检测,检测到与相邻的第二中间节点之间的链路发生故障。
其中,建立第一中间节点的出向工作隧道与出向保护隧道的关联关系的步骤包括:第一中间节点建立工作出接口与保护出接口的关联信息;第一中间节点根据所述工作出接口与保护出接口的关联信息,获取第一中间节点的出向工作隧道与出向保护隧道的关联关系。
其中,所述第一中间节点建立工作出接口与保护出接口的关联信息的步骤包括:第一中间节点获取工作出接口对应的工作出标签;第一中间节点根据所述工作出标签,查表获取与所述工作出标签关联的保护出标签信息;第一中间节点根据所述保护出标签,获取与所述保护出标签对应的保护出接口;第一中间节点对所述工作出接口和所述保护出接口分别进行封装,获取封装信息;其中,所述封装信息包括所述工作出接口与所述保护出接口的关联信息。
其中,所述第一中间节点根据所述工作出接口与保护出接口的关联信息,获取第一中间节点的出向工作隧道与出向保护隧道的关联关系的步骤包括:第一中间节点根据所述工作出接口,获取对应的出向工作隧道,以及第一中间节点根据所述保护出接口,获取对应的出向保护隧道;第一中间节点根据所述工作出接口与所述保护出接口的关联信息,获取所述出向工作隧道与所述出向保护隧道的关联关系。
为了解决上述技术问题,本发明的实施例还提供一种多协议标签交换环网中的倒换装置,其中,包括:检测模块,设置为检测到自身与相邻的第二中间节点之间的链路发生故障;获取模块,设置为获取预先建立的出向工作隧道与出向保护隧道的关联关系;切换模块,设置为根据所述关联关系,将出向工作隧道上的出向数据流切换到出向保护隧道,或将出向保护隧道上的出向数据流切换到出向工作隧道。
其中,所述检测模块包括:第一获取子模块,设置为获取所述链路传递的链路故障告警信息;检测子模块,设置为对所述链路故障信息进行检测,检测到与相邻的第二中间节点之间的链路发生故障。
其中,所述倒换装置还包括:建立子模块,设置为建立工作出接口与保护出接口的关联信息;第二获取子模块,设置为根据所述工作出接口与保护出接口的关联信息,获取出向工作隧道与出向保护隧道的关联关系。
其中,所述建立子模块包括:第一获取单元,设置为获取工作出接口对应的工作出标签;第二获取单元,设置为根据所述工作出标签,查表获取与所述工作出标签信息关联的保护出标签;第三获取单元,设置为根据所述保护出标签,获取与所述保护出标签对应的保护出接口;第四获取单元,设置为对所述工作出接口和所述保护出接口分别进行封装,获取封装信息;其中,所述封装信息包括所述工作出接口与所述保护出接口的关联信息。
其中,所述第二获取子模块包括:第五获取单元,设置为根据所述工作出接口,获取对应的出向工作隧道,以及第六获取单元,设置为根据所述保护出接口,获取对应的出向保护隧道;第七获取单元,设置为根据所述工作出接口与所述保护出接口的关联信息,获取所述出向工作隧道与所述出向保护隧道的关联关系。
本发明的上述技术方案的有益效果如下:本发明的方案,采用中间节点预先建立出向工作隧道与出向保护(备份)隧道的关联关系,使得在链路故障时,能够直接根据该关联关系,进行出向数据流的隧道倒换,避免了查找出向数据流的下一跳出接口而带来的时间迟延的问题,使得业务的倒换更加及时,提高了业务传输质量。
附图说明
图1表示本发明的多协议标签交换环网中的倒换方法流程示意图一;
图2表示本发明的多协议标签交换环网中的倒换方法流程示意图二;
图3表示本发明的多协议标签交换环网中的倒换方法流程示意图三;
图4表示本发明的多协议标签交换环网中的倒换方法流程示意图四;
图5表示本发明的具体实施例中多协议标签交换环网无故障时数据流的流向示意图;
图6表示本发明的具体实施例中多协议标签交换环网出现故障时数据流的流向示意图;
图7表示本发明的多协议标签交换环网中的倒换装置结构示意图一;
图8表示本发明的多协议标签交换环网中的倒换装置结构示意图二;
图9表示本发明的多协议标签交换环网中的倒换装置结构示意图三;
图10表示本发明的多协议标签交换环网中的倒换装置结构示意图四;
图11表示本发明的多协议标签交换环网中的倒换装置结构示意图五。
具体实施方式
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。
如图1所示,本发明的多协议标签交换环网中的倒换方法,包括如下步骤:
步骤11,第一中间节点检测到自身与相邻的第二中间节点之间的链路发生故障;
步骤12,第一中间节点获取预先建立的第一中间节点的出向工作隧道与出向保护隧道的关联关系;
步骤13,第一中间节点根据所述关联关系,将出向工作隧道上的出向数据流切换到出向保护隧道,或将出向保护隧道上的出向数据流切换到出向工作隧道。
当然,上述步骤中,步骤11和步骤12没有严格的执行顺序,也可以先执行步骤12,再执行步骤11,然后再执行步骤13。
其中,在执行步骤11至步骤13之前,首先配置第一中间节点的出向工作隧道与出向保护隧道的关联关系,步骤如图2所示,包括:
步骤21,第一中间节点建立工作出接口与保护出接口的关联信息;
步骤22,第一中间节点根据所述工作出接口与保护出接口的关联信息,获取第一中间节点的出向工作隧道与出向保护隧道的关联关系。
其中,上述步骤21具体如图3所示,包括如下步骤:
步骤31,第一中间节点获取工作出接口对应的工作出标签;
步骤32,第一中间节点根据所述工作出标签,查表获取与所述工作出标签信息关联的保护出标签;
步骤33,第一中间节点根据所述保护出标签,获取与所述保护出标签对应的保护出接口;
步骤34,第一中间节点对所述工作出接口和所述保护出接口分别进行封装,获取封装信息;其中,所述封装信息包括所述工作出接口与所述保护出接口的关联信息。
其中,上述步骤22具体如图4所示,包括如下步骤:
步骤41,第一中间节点根据所述工作出接口,获取对应的出向工作隧道,以及
第一中间节点根据所述保护出接口,获取对应的出向保护隧道;
步骤42,第一中间节点根据所述工作出接口与所述保护出接口的关联信息,获取所述出向工作隧道与所述出向保护隧道的关联关系。
下面将结合附图以及具体的实施例,对上述步骤作详细描述。
如图5所示,为一打包(以下称wrapping)保护模式下的多协议标签交换(以下简称MPLS)环网,该环网中包括A节点,B节点,C节点,D节点,E节点,F节点。在本发明的具体实施例中,假设以A节点为上环节点,以D节点为下环节点,则B节点和C节点均为中间节点,以B节点作为第一中间节点,那么C节点即为与该第一中间节点相邻的第二中间节点,以配置B节点的出向工作隧道与出向保护隧道的关联关系为例,具体配置的步骤为:首先,每个出接口均具有对应的出标签,该B节点获取B节点的工作出接口对应的工作出标签信息,在本发明的具体实施例中,该B节点的工作出接口对应的工作出标签为W2;然后,该B节点根据该工作出标签W2查表获取与该工作出标签W2对应的保护出标签,在本发明的具体实施例中,该W2对应的保护出标签为P6,以数据流由A节点流向D节点为例,该表中存储有工作出标签W2与保护出标签P6的关联关系、工作出标签W3与保护出标签P5的关联关系等;然后该B节点根据该P6去获取与该P6对应的保护出接口;然后对该工作出接口和该保护出接口分别进行信息封装,其中,封装的信息包括:该工作出接口与该保护出接口的关联信息;然后,由于出接口均有对应的出向隧道,因此,该B节点首先根据该工作出接口获取对应的出向工作隧道LSP-1,以及根据该保护出接口获取对一个的保护出向隧道LSP-2;然后根据工作出接口与保护出接口的关联关系,建立该出向工作隧道LSP-1与该出向保护隧道LSP-2的关联关系。
同理,该C节点的出向工作隧道与出向保护隧道的关联关系的建立原理,与B节点相同,在此不再赘述。从而获取C节点的出向工作隧道LSP-3与出向保护隧道LSP-4的关联关系。
在使用wrapping保护方式下,当MPLS环网无故障时:
环网的工作路径和工作出标签描述为:A[W1]→B[W2]→C[W3]-D;其中,A[W1]→B[W2]为例,解释为,节点B从节点A收到带有工作出标签W1的出向数据流时,该B节点查询标签表,查询该B节点工作出接口对应的工作出标签为W2,并将出向数据流中的标签W1替换为W2,并从对应的该工作出接口发送出去。
在使用wrapping保护方式下,MPLS环网的保护路径和保护出标签描述为:
A[P1]→F[P2]→E[P3]→D[P4]→C[P5]→B[P6]-A。
如图6所示,在本发明的第一实施例中,当环网发生故障后,假如B节点和C节点之间的链路发生故障,即B节点的出向工作隧道LSP-1发生故障,此时该隧道LSP-1以及C节点的出向工作隧道LSP-3产生链路故障告警,并分别将该链路故障告警发送至B节点和C节点,B节点接收到该链路故障告警信息后,首先获取上述预先配置的出向工作隧道LSP-1与出向保护隧道LSP-2的关联关系,然后根据该获取的预先配置的出向工作隧道LSP-1与出向保护隧道LSP-2的关联关系,将该B节点出向工作隧道LSP-1上的出向数据流切换到出向保护隧道LSP-2,并通过环网的保护路径将该出向数据流传送至C节点出向保护隧道LSP-4,该C节点由于也接收到了链路故障告警信息,该C节点首先获取上述预先配置的出向工作隧道LSP-3与出向保护隧道LSP-4的关联关系,然后根据该获取的预先配置的出向工作隧道LSP-3与出向保护隧道LSP-4的关联关系,将出向数据流由出向保护隧道LSP-4切换至出向工作隧道,使得该出向数据流通过该C节点的出向工作隧道LSP-3流入D节点并下环。
或者,如图6所示,在本发明的第二实施例中,中间节点为B节点和C节点,B节点和C节点均首先获取各自的预先配置的出向工作隧道和出向保护隧道的关联关系,当环网发生故障后,假如B节点和C节点之间的链路发生故障,即B节点的出向工作隧道LSP-1发生故障,此时该隧道LSP-1以及C节点的出向工作隧道LSP-3产生链路故障告警,并分别将该链路故障告警发送至B节点和C节点,B节点接收到该链路故障告警信息后,根据上述获取的预先配置的出向工作隧道LSP-1与出向保护隧道LSP-2的关联关系,直接将该B节点出向工作隧道LSP-1上的出向数据流切换到出向保护隧道LSP-2,并通过环网的保护路径将该出向数据流传送至C节点出向保护隧道LSP-4,该C节点由于也接收到了链路故障告警信息,因此,根据上述获取的预先配 置的出向工作隧道LSP-3与出向保护隧道LSP-4的关联关系,直接将出向数据流由出向保护隧道LSP-4切换至出向工作隧道,使得该出向数据流通过该C节点的出向工作隧道LSP-3流入D节点并下环。
当然,当D节点为上环节点,A节点为下环节点时,倒换方式和原理与上述A节点为上环节点,D节点为下环节点时类似,在此不再赘述。
本发明的方案,采用中间节点预先建立出向工作隧道与出向保护(备份)隧道的关联关系,使得在链路故障时,能够直接根据该关联关系,进行出向数据流的隧道倒换,避免了查找出向数据流的下一跳出接口而带来的时间迟延的问题,采用本方案后,倒换动作时间压缩为0,倒换时间缩短至告警检测时间,使得业务的倒换更加及时,提高了业务传输质量。
如图7所示,本发明的实施例还提供一种多协议标签交换环网中的倒换装置,其中,包括:
检测模块71,设置为检测到自身与相邻的第二中间节点之间的链路发生故障;
获取模块72,设置为获取预先建立的出向工作隧道与出向保护隧道的关联关系;
切换模块73,设置为根据所述关联关系,将出向工作隧道上的出向数据流切换到出向保护隧道,或将出向保护隧道上的出向数据流切换到出向工作隧道。
其中,该检测模块71,如图8所示,包括:
第一获取子模块81,设置为获取所述链路传递的链路故障告警信息;
检测子模块82,设置为对所述链路故障信息进行检测,检测到与相邻的第二中间节点之间的链路发生故障。
其中,该倒换装置,如图9所示,还包括:
建立子模块91,设置为建立工作出接口与保护出接口的关联信息;
第二获取子模块92,设置为根据所述工作出接口与保护出接口的关联信息,获取出向工作隧道与出向保护隧道的关联关系。
其中,该建立子模块91,如图10所示,还包括:
第一获取单元101,设置为获取工作出接口对应的工作出标签;
第二获取单元102,设置为根据所述工作出标签,查表获取与所述工作出标签信息关联的保护出标签;
第三获取单元103,设置为根据所述保护出标签,获取与所述保护出标签对应的保护出接口;
第四获取单元104,设置为对所述工作出接口和所述保护出接口分别进行封装,获取封装信息;其中,所述封装信息包括所述工作出接口与所述保护出接口的关联信息。
其中,该第二获取子模块92,如图11所示,包括:
第五获取单元110,设置为根据所述工作出接口,获取对应的出向工作隧道,以及
第六获取单元111,设置为根据所述保护出接口,获取对应的出向保护隧道;
第七获取单元112,设置为根据所述工作出接口与所述保护出接口的关联信息,获取所述出向工作隧道与所述出向保护隧道的关联关系。
需要说明的是,该装置是包括上述方法的装置,上述方法的实施例的实现方式适用于该装置的实施例中,也能达到相同的技术效果。
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。
工业实用性
如上所述,通过上述实施例及优选实施方式,采用中间节点预先建立出向工作隧道与出向保护(备份)隧道的关联关系,使得在链路故障时,能够直接根据该关联关系,进行出向数据流的隧道倒换,避免了查找出向数据流的下一跳出接口而带来的时间迟延的问题,使得业务的倒换更加及时,提高了业务传输质量。

Claims (10)

  1. 一种多协议标签交换环网中的倒换方法,包括:
    第一中间节点检测到自身与相邻的第二中间节点之间的链路发生故障;
    第一中间节点获取预先建立的第一中间节点的出向工作隧道与出向保护隧道的关联关系;
    第一中间节点根据所述关联关系,将出向工作隧道上的出向数据流切换到出向保护隧道,或将出向保护隧道上的出向数据流切换到出向工作隧道。
  2. 根据权利要求1所述的倒换方法,其中,所述第一中间节点检测到自身与相邻的第二中间节点之间的链路发生故障的步骤包括:
    第一中间节点获取所述链路传递的链路故障告警信息;
    第一中间节点对所述链路故障信息进行检测,检测到与相邻的第二中间节点之间的链路发生故障。
  3. 根据权利要求1所述的倒换方法,其中,建立第一中间节点的出向工作隧道与出向保护隧道的关联关系的步骤包括:
    第一中间节点建立工作出接口与保护出接口的关联信息;
    第一中间节点根据所述工作出接口与保护出接口的关联信息,获取第一中间节点的出向工作隧道与出向保护隧道的关联关系。
  4. 根据权利要求3所述的倒换方法,其中,所述第一中间节点建立工作出接口与保护出接口的关联信息的步骤包括:
    第一中间节点获取工作出接口对应的工作出标签;
    第一中间节点根据所述工作出标签,查表获取与所述工作出标签关联的保护出标签;
    第一中间节点根据所述保护出标签,获取与所述保护出标签对应的保护出接口;
    第一中间节点对所述工作出接口和所述保护出接口分别进行封装,获取封装信息;其中,所述封装信息包括所述工作出接口与所述保护出接口的关联信息。
  5. 根据权利要求4所述的倒换方法,其中,所述第一中间节点根据所述工作出接口与保护出接口的关联信息,获取第一中间节点的出向工作隧道与出向保护隧道的关联关系的步骤包括:
    第一中间节点根据所述工作出接口,获取对应的出向工作隧道,以及
    第一中间节点根据所述保护出接口,获取对应的出向保护隧道;
    第一中间节点根据所述工作出接口与所述保护出接口的关联信息,获取所述出向工作隧道与所述出向保护隧道的关联关系。
  6. 一种多协议标签交换环网中的倒换装置,包括:
    检测模块,设置为检测到自身与相邻的第二中间节点之间的链路发生故障;
    获取模块,设置为获取预先建立的出向工作隧道与出向保护隧道的关联关系;
    切换模块,设置为根据所述关联关系,将出向工作隧道上的出向数据流切换到出向保护隧道,或将出向保护隧道上的出向数据流切换到出向工作隧道。
  7. 根据权利要求6所述的倒换装置,其中,所述检测模块包括:
    第一获取子模块,设置为获取所述链路传递的链路故障告警信息;
    检测子模块,设置为对所述链路故障信息进行检测,检测到与相邻的第二中间节点之间的链路发生故障。
  8. 根据权利要求6所述的倒换装置,其中,所述倒换装置还包括:
    建立子模块,设置为建立工作出接口与保护出接口的关联信息;
    第二获取子模块,设置为根据所述工作出接口与保护出接口的关联信息,获取出向工作隧道与出向保护隧道的关联关系。
  9. 根据权利要求8所述的倒换装置,其中,所述建立子模块包括:
    第一获取单元,设置为获取工作出接口对应的工作出标签;
    第二获取单元,设置为根据所述工作出标签,查表获取与所述工作出标签信息关联的保护出标签;
    第三获取单元,设置为根据所述保护出标签,获取与所述保护出标签对应的保护出接口;
    第四获取单元,设置为对所述工作出接口和所述保护出接口分别进行封装,获取封装信息;其中,所述封装信息包括所述工作出接口与所述保护出接口的关联信息。
  10. 根据权利要求9所述的倒换装置,其中,所述第二获取子模块包括:
    第五获取单元,设置为根据所述工作出接口,获取对应的出向工作隧道,以及
    第六获取单元,设置为根据所述保护出接口,获取对应的出向保护隧道;
    第七获取单元,设置为根据所述工作出接口与所述保护出接口的关联信息,获取所述出向工作隧道与所述出向保护隧道的关联关系。
PCT/CN2015/073909 2014-11-04 2015-03-09 一种多协议标签交换环网中的倒换方法及装置 WO2016070535A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410614707.1 2014-11-04
CN201410614707.1A CN105553847B (zh) 2014-11-04 2014-11-04 一种多协议标签交换环网中的倒换方法及装置

Publications (1)

Publication Number Publication Date
WO2016070535A1 true WO2016070535A1 (zh) 2016-05-12

Family

ID=55832786

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/073909 WO2016070535A1 (zh) 2014-11-04 2015-03-09 一种多协议标签交换环网中的倒换方法及装置

Country Status (2)

Country Link
CN (1) CN105553847B (zh)
WO (1) WO2016070535A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111490934A (zh) * 2020-04-24 2020-08-04 电子科技大学 基于流突发性的多路径路由系统

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109462500B (zh) * 2018-10-26 2020-09-18 江西山水光电科技股份有限公司 一种分组传送网ptn设备环网保护方法
CN113438154B (zh) * 2021-07-01 2022-08-12 烽火通信科技股份有限公司 一种分布式mpls网络层次化保护倒换方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453744A (zh) * 2007-12-07 2009-06-10 华为技术有限公司 业务控制方法及装置
CN102594667A (zh) * 2012-02-03 2012-07-18 中兴通讯股份有限公司 一种实现快速重路由冗余保护的方法及装置
CN103684951A (zh) * 2012-08-31 2014-03-26 中国移动通信集团公司 一种环网保护方法及系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192990A (zh) * 2006-11-30 2008-06-04 华为技术有限公司 一种mpls网络中实现快速重路由的方法及设备及系统
CN101159690B (zh) * 2007-11-19 2010-10-27 杭州华三通信技术有限公司 多协议标签交换转发方法、装置及标签交换路径管理模块
CN103516540B (zh) * 2012-06-29 2018-03-13 中兴通讯股份有限公司 一种环网保护倒换装置及方法
US20140241204A1 (en) * 2013-02-25 2014-08-28 Alcatel-Lucent India Limited Transit services in ethernet rings with protection
CN103763170B (zh) * 2014-01-29 2017-06-20 华为技术有限公司 环网保护方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453744A (zh) * 2007-12-07 2009-06-10 华为技术有限公司 业务控制方法及装置
CN102594667A (zh) * 2012-02-03 2012-07-18 中兴通讯股份有限公司 一种实现快速重路由冗余保护的方法及装置
CN103684951A (zh) * 2012-08-31 2014-03-26 中国移动通信集团公司 一种环网保护方法及系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111490934A (zh) * 2020-04-24 2020-08-04 电子科技大学 基于流突发性的多路径路由系统

Also Published As

Publication number Publication date
CN105553847B (zh) 2020-02-28
CN105553847A (zh) 2016-05-04

Similar Documents

Publication Publication Date Title
CN102571426B (zh) 一种双归保护方法和装置
CN100531047C (zh) 对包交换网络上的伪线进行保护倒换的方法
EP2498454B1 (en) Method, device and system for processing service traffic based on pseudo wires
EP1845656B1 (en) A method for implementing master and backup transmission path
JP5209116B2 (ja) パケット交換網における擬似ワイヤの確立
CN101808022B (zh) 双向转发检测的实现方法及装置
CN101317388B (zh) 多协议标签切换的标签切换路径保护切换的装置和方法
CN101984591B (zh) 一种传送多协议标记交换网络中业务收敛的方法及系统
CN102201985B (zh) 多协议标签交换传送技术环保护倒换方法及节点
WO2015192518A1 (zh) Potn的误码检测方法、装置及系统
US10110475B2 (en) Restoration method for an MPLS ring network
US9059791B2 (en) Method and apparatus for protecting tunnel
EP3182645B1 (en) Network protection switching method, network device and storage medium
WO2016086548A1 (zh) 一种伪线双归保护切换系统、方法和装置
WO2016070535A1 (zh) 一种多协议标签交换环网中的倒换方法及装置
WO2013178097A1 (zh) 一种通告方法、装置及系统
US9716639B2 (en) Protection switching method and system
US8738960B2 (en) Local protection method of ethernet tunnel and sharing node of work sections of protection domain
WO2011011934A1 (zh) 一种以太网隧道分段保护方法和装置
CN102780587B (zh) Mpls-tp中实现环网保护的方法
CN111865798B (zh) 一种mpls-tp双归保护主辅节点ac侧消息通信的实现方法及系统
CN104539532A (zh) 基于lte基站回传业务的nni保护uni的系统及方法
US9565054B2 (en) Fate sharing segment protection

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: 15857055

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15857055

Country of ref document: EP

Kind code of ref document: A1