CN101924642B - Method and device for protecting Ethernet with shared link - Google Patents

Method and device for protecting Ethernet with shared link Download PDF

Info

Publication number
CN101924642B
CN101924642B CN200910087036.7A CN200910087036A CN101924642B CN 101924642 B CN101924642 B CN 101924642B CN 200910087036 A CN200910087036 A CN 200910087036A CN 101924642 B CN101924642 B CN 101924642B
Authority
CN
China
Prior art keywords
segment
backup
deb
ccm
path
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.)
Expired - Fee Related
Application number
CN200910087036.7A
Other languages
Chinese (zh)
Other versions
CN101924642A (en
Inventor
王斌
敖婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Binzhou Dayou New Energy Development Co ltd
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 CN200910087036.7A priority Critical patent/CN101924642B/en
Priority to PCT/CN2009/074083 priority patent/WO2010145102A1/en
Publication of CN101924642A publication Critical patent/CN101924642A/en
Application granted granted Critical
Publication of CN101924642B publication Critical patent/CN101924642B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone

Landscapes

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

Abstract

本发明公开了一种具有共享链路的以太网保护方法,包括:具有共享链路的以太网的段保护域中的域终端桥(DEB)检测在主路径上的连通性检查消息(CCM);如果在预定时间内,DEB没有收到主互连桥(PIB)和替代互连桥(AIB)沿主路径发送的CCM,则在确定段保护域中的备份路径可用时,将主路径上的数据流倒换到备份路径上。本发明还提供了一种具有共享链路的以太网保护装置,解决了现有技术在对具有共享链路的以太网进行保护时,容易出现非必要的倒换,而导致网络流量的震荡和通信的暂时中断的问题。

The invention discloses an Ethernet protection method with a shared link, comprising: a domain terminal bridge (DEB) in a segment protection domain of an Ethernet with a shared link detects a connectivity check message (CCM) on a main path ; If the DEB does not receive the CCM sent by the primary interconnection bridge (PIB) and the alternative interconnection bridge (AIB) along the primary path within the predetermined time, when it is determined that the backup path in the segment protection domain is available, the primary path will be The data flow is switched to the backup path. The present invention also provides an Ethernet protection device with a shared link, which solves the problem of unnecessary switching that is prone to occur in the prior art when protecting an Ethernet with a shared link, which causes network traffic oscillation and communication problem of temporary interruption.

Description

一种具有共享链路的以太网保护方法和装置A kind of Ethernet protection method and device with shared link

技术领域 technical field

本发明涉及以太网的链路保护技术,尤其涉及一种具有共享链路的以太网保护方法和装置。The invention relates to the link protection technology of the Ethernet, in particular to an Ethernet protection method and device with a shared link.

背景技术 Background technique

随着电信级以太网(CE,Carrier Ethernet)概念的提出,满足电信网络需求,且面向连接的以太网技术-运营商骨干传送(PBT,Provider BackboneTransport)技术也随之产生。随后,国内外均有运营商采用PBT技术组网,为PBT技术在城域网内的发展提供了很好的开端。With the introduction of the concept of Carrier Ethernet (CE, Carrier Ethernet) to meet the needs of telecom networks, and the connection-oriented Ethernet technology-Provider Backbone Transport (PBT, Provider BackboneTransport) technology has also emerged. Subsequently, operators at home and abroad adopted PBT technology to form a network, which provided a good start for the development of PBT technology in the metropolitan area network.

PBT技术是对电气和电子工程师协会(IEEE,Institute of Electrical andElectronics Engineers)802.1ah定义的运营商骨干桥接(PBB,Provider BackboneBridge)技术的改进,IEEE将PBT技术也称为支持流量工程的运营商骨干桥接技术(PBB-TE,Provider Backbone Bridge Traffic Engineering)。PBB-TE技术中规定,CE的源设备在报文的头部插入骨干网目的媒体接入控制(MAC,MediaAccess Control)地址(B-DA,Backbone Destination MAC Address)、骨干网的源MAC地址(B-SA,Backbone Source MAC Address)、骨干网虚拟局域网标识(B-VID,Backbone Virtual Local Area Network Identity)以及服务实例标记(I-TAG,Service Instance TAG)。CE的源设备和目的设备之间的转发路径是预先静态配置的,中间的CE设备可以基于转发表中的B-DA和B-VID对数据帧进行转发。PBT technology is an improvement to the Provider Backbone Bridge (PBB, Provider Backbone Bridge) technology defined by the Institute of Electrical and Electronics Engineers (IEEE, Institute of Electrical and Electronics Engineers) 802.1ah. IEEE also refers to PBT technology as the carrier backbone that supports traffic engineering. Bridge technology (PBB-TE, Provider Backbone Bridge Traffic Engineering). According to the PBB-TE technology, the CE source device inserts the backbone network destination MAC (MediaAccess Control) address (B-DA, Backbone Destination MAC Address) and the backbone network source MAC address ( B-SA, Backbone Source MAC Address), Backbone Virtual Local Area Network Identity (B-VID, Backbone Virtual Local Area Network Identity) and Service Instance Tag (I-TAG, Service Instance TAG). The forwarding path between the CE source device and the destination device is pre-configured statically, and the intermediate CE device can forward the data frame based on the B-DA and B-VID in the forwarding table.

为了使以太网达到电信级别标准,PBB-TE通常采用保护技术。如图1所示,为现有技术中以太网隧道端到端线性保护的示意图,其中,某流量工程服务实例的端到端主隧道为TN1:PE1←→P1←→P2←→P3←→PE2,PE1和PE2表示该隧道实例的端,TN2:PE1←→P5←→P6←→PE2为该流量工程服务实例的端到端备份隧道。为了区别上述TN1和TN2,在预先配置时为TN1指定B-VID为B-VLAN1,为TN2指定B-VID为B-VLAN2。PBB-TE采用IEEE 802.1ag中的连接性故障管理(CFM,Connectivity Fault Management)机制来持续地监视网络中的隧道状态,当TN1发生故障时,可以将数据流倒换到预先建立的TN2上。In order to make Ethernet reach the standard of telecom level, PBB-TE usually adopts protection technology. As shown in Figure 1, it is a schematic diagram of end-to-end linear protection of Ethernet tunnels in the prior art, where the end-to-end main tunnel of a traffic engineering service instance is TN1: PE1←→P1←→P2←→P3←→ PE2, PE1 and PE2 represent the ends of the tunnel instance, and TN2: PE1←→P5←→P6←→PE2 is the end-to-end backup tunnel of the traffic engineering service instance. In order to distinguish the above TN1 and TN2, the B-VID is specified as B-VLAN1 for TN1 during pre-configuration, and the B-VID is specified as B-VLAN2 for TN2. PBB-TE uses the connectivity fault management (CFM, Connectivity Fault Management) mechanism in IEEE 802.1ag to continuously monitor the tunnel status in the network. When TN1 fails, the data flow can be switched to the pre-established TN2.

现有技术中,通过在隧道中发送连通性检查消息(CCM,Continuity CheckMessage)来检测隧道的连通性。例如:在上述图1中,PE1与PE2之间分别沿TN1和TN2互相发送CCM,且TN1和TN2的CCM分别封装B-VLAN1和B-VLAN2。In the prior art, the connectivity of the tunnel is detected by sending a continuity check message (CCM, Continuity CheckMessage) in the tunnel. For example: in the above-mentioned Figure 1, PE1 and PE2 send CCMs to each other along TN1 and TN2 respectively, and the CCMs of TN1 and TN2 encapsulate B-VLAN1 and B-VLAN2 respectively.

上述方法实现了隧道的全路径保护,但是保护倒换的时间较长,而且牵涉的节点较多。因此,IEEE提出了PBB-TE段保护方案,如图2所示,P1-P2-P3是承载了端到端的主隧道TN1(PE1←→P1←→P2←→P3←→PE2)的部分路径的物理链路,也称为段;可以设置备份的物理链路P1-P4-P3对P1-P2-P3进行保护。这种段保护方案与前述的端到端的保护方案,其区别在于:段保护方案是基于物理链路的保护,而端到端的保护方案是基于隧道的保护。The above method realizes the full path protection of the tunnel, but the protection switching takes a long time and involves many nodes. Therefore, IEEE proposed a PBB-TE section protection scheme, as shown in Figure 2, P1-P2-P3 is a part of the path that carries the end-to-end main tunnel TN1 (PE1←→P1←→P2←→P3←→PE2) A physical link, also called a segment; a backup physical link P1-P4-P3 can be set to protect P1-P2-P3. This segment protection scheme is different from the foregoing end-to-end protection scheme in that: the segment protection scheme is based on physical link protection, while the end-to-end protection scheme is based on tunnel protection.

为了实现PBB-TE段保护的功能,CCM报文需要同时在段保护域的主段和备份段上验证它们的完整性。如图2所示,P1和P3之间分别沿主段P1-P2-P3和备份段P1-P4-P3互相发送CCM,主段和备份段的CCM分别封装相应的B-VLAN。这种方法对隧道的局部路径实现了良好的保护。In order to implement the PBB-TE segment protection function, CCM messages need to verify their integrity on the primary segment and the backup segment of the segment protection domain at the same time. As shown in Figure 2, P1 and P3 send CCMs to each other along the primary segment P1-P2-P3 and the backup segment P1-P4-P3 respectively, and the CCMs of the primary segment and the backup segment respectively encapsulate corresponding B-VLANs. This method achieves good protection for the local path of the tunnel.

PBB-TE的段保护域之间有共享链路的情况是当前段保护中一个研究热点,如图3所示,图中有两段以太网交换路径(ESP,Ethernet Switch Path),且隧道ESP1<X,Y,1>和ESP2<Y,X,2>的段保护域1和段保护域2有共享路径B-M-E。在段保护域1中,ESP1和ESP2的主段是A-B,备份段是A-F-E-M-B;在段保护域2中,ESP1和ESP2的主段是C-B,备份段是C-D-E-M-B。The fact that there are shared links between PBB-TE segment protection domains is a research hotspot in the current segment protection, as shown in Figure 3, there are two Ethernet switch paths (ESP, Ethernet Switch Path) in the figure, and the tunnel ESP1 The segment protection domain 1 and segment protection domain 2 of <X, Y, 1> and ESP2 <Y, X, 2> have a shared path B-M-E. In segment protection domain 1, the primary segment of ESP1 and ESP2 is A-B, and the backup segment is A-F-E-M-B; in segment protection domain 2, the primary segment of ESP1 and ESP2 is C-B, and the backup segment is C-D-E-M-B.

为了实现图3所示具有共享链路的拓扑结构的段保护功能,现有技术提出的一种解决方案如图4和图5所示,为了对ESP1和ESP2进行段保护,在共享路径B-M-E上产生主互连桥(PIB,Primary I nterconnecting Br idge)和替代互连桥(AIB,Alternate Interconnecting Bridge),节点B是PIB,节点E是AIB。另外,在段保护域1中节点A是域终端桥(DEB,Domain Endpoint Bridge),在段保护域2中节点C是DEB。在段保护域1中,节点A(DEB)和节点B(PIB)之间分别在主段A-B和备份段A-F-E-M-B上发送CCM,以检测主段和备份段是否完好;节点A(DEB)和节点E(AIB)之间分别在替代主段A-B-M-E和替代备份段A-F-E上发送CCM,以检测替代主段和替代备份段是否完好。同样的,在段保护域2中,节点C(DEB)和节点B(PIB)之间分别在主段C-B和备份段C-D-E-M-B上发送CCM,以检测主段和备份段是否完好;节点C(DEB)和节点E(AIB)之间分别在替代主段C-B-M-E和替代备份段C-D-E上发送CCM,以检测替代主段和替代备份段是否完好。In order to realize the segment protection function with the shared link topology shown in Figure 3, a solution proposed by the prior art is shown in Figure 4 and Figure 5. In order to perform segment protection on ESP1 and ESP2, on the shared path B-M-E A primary interconnecting bridge (PIB, Primary Interconnecting Bridge) and an alternate interconnecting bridge (AIB, Alternate Interconnecting Bridge) are generated, node B is the PIB, and node E is the AIB. In addition, node A in segment protection domain 1 is a domain end point bridge (DEB, Domain Endpoint Bridge), and node C in segment protection domain 2 is a DEB. In segment protection domain 1, node A (DEB) and node B (PIB) send CCM on primary segment A-B and backup segment A-F-E-M-B respectively to detect whether the primary segment and backup segment are intact; node A (DEB) and node E(AIB) respectively send CCMs on the substitute primary segment A-B-M-E and the substitute backup segment A-F-E to detect whether the substitute primary segment and the substitute backup segment are intact. Similarly, in segment protection domain 2, node C (DEB) and node B (PIB) send CCMs on the primary segment C-B and backup segment C-D-E-M-B respectively to detect whether the primary segment and the backup segment are intact; node C (DEB ) and node E (AIB) respectively send CCMs on the substitute primary segment C-B-M-E and the substitute backup segment C-D-E to detect whether the substitute primary segment and the substitute backup segment are intact.

DEB仅仅在其所属的段保护域内检测主段和备份段,而对替代主段和替代备份段不负责检测;PIB同时在其所属的两个段保护域内检测主段和备份段;AIB同时在其所属的两个段保护域内检测替代主段和替代备份段。DEB only detects the primary segment and the backup segment in the segment protection domain to which it belongs, but is not responsible for detecting the replacement primary segment and backup segment; PIB detects the primary segment and backup segment in the two segment protection domains to which it belongs; The alternative primary segment and the alternative backup segment are detected within the two segment protection domains to which it belongs.

如图6所示,当链路<A,B>发生故障时,节点A在一定的时间内收不到节点B在主段A-B上向其发送的CCM,节点A会将在主段A-B上传输的所有隧道(如ESP1)倒换到备份段A-F-E-M-B上。同样的,节点B在一定的时间内收不到节点A在主段A-B上向其发送的CCM,节点B会将在主段A-B上传输的所有隧道(如ESP2)倒换到备份段A-F-E-M-B上。随后,ESP1和ESP2在具有共享链路的两个段保护域中的最新路径变为:A-F-E-M-B-C。As shown in Figure 6, when the link <A, B> fails, node A cannot receive the CCM sent by node B on the main segment A-B within a certain period of time, and node A will send the CCM on the main segment A-B. All transmitted tunnels (such as ESP1) are switched to the backup segment A-F-E-M-B. Similarly, if Node B cannot receive the CCM sent by Node A on the primary segment A-B within a certain period of time, Node B will switch all tunnels (such as ESP2) transmitted on the primary segment A-B to the backup segment A-F-E-M-B. Subsequently, the latest paths of ESP1 and ESP2 in the two segment protection domains with shared links become: A-F-E-M-B-C.

上述DEB、PIB和AIB的主机制虽然能够很好地解决链路故障的问题,但是在某些情况下会发生不必要的倒换,导致网络流量的震荡和通信的暂时中断。例如:如图7所示,段保护域1的链路<A,B>和段保护域2的链路<B,C>都发生了故障,节点A在一定的时间内收不到节点B在主段上向其发送的CCM,节点A会将在主段A-B上传输的所有隧道(如ESP1)倒换到备份段上;同样的,节点B在一定的时间内也收不到节点A在主段上向其发送的CCM,节点B会将在主段A-B上传输的所有隧道(如ESP2)倒换到备份段上。在段保护域1内,节点E在一定的时间内收不到节点A在替代主段上向其发送的CCM,节点E会将段保护域1的替代主段上的所有隧道(如ESP2)倒换到替代备份段上;同样的,在段保护域2内,节点E在一定的时间内收不到节点B在替代主段上向其发送的CCM,节点E会将段保护域2的替代主段上的所有隧道(如ESP1)倒换到替代备份段上。ESP1和ESP2在段保护域1和段保护域2中的路径变为:A-F-E-D-C。Although the above-mentioned main mechanisms of DEB, PIB and AIB can well solve the problem of link failure, in some cases unnecessary switching will occur, resulting in network traffic oscillation and temporary interruption of communication. For example: as shown in Figure 7, both the link <A, B> of segment protection domain 1 and the link <B, C> of segment protection domain 2 have failed, and node A cannot receive node B within a certain period of time. For the CCM sent to it on the primary segment, node A will switch all the tunnels (such as ESP1) transmitted on the primary segment A-B to the backup segment; similarly, node B will not receive the CCM from node A within a certain period of time. For the CCM sent to it on the primary segment, Node B will switch all the tunnels (such as ESP2) transmitted on the primary segment A-B to the backup segment. In segment protection domain 1, node E cannot receive the CCM sent by node A on the alternative primary segment within a certain period of time, and node E will send all tunnels on the alternative primary segment of segment protection domain 1 (such as ESP2) Switch to the alternative backup segment; similarly, in the segment protection domain 2, node E cannot receive the CCM sent by node B on the alternative primary segment within a certain period of time, and node E will replace the segment protection domain 2 All tunnels (such as ESP1) on the primary segment are switched to the alternate backup segment. The paths of ESP1 and ESP2 in segment protection domain 1 and segment protection domain 2 become: A-F-E-D-C.

如果链路<A,B>和<B,C>的故障都恢复且段保护域1和段保护域2都在非反转模式(故障恢复后链路不由备份段倒换回主段)下工作,那么ESP1和ESP2在段保护域1和段保护域2中的路径继续保持为:A-F-E-D-C。If the faults of links <A, B> and <B, C> are recovered and both segment protection domain 1 and segment protection domain 2 are in the non-reversal mode (the link will not be switched from the backup segment to the primary segment after the fault is restored) work, then the paths of ESP1 and ESP2 in segment protection domain 1 and segment protection domain 2 continue to be: A-F-E-D-C.

如果随后共享链路上的链路发生了故障,如图8所示,链路<B,M>发生故障,节点A在一定的时间内收不到节点B在备份段A-F-E-M-B上向其发送的CCM,节点A会将备份段上传输的所有隧道(ESP1)倒换到主段A-B上;同样的,节点C在一定的时间内收不到节点B在备份段B-M-E-D-C上向其发送的CCM,节点C会将备份段B-M-E-D-C上传输的所有隧道(如ESP2)倒换到主段C-B上。ESP1和ESP2在段保护域1和段保护域2中的路径变为:A-B-C,然而,在路径保持为图7所示的A-F-E-D-C的情况下,当共享链路发生故障时,对A-F-E-D-C路径上的数据流传输不会造成任何影响,也就没有必要将路径倒换到图8所示的路径A-B-C上。If the link on the shared link fails, as shown in Figure 8, the link <B, M> fails, and node A cannot receive the message sent by node B on the backup segment A-F-E-M-B within a certain period of time. CCM, node A will switch all tunnels (ESP1) transmitted on the backup segment to the main segment A-B; similarly, node C cannot receive the CCM sent by node B on the backup segment B-M-E-D-C within a certain period of time, node C C will switch all the tunnels (such as ESP2) transmitted on the backup segment B-M-E-D-C to the primary segment C-B. The paths of ESP1 and ESP2 in Segment Protection Domain 1 and Segment Protection Domain 2 become: A-B-C, however, in the case that the path remains A-F-E-D-C as shown in Figure 7, when the shared link fails, the A-F-E-D-C path The data stream transmission will not cause any impact, and there is no need to switch the path to the path A-B-C shown in FIG. 8 .

由此可以看出,在现有技术在解决共享链路的故障时,出现一次非必要的倒换(图8所示的倒换),从而容易导致网络流量的震荡和通信的暂时中断。It can be seen from this that, in the prior art, when solving the failure of the shared link, an unnecessary switching (switching shown in FIG. 8 ) occurs, which easily leads to oscillation of network traffic and temporary interruption of communication.

发明内容 Contents of the invention

有鉴于此,本发明的主要目的在于提供一种具有共享链路的以太网保护方法和装置,以解决现有技术容易导致网络流量的震荡和通信的暂时中断的问题。In view of this, the main purpose of the present invention is to provide an Ethernet protection method and device with a shared link, so as to solve the problems in the prior art that easily lead to oscillation of network traffic and temporary interruption of communication.

为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:

本发明提供了一种具有共享链路的以太网保护方法,该方法包括:The invention provides an Ethernet protection method with a shared link, the method comprising:

具有共享链路的以太网的段保护域中的域终端桥DEB检测在主路径上的连通性检查消息CCM;The domain termination bridge DEB in the segment protection domain of the Ethernet with shared links detects the connectivity check message CCM on the main path;

如果在预定时间内,所述DEB没有收到主互连桥PIB和替代互连桥AIB沿所述主路径发送的CCM,则在确定所述段保护域中的备份路径可用时,将主路径上的数据流倒换到备份路径上。If the DEB does not receive the CCM sent by the primary interconnection bridge PIB and the alternative interconnection bridge AIB along the primary path within a predetermined time, when it is determined that the backup path in the segment protection domain is available, the primary path The data flow on the switch is switched to the backup path.

所述主路径包括主段和替代主段,said primary path includes a primary segment and a substitute primary segment,

所述DEB检测在主路径上的CCM,具体为:所述DEB同时检测PIB沿主段发送的CCM,以及AIB沿替代主段发送的CCM。The DEB detects the CCM on the main path, specifically: the DEB simultaneously detects the CCM sent by the PIB along the main section, and the CCM sent by the AIB along the substitute main section.

所述备份路径包括备份段和替代备份段,The backup path includes a backup segment and a replacement backup segment,

所述在确定备份路径可用时,将主路径上的数据流倒换到备份路径上,具体为:所述DEB在确定所述备份段或替代备份段无故障时,将主路径上的数据流倒换到备份段或替代备份段上。When it is determined that the backup path is available, switching the data flow on the primary path to the backup path is specifically: when the DEB determines that the backup segment or the alternate backup segment is fault-free, switching the data flow on the primary path to a backup segment or an alternate backup segment.

在数据流倒换到备份路径上之后,该方法进一步包括:所述DEB检测在备份路径上的CCM,如果在预定时间内,所述DEB没有收到PIB和AIB沿所述备份路径发送的CCM,则在确定所述主路径的主段或替代主段无故障时,将备份路径上的数据流倒换到所述主段或替代主段上。After the data flow is switched to the backup path, the method further includes: the DEB detects the CCM on the backup path, if within a predetermined time, the DEB does not receive the CCM sent by the PIB and AIB along the backup path, Then, when it is determined that the primary section or the substitute primary section of the primary path is not faulty, the data flow on the backup path is switched to the primary section or the substitute primary section.

该方法进一步包括:The method further includes:

所述PIB检测其所属段保护域的主段和备份段的CCM,如果在预定时间内,所述PIB没有收到DEB沿所述主段发送的CCM,则在确定所述备份段无故障时,将主段上的数据流倒换到备份段上;The PIB detects the CCM of the primary segment and the backup segment of the segment protection domain to which it belongs, and if the PIB does not receive the CCM sent by the DEB along the primary segment within a predetermined time, when it is determined that the backup segment is fault-free , switch the data flow on the primary segment to the backup segment;

如果在预定时间内,所述PIB没有收到DEB沿所述备份段发送的CCM,则在确定所述主段无故障时,将备份段上的数据流倒换到主段上。If the PIB does not receive the CCM sent by the DEB along the backup segment within a predetermined time, it switches the data flow on the backup segment to the primary segment when it is determined that the primary segment is faultless.

该方法进一步包括:The method further includes:

所述AIB检测其所属段保护域的替代主段和替代备份段的CCM,如果在预定时间内,所述AIB没有收到DEB沿所述替代主段发送的CCM,则在确定所述替代备份段无故障时,将替代主段上的数据流倒换到替代备份段上;The AIB detects the CCM of the alternative main segment and the alternative backup segment of the segment protection domain to which it belongs, and if the AIB does not receive the CCM sent by the DEB along the alternative main segment within a predetermined period of time, it determines that the alternative backup When there is no fault in the segment, switch the data flow on the substitute primary segment to the substitute backup segment;

如果在预定时间内,所述AIB没有收到DEB沿所述替代备份段发送的CCM,则在确定所述替代主段无故障时,将替代备份段上的数据流倒换到替代主段上。If the AIB does not receive the CCM sent by the DEB along the substitute backup segment within a predetermined time, it switches the data flow on the substitute backup segment to the substitute master segment when it is determined that the substitute master segment is faultless.

本发明还提供了一种具有共享链路的以太网保护装置,该装置包括:The present invention also provides an Ethernet protection device with a shared link, the device comprising:

检测模块,用于检测具有共享链路的以太网的段保护域中的DEB在主路径上的CCM,并得到检测结果;The detection module is used to detect the CCM of the DEB on the main path in the segment protection domain of the Ethernet with the shared link, and obtain the detection result;

倒换模块,用于根据所述检测结果,如果在预定时间内,所述DEB没有收到PIB和AIB沿主路径发送的CCM,则在确定所述段保护域中的备份路径可用时,将主路径上的数据流倒换到备份路径上。Switching module, for according to the detection result, if the DEB does not receive the CCM sent by the PIB and AIB along the main path within a predetermined time, when it is determined that the backup path in the protection domain of the section is available, switch the main path The data flow on the path is switched to the backup path.

所述主路径包括主段和替代主段,said primary path includes a primary segment and a substitute primary segment,

所述检测模块进一步用于,同时检测所述PIB沿主段向DEB发送的CCM,以及所述AIB沿替代主段向DEB发送的CCM。The detection module is further configured to simultaneously detect the CCM sent by the PIB to the DEB along the main section, and the CCM sent by the AIB to the DEB along the substitute main section.

所述备份路径包括备份段和替代备份段,The backup path includes a backup segment and a replacement backup segment,

所述倒换模块进一步用于,在确定所述备份段和替代备份段无故障时,将主路径上的数据流倒换到备份段或替代备份段上。The switching module is further configured to switch the data flow on the main path to the backup section or the substitute backup section when it is determined that the backup section and the substitute backup section are not faulty.

所述检测模块进一步用于,检测DEB在备份路径上的CCM,并得到检测结果;The detection module is further used to detect the CCM of the DEB on the backup path, and obtain the detection result;

相应的,所述倒换模块进一步用于,根据所述检测结果,如果在预定时间内,所述DEB没有收到PIB和AIB沿备份路径发送的CCM,则在确定所述主路径的主段或替代主段无故障时,将备份路径上的数据流倒换到所述主段或替代主段上。Correspondingly, the switching module is further configured to, according to the detection result, if the DEB does not receive the CCM sent by the PIB and AIB along the backup path within a predetermined time, then determine the main path of the main path or When the replacement primary segment is faultless, the data flow on the backup path is switched to the primary segment or the replacement primary segment.

本发明所提供的一种具有共享链路的以太网保护方法和装置,由具有共享链路的以太网的段保护域中的DEB检测在主路径上的CCM;如果在预定时间内,DEB没有收到PIB和AIB沿主路径发送的CCM,则在确定段保护域中的备份路径可用时,将主路径上的数据流倒换到备份路径上。通过本发明在对具有共享链路的以太网进行保护时,避免了非必要的倒换,从而解决了由于非必要倒换所引起的网络流量的震荡和通信的暂时中断的问题。A kind of Ethernet protection method and device with shared link provided by the present invention, detect the CCM on the main path by the DEB in the segment protection domain of the Ethernet with shared link; If within the predetermined time, DEB does not After receiving the CCM sent by the PIB and AIB along the primary path, when it is determined that the backup path in the segment protection domain is available, the data flow on the primary path is switched to the backup path. When the present invention protects the Ethernet with a shared link, unnecessary switching is avoided, thereby solving the problems of oscillation of network flow and temporary interruption of communication caused by unnecessary switching.

附图说明 Description of drawings

图1为现有技术中以太网隧道的端到端线性保护的示意图;FIG. 1 is a schematic diagram of end-to-end linear protection of an Ethernet tunnel in the prior art;

图2为现有技术中以太网隧道的段保护的示意图;FIG. 2 is a schematic diagram of segment protection of an Ethernet tunnel in the prior art;

图3为现有技术中多段保护域具有共享链路的拓扑结构示意图;FIG. 3 is a schematic diagram of a topology structure of multi-segment protection domains with shared links in the prior art;

图4为现有技术中对具有共享链路的拓扑结构进行故障检测的示意图一;FIG. 4 is a schematic diagram 1 of performing fault detection on a topology structure with shared links in the prior art;

图5为现有技术中对具有共享链路的拓扑结构进行故障检测的示意图二;FIG. 5 is a second schematic diagram of fault detection for a topology with a shared link in the prior art;

图6为现有技术中具有共享链路的拓扑结构的链路保护倒换的示意图一;6 is a schematic diagram 1 of link protection switching with a shared link topology in the prior art;

图7为现有技术中具有共享链路的拓扑结构的链路保护倒换的示意图二;7 is a second schematic diagram of link protection switching with a shared link topology in the prior art;

图8为现有技术中具有共享链路的拓扑结构的链路保护倒换的示意图三;FIG. 8 is a third schematic diagram of link protection switching with a shared link topology in the prior art;

图9为本发明一种具有共享链路的以太网保护方法的流程图;9 is a flow chart of an Ethernet protection method with a shared link in the present invention;

图10为本发明实施例中具有共享链路的拓扑结构的链路保护倒换的示意图;10 is a schematic diagram of link protection switching with a shared link topology in an embodiment of the present invention;

图11为本发明一种具有共享链路的以太网保护装置的组成结构示意图。FIG. 11 is a schematic diagram of the composition and structure of an Ethernet protection device with a shared link according to the present invention.

具体实施方式 Detailed ways

下面结合附图和具体实施例对本发明的技术方案进一步详细阐述。The technical solutions of the present invention will be further elaborated below in conjunction with the accompanying drawings and specific embodiments.

本发明所提供的一种具有共享链路的以太网保护方法,如图9所示,主要包括以下步骤:An Ethernet protection method with a shared link provided by the present invention, as shown in Figure 9, mainly includes the following steps:

步骤901,具有共享链路的以太网的段保护域中的DEB检测在主路径上的CCM。Step 901 , the DEB in the segment protection domain of the Ethernet with the shared link detects the CCM on the primary path.

本发明需要预先在每个段保护域中的DEB上配置检测点,用以检测主路径上的CCM。需要指出的是,本发明中的主路径包括主段和替代主段,且DEB检测在主路径上的CCM,具体为:DEB同时检测PIB沿主段发送的CCM,以及AIB沿替代主段发送的CCM。The present invention needs to pre-configure detection points on the DEB in each segment protection domain to detect the CCM on the main path. It should be pointed out that the main path in the present invention includes the main section and the alternative main section, and the DEB detects the CCM on the main path, specifically: the DEB simultaneously detects the CCM sent by the PIB along the main section, and the AIB sends along the alternative main section The CCM.

步骤902,如果在预定时间内,DEB没有收到PIB和AIB沿主路径发送的CCM,则在确定段保护域中的备份路径可用时,将主路径上的数据流倒换到备份路径上。Step 902, if the DEB does not receive the CCM sent by the PIB and AIB along the main path within a predetermined time, then switch the data flow on the main path to the backup path when it is determined that the backup path in the segment protection domain is available.

需要指出的是,本发明中的备份路径包括备份段和替代备份段,且在确定备份路径可用时,将主路径上的数据流倒换到备份路径上,具体为:DEB在确定备份段或替代备份段无故障时,将主路径上的数据流倒换到备份段或替代备份段上。It should be pointed out that the backup path in the present invention includes a backup segment and an alternative backup segment, and when it is determined that the backup path is available, the data flow on the main path is switched to the backup path, specifically: DEB determines the backup segment or the alternative When the backup segment is not faulty, the data flow on the primary path is switched to the backup segment or an alternate backup segment.

上述是针对主路径上的数据流向备份路径倒换的情况,对于备份路径上的数据流向主路径倒换的情况,类似的,需要预先在每个段保护域中的DEB上配置检测点,用以检测备份路径(包括备份段和替代备份段)上的CCM;用以检测在备份路径(包括备份段和替代备份段)上的CCM,如果在预定时间内,DEB没有收到PIB和AIB沿备份路径(包括备份段和替代备份段)发送的CCM,则在确定主路径的主段或替代主段无故障时,将备份路径上的数据流倒换到主段或替代主段上。The above is for the case where the data flow on the main path is switched to the backup path. For the case where the data flow on the backup path is switched to the main path, similarly, it is necessary to configure detection points on the DEB in each segment protection domain in advance to detect CCM on the backup path (including the backup segment and the alternate backup segment); used to detect the CCM on the backup path (including the backup segment and the alternate backup segment), if the DEB does not receive the PIB and AIB along the backup path within the predetermined time (including the backup segment and the substitute backup segment), when it is determined that the primary segment or the substitute primary segment of the primary path is faultless, the data flow on the backup path is switched to the primary segment or the substitute primary segment.

另外,本发明中的PIB需要检测其所属段保护域的主段和备份段的CCM,如果在预定时间内,PIB没有收到DEB沿主段发送的CCM,则在确定备份段无故障时,将主段上的数据流倒换到备份段上;如果在预定时间内,PIB没有收到DEB沿备份段发送的CCM,则在确定主段无故障时,将备份段上的数据流倒换到主段上。相应的,需要预先在每个段保护域中的PIB上配置检测点,用以检测DEB沿主段和备份段发送的CCM。In addition, the PIB in the present invention needs to detect the CCM of the main section and the backup section of the section protection domain to which it belongs. If within a predetermined time, the PIB does not receive the CCM sent by the DEB along the main section, then when it is determined that the backup section is faultless, Switch the data flow on the primary segment to the backup segment; if the PIB does not receive the CCM sent by the DEB along the backup segment within the predetermined time, it will switch the data flow on the backup segment to the primary segment when it is determined that the primary segment is faultless. paragraph. Correspondingly, a detection point needs to be configured in advance on the PIB in each segment protection domain to detect the CCM sent by the DEB along the primary segment and the backup segment.

AIB也需要检测其所属段保护域的替代主段和替代备份段的CCM,如果在预定时间内,AIB没有收到DEB沿替代主段发送的CCM,则在确定替代备份段无故障时,将替代主段上的数据流倒换到替代备份段上;如果在预定时间内,AIB没有收到DEB沿替代备份段发送的CCM,则在确定替代主段无故障时,将替代备份段上的数据流倒换到替代主段上。相应的,需要预先在每个段保护域中的AIB上配置检测点,用以检测AIB沿替代主段和替代备份段发送的CCM。The AIB also needs to detect the CCM of the alternative primary segment and the alternate backup segment of the protection domain to which it belongs. If the AIB does not receive the CCM sent by the DEB along the alternate primary segment within the predetermined time, it will The data flow on the alternative primary segment is switched to the alternative backup segment; if AIB does not receive the CCM sent by DEB along the alternative backup segment within the predetermined time, it will replace the data on the backup segment when it is determined that the alternative primary segment is faultless The flow is switched to the alternate primary segment. Correspondingly, a detection point needs to be configured in advance on the AIB in each segment protection domain, so as to detect the CCM sent by the AIB along the substitute primary segment and the substitute backup segment.

针对上述检测点的配置,需要说明的是,在每个段保护域内,DEB在主段上的检测点对应PIB在主段上的检测点,DEB在备份段上的检测点对应PIB在备份段上的检测点,且这两组对应的检测点分别属于不同的管理联合;在每个段保护域内,DEB在替代主段上的检测点对应AIB在替代备份段上的检测点,DEB在替代备份段上的检测点对应AIB在替代备份段上的检测点,且这两组对应的检测点也分别属于不同的管理联合。只有属于统一管理联合的两个检测点才能相互向对端发送CCM。For the configuration of the above detection points, it should be noted that in each segment protection domain, the detection points of DEB on the primary segment correspond to the detection points of PIB on the primary segment, and the detection points of DEB on the backup segment correspond to the detection points of PIB on the backup segment. and the corresponding detection points of these two groups belong to different management unions; in each segment protection domain, the detection points of DEB on the replacement primary segment correspond to the detection points of AIB on the replacement backup segment, and the detection points of DEB on the replacement The detection points on the backup segment correspond to the detection points of the AIB on the alternate backup segment, and these two groups of corresponding detection points also belong to different management associations. Only two detection points belonging to a unified management association can send CCMs to each other.

下面结合具体实施例对上述的以太网保护方法进一步详细阐述。The above-mentioned Ethernet protection method will be further elaborated below in combination with specific embodiments.

仍以图4和图5所示的以太网拓扑结构为例,在段保护域1中,节点A(DEB)和节点B(PIB)之间分别在主段A-B和备份段A-F-E-M-B上发送CCM,以检测主段和备份段是否完好;节点A(DEB)和节点E(AIB)之间分别在替代主段A-B-M-E和替代备份段A-F-E上发送CCM,以检测替代主段和替代备份段是否完好。同样的,在段保护域2中,节点C(DEB)和节点B(PIB)之间分别在主段C-B和备份段C-D-E-M-B上发送CCM,以检测主段和备份段是否完好;节点C(DEB)和节点E(AIB)之间分别在替代主段C-B-M-E和替代备份段A-D-E上发送CCM,以检测替代主段和替代备份段是否完好。Still taking the Ethernet topology shown in Figure 4 and Figure 5 as an example, in segment protection domain 1, node A (DEB) and node B (PIB) send CCMs on the primary segment A-B and the backup segment A-F-E-M-B respectively, To detect whether the primary segment and the backup segment are intact; between node A (DEB) and node E (AIB), send CCM on the alternative primary segment A-B-M-E and the alternative backup segment A-F-E respectively, to detect whether the alternative primary segment and the alternative backup segment are intact. Similarly, in segment protection domain 2, node C (DEB) and node B (PIB) send CCMs on the primary segment C-B and backup segment C-D-E-M-B respectively to detect whether the primary segment and the backup segment are intact; node C (DEB ) and node E (AIB) respectively send CCMs on the substitute primary segment C-B-M-E and the substitute backup segment A-D-E to detect whether the substitute primary segment and the substitute backup segment are intact.

段保护域1的链路<A,B>和段保护域2的链路<B,C>都发生了故障,节点A(DEB)在一定的时间内收不到节点B(PIB)在主段上向其发送的CCM,以及节点E(AIB)在替代主段上向其发送的CCM,节点A会将在主段A-B上的传输的所有隧道(如ESP1)倒换到备份段上来。同样的,节点C(DEB)在一定的时间内收不到节点B(PIB)在主段上向其发送的CCM,以及节点E(AIB)在替代主段上向其发送的CCM,节点C会将在主段C-B上的传输的所有隧道(如ESP2)倒换到备份段上来。节点B(PIB)在主段上一定的时间内也收不到节点A(DEB)向其发送的CCM,节点B会将在主段A-B上的传输的所有隧道(如ESP2)倒换到备份段上来。节点E(AIB)在一定的时间内收不到节点A(DEB)在替代主段上向其发送的CCM,节点E会将段保护域1的替代主段上的所有隧道(如ESP2)倒换到替代备份段上来。同样的,在段保护域2中,节点E(AIB)在一定的时间内收不到节点B(DEB)在替代主段上向其发送的CCM,节点E会将段保护域2的替代主段上的所有隧道(如ESP1)倒换到替代备份段上来。从而,ESP1和ESP2在段保护域1和2中的最后路径变为:A-F-E-D-C。The link <A, B> of segment protection domain 1 and the link <B, C> of segment protection domain 2 are faulty, and node A (DEB) cannot receive the message from node B (PIB) within a certain period of time. The CCM sent to it on the segment, and the CCM sent to it by node E (AIB) on the replacement primary segment, node A will switch all the tunnels (such as ESP1) transmitted on the primary segment A-B to the backup segment. Similarly, node C (DEB) cannot receive the CCM sent to it by node B (PIB) on the primary segment within a certain period of time, and the CCM sent to it by node E (AIB) on the alternative primary segment, node C All tunnels (such as ESP2) transmitted on the primary segment C-B will be switched to the backup segment. Node B (PIB) cannot receive the CCM sent by node A (DEB) within a certain period of time on the primary segment, and node B will switch all tunnels (such as ESP2) transmitted on the primary segment A-B to the backup segment come up. Node E (AIB) cannot receive the CCM sent by node A (DEB) on the alternative primary segment within a certain period of time, and node E will switch all the tunnels (such as ESP2) on the alternate primary segment of segment protection domain 1 to the alternate backup segment. Similarly, in segment protection domain 2, node E (AIB) cannot receive the CCM sent by node B (DEB) on the alternative primary segment within a certain period of time, and node E will send the alternative primary segment of segment protection domain 2 All tunnels on the segment (such as ESP1) are switched over to the alternate backup segment. Thus, the final paths of ESP1 and ESP2 in segment protection domains 1 and 2 become: A-F-E-D-C.

如果链路<A,B>和链路<B,C>的故障都恢复,且段保护域1和段保护域2都在非反转模式(故障恢复后链路不由备份段倒换回主段)下工作,那么ESP1和ESP2在段保护域1和2中的路径继续保持为:A-F-E-D-C。If the faults of link <A, B> and link <B, C> are both recovered, and both segment protection domain 1 and segment protection domain 2 are in the non-reversal mode (the link will not be switched from the backup segment to the active segment), then the paths of ESP1 and ESP2 in segment protection domains 1 and 2 continue to be: A-F-E-D-C.

如果随后共享路径上的链路发生了故障,如图10所示,共享链路<B,M>发生了故障,按照本发明的方案,节点A(DEB)在一定的时间内虽然收不到节点B(PIB)在备份段A-F-E-M-B上向其发送的CCM,但是能够收到节点E(AIB)在替代备份段A-F-E上向其发送的CCM,因此,节点A不会将在备份段上的传输的所有隧道(如ESP1)倒换到主段A-B上来;同样的,节点C(DEB)在一定的时间内虽然收不到节点B(PIB)在备份段B-M-E-D-C上向其发送的CCM,但是能够收到节点E(AIB)在替代备份段E-D-C上向其发送的CCM,因此,节点A不会将在备份段上的传输的所有隧道(如ESP2)倒换到主段B-C上来。从而,ESP1和ESP2在段保护域1和2中的路径仍然保持为:A-F-E-D-C,避免了一次不必要的倒换,进而避免了流量的频繁倒换。If the link on the shared path breaks down subsequently, as shown in Figure 10, the shared link <B, M> has broken down, according to the scheme of the present invention, although node A (DEB) cannot receive The CCM sent by node B (PIB) on the backup segment A-F-E-M-B, but can receive the CCM sent by node E (AIB) on the alternate backup segment A-F-E, therefore, node A will not transfer the transmission on the backup segment All tunnels (such as ESP1) are switched to the main segment A-B; similarly, although node C (DEB) cannot receive the CCM sent by node B (PIB) on the backup segment B-M-E-D-C within a certain period of time, it can receive To the CCM sent to node E (AIB) on the alternate backup segment E-D-C, therefore, node A will not switch all the tunnels (such as ESP2) transmitted on the backup segment to the primary segment B-C. Therefore, the paths of ESP1 and ESP2 in the segment protection domains 1 and 2 still remain as: A-F-E-D-C, avoiding an unnecessary switching, and further avoiding frequent switching of traffic.

由此可以看出,通过本发明在对具有共享链路的以太网进行保护时,避免了非必要的倒换,从而解决了由于非必要倒换所引起的网络流量的震荡和通信的暂时中断的问题。It can be seen that, when the present invention protects the Ethernet with a shared link, unnecessary switching is avoided, thereby solving the problems of network traffic oscillation and temporary interruption of communication caused by unnecessary switching .

为实现上述的以太网保护方法,本发明还提供了一种具有共享链路的以太网保护装置,适用于具有共享链路的以太网的段保护域中的DEB,如图11所示,该装置包括:检测模块10和倒换模块20。检测模块10,用于检测具有共享链路的以太网的段保护域中的DEB在主路径上的CCM,并得到检测结果。倒换模块20,用于根据检测结果,如果在预定时间内,DEB没有收到PIB和AIB沿主路径发送的CCM,则在确定段保护域中的备份路径可用时,将主路径上的数据流倒换到备份路径上。In order to realize the above-mentioned Ethernet protection method, the present invention also provides an Ethernet protection device with shared links, which is suitable for DEBs in the segment protection domain of Ethernet with shared links, as shown in Figure 11, the The device includes: a detection module 10 and a switching module 20 . The detection module 10 is configured to detect the CCM of the DEB on the main path in the segment protection domain of the Ethernet with a shared link, and obtain the detection result. Switching module 20 is used for, according to the detection result, if DEB does not receive the CCM that PIB and AIB send along the main path within a predetermined time, then when it is determined that the backup path in the segment protection domain is available, the data flow on the main path Switch to the backup path.

其中,主路径包括主段和替代主段,检测模块10进一步用于,同时检测PIB沿主段向DEB发送的CCM,以及AIB沿替代主段向DEB发送的CCM。Wherein, the main path includes the main section and the substitute main section, and the detection module 10 is further used to simultaneously detect the CCM sent by the PIB to the DEB along the main section, and the CCM sent by the AIB to the DEB along the substitute main section.

备份路径包括备份段和替代备份段,倒换模块20进一步用于,在确定备份段和替代备份段无故障时,将主路径上的数据流倒换到备份段或替代备份段上。The backup path includes a backup section and an alternate backup section, and the switching module 20 is further configured to switch the data flow on the main path to the backup section or the alternate backup section when it is determined that the backup section and the alternate backup section are faultless.

较佳的,检测模块10进一步用于,检测DEB在备份路径上的CCM,并得到检测结果。相应的,倒换模块20进一步用于,根据检测结果,如果在预定时间内,DEB没有收到PIB和AIB沿备份路径发送的CCM,则在确定主路径的主段或替代主段无故障时,将备份路径上的数据流倒换到主段或替代主段上。Preferably, the detection module 10 is further configured to detect the CCM of the DEB on the backup path, and obtain the detection result. Correspondingly, the switching module 20 is further used for, according to the detection result, if within a predetermined time, if the DEB does not receive the CCM sent by the PIB and AIB along the backup path, when it is determined that the primary section or the replacement primary section of the primary path is not faulty, Switch the data flow on the backup path to the primary segment or an alternate primary segment.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.

Claims (10)

1. have an Ethernet guard method for shared link, it is characterized in that, have configuration detection point on territory terminal bridge DEB, main interconnection bridge PIB in the segment protect territory of Ethernet of shared link and alternative interconnection bridge AIB in advance at each, the method also comprises:
Described DEB detects the connectivity check messages CCM on main path;
If in the given time, described DEB does not receive the CCM that PIB and AIB send along described main path, when the backup path in determining described segment protect territory is available, the data flow on main path is switched on backup path;
Wherein, in each segment protect territory, the test point of the corresponding PIB of the test point of DEB in principal piece in principal piece, the test point of the corresponding PIB of the test point of DEB in backup segment in backup segment, and these two groups of corresponding test points belong to respectively different management associatings; DEB is substituting the test point in backup segment at the test point corresponding A IB substituting in principal piece, and DEB is substituting the test point in backup segment at the test point corresponding A IB substituting in backup segment, and these two groups of corresponding test points also belong to respectively different management associatings.
2. have according to claim 1 the Ethernet guard method of shared link, it is characterized in that, described main path comprises principal piece and alternative principal piece,
Described DEB detects the CCM on main path, is specially: described DEB detects the CCM that PIB sends along principal piece simultaneously, and AIB is along the CCM that substitutes principal piece transmission.
3. have according to claim 1 the Ethernet guard method of shared link, it is characterized in that, described backup path comprises backup segment and alternative backup segment,
Describedly when definite backup path is available, data flow on main path is switched on backup path, is specially: described DEB, when definite described backup segment or alternative backup segment fault-free, is switched to the data flow on main path in backup segment or alternative backup segment.
4. according to the Ethernet guard method described in claim 1 or 2 or 3 with shared link; it is characterized in that; after data flow is switched on backup path; the method further comprises: described DEB detects the CCM on backup path; if in the given time; described DEB does not receive the CCM that PIB and AIB send along described backup path;, when determining the principal piece of described main path or alternative principal piece fault-free, the data flow on backup path is switched in described principal piece or alternative principal piece.
5. according to the Ethernet guard method described in claim 1 or 2 or 3 with shared link, it is characterized in that, the method further comprises:
Described PIB detects the principal piece in its affiliated segment protect territory and the CCM of backup segment, if in the given time, described PIB does not receive the CCM that DEB sends along described principal piece,, when determining described backup segment fault-free, the data flow in principal piece is switched in backup segment;
If in the given time, described PIB does not receive the CCM that DEB sends along described backup segment,, when determining described principal piece fault-free, the data flow in backup segment is switched in principal piece.
6. according to the Ethernet guard method described in claim 1 or 2 or 3 with shared link, it is characterized in that, the method further comprises:
Described AIB detects the alternative principal piece in its affiliated segment protect territory and the CCM of alternative backup segment, if in the given time, described AIB does not receive the CCM that DEB sends along described alternative principal piece,, when determining described alternative backup segment fault-free, the data flow substituting in principal piece is switched in alternative backup segment;
If in the given time, described AIB does not receive the CCM that DEB sends along described alternative backup segment,, when determining described alternative principal piece fault-free, the data flow substituting in backup segment is switched in alternative principal piece.
7. an Ethernet protective device with shared link, is characterized in that, has configuration detection point on DEB, PIB in the segment protect territory of Ethernet of shared link and AIB in advance at each, and this device comprises:
Detection module, the CCM for detection of described DEB on main path, and obtain testing result;
Switch module, for according to described testing result, if in the given time, described DEB does not receive the CCM that PIB and AIB send along main path, when the backup path in determining described segment protect territory is available, the data flow on main path is switched on backup path;
Wherein, in each segment protect territory, the test point of the corresponding PIB of the test point of DEB in principal piece in principal piece, the test point of the corresponding PIB of the test point of DEB in backup segment in backup segment, and these two groups of corresponding test points belong to respectively different management associatings; DEB is substituting the test point in backup segment at the test point corresponding A IB substituting in principal piece, and DEB is substituting the test point in backup segment at the test point corresponding A IB substituting in backup segment, and these two groups of corresponding test points also belong to respectively different management associatings.
8. the Ethernet protective device according to claim 7 with shared link, is characterized in that, described main path comprises principal piece and alternative principal piece,
Described detection module is further used for, and detects the CCM that described PIB sends along principal piece to DEB simultaneously, and described AIB is along substituting the CCM of principal piece to DEB transmission.
9. the Ethernet protective device according to claim 7 with shared link, is characterized in that, described backup path comprises backup segment and alternative backup segment,
The described module of switching is further used for, and when definite described backup segment and alternative backup segment fault-free, the data flow on main path is switched in backup segment or alternative backup segment.
10. according to the Ethernet protective device described in claim 7 or 8 or 9 with shared link, it is characterized in that, described detection module is further used for, and detects the CCM of DEB on backup path, and obtains testing result;
Accordingly, the described module of switching is further used for, according to described testing result, if in the given time, described DEB does not receive the CCM that PIB and AIB send along backup path,, when determining the principal piece of described main path or alternative principal piece fault-free, the data flow on backup path is switched in described principal piece or alternative principal piece.
CN200910087036.7A 2009-06-15 2009-06-15 Method and device for protecting Ethernet with shared link Expired - Fee Related CN101924642B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200910087036.7A CN101924642B (en) 2009-06-15 2009-06-15 Method and device for protecting Ethernet with shared link
PCT/CN2009/074083 WO2010145102A1 (en) 2009-06-15 2009-09-22 Method and apparatus for protecting ethernet with shared link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910087036.7A CN101924642B (en) 2009-06-15 2009-06-15 Method and device for protecting Ethernet with shared link

Publications (2)

Publication Number Publication Date
CN101924642A CN101924642A (en) 2010-12-22
CN101924642B true CN101924642B (en) 2014-09-10

Family

ID=43339307

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910087036.7A Expired - Fee Related CN101924642B (en) 2009-06-15 2009-06-15 Method and device for protecting Ethernet with shared link

Country Status (2)

Country Link
CN (1) CN101924642B (en)
WO (1) WO2010145102A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008120931A1 (en) * 2007-03-30 2008-10-09 Electronics And Telecommunications Research Institute Method for protection switching in ethernet ring network
CN101345686A (en) * 2008-08-15 2009-01-14 华为技术有限公司 Method, device and system for processing virtual private area network service loop

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100401712C (en) * 2005-10-14 2008-07-09 杭州华三通信技术有限公司 Fault treating method for phase switching loop of automatic protection system of Ethernet

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008120931A1 (en) * 2007-03-30 2008-10-09 Electronics And Telecommunications Research Institute Method for protection switching in ethernet ring network
CN101345686A (en) * 2008-08-15 2009-01-14 华为技术有限公司 Method, device and system for processing virtual private area network service loop

Also Published As

Publication number Publication date
WO2010145102A1 (en) 2010-12-23
CN101924642A (en) 2010-12-22

Similar Documents

Publication Publication Date Title
US20090168647A1 (en) Interworking an Ethernet Ring Network and an Ethernet Network with Traffic Engineered Trunks
US20120106321A1 (en) Method and device for conveying traffic in a network
CN102104520B (en) Ring network protection method and device based on topology information
EP2429119B1 (en) Method and system for joint detection of ethernet part segment protection
CN101931520A (en) A switching method and system
CN101902353A (en) Protection method, device and system for packet network
CN101789879B (en) Dynamic maintenance method and device for related link circuits
CN101227399A (en) Message transmission method, system and forwarding node
CN100446476C (en) Method and device for intercommunication of network fault detection results
US8738960B2 (en) Local protection method of ethernet tunnel and sharing node of work sections of protection domain
CN102118301A (en) Tunnel protection method and device
CN111092822A (en) Method for balancing pw linear protection forwarding load of vpls
CN101989917A (en) Ethernet tunnel subsection protection method and device
CN101924642B (en) Method and device for protecting Ethernet with shared link
CN102104523B (en) Data stream transmission method based on PBB-TE sectional tunnel, and node
CN101997728B (en) A kind of checkout gear of Ethernet localised protection and method
CN104601381A (en) Method and equipment for preventing flow interruption
WO2011029249A1 (en) Protection method and device for an ethernet tunnel
CN102195794B (en) A kind of fast switch over method of Ethernet trail protection and device
CN101997754A (en) Switching method and system in section protection
CN102064998B (en) Ethernet path protection switching method and system
CN101854266B (en) Method and system for realizing detection based on MAC (Media Access Control) address and finish condition
CN101883040B (en) Network protection method and network protection architecture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201214

Address after: 256651 Bincheng District, Binzhou, Shandong, Beizhen, Phoenix Road three, road ten

Patentee after: BINZHOU DAYOU NEW ENERGY DEVELOPMENT Co.,Ltd.

Address before: 518057 Ministry of justice, Zhongxing building, South Science and technology road, Nanshan District hi tech Industrial Park, Shenzhen, Guangdong

Patentee before: ZTE Corp.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140910