[go: up one dir, main page]

CN105306330A - Network protection method and device, and primary convergence network element in network - Google Patents

Network protection method and device, and primary convergence network element in network Download PDF

Info

Publication number
CN105306330A
CN105306330A CN201410289281.7A CN201410289281A CN105306330A CN 105306330 A CN105306330 A CN 105306330A CN 201410289281 A CN201410289281 A CN 201410289281A CN 105306330 A CN105306330 A CN 105306330A
Authority
CN
China
Prior art keywords
network
link
network element
layer
network layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201410289281.7A
Other languages
Chinese (zh)
Inventor
李瑛瑾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201410289281.7A priority Critical patent/CN105306330A/en
Priority to PCT/CN2014/089502 priority patent/WO2015196676A1/en
Publication of CN105306330A publication Critical patent/CN105306330A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • 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

Landscapes

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

Abstract

本发明公开了组网保护方法、装置及组网中的汇聚主用网元,组网包括第一网络层、第二网络层以及位于第一网路层和第二网络层之间的汇聚层;检测到出现两网络层中的其中一个网络层的主用链路和汇聚层中主用网元和备用网元之间的汇聚链路同时故障时,触发主用链路未发生故障的另一网络层中的网元从该网络层中的主用链路切换到备用链路上,从而实现组网的联动保护,避免业务流中断。

The invention discloses a network protection method, a device, and an aggregation main network element in the network. The network includes a first network layer, a second network layer, and a convergence layer between the first network layer and the second network layer ; When it is detected that the active link of one of the two network layers and the aggregated link between the active network element and the backup network element in the aggregation layer fail at the same time, trigger another event that the active link has not failed. Network elements in a network layer are switched from the active link in the network layer to the backup link, so as to realize the linkage protection of the networking and avoid interruption of service flow.

Description

组网保护方法、装置及组网中的汇聚主用网元Networking protection method, device, and aggregation main network element in networking

技术领域technical field

本发明涉及通信领域,具体涉及一种组网保护方法、装置及组网中的汇聚主用网元。The present invention relates to the communication field, in particular to a network protection method and device, and a main convergence network element in the network.

背景技术Background technique

当前MPLS-TP(基于“多协议标签交换”面向连接的分组交换网络技术,Multi-ProtocolLabelSwitching-TransportProfile)承载LTE(长期演进,LongTermEvolution)解决方案采用L2VPN(二层虚拟专用网,LayerTwoVirtualPrivateNetwork)+L3VPN(三层层虚拟专用网,LayerThreeVirtualPrivateNetwork)组网,即:在网络接入层仍然采用Line(线性)的组网技术,在汇聚层终结接入层的Line业务,在汇聚节点内部完成L2VPN到L3VPN的桥接,进入到L3VPN处理转发到网络核心层。而在端到端网络保护方面,对于这种组网,MPLS-TP提供强大而丰富的OAM告警检测手段,支持多种电信级保护方式,具备成熟的电信级保护能力,能提供50ms保护倒换能力。在L2VPN网络内通过MPLS-TP线性保护或者环网保护和伪线双归保护配合实现,在L3VPN网络内通过VRRP(虚拟路由冗余协议,VirtualRouterRedundancyProtocol)、MPLS-TP线性保护或者环网和L3VPNFRR(快速重路由,FastReRoute)配合实现。但是当前的上述保护方案还是存在缺陷,该缺陷就是L2VPN网络和L3VPN网络的保护没有做到联动,导致以下两种情况会出现业务流中断:The current MPLS-TP (based on "Multi-Protocol Label Switching" connection-oriented packet switching network technology, Multi-ProtocolLabelSwitching-TransportProfile) carrying LTE (Long Term Evolution, Long Term Evolution) solution uses L2VPN (Layer Two Virtual Private Network, LayerTwoVirtualPrivateNetwork) + L3VPN ( Three-layer virtual private network (LayerThreeVirtualPrivateNetwork) networking, that is, the Line (linear) networking technology is still used at the network access layer, the Line service at the access layer is terminated at the aggregation layer, and the L2VPN to L3VPN is completed inside the aggregation node. Bridging, entering the L3VPN processing and forwarding to the network core layer. In terms of end-to-end network protection, for this kind of networking, MPLS-TP provides powerful and rich OAM alarm detection methods, supports multiple carrier-class protection methods, has mature carrier-class protection capabilities, and can provide 50ms protection switching capabilities . In the L2VPN network, it is implemented through the cooperation of MPLS-TP linear protection or ring network protection and pseudo-wire dual-homing protection. In the L3VPN network, it is implemented through VRRP (Virtual Router Redundancy Protocol), MPLS-TP linear protection or ring network and L3VPNFRR ( Fast rerouting, FastReRoute) is implemented together. However, the current above-mentioned protection scheme still has a defect. The defect is that the protection of the L2VPN network and the L3VPN network have not been linked, resulting in service flow interruption in the following two situations:

一、当L3VPN网络发生网络链路故障造成的L3VPNFRR倒换时,同时汇聚层的主用节点和备用节点之间的链路也故障时;核心层往接入层方向的业务流会倒换到汇聚层的备用节点上,接入层往核心层另一方向却由于L2VPN网络的工作路径还是正常的,不会有伪线双归倒换,所以从接入层往核心层的业务流在L2VPN网络部分还是走在工作路径上,而其实这时汇聚层的主用节点已经和L3VPN网络隔离的,造成接入层到核心层方向的业务流中断;1. When the L3VPN FRR switchover caused by network link failure occurs on the L3VPN network, and the link between the active node and the backup node of the aggregation layer is also faulty; the service flow from the core layer to the access layer will be switched to the aggregation layer On the standby node, the other direction from the access layer to the core layer is still normal due to the normal working path of the L2VPN network, and there will be no pseudo-wire dual-homing switching, so the service flow from the access layer to the core layer is still on the L2VPN network. Walking on the working path, but in fact at this time the active node of the aggregation layer has been isolated from the L3VPN network, resulting in the interruption of the service flow from the access layer to the core layer;

二、当L2VPN网络发生网络链路故障造成的伪线双归保护倒换时,同时汇聚层的主用节点和备用节点之间的链路也故障时;接入层到核心层方向的业务流会倒换到汇聚层的备用节点上,核心层往接入层另一方向却由于L3VPN网络的工作路径还是正常的,不会有FRR倒换,所以从核心层到接入层的业务流在L3VPN网络部分还是走在工作路径上,而其实这时汇聚层的主用网元已经和L2VPN网络是隔离的,也造成核心层到接入层方向的业务流中断。2. When the pseudo-wire dual-homing protection switching caused by network link failure occurs in the L2VPN network, and the link between the active node and the backup node of the aggregation layer is also faulty; the service flow from the access layer to the core layer will be Switching to the standby node of the aggregation layer, the core layer goes to the other direction of the access layer, but because the working path of the L3VPN network is still normal, there will be no FRR switching, so the service flow from the core layer to the access layer is in the L3VPN network part It is still on the working path, but at this time, the main NE at the aggregation layer is already isolated from the L2VPN network, which also interrupts the service flow from the core layer to the access layer.

发明内容Contents of the invention

本发明要解决的主要技术问题是,提供一种组网保护方法、装置及组网中的汇聚主用网元,解决现有组网中未实现联动保护导致业务流中断的问题。The main technical problem to be solved by the present invention is to provide a network protection method, a device and a convergent active network element in the network, so as to solve the problem of service flow interruption caused by the lack of linkage protection in the existing network.

为解决上述技术问题,本发明提供一种组网保护方法,所述组网包括第一网络层、第二网络层,分别位于第一网络层和第二网络层的第一网元、第二网元,以及位于第一网络层和第二网络层汇聚处的汇聚主用网元和汇集备用网元;第一网元与汇聚主用网元连接的链路为第一网络层的主用链路;第二网元与汇聚主用网元连接的链路为第二网络层的主用链路;第一网元与汇聚备用网元连接的链路为第一网络层的备用链路;第二网元与汇聚备用网元连接的链路为第二网络层的备用链路;汇聚主用网元和汇集备用网元之间的连接的链路为汇聚链路;所述方法包括:In order to solve the above technical problems, the present invention provides a network protection method, the network includes a first network layer and a second network layer, the first network element and the second network element respectively located in the first network layer and the second network layer network elements, and the aggregated active network element and aggregated standby network element located at the convergence of the first network layer and the second network layer; the link connecting the first network element and the aggregated active network element is the active network element of the first network layer link; the link connecting the second network element and the aggregated active network element is the active link of the second network layer; the link connecting the first network element and the aggregated standby network element is the standby link of the first network layer The link connecting the second network element and the aggregation standby network element is a backup link of the second network layer; the link connecting the aggregation main network element and the aggregation backup network element is an aggregation link; the method includes :

检测是否出现所述两网络层中的其中一个网络层的主用链路和所述汇聚链路同时故障,如是,触发主用链路未发生故障的另一网络层中的网元从该网络层中的主用链路切换到备用链路上。Detect whether the active link of one of the two network layers and the aggregated link fail at the same time, if so, trigger the network element in the other network layer where the active link has not failed to The primary link in the layer is switched to the standby link.

在发明的一种实施例中,当所述发生故障的主用链路和/或汇聚链路故障消除时,触发主用链路未发生故障的另一网络层中的网元从该网络层中的备用链路切回到主用链路上。In one embodiment of the invention, when the failure of the failed active link and/or aggregated link is eliminated, triggering the network element in another network layer where the active link has not failed to start from the network layer The backup link in the switch is switched back to the active link.

在发明的一种实施例中,检测是否出现所述两网络层中的其中一个网络层的主用链路和所述汇聚链路同时故障包括:In an embodiment of the invention, detecting whether the active link of one of the two network layers and the aggregation link fails simultaneously includes:

检测是否只能正常收到所述两个网络层中的其中一个网络层中的网元发送的状态检测报文;如是,则另一网络层中的主用链路以及所述汇聚链路同时发生故障。Detect whether the status detection message sent by the network element in one of the network layers of the two network layers can only be received normally; if so, the active link in the other network layer and the aggregation link simultaneously malfunction.

在发明的一种实施例中,所述触发主用链路未发生故障的另一网络层中的网元从该网络层中的主用链路切换到备用链路上包括:In an embodiment of the invention, the triggering the network element in another network layer where the active link has not failed to switch from the active link in the network layer to the standby link includes:

触发所述汇聚主用网元停止向该网络层中的网元正常反馈状态检测报文,使该网元判断主用链路发生故障而切换到备用链路上;Triggering the aggregation active network element to stop feeding back the status detection message to the network element in the network layer normally, so that the network element judges that the active link fails and switches to the backup link;

或直接向该网络层中的网元发送切换到备用链路的指令,使该网元从该网络层中的主用链路切换到备用链路上。Or directly send an instruction to switch to the standby link to the network element in the network layer, so that the network element switches from the active link in the network layer to the standby link.

在发明的一种实施例中,所述触发主用链路未发生故障的另一网络层中的网元从该网络层中备用链路切回到主用链路上包括:In an embodiment of the invention, the triggering the network element in another network layer where the active link has not failed to switch back to the active link from the standby link in the network layer includes:

触发所述汇聚主用网元重新向该网络层中的网元正常反馈状态检测报文,使该网元判断主用链路故障消除而切换到备用链路上;Triggering the aggregation active network element to feed back a normal state detection message to the network element in the network layer again, so that the network element judges that the failure of the active link is eliminated and switches to the backup link;

或直接向该网络层中的网元发送切换到主用链路的指令,使该网元从该网Or directly send an instruction to switch to the active link to the network element in the network layer, so that the network element

络层中的备用链路切换到主用链路上。The standby link in the network layer is switched to the active link.

在发明的一种实施例中,所述第一网络层为三层虚拟专用网络层,所述第一网元为核心层网元;所述第二网络层为二层虚拟专用网络层,所述第二网元为接入层网元。In one embodiment of the invention, the first network layer is a three-layer virtual private network layer, and the first network element is a core layer network element; the second network layer is a two-layer virtual private network layer, so The second network element is an access layer network element.

为了解决上述问题,本发明还提供了一种组网保护装置,所述组网包括第一网络层、第二网络层,分别位于第一网络层和第二网络层的第一网元、第二网元,以及位于第一网络层和第二网络层汇聚处的汇聚主用网元和汇集备用网元;第一网元与汇聚主用网元连接的链路为第一网络层的主用链路;第二网元与汇聚主用网元连接的链路为第二网络层的主用链路;第一网元与汇聚备用网元连接的链路为第一网络层的备用链路;第二网元与汇聚备用网元连接的链路为第二网络层的备用链路;汇聚主用网元和汇集备用网元之间的连接的链路为汇聚链路;所述装置包括故障检测模块以及第一链路切换模块:In order to solve the above problems, the present invention also provides a network protection device. The network includes a first network layer and a second network layer, and the first network element and the second network element respectively located in the first network layer and the second network layer Two network elements, as well as the aggregation main network element and the aggregation standby network element located at the convergence of the first network layer and the second network layer; the link connecting the first network element and the aggregation main network element is the main network element of the first network layer link; the link connecting the second NE and the converged active NE is the active link of the second network layer; the link connecting the first NE and the converged standby NE is the standby link of the first network layer road; the link connecting the second network element and the aggregation standby network element is the backup link of the second network layer; the link connecting the aggregation main network element and the aggregation backup network element is the aggregation link; the device Including the fault detection module and the first link switching module:

所述故障检测模块用于检测是否出现所述两网络层中的其中一个网络层的主用链路和所述汇聚链路同时故障,如是,通知所述第一链路切换模块;The failure detection module is used to detect whether the active link of one of the two network layers and the aggregation link fail at the same time, and if so, notify the first link switching module;

所述第一链路切换模块用于根据所述通知触发主用链路未发生故障的另一网络层中的网元从该网络层中的主用链路切换到备用链路上。The first link switching module is configured to trigger a network element in another network layer whose active link has not failed to switch from the active link in the network layer to the standby link according to the notification.

在发明的一种实施例中,还包括第二链路切换模块,用于在所述发生故障的主用链路和/或汇聚链路故障消除时,触发主用链路未发生故障的另一网络层中的网元从该网络层中的备用链路切回到主用链路上。In one embodiment of the invention, it also includes a second link switching module, configured to trigger another active link that has not failed when the faulty active link and/or aggregation link is eliminated. A network element in a network layer is switched back to the active link from the standby link in the network layer.

在发明的一种实施例中,所述故障检测模块包括报文检测子模块,用于检测是否只能正常收到所述两个网络层中的其中一个网络层中的网元发送的状态检测报文;如是,则判定另一网络层中的主用链路以及所述汇聚链路同时发生故障。In one embodiment of the invention, the fault detection module includes a message detection sub-module, which is used to detect whether the status detection sent by the network element in one of the two network layers can only be received normally. message; if yes, it is determined that the active link in another network layer and the aggregated link fail at the same time.

在发明的一种实施例中,所述第一链路切换模块包括第一触发子模块,用于触发所述汇聚主用网元停止向该网络层中的网元正常反馈状态检测报文,使该网元判断主用链路发生故障而切换到备用链路上;In an embodiment of the invention, the first link switching module includes a first triggering submodule, configured to trigger the convergence active network element to stop feeding back status detection messages to network elements in the network layer normally, Make the network element judge that the active link fails and switch to the standby link;

或包括第一指令下发子模块,用于直接向该网络层中的网元发送切换到备用链路的指令,使该网元从该网络层中的主用链路切换到备用链路上。Or include a first instruction sending submodule, which is used to directly send an instruction to switch to a backup link to a network element in the network layer, so that the network element is switched from the active link in the network layer to the backup link .

在发明的一种实施例中,所述第二链路切换模块包括第二触发子模块,用于触发所述汇聚主用网元重新向该网络层中的网元正常反馈状态检测报文,使该网元判断主用链路故障消除而切换到备用链路上;In an embodiment of the invention, the second link switching module includes a second triggering submodule, configured to trigger the convergence active network element to re-feed back a normal state detection message to the network element in the network layer, Make the network element judge that the failure of the active link is eliminated and switch to the standby link;

或包括第二指令下发子模块,用于直接向该网络层中的网元发送切换到主用链路的指令,使该网元从该网络层中的备用链路切换到主用链路上。Or include a second instruction issuing submodule, which is used to directly send an instruction to switch to the active link to the network element in the network layer, so that the network element switches from the backup link in the network layer to the active link superior.

在发明的一种实施例中,所述第一网络层为三层虚拟专用网络层,所述第一网元为核心层网元;所述第二网络层为二层虚拟专用网络层,所述第二网元为接入层网元。In one embodiment of the invention, the first network layer is a three-layer virtual private network layer, and the first network element is a core layer network element; the second network layer is a two-layer virtual private network layer, so The second network element is an access layer network element.

为了解决上述问题,本发明还提供了一种组网中的汇聚主用网元,所述组网还包括第一网络层、第二网络层、汇聚备用网元,分别位于第一网络层和第二网络层的第一网元、第二网元,汇聚主用网元和汇集备用网元位于第一网络层和第二网络层汇聚处;第一网元与汇聚主用网元连接的链路为第一网络层的主用链路;第二网元与汇聚主用网元连接的链路为第二网络层的主用链路;第一网元与汇聚备用网元连接的链路为第一网络层的备用链路;第二网元与汇聚备用网元连接的链路为第二网络层的备用链路;汇聚主用网元和汇集备用网元之间的连接的链路为汇聚链路;所述汇聚主用网元包括存储器和处理器;所述存储器用于存储指令;所述处理器用于调用所述指令执行以下步骤:In order to solve the above-mentioned problems, the present invention also provides a kind of aggregation master network element in the networking, and the networking also includes a first network layer, a second network layer, and a convergence backup network element, which are respectively located in the first network layer and the The first network element and the second network element of the second network layer, the aggregation main network element and the aggregation standby network element are located at the convergence of the first network layer and the second network layer; the first network element is connected to the aggregation main network element The link is the active link of the first network layer; the link connecting the second NE and the aggregated active NE is the active link of the second network layer; the link connecting the first NE and the aggregated standby NE The link between the second NE and the aggregation standby NE is the backup link of the second network layer; the link between the aggregation master NE and the aggregation standby NE The path is an aggregation link; the aggregation main network element includes a memory and a processor; the memory is used to store instructions; the processor is used to call the instructions to perform the following steps:

检测是否出现所述两网络层中的其中一个网络层的主用链路和所述汇聚链路同时故障,如是,触发主用链路未发生故障的另一网络层中的网元从该网络层中的主用链路切换到备用链路上。Detect whether the active link of one of the two network layers and the aggregated link fail at the same time, if so, trigger the network element in the other network layer where the active link has not failed to The primary link in the layer is switched to the standby link.

本发明的有益效果是:The beneficial effects of the present invention are:

本发明提供了组网保护方法、装置及组网中的汇聚主用网元,组网包括第一网络层、第二网络层,分别位于第一网络层和第二网络层的第一网元、第二网元,以及位于第一网络层和第二网络层汇聚处的汇聚主用网元和汇集备用网元;第一网元与汇聚主用网元连接的链路为第一网络层的主用链路;第二网元与汇聚主用网元连接的链路为第二网络层的主用链路;第一网元与汇聚备用网元连接的链路为第一网络层的备用链路;第二网元与汇聚备用网元连接的链路为第二网络层的备用链路;汇聚主用网元和汇集备用网元之间的连接的链路为汇聚链路;检测到出现两网络层中的其中一个网络层的主用链路和汇聚链路同时故障时,触发主用链路未发生故障的另一网络层中的网元从该网络层中的主用链路切换到备用链路上,从而实现组网的联动保护,避免业务流中断。The present invention provides a network protection method, a device, and a main converged network element in the network. The network includes a first network layer and a second network layer, and the first network elements respectively located in the first network layer and the second network layer , the second network element, and the aggregation main network element and the aggregation backup network element located at the convergence of the first network layer and the second network layer; the link connecting the first network element and the aggregation main network element is the first network layer The link connecting the second NE and the aggregated active NE is the active link of the second network layer; the link connecting the first NE and the aggregated standby NE is the first network layer Standby link; the link connecting the second network element and the aggregation standby network element is the backup link of the second network layer; the link connecting the aggregation main network element and the aggregation standby network element is the aggregation link; detection When the active link and aggregation link of one of the two network layers fail at the same time, trigger the NEs in the other network layer whose active link has not failed to switch from the active link in this network layer to The link is switched to the standby link, so as to realize the linkage protection of the networking and avoid the interruption of service flow.

附图说明Description of drawings

图1为本发明实施例一中提供的组网结构示意图;FIG. 1 is a schematic diagram of a networking structure provided in Embodiment 1 of the present invention;

图2为本发明实施例一中提供的组网保护方法流程示意图一;FIG. 2 is a first schematic flow diagram of a network protection method provided in Embodiment 1 of the present invention;

图3为本发明实施例一中提供的组网保护方法流程示意图二;FIG. 3 is a second schematic flow diagram of a network protection method provided in Embodiment 1 of the present invention;

图4为本发明实施例二中提供的组网保护装置结构示意图;FIG. 4 is a schematic structural diagram of a network protection device provided in Embodiment 2 of the present invention;

图5为本发明实施例三中提供的L3VPN+L2VPN组网结构示意图;FIG. 5 is a schematic diagram of the L3VPN+L2VPN networking structure provided in Embodiment 3 of the present invention;

图6为本发明实施例三中提供的四种状态迁移示意图;FIG. 6 is a schematic diagram of four state transitions provided in Embodiment 3 of the present invention;

图7为本发明实施例三中提供的L3VPN网络链路故障示意图;FIG. 7 is a schematic diagram of an L3VPN network link failure provided in Embodiment 3 of the present invention;

图8为本发明实施例三中提供的L3VPN网络链路消除示意图;FIG. 8 is a schematic diagram of L3VPN network link elimination provided in Embodiment 3 of the present invention;

图9为本发明实施例三中提供的L2VPN网络链路故障示意图;FIG. 9 is a schematic diagram of an L2VPN network link failure provided in Embodiment 3 of the present invention;

图10为本发明实施例三中提供的L2VPN网络链路消除示意图;FIG. 10 is a schematic diagram of the elimination of L2VPN network links provided in Embodiment 3 of the present invention;

图11为本发明实施例三中提供的L2VPN网络和L3VPN网络链路故障示意图。FIG. 11 is a schematic diagram of link failures of the L2VPN network and the L3VPN network provided in Embodiment 3 of the present invention.

具体实施方式detailed description

下面通过具体实施方式结合附图对本发明作进一步详细说明。The present invention will be further described in detail below through specific embodiments in conjunction with the accompanying drawings.

实施例一:Embodiment one:

请参考图1所示,本实施例中的组网包括第一网络层、第二网络层,分别位于第一网络层和第二网络层的第一网元、第二网元,以及位于第一网络层和第二网络层汇聚处的汇聚主用网元和汇集备用网元;第一网元与汇聚主用网元连接的链路为第一网络层的主用链路;第二网元与汇聚主用网元连接的链路为第二网络层的主用链路;第一网元与汇聚备用网元连接的链路为第一网络层的备用链路;第二网元与汇聚备用网元连接的链路为第二网络层的备用链路;汇聚主用网元和汇集备用网元之间的连接的链路为汇聚链路。正常情况下,第一网元和第二网元都工作在各自所属网络层的主用链路上,通过汇聚主用网元实现相关信息的透传;当第一网元和第二网元各自所属网络层的主用链路出现故障后,则会切换到该网络层的备用链路上;让故障的主用链路故障消除后,由备用链路切回主用链路上。Please refer to FIG. 1, the networking in this embodiment includes a first network layer and a second network layer, a first network element and a second network element located at the first network layer and the second network layer respectively, and a network element located at the second network layer. The aggregation main network element and the aggregation standby network element at the convergence of the first network layer and the second network layer; the link connecting the first network element and the aggregation main network element is the main link of the first network layer; the second network The link connecting the main network element and the aggregation main network element is the active link of the second network layer; the link connecting the first network element and the aggregation standby network element is the backup link of the first network layer; the second network element and the The link that aggregates the connection of the standby network element is the standby link of the second network layer; the link that aggregates the connection between the active network element and the aggregate standby network element is the aggregated link. Under normal circumstances, both the first NE and the second NE work on the active links of their respective network layers, and the transparent transmission of relevant information is realized by converging the active NEs; when the first NE and the second NE When the active link of the respective network layer fails, it will be switched to the backup link of the network layer; after the fault of the failed active link is eliminated, the backup link will be switched back to the active link.

请参见图2所示,本实施例中的组网保护方法包括:Referring to Figure 2, the network protection method in this embodiment includes:

步骤201:检测是否出现两网络层中的其中一个网络层的主用链路和上述汇聚链路同时故障,如是,转至步骤202;否则,继续检测;Step 201: Detect whether the active link of one of the network layers in the two network layers and the above-mentioned aggregated link fail at the same time, if so, go to step 202; otherwise, continue to detect;

步骤202:触发主用链路未发生故障的另一网络层中的网元从该网络层中的主用链路切换到备用链路上。Step 202: triggering a network element in another network layer where the active link has not failed to switch from the active link in the network layer to the standby link.

例如,当检测到第一网络层中的主用链路以及上述汇聚链路同时出现故障时,第一网络层中的第一网元会切换到第一网络层中的备用链路上;此时需触发主用链路未发生故障的第二网络层中的第二网元切换到第二网络层中的备用链路上;否则第二网络层中的业务流到达汇聚主用网元后就会发生中断。通过该联动切换,则可避免上述情况的发生。反之,当第二网络中的主用链路以及上述汇聚链路同时出现故障,而第一网络中的主用链路未发生故障时,联动切换的过程与上述过程类似。For example, when it is detected that the active link in the first network layer and the above-mentioned aggregated link fail at the same time, the first network element in the first network layer will switch to the backup link in the first network layer; It is necessary to trigger the switchover of the second network element in the second network layer where the main link has not failed to the backup link in the second network layer; otherwise, after the service flow in the second network layer reaches the converging main network element An interruption will occur. Through this linkage switching, the occurrence of the above situation can be avoided. On the contrary, when the active link in the second network and the above-mentioned aggregated link fail at the same time, but the active link in the first network does not fail, the process of linkage switching is similar to the above process.

请参见图3所示,本实施例中的组网保护方法在图2所示的基础上,还进一步包括:Please refer to Fig. 3, on the basis of Fig. 2, the network protection method in this embodiment further includes:

步骤203:检测当发生故障的主用链路和/或汇聚链路故障是否消除,如是,转至步骤204;否则,继续检测;Step 203: Detect whether the failure of the failed active link and/or aggregation link is eliminated, if so, go to step 204; otherwise, continue to detect;

步骤204:触发主用链路未发生故障的另一网络层中的网元从该网络层中的备用链路切回到主用链路上。Step 204: triggering a network element in another network layer whose active link has not failed to switch back to the active link from the standby link in the network layer.

例如,上述发生故障的第一网络层中的主用链路故障消除时,此时第一网络层中的第一网元会切回至主用链路上;触发第二网络层中的第二网元也从网络层中的备用链路切回到主用链路上。又例如,上述发生故障的第一网络层中的主用链路虽故障未消除,但上述汇聚链路的故障已消除,此时汇聚主用网元可以通过备用网元实现第一网元和第二网元之间消息的透传,因此此时触发第二网络层中的第二网元也从网络层中的备用链路切回到主用链路上;当上述发生故障的第一网络层中的主用链路和汇聚链路故障都消除时,切换过程与上述主用链路故障消除的切换过程相同,在此不再赘述。For example, when the failure of the active link in the first network layer where the above failure occurs is eliminated, the first network element in the first network layer will switch back to the active link at this time; trigger the first network element in the second network layer The second network element also switches back to the active link from the standby link in the network layer. For another example, although the failure of the main link in the first network layer that has failed has not been eliminated, the failure of the above-mentioned aggregation link has been eliminated. At this time, the convergence of the main network element can realize the first network element and The transparent transmission of messages between the second network elements triggers the second network element in the second network layer to switch back to the active link from the backup link in the network layer at this time; When the faults of both the active link and the aggregated link in the network layer are eliminated, the switching process is the same as the above-mentioned switching process for eliminating the active link fault, which will not be repeated here.

本实施例中,检测是否出现两网络层中的其中一个网络层的主用链路和汇聚链路同时故障包括:In this embodiment, detecting whether there is a simultaneous failure of the active link and the aggregation link of one of the two network layers includes:

检测是否只能正常收到两个网络层中的其中一个网络层中的网元发送的状态检测报文;如是,则表明另一网络层中的主用链路以及汇聚链路同时发生故障。Detect whether the status detection message sent by the network element in one of the two network layers can only be received normally; if yes, it indicates that the active link and the aggregation link in the other network layer fail at the same time.

例如,在图1中,汇聚主用网元只收到第一网元发送的状态检测报文,收不到第二网元发送的状态检测报文,此时表明第二网络层中的主用链路以及汇聚主用网元和汇聚备用网元之间的汇聚链路同时出现故障,否则汇聚主用网元可以接收到第二网元发送的状态检测报文。应当注意的是,本实施例中不同的网络层可以采用不同的状态检测机制,对应的状态检测报文也可采用不同的形式。For example, in Figure 1, the converging master network element only receives the status detection packet sent by the first network element, but cannot receive the status detection packet sent by the second network element, which indicates that the master network element in the second network layer If the active link and the aggregated link between the aggregation master network element and the aggregation standby network element fail at the same time, otherwise the aggregation master network element can receive the status detection message sent by the second network element. It should be noted that in this embodiment, different network layers may adopt different status detection mechanisms, and corresponding status detection messages may also adopt different forms.

在本实施例中,触发主用链路未发生故障的另一网络层中的网元从该网络层中的主用链路切换到备用链路上包括:In this embodiment, triggering a network element in another network layer where the active link has not failed to switch from the active link in the network layer to the standby link includes:

触发汇聚主用网元停止向该网络层中的网元正常反馈状态检测报文,使该网元判断主用链路发生故障而切换到备用链路上;Trigger the convergence of the active network element to stop feeding back the status detection message to the network element in the network layer, so that the network element judges that the active link fails and switches to the standby link;

或直接向该网络层中的网元发送切换到备用链路的指令,使该网元从该网络层中的主用链路切换到备用链路上。Or directly send an instruction to switch to the standby link to the network element in the network layer, so that the network element switches from the active link in the network layer to the standby link.

本实施例中,触发主用链路未发生故障的另一网络层中的网元从该网络层中备用链路切回到主用链路上包括:In this embodiment, triggering a network element in another network layer where the active link has not failed to switch back to the active link from the standby link in the network layer includes:

触发汇聚主用网元重新向该网络层中的网元正常反馈状态检测报文,使该网元判断主用链路故障消除而切换到备用链路上;Trigger the convergence of the active network element to re-feed back the normal state detection message to the network element in the network layer, so that the network element can judge that the failure of the active link is eliminated and switch to the standby link;

或直接向该网络层中的网元发送切换到主用链路的指令,使该网元从该网络层中的备用链路切换到主用链路上。Or directly send an instruction to switch to the active link to the network element in the network layer, so that the network element switches from the backup link in the network layer to the active link.

具体的,本实施例中的第一网络层可为三层虚拟专用网络层(L3VPN,LayerThreeVirtualPrivateNetwork),第一网元为核心层网元;第二网络层为二层虚拟专用网络层(L2VPN,LayerTwoVirtualPrivateNetwork)组网,第二网元为接入层网元。Specifically, the first network layer in this embodiment may be a three-layer virtual private network layer (L3VPN, LayerThreeVirtualPrivateNetwork), and the first network element is a core layer network element; the second network layer is a two-layer virtual private network layer (L2VPN, LayerTwoVirtualPrivateNetwork) networking, the second network element is the access layer network element.

实施例二:Embodiment two:

本实施例提供的组网同图1所示;本实施例还提供了一种组网保护装置,请参见图4所示,包括故障检测模块以及第一链路切换模块:The networking provided by this embodiment is the same as that shown in Figure 1; this embodiment also provides a networking protection device, as shown in Figure 4, including a fault detection module and a first link switching module:

故障检测模块用于检测是否出现两网络层中的其中一个网络层的主用链路和所述汇聚链路同时故障,如是,通知第一链路切换模块;本实施例中,故障检测模块包括报文检测子模块,用于检测是否只能正常收到所述两个网络层中的其中一个网络层中的网元发送的状态检测报文;如是,则判定另一网络层中的主用链路以及所述汇聚链路同时发生故障。The failure detection module is used to detect whether the active link of one of the network layers in the two network layers and the aggregation link fail simultaneously, and if so, notify the first link switching module; in this embodiment, the failure detection module includes The message detection submodule is used to detect whether the state detection message sent by the network element in one of the network layers in the two network layers can only be received normally; The link and the aggregated link fail simultaneously.

第一链路切换模块用于根据通知触发主用链路未发生故障的另一网络层中的网元从该网络层中的主用链路切换到备用链路上。本实施例中第一链路切换模块具体包括第一触发子模块,用于触发汇聚主用网元停止向该网络层中的网元正常反馈状态检测报文,使该网元判断主用链路发生故障而切换到备用链路上。或包括第一指令下发子模块,用于直接向该网络层中的网元发送切换到备用链路的指令,使该网元从该网络层中的主用链路切换到备用链路上。The first link switching module is used to trigger a network element in another network layer where the active link has not failed to switch from the active link in the network layer to the standby link according to the notification. In this embodiment, the first link switching module specifically includes a first triggering sub-module, which is used to trigger the convergence of the active network element to stop feeding back the normal state detection message to the network element in the network layer, so that the network element can judge the active link In the event of a link failure, switch to the backup link. Or include a first instruction sending submodule, which is used to directly send an instruction to switch to a backup link to a network element in the network layer, so that the network element is switched from the active link in the network layer to the backup link .

组网保护装置还包括第二链路切换模块,用于在发生故障的主用链路和/或汇聚链路故障消除时,触发主用链路未发生故障的另一网络层中的网元从该网络层中的备用链路切回到主用链路上。The networking protection device also includes a second link switching module, which is used to trigger a network element in another network layer whose main link has not failed when the failure of the failed main link and/or aggregation link is eliminated. Switch back to the active link from the standby link in the network layer.

本实施例中第二链路切换模块包括第二触发子模块,用于触发汇聚主用网元重新向该网络层中的网元正常反馈状态检测报文,使该网元判断主用链路故障消除而切换到备用链路上;In this embodiment, the second link switching module includes a second triggering sub-module, which is used to trigger the converging active network element to re-feed back the normal state detection message to the network element in the network layer, so that the network element can judge the active link The fault is eliminated and switched to the standby link;

或包括第二指令下发子模块,用于直接向该网络层中的网元发送切换到主用链路的指令,使该网元从该网络层中的备用链路切换到主用链路上。Or include a second instruction issuing submodule, which is used to directly send an instruction to switch to the active link to the network element in the network layer, so that the network element switches from the backup link in the network layer to the active link superior.

本实施例中的组网保护装置可以组网中的汇聚主用网元,也可以是组网之外的其他第三方装置。The network protection device in this embodiment may be a converging main network element in the network, or other third-party devices outside the network.

本实施例中的第一网络层可为三层虚拟专用网络层(L3VPN,LayerThreeVirtualPrivateNetwork),第一网元为核心层网元;第二网络层为二层虚拟专用网络层(L2VPN,LayerTwoVirtualPrivateNetwork)组网,第二网元为接入层网元。The first network layer in the present embodiment can be three layers of virtual private network layers (L3VPN, LayerThreeVirtualPrivateNetwork), and the first network element is a core layer network element; The second network layer is a two-layer virtual private network layer (L2VPN, LayerTwoVirtualPrivateNetwork) group network, and the second network element is an access layer network element.

实施例三:Embodiment three:

本实施例提供了图1所示组网中的汇聚主用网元,该汇聚主用网元包括存储器和处理器;存储器用于存储指令;处理器用于调用所述指令执行实施例一中所示的各步骤。下面以第一网络层为三层虚拟专用网络层,(L3VPN,LayerThreeVirtualPrivateNetwork),第一网元为核心层网元;第二网络层为二层虚拟专用网络层,即(L2VPN,LayerTwoVirtualPrivateNetwork)组网,第二网元为接入层网元为例进行说明,请参见图5所示。本实施例中在L3VPN中通过L3VPNFRR(快速重路由,FastReRoute)实现链路切换,对应的状态检测报文为BFD(BidirectionalForwardingDetection,双向转发检测)报文;在L2VPN中通过伪线双归保护实现链路切换,对应的状态检测报文为CCM(Continuitycheckmessage,连续性检测消息)报文。为了便于描述,下面统称BFD报文和CCM报文为OAM报文。另外,本实施例中对应L3VPN中状态报文的检测可通过汇聚主用网元上设置的L3VPN控制模块实现,对应L2VPN中状态报文的检测可通过汇聚主用网元上设置的L2VPN控制模块实现。图5所示的组网有以下4种状态:This embodiment provides a main convergence network element in the network shown in FIG. 1, the main convergence network element includes a memory and a processor; the memory is used to store instructions; the processor is used to call the instructions to execute the instructions in the first embodiment the steps shown. In the following, the first network layer is the three-layer virtual private network layer (L3VPN, LayerThreeVirtualPrivateNetwork), the first network element is the core layer network element; the second network layer is the two-layer virtual private network layer, namely (L2VPN, LayerTwoVirtualPrivateNetwork) networking , the second network element is an access layer network element as an example for illustration, as shown in FIG. 5 . In this embodiment, link switching is realized by L3VPNFRR (fast rerouting, FastReRoute) in L3VPN, and the corresponding state detection message is a BFD (BidirectionalForwardingDetection, bidirectional forwarding detection) message; The corresponding state detection message is a CCM (Continuity check message, continuity check message) message. For ease of description, BFD packets and CCM packets are collectively referred to as OAM packets below. In addition, in this embodiment, the detection of the state message corresponding to the L3VPN can be realized through the L3VPN control module set on the main network element of the convergence, and the detection of the state message corresponding to the L2VPN can be realized through the L2VPN control module set on the main network element of the convergence accomplish. The networking shown in Figure 5 has the following four states:

状态1,汇聚主用网元上的L3VPN控制模块和L2VPN模块均放行向对应的核心网元和接入网元发送的OAM报文,均检测能收到核心网元和接入网元发送的OAM报文,同时都没有告警;In state 1, both the L3VPN control module and the L2VPN module on the aggregation master NE allow the OAM packets sent to the corresponding core NE and access NE, and both detect that they can receive the OAM packets sent by the core NE and access NE. OAM message, and there is no alarm at the same time;

状态2-1,L3VPN控制模块放行本端OAM报文,检测收不到核心网元发送的OAM报文,OAM上报告警;L2VPN模块阻塞本端OAM报文,能检测到接入网元OAM报文,OAM上报告警。State 2-1, the L3VPN control module releases the local OAM message, detects that the OAM message sent by the core network element cannot be received, and reports an alarm to the OAM; the L2VPN module blocks the local OAM message, and can detect the OAM message of the access network element. packets, OAM reports alarms.

状态2-2,L2VPN控制模块放行本端OAM报文,检测收不到接入网元OAM报文,OAM上报告警;L3VPN模块阻塞本端OAM报文,能检测到核心网元OAM报文,OAM上报告警。State 2-2, the L2VPN control module releases the local OAM packets, detects that no OAM packets from the access network element are received, and reports an alarm to the OAM; the L3VPN module blocks the local OAM packets, and can detect the core network element OAM packets , OAM reports an alarm.

状态3,L3VPN控制模块和L2VPN控制模块均放行本端OAM报文,均检测不到核心网元和接入网元发送的OAM报文,OAM上报告警。In state 3, both the L3VPN control module and the L2VPN control module allow local OAM packets, but both cannot detect the OAM packets sent by the core network element and the access network element, and the OAM reports an alarm.

上述4种状态的变迁过程请参见图6所示,具体如下:Please refer to Figure 6 for the transition process of the above four states, as follows:

处于状态1,当L3VPN控制模块检测收不到核心网元OAM报文,OAM上报告警,进入状态2-1;当L2VPN控制模块检测不到接入网元OAM报文,OAM上报告警,进入状态2-1进入状态2-2。In state 1, when the L3VPN control module detects that the core network element OAM message cannot be received, the OAM reports an alarm and enters state 2-1; when the L2VPN control module detects no access network element OAM message, the OAM reports an alarm, Going to state 2-1 goes to state 2-2.

处于状态2-1,当L3VPN控制模块检测能收到核心网元OAM报文,并且OAM告警消失进入状态1;当L2VPN控制模块检测不到接入网元OAM报文,OAM上报告警,进入状态3。In state 2-1, when the L3VPN control module detects that the OAM message from the core network element can be received, and the OAM alarm disappears, enter state 1; when the L2VPN control module cannot detect the OAM message from the access network element, OAM reports an alarm, and enter state 3.

处于状态2-2,当L2VPN控制模块检测能收到接入网元OAM报文,并且OAM告警消失进入状态1;当L3VPN控制模块检测不到核心网元OAM报文,OAM上报告警,进入状态3。In state 2-2, when the L2VPN control module detects that the OAM message from the access network element can be received, and the OAM alarm disappears, enter state 1; when the L3VPN control module cannot detect the OAM message from the core network element, OAM reports an alarm, and enters state 3.

处于状态3,当L2VPN控制模块检测能收到对端OAM报文,进入状态2-1;当L3VPN控制模块检测能收到对端OAM报文,进入状态2-2。In state 3, when the L2VPN control module detects that the OAM message from the opposite end can be received, it enters state 2-1; when the L3VPN control module detects that the OAM message from the opposite end can be received, it enters state 2-2.

本实施例L2VPN和L3VPN组网保护联动的方法包括以下步骤:In this embodiment, the L2VPN and L3VPN networking protection linkage method includes the following steps:

第一步,汇聚主用网元监控基于MPLS-TP的L2VPN和L3VPN业务桥接的保护网络中汇聚层主用网元的来L2VPN网络和L3VPN网络的OAM状态。In the first step, the main network element of the aggregation layer monitors the OAM status of the L2VPN network and the L3VPN network from the main network element of the aggregation layer in the protection network based on MPLS-TP L2VPN and L3VPN service bridging.

第二步,汇聚主用网元当检测到本端收不到相邻网络OAM报文,有OAM告警上报时,通过阻塞本网元向另一相邻网络发送OAM报文,达到L2VPN网络和L3VPN网络联动的目的。In the second step, when the converging master network element detects that the local end cannot receive the OAM message from the adjacent network and reports an OAM alarm, it will block the network element from sending OAM messages to another adjacent network to reach the L2VPN network and The purpose of L3VPN network linkage.

本实施例所述第二步,进一步的含义包括:In the second step described in this embodiment, further meanings include:

1.当L3VPN网络发生状态2-1故障,这时本网元L3VPN网络检测收不到对端OAM报文,L3VPN网络上报OAM告警时,阻塞本网元的L2VPN网络向接入层网元发送OAM报文,于是接入网元OAM检测到主路径故障,业务倒换到备用路径,从而完成L3VPN网络到L2VPN的联动;1. When a state 2-1 failure occurs on the L3VPN network, the L3VPN network of the local network element cannot receive OAM packets from the peer end, and when the L3VPN network reports an OAM alarm, the L2VPN network of the local network element is blocked from sending to the network element at the access layer. OAM message, so the OAM of the access network element detects the failure of the main path, and the service is switched to the backup path, thus completing the linkage from the L3VPN network to the L2VPN;

2.当L2VPN网络发生状态2-2,这时本网元L3VPN网络检测收不到对端OAM报文,L3VPN网络上报OAM告警时,阻塞本网元L3VPN网络向核心层网元发送OAM报文,于是接入层网元OAM检测到主路径故障,业务倒换到备用路径,从而完成L2VPN网络到L3VPN的联动。2. When the state 2-2 occurs on the L2VPN network, the L3VPN network of the local network element cannot receive the OAM message from the peer end, and the L3VPN network reports an OAM alarm, blocking the L3VPN network of the local network element from sending OAM messages to the core layer network element. , so the access layer network element OAM detects the failure of the main path, and the service is switched to the backup path, thus completing the linkage from the L2VPN network to the L3VPN.

3.当L2VPN网络和L3VPN网络发生上述状态3的故障,两个网络的OAM都收不到相邻网络的OAM报文,都上报OAM告警,这种情况不对OAM报文进行阻塞。3. When the above state 3 failure occurs on the L2VPN network and the L3VPN network, the OAMs of the two networks cannot receive the OAM packets of the adjacent network, and both report OAM alarms. In this case, the OAM packets are not blocked.

第三步,汇聚主用网元当检测到本网元OAM能收到相邻网络OAM报文,OAM告警消失,解除对本网元OAM报文的阻塞,从而使业务从备用路径恢复到主用路径。Step 3: When the converging active network element detects that the OAM of the local network element can receive the OAM message of the adjacent network, the OAM alarm disappears, and the blocking of the OAM message of the local network element is released, so that the service is restored from the backup path to the active network element. path.

本实施例所述第三步,进一步的含义包括:In the third step described in this embodiment, further meanings include:

1.当检测到L3VPN网络的OAM告警消失,并能收到对端的OAM报文时,解除对本网元L2VPN网络OAM报文的阻塞,从而使接入层网元业务从备用路径恢复到主用路径。1. When it is detected that the OAM alarm of the L3VPN network disappears and the OAM message from the opposite end can be received, the blockage of the OAM message on the L2VPN network of the local network element is released, so that the service of the network element at the access layer is restored from the backup path to the active one. path.

2.当检测到L2VPN网络的OAM告警消失,并能收到对端的OAM报文时,解除对本网元L3VPN网络OAM报文的阻塞,从而使接入层网元业务从备用路径恢复到主用路径。2. When it is detected that the OAM alarm of the L2VPN network disappears and the OAM message from the opposite end can be received, the blocking of the OAM message of the local network element L3VPN network is released, so that the service of the network element at the access layer is restored from the backup path to the active one. path.

下面结合附图,对出现上述故障的时的保护方法进行详细说明。The protection method when the above fault occurs will be described in detail below in conjunction with the accompanying drawings.

请参见图7-8所示,该图所示为L3VPN网络链路故障的情况。Please refer to Figure 7-8, which shows the failure of the L3VPN network link.

如图7所示,当①和②这两个链路发生故障时,核心层网元FRR保护检测到主用路径故障,倒换到备用路径,汇聚层主用网元L3VPN模块检测收不到核心层网元的BFD报文,BFD状态down,触发汇聚主用网元阻塞L2VPN网络的CCM报文,于是接入网元收不到汇聚层主用网元的CCM报文,主用伪线OAM上报LOC告警,于是触发伪线双归保护倒换到备用路径,从而使L3VPN和L2VPN网络完成倒换联动。As shown in Figure 7, when the two links ① and ② fail, the FRR protection of the network element at the core layer detects the failure of the active path and switches to the backup path. The L3VPN module of the active network element at the aggregation layer detects that the core When the BFD packet of the layer NE is down, the BFD status is down, which triggers the convergence of the master NE to block the CCM packets of the L2VPN network. Therefore, the access NE cannot receive the CCM packet of the master NE at the convergence layer, and the master pseudowire OAM The LOC alarm is reported, and then the pseudowire dual-homing protection is triggered to switch to the backup path, so that the L3VPN and L2VPN networks complete the switching linkage.

如附图8所示,当①和②这个链路有一个或两个都恢复正常时(图8以两个都恢复为例进行说明),核心网元FRR检测到主用路径告警消失,主用路径恢复可用,于是FRR恢复到主用路径;同时在汇聚层主用网元,L3VPN模块检测到L3VPN网络检测到能收到核心层BFD报文,BFD状态UP,告警消失,触发汇聚主用网元解除对L2VPN网络OAMCCM报文的阻塞;于是接入层网元检测能收到汇聚层主用网元CCM报文,LOC告警消失,主用路径可用,于是伪线双归保护恢复到主用路径,从而使L3VPN和L2VPN网络完成恢复联动。As shown in Figure 8, when one or both of the links ① and ② return to normal (Figure 8 uses the recovery of both as an example), the core network element FRR detects that the main path alarm disappears, and the main path The path recovery is available, so FRR restores to the active path; at the same time, at the aggregation layer, the active network element, the L3VPN module detects that the L3VPN network can receive the core layer BFD packet, the BFD status is UP, and the alarm disappears, triggering the aggregation layer. The network element unblocks the OAMCCM message of the L2VPN network; then the access layer network element detects and receives the CCM message of the active network element at the aggregation layer, the LOC alarm disappears, and the active path is available, so the pseudo-wire dual-homing protection returns to the active path. The path is used, so that the L3VPN and L2VPN networks can restore linkage.

请参见图9-10所示,该图所示为L3VPN网络链路故障的情况。Please refer to Figure 9-10, which shows the failure of the L3VPN network link.

如图9所示,当③和②这两个链路发生故障时,接入网元伪线双归保护检测到主用路径故障,倒换到备用路径;同时汇聚层主用网元,L2VPN控制模块检测收不到接入层网元的伪线CCM报文,上报LOC告警,触发汇聚主用网元阻塞L3VPN网络的BFD报文,于是核心层网元收不到汇聚层主用网元的BFD报文,BFD状态down,于是触发FRR保护换到备用路径,从而使L2VPN和L3VPN网络完成倒换联动。As shown in Figure 9, when the two links ③ and ② fail, the pseudowire dual-homing protection of the access network element detects the failure of the main path and switches to the backup path; at the same time, the main network element at the aggregation layer, the L2VPN The module detects that it cannot receive the pseudo-wire CCM message from the NE at the access layer, reports a LOC alarm, and triggers the convergence of the main NE to block the BFD message of the L3VPN network, so the NE at the core layer cannot receive the message from the main NE at the aggregation layer. BFD packets, the BFD state is down, and FRR protection is triggered to switch to the backup path, so that the L2VPN and L3VPN networks complete the switching linkage.

如附图10,在本实施例中,当③和②这个链路有一个或两个都恢复正常时图10以两个都恢复为例进行说明),接入层网元检测到主用路径告警消失,主用路径恢复可用,于是伪线双归恢复到主用路径;同时在汇聚层主用网元,L2VPN模块检测到L2VPN网络检测到能收到接入层伪线CCM报文,LOC告警消失,触发汇聚主用网元解除对L3VPN网络BFD报文的阻塞;于是核心网元检测能收到汇聚层主用网元BFD报文,BFD状态UP,主用路径可用,于是FRR保护恢复到主用路径,从而使L2VPN和L3VPN网络完成恢复联动。As shown in Figure 10, in this embodiment, when one or both of the links ③ and ② are restored to normal (Figure 10 uses both of them as an example to illustrate), the access layer network element detects the main path The alarm disappears and the active path becomes available again, so the pseudowire dual-homing returns to the active path; at the same time, the active network element at the aggregation layer, the L2VPN module detects that the L2VPN network can receive the pseudowire CCM message at the access layer, and the LOC When the alarm disappears, the aggregation master NE is triggered to unblock the BFD packets of the L3VPN network; then the core NE can detect and receive the BFD packets from the master NE of the aggregation layer, the BFD status is UP, and the master path is available, so the FRR protection is restored to the active path, so that the L2VPN and L3VPN networks complete the recovery linkage.

请参见图11所示,该图所示为L3VPN网络和L2VPN网络都出现链路故障,此时汇聚主用网元成为孤岛的情况。Please refer to Figure 11, which shows the situation that both the L3VPN network and the L2VPN network have link failures, and at this time, the aggregation master network element becomes an isolated island.

如图11所示,当①、②和③这三个链路发生故障,汇聚层主用网元L2VPN控制模块检测收不到接入网元的伪线CCM报文,上报LOC告警,L3VPN控制模块检测收不到核心网元的BFD报文,BFD状态down,在这种情况下,L2VPN控制模块和L3VPN控制模块均不对CCM报文和BFD报文进行阻塞。此时链路恢复会存在以下情况:As shown in Figure 11, when the three links ①, ②, and ③ fail, the L2VPN control module of the main network element at the aggregation layer detects that it cannot receive the pseudowire CCM message from the access network element, reports the LOC alarm, and the L3VPN control The module detects that the BFD message from the core network element cannot be received, and the BFD status is down. In this case, neither the L2VPN control module nor the L3VPN control module blocks the CCM message or the BFD message. At this time, the link recovery will have the following situations:

第一种情况:当①这个链路恢复正常时,网络状态就变成图9所示的状态,转至图9所示的情况进行处理。The first case: when ① the link returns to normal, the network state becomes the state shown in Figure 9, and then go to the situation shown in Figure 9 for processing.

第二种情况:当③这个链路恢复正常时,网络状态就变成图7所示的状态,转至图7所示的情况进行处理。The second case: when ③ the link returns to normal, the network state becomes the state shown in Figure 7, and the situation shown in Figure 7 is turned to for processing.

本发明解决了现有技术在汇聚层主用网元发生非节点故障的原因和L3VPN(或L2VPN)网络隔离时,会造成单向业务中断问题,通过L2VPN网络和L3VPN网络之间保护的联动,大大提高了网络的可靠性。The present invention solves the problem of one-way service interruption caused by the non-node failure of the main network element of the aggregation layer and the isolation of the L3VPN (or L2VPN) network in the prior art, through the linkage of protection between the L2VPN network and the L3VPN network, Greatly improved the reliability of the network.

以上内容是结合具体的实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。The above content is a further detailed description of the present invention in conjunction with specific embodiments, and it cannot be assumed that the specific implementation of the present invention is limited to these descriptions. For those of ordinary skill in the technical field of the present invention, without departing from the concept of the present invention, some simple deduction or replacement can be made, which should be regarded as belonging to the protection scope of the present invention.

Claims (13)

1.一种组网保护方法,所述组网包括第一网络层、第二网络层,分别位于第一网络层和第二网络层的第一网元、第二网元,以及位于第一网络层和第二网络层汇聚处的汇聚主用网元和汇集备用网元;第一网元与汇聚主用网元连接的链路为第一网络层的主用链路;第二网元与汇聚主用网元连接的链路为第二网络层的主用链路;第一网元与汇聚备用网元连接的链路为第一网络层的备用链路;第二网元与汇聚备用网元连接的链路为第二网络层的备用链路;汇聚主用网元和汇集备用网元之间的连接的链路为汇聚链路;其特征在于,所述方法包括:1. A network protection method, wherein the network comprises a first network layer and a second network layer, a first network element and a second network element located at the first network layer and the second network layer respectively, and a network element located at the first network layer The aggregation main network element and the aggregation standby network element at the convergence of the network layer and the second network layer; the link connecting the first network element and the aggregation main network element is the main link of the first network layer; the second network element The link connected to the main network element of the aggregation is the main link of the second network layer; the link connecting the first network element to the standby network element of the aggregation is the backup link of the first network layer; the second network element and the aggregation The link connected by the backup network element is a backup link of the second network layer; the link that aggregates the connection between the main network element and the backup network element is an aggregation link; it is characterized in that the method includes: 检测是否出现所述两网络层中的其中一个网络层的主用链路和所述汇聚链路同时故障,如是,触发主用链路未发生故障的另一网络层中的网元从该网络层中的主用链路切换到备用链路上。Detect whether the active link of one of the two network layers and the aggregated link fail at the same time, if so, trigger the network element in the other network layer where the active link has not failed to The primary link in the layer is switched to the standby link. 2.如权利要求1所述的组网保护方法,其特征在于,当所述发生故障的主用链路和/或汇聚链路故障消除时,触发主用链路未发生故障的另一网络层中的网元从该网络层中的备用链路切回到主用链路上。2. The networking protection method according to claim 1, characterized in that, when the failure of the failed active link and/or aggregated link is eliminated, trigger another network where the active link does not fail The network elements in the layer switch back to the active link from the standby link in the network layer. 3.如权利要求2所述的组网保护方法,其特征在于,检测是否出现所述两网络层中的其中一个网络层的主用链路和所述汇聚链路同时故障包括:3. The networking protection method according to claim 2, wherein detecting whether the active link of one of the network layers in the two network layers and the simultaneous failure of the aggregation link occurs includes: 检测是否只能正常收到所述两个网络层中的其中一个网络层中的网元发送的状态检测报文;如是,则另一网络层中的主用链路以及所述汇聚链路同时发生故障。Detect whether the status detection message sent by the network element in one of the network layers of the two network layers can only be received normally; if so, the active link in the other network layer and the aggregation link simultaneously malfunction. 4.如权利要求3所述的组网保护方法,其特征在于,所述触发主用链路未发生故障的另一网络层中的网元从该网络层中的主用链路切换到备用链路上包括:4. The networking protection method according to claim 3, characterized in that, the network element in another network layer in which the triggering active link has not failed is switched from the active link in the network layer to the backup Links include: 触发所述汇聚主用网元停止向该网络层中的网元正常反馈状态检测报文,使该网元判断主用链路发生故障而切换到备用链路上;Triggering the aggregation active network element to stop feeding back the status detection message to the network element in the network layer normally, so that the network element judges that the active link fails and switches to the backup link; 或直接向该网络层中的网元发送切换到备用链路的指令,使该网元从该网络层中的主用链路切换到备用链路上。Or directly send an instruction to switch to the standby link to the network element in the network layer, so that the network element switches from the active link in the network layer to the standby link. 5.如权利要求4所述的组网保护方法,其特征在于,所述触发主用链路未发生故障的另一网络层中的网元从该网络层中备用链路切回到主用链路上包括:5. The networking protection method according to claim 4, characterized in that, the network element in another network layer that does not fail to trigger the active link switches back to the active link from the standby link in the network layer. Links include: 触发所述汇聚主用网元重新向该网络层中的网元正常反馈状态检测报文,使该网元判断主用链路故障消除而切换到备用链路上;Triggering the aggregation active network element to feed back a normal state detection message to the network element in the network layer again, so that the network element judges that the failure of the active link is eliminated and switches to the backup link; 或直接向该网络层中的网元发送切换到主用链路的指令,使该网元从该网络层中的备用链路切换到主用链路上。Or directly send an instruction to switch to the active link to the network element in the network layer, so that the network element switches from the backup link in the network layer to the active link. 6.如权利要求1-5任一项所述的组网保护方法,其特征在于,所述第一网络层为三层虚拟专用网络层,所述第一网元为核心层网元;所述第二网络层为二层虚拟专用网络层,所述第二网元为接入层网元。6. The networking protection method according to any one of claims 1-5, wherein the first network layer is a three-layer virtual private network layer, and the first network element is a core layer network element; The second network layer is a layer-2 virtual private network layer, and the second network element is an access layer network element. 7.一种组网保护装置,所述组网包括第一网络层、第二网络层,分别位于第一网络层和第二网络层的第一网元、第二网元,以及位于第一网络层和第二网络层汇聚处的汇聚主用网元和汇集备用网元;第一网元与汇聚主用网元连接的链路为第一网络层的主用链路;第二网元与汇聚主用网元连接的链路为第二网络层的主用链路;第一网元与汇聚备用网元连接的链路为第一网络层的备用链路;第二网元与汇聚备用网元连接的链路为第二网络层的备用链路;汇聚主用网元和汇集备用网元之间的连接的链路为汇聚链路;其特征在于,所述装置包括故障检测模块以及第一链路切换模块:7. A network protection device, the network includes a first network layer, a second network layer, a first network element and a second network element located at the first network layer and the second network layer respectively, and a network element located at the first network layer The aggregation main network element and the aggregation standby network element at the convergence of the network layer and the second network layer; the link connecting the first network element and the aggregation main network element is the main link of the first network layer; the second network element The link connected to the main network element of the aggregation is the main link of the second network layer; the link connecting the first network element to the standby network element of the aggregation is the backup link of the first network layer; the second network element and the aggregation The link connected by the backup network element is a backup link of the second network layer; the link that aggregates the connection between the main network element and the backup network element is an aggregation link; it is characterized in that the device includes a fault detection module And the first link switching module: 所述故障检测模块用于检测是否出现所述两网络层中的其中一个网络层的主用链路和所述汇聚链路同时故障,如是,通知所述第一链路切换模块;The failure detection module is used to detect whether the active link of one of the two network layers and the aggregation link fail at the same time, and if so, notify the first link switching module; 所述第一链路切换模块用于根据所述通知触发主用链路未发生故障的另一网络层中的网元从该网络层中的主用链路切换到备用链路上。The first link switching module is configured to trigger a network element in another network layer whose active link has not failed to switch from the active link in the network layer to the standby link according to the notification. 8.如权利要求7所述的组网保护装置,其特征在于,还包括第二链路切换模块,用于在所述发生故障的主用链路和/或汇聚链路故障消除时,触发主用链路未发生故障的另一网络层中的网元从该网络层中的备用链路切回到主用链路上。8. The networking protection device according to claim 7, further comprising a second link switching module, configured to trigger A network element in another network layer where the active link has not failed is switched back to the active link from the standby link in the network layer. 9.如权利要求8所述的组网保护装置,其特征在于,所述故障检测模块包括报文检测子模块,用于检测是否只能正常收到所述两个网络层中的其中一个网络层中的网元发送的状态检测报文;如是,则判定另一网络层中的主用链路以及所述汇聚链路同时发生故障。9. The networking protection device according to claim 8, wherein the fault detection module includes a message detection sub-module for detecting whether only one of the two network layers can normally receive The status detection message sent by the network element in the network layer; if so, it is determined that the active link in the other network layer and the aggregated link are faulty at the same time. 10.如权利要求9所述的组网保护装置,其特征在于,所述第一链路切换模块包括第一触发子模块,用于触发所述汇聚主用网元停止向该网络层中的网元正常反馈状态检测报文,使该网元判断主用链路发生故障而切换到备用链路上;10. The network protection device according to claim 9, wherein the first link switching module includes a first triggering sub-module, configured to trigger the aggregation main network element to stop sending to the network layer The network element normally feeds back the state detection message, so that the network element judges that the active link fails and switches to the standby link; 或包括第一指令下发子模块,用于直接向该网络层中的网元发送切换到备用链路的指令,使该网元从该网络层中的主用链路切换到备用链路上。Or include a first instruction sending submodule, which is used to directly send an instruction to switch to a backup link to a network element in the network layer, so that the network element is switched from the active link in the network layer to the backup link . 11.如权利要求10所述的组网保护装置,其特征在于,所述第二链路切换模块包括第二触发子模块,用于触发所述汇聚主用网元重新向该网络层中的网元正常反馈状态检测报文,使该网元判断主用链路故障消除而切换到备用链路上;11. The networking protection device according to claim 10, wherein the second link switching module includes a second triggering sub-module, configured to trigger the convergence master network element to reconnect to the network element in the network layer. The network element normally feeds back the status detection message, so that the network element judges that the failure of the active link is eliminated and switches to the standby link; 或包括第二指令下发子模块,用于直接向该网络层中的网元发送切换到主用链路的指令,使该网元从该网络层中的备用链路切换到主用链路上。Or include a second instruction issuing submodule, which is used to directly send an instruction to switch to the active link to the network element in the network layer, so that the network element switches from the backup link in the network layer to the active link superior. 12.如权利要求7-11任一项所述的组网保护装置,其特征在于,所述第一网络层为三层虚拟专用网络层,所述第一网元为核心层网元;所述第二网络层为二层虚拟专用网络层,所述第二网元为接入层网元。12. The networking protection device according to any one of claims 7-11, wherein the first network layer is a three-layer virtual private network layer, and the first network element is a core layer network element; The second network layer is a layer-2 virtual private network layer, and the second network element is an access layer network element. 13.一种组网中的汇聚主用网元,所述组网还包括第一网络层、第二网络层、汇聚备用网元,分别位于第一网络层和第二网络层的第一网元、第二网元,汇聚主用网元和汇集备用网元位于第一网络层和第二网络层汇聚处;第一网元与汇聚主用网元连接的链路为第一网络层的主用链路;第二网元与汇聚主用网元连接的链路为第二网络层的主用链路;第一网元与汇聚备用网元连接的链路为第一网络层的备用链路;第二网元与汇聚备用网元连接的链路为第二网络层的备用链路;汇聚主用网元和汇集备用网元之间的连接的链路为汇聚链路;其特征在于,所述汇聚主用网元包括存储器和处理器;所述存储器用于存储指令;所述处理器用于调用所述指令执行以下步骤:13. A converging main network element in a networking, the networking also includes a first network layer, a second network layer, and a converging standby network element, respectively located in the first network layer of the first network layer and the second network layer network element, the second network element, the aggregation main network element and the aggregation standby network element are located at the convergence of the first network layer and the second network layer; the link connecting the first network element and the aggregation main network element is the first network layer The active link; the link connecting the second NE and the aggregated active NE is the active link of the second network layer; the link connecting the first NE and the aggregated standby NE is the backup of the first network layer link; the link connecting the second network element and the aggregation standby network element is the backup link of the second network layer; the link connecting the aggregation main network element and the aggregation standby network element is the aggregation link; its characteristics In that, the convergence master network element includes a memory and a processor; the memory is used to store instructions; and the processor is used to invoke the instructions to perform the following steps: 检测是否出现所述两网络层中的其中一个网络层的主用链路和所述汇聚链路同时故障,如是,触发主用链路未发生故障的另一网络层中的网元从该网络层中的主用链路切换到备用链路上。Detect whether the active link of one of the two network layers and the aggregated link fail at the same time, if so, trigger the network element in the other network layer where the active link has not failed to The active link in the layer is switched to the standby link.
CN201410289281.7A 2014-06-24 2014-06-24 Network protection method and device, and primary convergence network element in network Withdrawn CN105306330A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410289281.7A CN105306330A (en) 2014-06-24 2014-06-24 Network protection method and device, and primary convergence network element in network
PCT/CN2014/089502 WO2015196676A1 (en) 2014-06-24 2014-10-24 Networking protection method and device, and main convergence network element in networking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410289281.7A CN105306330A (en) 2014-06-24 2014-06-24 Network protection method and device, and primary convergence network element in network

Publications (1)

Publication Number Publication Date
CN105306330A true CN105306330A (en) 2016-02-03

Family

ID=54936621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410289281.7A Withdrawn CN105306330A (en) 2014-06-24 2014-06-24 Network protection method and device, and primary convergence network element in network

Country Status (2)

Country Link
CN (1) CN105306330A (en)
WO (1) WO2015196676A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107332683A (en) * 2016-04-29 2017-11-07 中国移动通信集团内蒙古有限公司 A kind of link switch-over method and system
CN108023800A (en) * 2016-11-03 2018-05-11 中国移动通信集团广东有限公司 A kind of guard method of LTE bearer networks and device
WO2019057211A1 (en) * 2017-09-22 2019-03-28 中兴通讯股份有限公司 Handling method, system, device and storage medium for signal degradation failure
CN110572290A (en) * 2019-09-10 2019-12-13 迈普通信技术股份有限公司 Master device determination method, master device determination device, electronic device, storage medium, and network system
CN112787917A (en) * 2019-11-11 2021-05-11 中兴通讯股份有限公司 Protection method, end node, protection group network and storage medium for flexible Ethernet
CN113542932A (en) * 2020-04-15 2021-10-22 中国联合网络通信集团有限公司 Active-standby switching method, system, device and storage medium for network
CN113794632A (en) * 2021-08-31 2021-12-14 新华三信息安全技术有限公司 Network protection method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225511B (en) * 2022-07-12 2024-05-14 浪潮通信信息系统有限公司 IPRAN topology networking ring and chain series connection method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2436738A (en) * 2006-03-31 2007-10-03 Agilent Technologies Inc Creating a sub-channel in a main channel supported between two nodes in a network
CN101931520A (en) * 2010-09-02 2010-12-29 中兴通讯股份有限公司 A switching method and system
CN102377607A (en) * 2010-08-06 2012-03-14 华为技术有限公司 Data transmission method and data transmission device for special two-layer virtual network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2436738A (en) * 2006-03-31 2007-10-03 Agilent Technologies Inc Creating a sub-channel in a main channel supported between two nodes in a network
CN102377607A (en) * 2010-08-06 2012-03-14 华为技术有限公司 Data transmission method and data transmission device for special two-layer virtual network
CN101931520A (en) * 2010-09-02 2010-12-29 中兴通讯股份有限公司 A switching method and system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107332683A (en) * 2016-04-29 2017-11-07 中国移动通信集团内蒙古有限公司 A kind of link switch-over method and system
CN108023800A (en) * 2016-11-03 2018-05-11 中国移动通信集团广东有限公司 A kind of guard method of LTE bearer networks and device
WO2019057211A1 (en) * 2017-09-22 2019-03-28 中兴通讯股份有限公司 Handling method, system, device and storage medium for signal degradation failure
CN109547279A (en) * 2017-09-22 2019-03-29 中兴通讯股份有限公司 A kind of processing method and system of Signal Degrade failure
CN109547279B (en) * 2017-09-22 2023-04-07 中兴通讯股份有限公司 Method and system for processing signal degradation fault
CN110572290A (en) * 2019-09-10 2019-12-13 迈普通信技术股份有限公司 Master device determination method, master device determination device, electronic device, storage medium, and network system
CN110572290B (en) * 2019-09-10 2022-02-22 迈普通信技术股份有限公司 Master device determination method, master device determination device, electronic device, storage medium, and network system
CN112787917A (en) * 2019-11-11 2021-05-11 中兴通讯股份有限公司 Protection method, end node, protection group network and storage medium for flexible Ethernet
CN113542932A (en) * 2020-04-15 2021-10-22 中国联合网络通信集团有限公司 Active-standby switching method, system, device and storage medium for network
CN113542932B (en) * 2020-04-15 2023-03-21 中国联合网络通信集团有限公司 Main/standby switching method, system, equipment and storage medium of network
CN113794632A (en) * 2021-08-31 2021-12-14 新华三信息安全技术有限公司 Network protection method and device

Also Published As

Publication number Publication date
WO2015196676A1 (en) 2015-12-30

Similar Documents

Publication Publication Date Title
CN105306330A (en) Network protection method and device, and primary convergence network element in network
US8644134B2 (en) Dual-homing for ethernet line services
CN101702658B (en) Implement method of ring network protection and system thereof
CN102377607B (en) Data transmission method and data transmission device for special two-layer virtual network
US20120170449A1 (en) Technique for protecting communication traffic in a connection having redundancy
WO2009070943A1 (en) Fault processing method, system and exchanging device based on industry ethernet network
WO2011120301A1 (en) Method, apparatus and system for dual-homing protection switching
CN103442035B (en) A kind of two net hot backup redundancy implementation methods of air traffic control automation system
CN111817881B (en) Fault processing method and related device
CN101800662A (en) Double-returning protection switching method based on VPLS and system
CN102142948A (en) Data forwarding method, device and system
WO2011120297A1 (en) Protection method, system, provider edge and customer edge for virtual private lan services
WO2011095101A1 (en) Linear 1: n protection method, device and system for packet transport network
US20110029806A1 (en) METHOD, DEVICE AND COMMUNICATION SYSTEM TO AVOID LOOPS IN AN ETHERNET RING SYSTEM WITH AN UNDERLAYING 802.3ad NETWORK
CN102891769A (en) Link fault informing method and apparatus
US8705346B2 (en) Method and system for joint detection of Ethernet part segment protection
CN101714939A (en) Fault treatment method for Ethernet ring network host node and corresponding Ethernet ring network
CN104506546A (en) Bidirectional forwarding detection method and device of aggregation link
US8681604B2 (en) Address refresh method and system
CN102143047B (en) Routing switching triggering method and service provider-end provider edge equipment
WO2012065409A1 (en) Method and apparatus for packet transport network protection
CN103916270B (en) The system for realizing Link State Pass Through function based on PTN, method and device
CN104579953B (en) A kind of method, Virtual Router Redundancy Protocol backup group and network for issuing routing
US20120297239A1 (en) Local Protection Method of Ethernet Tunnel and Sharing Node of Work Sections of Protection Domain
CN1968159B (en) Network fault detection linkage method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20160203