WO2008106874A1 - Two node fault handling method and system for two loop-span rpr - Google Patents

Two node fault handling method and system for two loop-span rpr Download PDF

Info

Publication number
WO2008106874A1
WO2008106874A1 PCT/CN2008/070224 CN2008070224W WO2008106874A1 WO 2008106874 A1 WO2008106874 A1 WO 2008106874A1 CN 2008070224 W CN2008070224 W CN 2008070224W WO 2008106874 A1 WO2008106874 A1 WO 2008106874A1
Authority
WO
WIPO (PCT)
Prior art keywords
cross
ring
fault
node
state
Prior art date
Application number
PCT/CN2008/070224
Other languages
French (fr)
Chinese (zh)
Inventor
Suping Zhai
Yan Wang
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008106874A1 publication Critical patent/WO2008106874A1/en

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/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration
    • 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

Definitions

  • a resilient packet ring is a packet ring network technology used as an access/aggregation bearer network in a metropolitan area network. From the network point of view, its characteristics are: Double-loop structure can achieve carrier-class 50ms traffic protection; Provide 2. 5G, 10G optical port; is a link layer protocol, compatible with 802.1 D/Q bridge.
  • the RPR device From the perspective of the RPR device, its main features are: support unicast/multicast/broadcast address; support multiple quality of service (QoS, Qua ty of Service) for different services; use flexible two-way, one-way transmission, And link/node failure wraparound, evasion mechanism, bandwidth on the ring can be effectively utilized; support fair algorithm to ensure that burst traffic does not occupy normal traffic bandwidth; topology automatic discovery mechanism guarantees plug-and-play function of RPR site, no need Manual configuration; support for operation and maintenance (0AM, Opera t ion and Management).
  • the RPR shown in Figure 1 is a reverse double-loop topology.
  • the outer ring is the Outer Ring and the inner ring is the Inner Ring. Both the outer ring and the inner ring transmit data packets and control packets.
  • RPR technology has promoted the use of RPR technology as a packet network technology for metropolitan area networks in actual networking.
  • the use of ring networking can save fiber, which is very practical in situations where the number of users is not large or the network size is not very large.
  • the need for RPR cross-ring applications has gradually emerged during use.
  • a typical application scenario is a cross-ring networking scheme for access rings and aggregation rings.
  • the RPR device at the ring intersection is called a cross-ring node, as shown in Figure 2, the cross-ring node 1 and the cross-ring node 2
  • the RPR device that is not at the ring intersection is called a non-cross-ring node, as shown in Figure 2 for non-cross-ring node 1, non-cross-ring node 1, non-cross-ring node 3, and non-cross-ring node 4.
  • the existing RPR cross-ring schemes include the following three: RVR cross-ring scheme based on virtual tuvian VLAN (Virtual Tua l Loca l Area Network) or specific RPR domain, time-to-live (TTL)-based RPR cross-ring scheme , and Hash-based Hash-based RPR cross-ring scheme.
  • RVR cross-ring scheme based on virtual tuvian VLAN (Virtual Tua l Loca l Area Network) or specific RPR domain
  • TTL time-to-live
  • Hash-based Hash-based RPR cross-ring scheme has at least the following problems: As shown in FIG.
  • the technical problem to be solved by the embodiments of the present invention is to provide a cross-ring RPR two-point fault processing method and system, which are used to simultaneously generate two fault points on one RPR ring, wherein one fault point is located in two A traffic protection mechanism is provided between the cross-ring nodes, and then, when one of the fault points is recovered, the loop is effectively avoided.
  • a cross-ring RPR two-point fault processing method comprising:
  • Two resilient packet ring RPRs intersect at two cross-ring nodes. When two fault points occur on one of the RPR rings, one fault point is located between the two cross-ring nodes, and the cross-ring node performs State switching to protect the ring and cross-ring traffic;
  • the non-cross-ring node adjacent to the fault recovery point notifies the cross-ring node that the fault has been recovered
  • the cross-ring node senses the switching operation state after the fault is recovered, and after the working state is switched, notifying the non-cross-ring node state switching of the fault recovery point is completed;
  • the non-cross-ring node adjacent to the fault recovery point restores the working state to a normal state.
  • the embodiment of the present invention further provides a cross-ring RPR two-point fault processing system, which is applied to two Elastic packet ring RPR, and the two RPR rings intersect at two cross-ring nodes.
  • the system includes:
  • the cross-ring node is configured to perform state switching to protect the local ring and the cross-ring traffic when the two-point fault occurs; and after detecting failure of one of the fault points, switch the working state, and after the working state is switched, Notifying that the state of the non-cross-ring node adjacent to the fault recovery point is switched;
  • the non-cross-ring node is configured to notify the cross-ring node that the fault has been recovered after the fault of the adjacent fault point is recovered; and return the working state to the normal state according to the state switching completion notification of the cross-ring node. .
  • FIG. 1 is a schematic structural diagram of a single RPR ring networking in the prior art
  • FIG. 2 is a schematic diagram of communication of a cross-ring RPR network in the prior art
  • FIG. 3 is a schematic diagram of a two-point failure of a cross-ring RPR occurring at the same time according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of an RPR cross-ring scheme based on a VLAN or a specific RPR domain according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a loop generated when a fault occurs in the case where two faults occur simultaneously in the embodiment of the present invention
  • FIG. 6 is a flowchart of a fault processing according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION
  • the traffic protection mechanism provided by the embodiment of the present invention is: Two cross-ring nodes perform state switching to protect the traffic of the ring and the ring.
  • the loop avoidance mechanism provided by the embodiment of the present invention is: the non-cross-ring node adjacent to the fault recovery point notifies the cross-ring node that the fault has been recovered, and the cross-ring node senses that the fault is recovered after the switchover.
  • Working state after the working state is switched, the sending status is completed after the confirmation is completed.
  • the non-cross-ring node adjacent to the fault recovery point receives the status switching completion confirmation, the original fault protection status (Wrap or s teer ing) ) Revert to normal forwarding state.
  • the adjacent RPR node of the fault recovery point is a cross-ring node
  • the cross-ring node can perceive the fault recovery and then initiate the state switch.
  • the nodes at both ends of the fault recovery point are cross-ring nodes and non-cross-ring nodes
  • the non-cross-ring node notifies another cross-ring node, that is, a cross-ring node that is not adjacent to the fault recovery point. The fault has been restored.
  • Embodiment 1 A fault handling method of an RPR cross-ring scheme based on a VLAN or a specific RPR domain.
  • this embodiment first introduces an RPR cross-ring scheme based on a VLAN or a specific RPR domain.
  • traffic is classified into different protection groups according to different services according to VLANs or specific RPR domains, such as Group1 and Group2.
  • the cross-ring node CI is responsible for cross-ring forwarding.
  • the cross-ring node C2 is responsible for cross-ring forwarding.
  • the formation of the loop is avoided, because the same traffic can only be forwarded from one of the cross-ring nodes to the other ring, and does not return from the other cross-ring node to the original ring;
  • Load sharing can reduce the processing power requirements of cross-ring nodes.
  • the operation is as follows:
  • the two cross-ring nodes perform state switching to protect the traffic of this ring and the cross-ring.
  • the present embodiment takes the failure point recovery between the non-cross-ring node 1 and the non-cross-ring node 2 as an example. At this time, the non-cross-ring node 1 and the non-cross-ring node 2 can be quickly perceived, has been implemented in the RPR protocol, and will not be described here. Because cross-ring node 1 and cross-ring node 2 are still responsible for forwarding all messages, there is a loop across the ring. To avoid the occurrence of a cross-ring loop as shown in FIG. 5, the loop avoidance mechanism provided by the embodiment of the present invention is:
  • the non-cross-ring node adjacent to the fault recovery point can notify the cross-ring node that the fault has been recovered by sending a fault recovery notification message.
  • the non-cross-ring node 1 and the non-cross-ring node 2 adjacent to the fault recovery point respectively send a failure recovery notification message, where the packet is a broadcast packet, which may be extended based on the existing RPR control packet. Or use the newly defined RPR control message.
  • the cross-ring node switches the working state, and after the working state is switched, the state of the non-cross-ring node cross-ring node adjacent to the fault recovery point is notified that the state of the cross-ring node has been switched. Specifically, when the cross-ring node is adjacent to the fault recovery point, the fault recovery may be perceived by itself. When the cross-ring node is not adjacent to the fault recovery point, the fault is sent according to the non-cross-ring node adjacent to the fault recovery point. The recovery notification packet senses the fault recovery, and then switches the working state across the ring node, and the working state is switched.
  • the status of the non-cross-ring node cross-ring node adjacent to the fault recovery point can be notified by sending a status switch completion confirmation message.
  • This embodiment is based on a VLAN or a specific RPR domain RPR cross-ring scheme. Compared with the same protection group, after the state switchover, the final state of the two cross-ring nodes is a master and a standby under normal conditions, see Figure 3.
  • the cross-ring node RI 1 is in the active state
  • the cross-ring node RI2 is in the standby state.
  • the traffic of the protection group is only forwarded by the cross-ring node RI 1 , and the cross-ring node R 12 is no longer responsible. Forwarding traffic of this protection group does not form a loop.
  • the status switching completion acknowledgement packet is a broadcast packet, and may be extended on the basis of the existing RPR control packet, or the newly defined RPR control packet may be used.
  • the status confirmation completion message may be sent once or more. If it is specified to be sent three times in a cycle at a certain time interval.
  • the nodes adjacent to the fault recovery point are non-cross-ring nodes, as shown in Figure 3, RB1 and RB2.
  • the cross-ring node receives the neighboring from the fault recovery point.
  • the state switch is started; if it is the failure point recovery between the cross-ring nodes, as shown in RI 1 and RI 2 in Figure 3, the two cross-ring nodes can sense the fault. Point recovery, and then start the state switch of the cross-ring node, at this time, the two cross-ring nodes do not need to send the failure recovery notification message.
  • Embodiment 2 A fault processing method of a Hash-based RPR cross-ring scheme.
  • this embodiment first introduces the RPR cross-ring scheme based on Ha sh.
  • Two cross-ring nodes form a protection group, and the protection group configures member 0 and member 1.
  • Member 0 is only responsible for forwarding data traffic with a Hash value of 0.
  • Member 1 is only responsible for forwarding data traffic with a Ha sh value of 1.
  • the Hash calculation is calculated on a per-flow basis, that is, the Hash value is obtained by using a certain algorithm for a specific domain of each message. This solution can also solve the loop problem of the cross-ring and implement load sharing.
  • the processing flow is the same as that in the first embodiment, except that the identification of the state of the cross-ring node is different. That is, when two points of failure occur simultaneously, the two cross-ring nodes in the first embodiment are used by a primary one under normal conditions. The state and the standby state are all switched to the active state. The two cross-ring nodes in this embodiment are switched from the normal 0 or 1 state to the 0/1 state, that is, regardless of the Ha sh value is 0 or 1. The cross-ring nodes forward all the packets. Similarly, after one of the faults is recovered, the two cross-ring nodes in this embodiment are switched from the 0/1 state to the normal state, one of which is in the 0 state and one in the 1 state.
  • Embodiment 3 A fault processing method for a TTL-based RPR cross-ring scheme.
  • this embodiment first introduces a TTL-based RPR cross-ring scheme.
  • TTL The value of TTL determines the maximum number of hops that a data frame is forwarded on the RPR ring. Each time a node passes, the TTL value is decremented by one, when TTL is effective to avoid loops. Referring to FIG. 2, if the TTL of the cross-ring traffic forwarded from the cross-ring node 1 is set to 1, the TTL of the cross-ring traffic forwarded from the cross-ring node 2 is also set to 1, and load balancing can also be implemented.
  • the processing flow is the same as that in the first embodiment, except that the identification of the state of the cross-ring node is different.
  • the state of the cross-ring node includes the whole-loop forwarding state and the TTL-average forwarding state.
  • the TTL value is the total number of the local ring nodes minus 1, and the packet is sent to the ring.
  • the TTL value is set on the two cross-ring nodes to satisfy the sum of the TTL values of the two cross-ring nodes minus the total number of the ring nodes minus 1, so that the packet is sent. Go to all nodes on this ring.
  • the two cross-ring nodes in the first embodiment are switched from the active state and the standby state in the normal state to the active state.
  • the two cross-ring nodes in this embodiment are Under normal circumstances, the TTL average forwarding state is switched to the full-loop forwarding state, so that the packets forwarded from the cross-ring node can reach all the nodes on the ring.
  • the two cross-ring nodes in this embodiment are switched from the full-loop forwarding state to the TTL-average forwarding state in the normal case.
  • the embodiment of the present invention further provides a cross-ring RPR two-point fault processing system, which is applied to two resilient packet ring RPRs, and two RPR rings intersect at two cross-ring nodes, and one of the RPR rings simultaneously appears.
  • the system specifically includes: a cross-ring node, configured to perform state switching to protect the ring and the cross-ring when the two points of the fault occur. After the failure of one of the fault points is detected, the working state is switched, and after the working state is switched, the state of the non-cross-ring node adjacent to the fault recovery point is notified to be switched;
  • the non-cross-ring node is configured to notify the cross-ring node that the fault has been recovered after the fault of the adjacent fault point is recovered; and return the working state to the normal state according to the state switching completion notification of the cross-ring node.
  • the cross-ring node senses that the fault has been recovered, completes the state switch, and notifies the non-cross-ring node of the fault recovery point that the state transition is completed, and the non-cross-loop node adjacent to the fault recovery point is up to After receiving the notification, the normal forwarding state is restored, and the loop can be effectively avoided.
  • the method disclosed in the embodiment of the present invention is applicable to three RPR cross-ring solutions, namely: an RPR cross-ring scheme based on a VLAN or a specific RPR domain, a TTL-based RPR cross-ring scheme, and a Ha sh-based RPR cross-ring scheme. , can provide a unified processing method for three different RPR cross-ring schemes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

A two node fault handling method and system for two loop-span RPR, which belongs to network communications field, are provided. The method includes: two resilient protection ring intersect between two loop-span node, when two fault node appear on one loop of the two RPR loops, when the fault of one fault node is recovered, the non loop-span node adjacent to the fault recovering node notices the loop-span node that the fault has been recovered; the loop-span node switches the operating state after apperceiving that the fault has been recovered, after switching the operating state, notices the non loop-span node adjacent to the fault recovering node that the state has been switched; the non loop-span node adjacent to the fault recovering node makes the operating state recover to normal state. The system includes: loop-span node and non loop-span node. The method and system may provide flux protection mechanism when two fault node occurred at a same time, so, when one fault node of them is recovered, it can avoid loop circuit.

Description

说 明 书  Description
一种跨环 RPR两点故障处理方法及系统 技术领域 本发明涉及网络通信技术领域, 尤其涉及一种跨环 RPR两点故障处理方法及 系统。 背景技术 弹性分组环 ( RPR, Res i l ient Protect ion Ring )是一种分组环网技术, 在城域网中作为接入 /汇聚承载网。 从网络角度看, 其特点是: 双环结构可以实 现电信级 50ms的流量保护;提供 2. 5G, 10G光口;是一种链路层协议,和 802. 1D/Q 桥兼容。 从 RPR设备角度看, 其主要的特点是:支持单播 /组播 /广播地址; 对于 不同的业务支持多种服务质量(QoS , Qua l i ty of Service ) ; 使用灵活的双向, 单向发送, 以及链路 /节点故障时回绕, 规避机制, 环上带宽可以有效利用; 支 持公平算法, 保证突发流量不占用正常流量带宽; 拓朴自动发现机制保证了 RPR 站点的即插即用功能, 无须人工配置; 支持运营维护 (0AM, Opera t ion and Management )功能。 ^口图 1 所示 RPR为逆向双环拓^卜结构, 夕卜环为 Outer Ring , 内环为 Inner Ring , 外环和内环都传送数据包和控制包。 TECHNICAL FIELD The present invention relates to the field of network communication technologies, and in particular, to a cross-ring RPR two-point fault processing method and system. A resilient packet ring (RPR) is a packet ring network technology used as an access/aggregation bearer network in a metropolitan area network. From the network point of view, its characteristics are: Double-loop structure can achieve carrier-class 50ms traffic protection; Provide 2. 5G, 10G optical port; is a link layer protocol, compatible with 802.1 D/Q bridge. From the perspective of the RPR device, its main features are: support unicast/multicast/broadcast address; support multiple quality of service (QoS, Qua ty of Service) for different services; use flexible two-way, one-way transmission, And link/node failure wraparound, evasion mechanism, bandwidth on the ring can be effectively utilized; support fair algorithm to ensure that burst traffic does not occupy normal traffic bandwidth; topology automatic discovery mechanism guarantees plug-and-play function of RPR site, no need Manual configuration; support for operation and maintenance (0AM, Opera t ion and Management). The RPR shown in Figure 1 is a reverse double-loop topology. The outer ring is the Outer Ring and the inner ring is the Inner Ring. Both the outer ring and the inner ring transmit data packets and control packets.
RPR技术的成熟, 促进了 RPR技术作为一种城域网的分组网技术在实际组网 中使用。 使用环网组网可以节省光纤, 在用户数目不是很多, 或网络规模不是 很大的场合非常实用。 在使用过程中逐步产生了 RPR跨环应用的需求。 典型的应 用场景是接入环和汇聚环的跨环组网方案。  The maturity of RPR technology has promoted the use of RPR technology as a packet network technology for metropolitan area networks in actual networking. The use of ring networking can save fiber, which is very practical in situations where the number of users is not large or the network size is not very large. The need for RPR cross-ring applications has gradually emerged during use. A typical application scenario is a cross-ring networking scheme for access rings and aggregation rings.
在 RPR跨环组网方案中, 除了解决如何避免环路的问题, 还需要考虑跨环节 点 /链路出现故障时的流量保护机制以及故障恢复机制。 如图 2所示, 两个 RPR环 相交时, 处于环交点的 RPR设备称为跨环节点, 如图 2中跨环节点 1和跨环节点 2 所示; 没有处于环交点的 RPR设备称为非跨环节点, 如图 2中非跨环节点 1、 非跨 环节点 1、 非跨环节点 3和非跨环节点 4所示。 如果不对跨环的两个节点跨环节点 1和跨环节点 2进行控制的话, 很容易出现环路问题。 目前已有的 RPR跨环方案包 括以下三种: 基于虚拟局域网 VLAN ( Vir tua l Loca l Area Network )或特定 RPR 域的 RPR跨环方案, 基于生存时间 TTL (Time to Live)的 RPR跨环方案, 和基于哈 希 Hash的 RPR跨环方案。 但是,在实现本发明的过程中, 发明人发现上述已有技术至少存在以下问 题: 如图 3所示, 在 RPR跨环组网方案中, 当其中一个环同时出现两个故障点, 其中, 一个故障点位于两个 RPR跨环节点的之间 。 在这种情况下, 已有技术没 有流量保护机制, 进而, 当其中有一个故障点恢复时, 也没有环路避免机制。 发明内容 In the RPR cross-ring networking solution, in addition to solving the problem of how to avoid loops, it is also necessary to consider the traffic protection mechanism and the fault recovery mechanism when the cross-ring node/link fails. As shown in Figure 2, when two RPR rings intersect, the RPR device at the ring intersection is called a cross-ring node, as shown in Figure 2, the cross-ring node 1 and the cross-ring node 2 The RPR device that is not at the ring intersection is called a non-cross-ring node, as shown in Figure 2 for non-cross-ring node 1, non-cross-ring node 1, non-cross-ring node 3, and non-cross-ring node 4. If the two nodes across the ring are not controlled across the ring node 1 and the cross-ring node 2, loop problems are likely to occur. The existing RPR cross-ring schemes include the following three: RVR cross-ring scheme based on virtual tuvian VLAN (Virtual Tua l Loca l Area Network) or specific RPR domain, time-to-live (TTL)-based RPR cross-ring scheme , and Hash-based Hash-based RPR cross-ring scheme. However, in the process of implementing the present invention, the inventor has found that the above-mentioned prior art has at least the following problems: As shown in FIG. 3, in the RPR cross-ring networking solution, when one of the rings simultaneously has two fault points, wherein A fault point is located between two RPR cross-ring nodes. In this case, the prior art does not have a flow protection mechanism, and further, when one of the fault points is recovered, there is no loop avoidance mechanism. Summary of the invention
有鉴于此, 本发明实施例解决的技术问题是提供一种跨环 RPR两点故障处理 方法及系统, 用于当其中一个 RPR环上同时出现两个故障点, 其中, 一个故障点 位于两个跨环节点之间, 提供流量保护机制, 进而, 当其中有一个故障点恢复 时, 有效避免环路。  In view of this, the technical problem to be solved by the embodiments of the present invention is to provide a cross-ring RPR two-point fault processing method and system, which are used to simultaneously generate two fault points on one RPR ring, wherein one fault point is located in two A traffic protection mechanism is provided between the cross-ring nodes, and then, when one of the fault points is recovered, the loop is effectively avoided.
本发明的目的是通过以下技术方案实现的:  The object of the invention is achieved by the following technical solutions:
一种跨环 RPR两点故障处理方法, 该方法包括:  A cross-ring RPR two-point fault processing method, the method comprising:
两个弹性分组环 RPR相交于两个跨环节点, 当其中一个 RPR环上同时出现 两个故障点时, 其中, 一个故障点位于所述两个跨环节点之间, 所述跨环节点 进行状态切换以保护本环和跨环流量;  Two resilient packet ring RPRs intersect at two cross-ring nodes. When two fault points occur on one of the RPR rings, one fault point is located between the two cross-ring nodes, and the cross-ring node performs State switching to protect the ring and cross-ring traffic;
当其中一个故障点故障恢复后, 该故障恢复点相邻的非跨环节点通知所述 跨环节点该故障已经恢复;  When one of the fault points fails to recover, the non-cross-ring node adjacent to the fault recovery point notifies the cross-ring node that the fault has been recovered;
所述跨环节点感知到该故障恢复后切换工作状态, 工作状态切换完毕后, 通知所述故障恢复点相邻的非跨环节点状态切换完毕;  The cross-ring node senses the switching operation state after the fault is recovered, and after the working state is switched, notifying the non-cross-ring node state switching of the fault recovery point is completed;
所述故障恢复点相邻的非跨环节点将工作状态恢复为正常状态。  The non-cross-ring node adjacent to the fault recovery point restores the working state to a normal state.
同时, 本发明实施例还提供了一种跨环 RPR 两点故障处理系统, 应用于两 个弹性分组环 RPR, 且所述两个 RPR环相交于两个跨环节点, 当其中一个 RPR环 上同时出现两个故障点时, 其中, 一个故障点位于所述两个跨环节点之间; 所 述系统包括: Meanwhile, the embodiment of the present invention further provides a cross-ring RPR two-point fault processing system, which is applied to two Elastic packet ring RPR, and the two RPR rings intersect at two cross-ring nodes. When two fault points occur simultaneously on one of the RPR rings, one of the fault points is located between the two cross-ring nodes. The system includes:
所述跨环节点, 用于当所述两点故障发生时, 进行状态切换以保护本环和 跨环流量; 当感知到其中一个故障点故障恢复后, 切换工作状态, 工作状态切 换完毕后, 通知所述故障恢复点相邻的非跨环节点状态切换完毕;  The cross-ring node is configured to perform state switching to protect the local ring and the cross-ring traffic when the two-point fault occurs; and after detecting failure of one of the fault points, switch the working state, and after the working state is switched, Notifying that the state of the non-cross-ring node adjacent to the fault recovery point is switched;
所述非跨环节点, 用于当相邻的故障点故障恢复后, 通知所述跨环节点该 故障已经恢复; 并根据所述跨环节点的状态切换完毕通知, 将工作状态恢复为 正常状态。  The non-cross-ring node is configured to notify the cross-ring node that the fault has been recovered after the fault of the adjacent fault point is recovered; and return the working state to the normal state according to the state switching completion notification of the cross-ring node. .
本发明实施例使得跨环 RPR在出现两点故障时, 其中, 一个故障点位于两 个 RPR跨环节点的之间 , 通过使两个跨环节点进行状态切换。 可以有效保护本 环和跨环的流量不丟失。  In the embodiment of the present invention, when a two-point failure occurs in the cross-ring RPR, one of the fault points is located between the two RPR cross-ring nodes, and the two cross-ring nodes are switched in state. Traffic that can effectively protect this ring and cross-ring is not lost.
进一步, 当其中一点故障恢复时, 通过故障恢复点相邻的非跨环节点通知 所述跨环节点该故障已经恢复, 跨环节点感知到该故障恢复后完成状态切换并 通知故障恢复点相邻的非跨环节点状态切换完毕, 直至收到该通知后故障恢复 点相邻的非跨环节点恢复正常转发状态, 能够有效避免环路出现。 附图说明 图 1为现有技术单个 RPR环组网结构示意图;  Further, when one of the faults recovers, the non-cross-ring node adjacent to the fault recovery point notifies the cross-ring node that the fault has been recovered, and the cross-ring node senses that the fault is restored and completes the state switch and notifies the fault recovery point adjacent to the fault. After the non-cross-ring node state is switched, the non-cross-ring node adjacent to the fault recovery point returns to the normal forwarding state after receiving the notification, which can effectively avoid the loop. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic structural diagram of a single RPR ring networking in the prior art;
图 2为现有技术跨环 RPR网络通信示意图;  2 is a schematic diagram of communication of a cross-ring RPR network in the prior art;
图 3为本发明实施例一跨环 RPR同时出现两点故障示意图;  3 is a schematic diagram of a two-point failure of a cross-ring RPR occurring at the same time according to an embodiment of the present invention;
图 4为本发明实施例一基于 VLAN或特定 RPR域的 RPR跨环方案示意图; 图 5为本发明实施例一同时出现了两个故障的情况下并且当一个故障恢复 时产生环路示意图;  4 is a schematic diagram of an RPR cross-ring scheme based on a VLAN or a specific RPR domain according to an embodiment of the present invention; FIG. 5 is a schematic diagram of a loop generated when a fault occurs in the case where two faults occur simultaneously in the embodiment of the present invention;
图 6为本发明实施例一故障处理流程图。 具体实施方式 为使本发明的目的、 技术方案和优点更加清楚, 下面将结合具体实施例对 本发明作进一步地详细描述。 FIG. 6 is a flowchart of a fault processing according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION In order to make the objects, technical solutions and advantages of the present invention more comprehensible, the present invention will be further described in detail below with reference to specific embodiments.
两个 RPR环相交时, 相交于两个跨环节点, 当两个 RPR环中的一个环上同时 出现两个故障点, 其中, 一个故障点位于两个 RPR跨环节点的之间 。 此时, 本 发明实施例提供的流量保护机制为: 两个跨环节点进行状态切换以保护本环和 跨环的流量。 当其中一个故障点恢复时, 本发明实施例提供的环路避免机制为: 该故障恢复点相邻的非跨环节点通知跨环节点该故障已经恢复, 跨环节点感知 到该故障恢复后切换工作状态, 工作状态切换完成后, 发送状态切换完毕确认 才艮文, 当故障恢复点相邻的非跨环节点收到状态切换完毕确认 文后, 由原来 的故障保护状态(Wrap或 s teer ing)恢复为正常转发状态。  When two RPR rings intersect, they intersect at two cross-ring nodes. When one of the two RPR rings has two fault points, one fault point is located between the two RPR cross-nodes. At this time, the traffic protection mechanism provided by the embodiment of the present invention is: Two cross-ring nodes perform state switching to protect the traffic of the ring and the ring. When one of the fault points is restored, the loop avoidance mechanism provided by the embodiment of the present invention is: the non-cross-ring node adjacent to the fault recovery point notifies the cross-ring node that the fault has been recovered, and the cross-ring node senses that the fault is recovered after the switchover. Working state, after the working state is switched, the sending status is completed after the confirmation is completed. When the non-cross-ring node adjacent to the fault recovery point receives the status switching completion confirmation, the original fault protection status (Wrap or s teer ing) ) Revert to normal forwarding state.
如果故障恢复点相邻的 RPR节点就是跨环节点, 则故障恢复时, 该跨环节点 可以自己感知到该故障恢复, 然后启动状态切换。 当故障恢复点两端的节点分 别为跨环节点和非跨环节点时, 故障恢复后, 该非跨环节点会通知另一个跨环 节点, 即不与故障恢复点相邻的跨环节点, 该故障已恢复。 为了更加详细地阐述本发明实施例, 下面针对三种常用的 RPR跨环方案分别 详细介绍。  If the adjacent RPR node of the fault recovery point is a cross-ring node, when the fault recovers, the cross-ring node can perceive the fault recovery and then initiate the state switch. When the nodes at both ends of the fault recovery point are cross-ring nodes and non-cross-ring nodes, after the fault is recovered, the non-cross-ring node notifies another cross-ring node, that is, a cross-ring node that is not adjacent to the fault recovery point. The fault has been restored. In order to explain the embodiments of the present invention in more detail, the following three detailed RPR cross-ring schemes are respectively described in detail.
实施例一: 基于 VLAN或特定 RPR域的 RPR跨环方案的故障处理方法。  Embodiment 1: A fault handling method of an RPR cross-ring scheme based on a VLAN or a specific RPR domain.
首先, 本实施例先介绍一下基于 VLAN或特定 RPR域的 RPR跨环方案。 如图 4所 示,根据 VLAN或特定 RPR域把流量按照不同的业务分成不同的保护组,如 Groupl , Group2。 对于 Groupl的所有流量均由跨环节点 CI负责跨环转发, 对于 Group2的 所有流量均由跨环节点 C2负责跨环转发。 这样一方面避免了环路的形成, 因为 同一流量只能从其中的一个跨环节点转发到另一个环上, 不会从另外一个跨环 节点返回到原来的环上; 另一方面, 实现了负载分担, 可以降低对跨环节点的 处理能力的要求。 参见图 6 , 跨环 RPR两点故障发生时, 操作如下: First, this embodiment first introduces an RPR cross-ring scheme based on a VLAN or a specific RPR domain. As shown in Figure 4, traffic is classified into different protection groups according to different services according to VLANs or specific RPR domains, such as Group1 and Group2. For all traffic of Group1, the cross-ring node CI is responsible for cross-ring forwarding. For all traffic of Group2, the cross-ring node C2 is responsible for cross-ring forwarding. In this way, the formation of the loop is avoided, because the same traffic can only be forwarded from one of the cross-ring nodes to the other ring, and does not return from the other cross-ring node to the original ring; Load sharing can reduce the processing power requirements of cross-ring nodes. Referring to Figure 6, when a cross-ring RPR two-point failure occurs, the operation is as follows:
100: 发生两点故障时, 两个跨环节点进行状态切换以保护本环和跨环的流 量。  100: When a two-point fault occurs, the two cross-ring nodes perform state switching to protect the traffic of this ring and the cross-ring.
当两点故障发生时,故障恢复点相邻的 RPR节点 RB1和 RB2变为保护状态(wrap 或 s teer ing)。如图 3所示,为了保证本环上的每个节点能够与另一环上的任意节 点互通, 此时两个跨环节点 RI 1和 RI 2变为主用状态, 负责转发所有 文。 此时, 相对于同一保护组而言, 两个跨环节点均为主用状态。  When two faults occur, the adjacent RPR nodes RB1 and RB2 of the fault recovery point become protected (wrap or s teer ing). As shown in Figure 3, in order to ensure that each node on the ring can communicate with any node on the other ring, the two cross-ring nodes RI 1 and RI 2 become active and are responsible for forwarding all the files. At this time, both cross-ring nodes are in the active state with respect to the same protection group.
200: 当一个故障点恢复后, 通知跨环节点该故障已经恢复。  200: When a fault point is recovered, the cross-ring node is notified that the fault has been recovered.
当其中一个故障恢复时,如图 5所示,本实施例以非跨环节点 1和非跨环节点 2之间的故障点恢复为例, 此时, 非跨环节点 1和非跨环节点 2可以迅速感知, 已 有 RPR协议中已经实现, 在此不再累述。 因为跨环节点 1和跨环节点 2仍然负责转 发所有报文, 所以, 存在跨环的环路。 为了避免如图 5所示的跨环环路发生, 本 发明实施例提供的环路避免机制为:  When one of the faults is recovered, as shown in FIG. 5, the present embodiment takes the failure point recovery between the non-cross-ring node 1 and the non-cross-ring node 2 as an example. At this time, the non-cross-ring node 1 and the non-cross-ring node 2 can be quickly perceived, has been implemented in the RPR protocol, and will not be described here. Because cross-ring node 1 and cross-ring node 2 are still responsible for forwarding all messages, there is a loop across the ring. To avoid the occurrence of a cross-ring loop as shown in FIG. 5, the loop avoidance mechanism provided by the embodiment of the present invention is:
具体地, 故障恢复点相邻的非跨环节点可以通过发送故障恢复通告报文通 知跨环节点该故障已经恢复。 故障恢复点相邻的非跨环节点 1和非跨环节点 2分 别发送故障恢复通告报文, 其中, 该报文为广播报文, 可以是在现有的 RPR控制 报文基础上进行扩充, 或者釆用新定义的 RPR控制报文。  Specifically, the non-cross-ring node adjacent to the fault recovery point can notify the cross-ring node that the fault has been recovered by sending a fault recovery notification message. The non-cross-ring node 1 and the non-cross-ring node 2 adjacent to the fault recovery point respectively send a failure recovery notification message, where the packet is a broadcast packet, which may be extended based on the existing RPR control packet. Or use the newly defined RPR control message.
为了避免发送的故障恢复通告报文丟失, 可以发送一次或一次以上故障恢 复通告报文。 如规定以一定的时间间隔为周期连续发送三次。  To prevent the loss of the fault recovery notification packet from being sent, you can send one or more fault recovery notification packets. If it is specified to be sent three times in a cycle at a certain time interval.
300: 感知到故障恢复后, 跨环节点切换工作状态, 工作状态切换完毕后, 通知故障恢复点相邻的非跨环节点跨环节点的状态已切换完毕。 具体地, 当跨环节点与故障恢复点相邻时, 可以自己感知到故障恢复, 当 跨环节点不与故障恢复点相邻时, 根据故障恢复点相邻的非跨环节点发来的故 障恢复通告报文感知到故障恢复, 然后跨环节点切换工作状态, 工作状态切换 完成后, 可以通过发送状态切换完毕确认报文通告故障恢复点相邻的非跨环节 点跨环节点的状态已切换完毕。 本实施例是基于 VLAN或特定 RPR域的 RPR跨环方 案的, 相对于同一保护组而言, 状态切换后, 两个跨环节点的最终状态为正常 情况下的一主一备, 参见图 3 , 本实施例以跨环节点 RI 1是主用状态, 跨环节点 RI2是备用状态为例, 此时该保护组的流量, 仅跨环节点 RI 1负责转发, 跨环节 点 R 12不再负责转发该保护组的流量, 不会形成环路。 其中, 状态切换完毕确认报文为广播报文, 可以是在现有的 RPR控制报文基 础上进行扩充, 或者釆用新定义的 RPR控制报文。 300: After the fault recovery is sensed, the cross-ring node switches the working state, and after the working state is switched, the state of the non-cross-ring node cross-ring node adjacent to the fault recovery point is notified that the state of the cross-ring node has been switched. Specifically, when the cross-ring node is adjacent to the fault recovery point, the fault recovery may be perceived by itself. When the cross-ring node is not adjacent to the fault recovery point, the fault is sent according to the non-cross-ring node adjacent to the fault recovery point. The recovery notification packet senses the fault recovery, and then switches the working state across the ring node, and the working state is switched. After completion, the status of the non-cross-ring node cross-ring node adjacent to the fault recovery point can be notified by sending a status switch completion confirmation message. This embodiment is based on a VLAN or a specific RPR domain RPR cross-ring scheme. Compared with the same protection group, after the state switchover, the final state of the two cross-ring nodes is a master and a standby under normal conditions, see Figure 3. In this embodiment, the cross-ring node RI 1 is in the active state, and the cross-ring node RI2 is in the standby state. In this case, the traffic of the protection group is only forwarded by the cross-ring node RI 1 , and the cross-ring node R 12 is no longer responsible. Forwarding traffic of this protection group does not form a loop. The status switching completion acknowledgement packet is a broadcast packet, and may be extended on the basis of the existing RPR control packet, or the newly defined RPR control packet may be used.
进一步, 为了避免发送的状态切换完毕确认报文丟失, 可以发送一次或一 次以上状态切换完毕确认报文。 如规定以一定的时间间隔为周期连续发送三次。  Further, in order to prevent the transmission of the status switching completion confirmation message loss, the status confirmation completion message may be sent once or more. If it is specified to be sent three times in a cycle at a certain time interval.
以上是以故障恢复点相邻的节点为非跨环节点为例说明的, 如图 3中的 RB1 和 RB2,这种情况下, 故障恢复时, 跨环节点收到来自故障恢复点相邻的非跨环 节点的故障恢复通告报文后, 启动状态切换; 如果是跨环节点之间的故障点恢 复, 如图 3中的 RI 1和 RI 2 , 则两个跨环节点可以感知到该故障点恢复, 然后启动 跨环节点的状态切换, 此时两个跨环节点均不用发送故障恢复通告报文。  The above is an example where the nodes adjacent to the fault recovery point are non-cross-ring nodes, as shown in Figure 3, RB1 and RB2. In this case, when the fault is recovered, the cross-ring node receives the neighboring from the fault recovery point. After the failure recovery advertisement message of the non-cross-ring node, the state switch is started; if it is the failure point recovery between the cross-ring nodes, as shown in RI 1 and RI 2 in Figure 3, the two cross-ring nodes can sense the fault. Point recovery, and then start the state switch of the cross-ring node, at this time, the two cross-ring nodes do not need to send the failure recovery notification message.
400: 当故障恢复点相邻的非跨环节点收到状态切换完毕通知后, 由原来的 保护状态 (wrap或 s teer ing)恢复为正常状态 (norma l) 。  400: When the non-cross-ring node adjacent to the fault recovery point receives the status switch completion notification, it returns to the normal state (norma l) from the original protection state (wrap or s teer ing).
实施例二: 基于 Hash的 RPR跨环方案的故障处理方法。  Embodiment 2: A fault processing method of a Hash-based RPR cross-ring scheme.
首先, 本实施例先介绍一下基于 Ha sh的 RPR跨环方案。 两个跨环节点组成保 护组, 保护组配置成员 0 , 成员 1。 成员 0只负责转发 Hash值为 0的数据流量, 成 员 1只负责转发 Ha sh值为 1的数据流量。 Hash计算是逐流计算的, 即针对每个报 文的特定的域利用一定的算法得出 Hash值。 利用该方案也能很好的解决跨环的 环路问题, 并实现负载分担。  First, this embodiment first introduces the RPR cross-ring scheme based on Ha sh. Two cross-ring nodes form a protection group, and the protection group configures member 0 and member 1. Member 0 is only responsible for forwarding data traffic with a Hash value of 0. Member 1 is only responsible for forwarding data traffic with a Ha sh value of 1. The Hash calculation is calculated on a per-flow basis, that is, the Hash value is obtained by using a certain algorithm for a specific domain of each message. This solution can also solve the loop problem of the cross-ring and implement load sharing.
与实施例一的处理流程相同, 不同之处仅在于对跨环节点状态的标识不同。 即当两点故障同时发生时, 实施例一中的两个跨环节点由正常情况下的一主用 状态和一备用状态间全部切换为主用状态, 本实施例中的两个跨环节点则是由 正常情况下的 0或 1状态切换为 0/ 1状态, 即不管 Ha sh值是 0或 1 , 跨环节点均转发 所有报文。 同理, 当其中一点故障恢复后, 本实施例中的两个跨环节点由 0/ 1状 态切换为正常情况下的一个处于 0状态和一个处于 1状态。 实施例三: 基于 TTL的 RPR跨环方案的故障处理方法。 首先, 本实施例先介绍一下基于 TTL的 RPR跨环方案。 TTL: TTL的值决定数 据帧在 RPR环网上被转发的最大跳数。 每经过一个节点, TTL值被减 1 , 当 TTL等 有效避免环路。 参考图 2 , 如果设置从跨环节点 1转发的跨环流量的 TTL为 1 , 设 置从跨环节点 2转发的跨环流量的 TTL也为 1 , 此时, 还可以实现负载分担。 与实施例一的处理流程相同, 不同之处仅在于对跨环节点状态的标识不同。 跨环节点的状态包括整环转发状态和 TTL均分转发状态两种, 当跨环节点为整环 转发状态时, TTL的值为本环节点总数减 1 , 即将报文发送到本环上所有节点; 当跨环节点为 TTL均分转发状态时, 通过在两个跨环节点分别设置 TTL的值, 满 足两个跨环节点的 TTL值之和为本环节点总数减 1 , 使得报文发送到本环上所有 节点。 当两点故障同时发生时, 实施例一中的两个跨环节点由正常情况下的主用 状态和备用状态间全部切换为主用状态, 本实施例中的两个跨环节点则是由正 常情况下 TTL均分转发状态切换为整环转发状态, 使得从该跨环节点转发出去的 才艮文能够到达本环上所有节点。 同理, 当其中一点故障恢复后, 本实施例中的 两个跨环节点由整环转发状态切换为正常情况下的 TTL均分转发状态。 The processing flow is the same as that in the first embodiment, except that the identification of the state of the cross-ring node is different. That is, when two points of failure occur simultaneously, the two cross-ring nodes in the first embodiment are used by a primary one under normal conditions. The state and the standby state are all switched to the active state. The two cross-ring nodes in this embodiment are switched from the normal 0 or 1 state to the 0/1 state, that is, regardless of the Ha sh value is 0 or 1. The cross-ring nodes forward all the packets. Similarly, after one of the faults is recovered, the two cross-ring nodes in this embodiment are switched from the 0/1 state to the normal state, one of which is in the 0 state and one in the 1 state. Embodiment 3: A fault processing method for a TTL-based RPR cross-ring scheme. First, this embodiment first introduces a TTL-based RPR cross-ring scheme. TTL: The value of TTL determines the maximum number of hops that a data frame is forwarded on the RPR ring. Each time a node passes, the TTL value is decremented by one, when TTL is effective to avoid loops. Referring to FIG. 2, if the TTL of the cross-ring traffic forwarded from the cross-ring node 1 is set to 1, the TTL of the cross-ring traffic forwarded from the cross-ring node 2 is also set to 1, and load balancing can also be implemented. The processing flow is the same as that in the first embodiment, except that the identification of the state of the cross-ring node is different. The state of the cross-ring node includes the whole-loop forwarding state and the TTL-average forwarding state. When the cross-ring node is in the whole-loop forwarding state, the TTL value is the total number of the local ring nodes minus 1, and the packet is sent to the ring. When the cross-ring node is in the TTL-average forwarding state, the TTL value is set on the two cross-ring nodes to satisfy the sum of the TTL values of the two cross-ring nodes minus the total number of the ring nodes minus 1, so that the packet is sent. Go to all nodes on this ring. When two faults occur at the same time, the two cross-ring nodes in the first embodiment are switched from the active state and the standby state in the normal state to the active state. The two cross-ring nodes in this embodiment are Under normal circumstances, the TTL average forwarding state is switched to the full-loop forwarding state, so that the packets forwarded from the cross-ring node can reach all the nodes on the ring. Similarly, after one of the faults is recovered, the two cross-ring nodes in this embodiment are switched from the full-loop forwarding state to the TTL-average forwarding state in the normal case.
同时, 本发明实施例还提供了一种跨环 RPR两点故障处理系统, 应用于两个 弹性分组环 RPR , 且两个 RPR环相交于两个跨环节点, 当其中一个 RPR环上同时出 现两个故障点时, 其中, 一个故障点位于两个跨环节点之间; 该系统具体包括: 跨环节点, 用于当上述两点故障发生时, 进行状态切换以保护本环和跨环 流量; 当感知到其中一个故障点故障恢复后, 切换工作状态, 工作状态切换完 毕后, 通知所述故障恢复点相邻的非跨环节点状态切换完毕; Meanwhile, the embodiment of the present invention further provides a cross-ring RPR two-point fault processing system, which is applied to two resilient packet ring RPRs, and two RPR rings intersect at two cross-ring nodes, and one of the RPR rings simultaneously appears. When two fault points are located, one fault point is located between two cross-loop nodes. The system specifically includes: a cross-ring node, configured to perform state switching to protect the ring and the cross-ring when the two points of the fault occur. After the failure of one of the fault points is detected, the working state is switched, and after the working state is switched, the state of the non-cross-ring node adjacent to the fault recovery point is notified to be switched;
非跨环节点, 用于当相邻的故障点故障恢复后, 通知所述跨环节点该故障 已经恢复; 并根据所述跨环节点的状态切换完毕通知, 将工作状态恢复为正常 状态。  The non-cross-ring node is configured to notify the cross-ring node that the fault has been recovered after the fault of the adjacent fault point is recovered; and return the working state to the normal state according to the state switching completion notification of the cross-ring node.
工作原理基本同方法所述, 在此不再累述。 本发明实施例使得跨环 RPR在出现两点故障时, 其中, 一个故障点位于两个 RPR跨环节点的之间 , 通过使两个跨环节点进行状态切换。 可以有效保护本环 和跨环的流量不丟失。  The working principle is basically the same as the method described, and will not be described here. In the embodiment of the present invention, when a two-point failure occurs in the cross-ring RPR, one of the fault points is located between the two RPR cross-ring nodes, and the two cross-ring nodes are switched in state. Traffic that can effectively protect this ring and cross-ring is not lost.
进一步, 当其中一点故障恢复时, 通过跨环节点感知到该故障已经恢复, 完成状态切换并通知故障恢复点相邻的非跨环节点状态切换完毕, 故障恢复点 相邻的非跨环节点直至收到该通知后才恢复正常转发状态, 能够有效避免环路 出现。  Further, when one of the faults recovers, the cross-ring node senses that the fault has been recovered, completes the state switch, and notifies the non-cross-ring node of the fault recovery point that the state transition is completed, and the non-cross-loop node adjacent to the fault recovery point is up to After receiving the notification, the normal forwarding state is restored, and the loop can be effectively avoided.
进一步, 本发明实施例公开的方法适用于三种 RPR跨环方案, 分别是: 基于 VLAN或特定 RPR域的 RPR跨环方案, 基于 TTL的 RPR跨环方案, 和基于 Ha sh的 RPR跨 环方案, 对三种不同的 RPR跨环方案都能提供统一的处理方法。  Further, the method disclosed in the embodiment of the present invention is applicable to three RPR cross-ring solutions, namely: an RPR cross-ring scheme based on a VLAN or a specific RPR domain, a TTL-based RPR cross-ring scheme, and a Ha sh-based RPR cross-ring scheme. , can provide a unified processing method for three different RPR cross-ring schemes.
贯穿说明书, 示出的该优选实施例和示例应被看作本发明的范例而不受限 制。  Throughout the specification, the preferred embodiments and examples shown are to be considered as illustrative and not limiting.

Claims

权 利 要 求 书 Claim
1. 一种跨环 RPR两点故障处理方法, 其特征在于, 该方法包括: 两个弹性分组环 RPR相交于两个跨环节点, 当其中一个 RPR环上同时出现 两个故障点时, 其中, 一个故障点位于所述两个跨环节点之间, 所述跨环节点 进行状态切换以保护本环和跨环流量; A cross-ring RPR two-point fault processing method, the method comprising: two resilient packet ring RPRs intersecting two cross-ring nodes, when two fault points occur simultaneously on one of the RPR rings, a fault point is located between the two cross-ring nodes, and the cross-ring node performs state switching to protect the local ring and the cross-ring traffic;
当其中一个故障点故障恢复后, 该故障恢复点相邻的非跨环节点通知所述 跨环节点该故障已经恢复;  When one of the fault points fails to recover, the non-cross-ring node adjacent to the fault recovery point notifies the cross-ring node that the fault has been recovered;
所述跨环节点感知到该故障恢复后切换工作状态, 工作状态切换完毕后, 通知所述故障恢复点相邻的非跨环节点状态切换完毕;  The cross-ring node senses the switching operation state after the fault is recovered, and after the working state is switched, notifying the non-cross-ring node state switching of the fault recovery point is completed;
所述故障恢复点相邻的非跨环节点将工作状态恢复为正常状态。  The non-cross-ring node adjacent to the fault recovery point restores the working state to a normal state.
2. 根据权利要求 1所述的方法, 其特征在于, 所述故障恢复点相邻的非跨 环节点通知所述跨环节点该故障已经恢复的步骤具体包括: 所述故障恢复点相 邻的非跨环节点发送至少一次故障恢复通告报文给所述跨环节点。  The method according to claim 1, wherein the step of notifying the non-cross-ring node adjacent to the fault recovery point that the fault has been recovered by the cross-ring node comprises: the fault recovery point adjacent to the fault recovery point The non-cross-ring node sends at least one failure recovery advertisement message to the cross-ring node.
3. 根据权利要求 2所述的方法, 其特征在于, 所述跨环节点感知到该故障 恢复后切换工作状态的步骤具体包括: 当所述跨环节点不是所述故障恢复点相 邻的节点时, 所述跨环节点接收来自所述故障恢复点相邻的非跨环节点的故障 恢复通告报文, 然后切换工作状态。  The method according to claim 2, wherein the step of detecting, by the cross-ring node, the switching operation state after the fault recovery comprises: when the cross-ring node is not a node adjacent to the fault recovery point And the cross-ring node receives a failure recovery notification message from the non-cross-ring node adjacent to the fault recovery point, and then switches the working state.
4. 根据权利要求 1所述的方法, 其特征在于, 所述跨环节点通知所述故障 恢复点相邻的非跨环节点状态切换完毕的步骤具体包括: 所述跨环节点发送至 少一次状态切换完毕确认报文给所述故障恢复点相邻的非跨环节点。  The method according to claim 1, wherein the step of notifying the non-cross-ring node of the fault recovery point that the cross-ring node has completed the state transition includes: sending the at least one state by the cross-ring node The handover completion acknowledgement message is sent to the non-cross-ring node adjacent to the fault recovery point.
5. 根据权利要求 1至 4中任一权利要求所述的方法, 其特征在于, 该方法 适用于以下任何一种 RPR跨环方案: 基于虚拟局域网 VLAN或特定 RPR域的 RPR跨环 方案, 基于生存时间 TTL的 RPR跨环方案, 和基于哈希 Ha s h的 RPR跨环方案.  The method according to any one of claims 1 to 4, wherein the method is applicable to any of the following RPR cross-ring schemes: based on a virtual local area network (VLAN) VLAN or a specific RPR domain-based RPR cross-ring solution, based on The RPR cross-ring scheme for survival time TTL, and the RPR cross-ring scheme based on hash Ha sh.
6. 根据权利要求 5所述的方法, 其特征在于, 当所述方法基于虚拟局域网 VLAN或特定 RPR域的 RPR跨环方案时, 所述跨环节点进行状态切换以保护本环和 跨环流量的步骤具体为: 所述两个跨环节点都切换为主用状态, 负责转发所有 报文。 The method according to claim 5, wherein when the method is based on a virtual local area network (VLAN) VLAN or an RPR cross-ring scheme of a specific RPR domain, the cross-ring node performs state switching to protect the ring and The step of the cross-ring traffic is specifically as follows: The two cross-ring nodes are switched to the active state, and are responsible for forwarding all the packets.
7. 根据权利要求 6所述的方法, 其特征在于, 所述跨环节点感知到该故障 恢复后切换工作状态的步骤具体为: 所述两个跨环节点感知到该故障恢复后, 其中一个切换为备用状态, 另一个保持主用状态不变。  The method according to claim 6, wherein the step of the cross-ring node sensing the switching operation state after the fault recovery is specifically: after the two cross-ring nodes sense the fault recovery, one of the Switch to the standby state and the other to remain in the active state.
8. 根据权利要求 5所述的方法,其特征在于, 当所述方法基于生存时间 TTL 的 RPR跨环方案时, 所述跨环节点进行状态切换以保护本环和跨环流量的步骤具 体为: 所述两个跨环节点都切换为整环转发状态。  The method according to claim 5, wherein when the method is based on an RPR cross-ring solution with a time-to-live TTL, the step of performing state switching to protect the local ring and the cross-ring traffic is specifically : The two cross-ring nodes are switched to the full-loop forwarding state.
9. 根据权利要求 8所述的方法, 其特征在于, 所述跨环节点感知到该故障 恢复后切换工作状态的步骤具体为: 所述两个跨环节点感知到该故障恢复后都 切换为 TTL均分转发状态。  The method according to claim 8, wherein the step of the cross-ring node sensing that the fault is restored after the fault is restored is specifically: the two cross-ring nodes sense that the fault is restored after being switched to The TTL is divided into forwarding states.
1 0. 根据权利要求 5所述的方法, 其特征在于, 当所述方法基于哈希 Ha sh的 RPR跨环方案时, 所述跨环节点进行状态切换以保护本环和跨环流量的步骤具体 为所述两个跨环节点都切换为 0/ 1状态。  The method according to claim 5, wherein when the method is based on a hash Ha sh RPR cross-ring scheme, the step of the cross-ring node performing state switching to protect the local ring and the cross-ring traffic Specifically, the two cross-ring nodes are switched to a 0/1 state.
1 1. 根据权利要求 1 0所述的方法, 其特征在于, 所述跨环节点感知到该故 障恢复后切换工作状态的步骤具体为: 所述两个跨环节点感知到该故障恢复后, 其中一个切换为 0状态, 另一个切换为 1状态。  The method according to claim 10, wherein the step of the cross-ring node sensing that the fault is restored after the fault is restored is specifically: after the two cross-ring nodes sense the fault recovery, One of them switches to the 0 state and the other switches to the 1 state.
12. 一种跨环 RPR两点故障处理系统, 其特征在于, 应用于两个弹性分组环 RPR , 且所述两个 RPR环相交于两个跨环节点, 当其中一个 RPR环上同时出现两个 故障点时, 其中, 一个故障点位于所述两个跨环节点之间; 所述系统包括: 所述跨环节点, 用于当所述两点故障发生时, 进行状态切换以保护本环和 跨环流量; 当感知到其中一个故障点故障恢复后, 切换工作状态, 工作状态切 换完毕后, 通知所述故障恢复点相邻的非跨环节点状态切换完毕; 所述非跨环节点, 用于当相邻的故障点故障恢复后, 通知所述跨环节点该 故障已经恢复; 并根据所述跨环节点的状态切换完毕通知, 将工作状态恢复为 正常状态。  12. A cross-ring RPR two-point fault processing system, characterized in that it is applied to two resilient packet ring RPRs, and the two RPR loops intersect at two cross-ring nodes, when two of the RPR rings simultaneously appear And a fault point is located between the two cross-ring nodes; the system includes: the cross-ring node, configured to perform state switching to protect the ring when the two-point fault occurs And cross-ring flow; after sensing the failure of one of the fault points, the working state is switched, and after the working state is switched, the non-cross-ring node state of the fault recovery point is notified to be switched; the non-cross-ring node, The method is configured to notify the cross-ring node that the fault has been restored after the fault of the adjacent fault point is recovered; and return the working state to the normal state according to the state switching completion notification of the cross-ring node.
PCT/CN2008/070224 2007-03-08 2008-01-31 Two node fault handling method and system for two loop-span rpr WO2008106874A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710073462.6 2007-03-08
CN2007100734626A CN101262399B (en) 2007-03-08 2007-03-08 A cross-loop RPR two point failure processing method and system

Publications (1)

Publication Number Publication Date
WO2008106874A1 true WO2008106874A1 (en) 2008-09-12

Family

ID=39737792

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/070224 WO2008106874A1 (en) 2007-03-08 2008-01-31 Two node fault handling method and system for two loop-span rpr

Country Status (2)

Country Link
CN (1) CN101262399B (en)
WO (1) WO2008106874A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739432A (en) * 2011-03-30 2012-10-17 中兴通讯股份有限公司 Transmission method and system of span-ring service
CN102209035B (en) * 2011-05-25 2014-10-15 杭州华三通信技术有限公司 Traffic forwarding method and devices
CN102868620B (en) * 2011-07-06 2018-07-06 中兴通讯股份有限公司 Transannular service protecting method and device
CN103684955B (en) * 2013-12-18 2017-04-26 华为技术有限公司 Method, device and system for determining path where looped network breaks down
CN104283790B (en) * 2014-10-09 2017-09-15 新华三技术有限公司 The topology discovery method and equipment of RPR in SDN
CN107547331A (en) * 2017-09-25 2018-01-05 新华三技术有限公司 The forwarding state control method and device of RPR nodes in RPR intersecting rings

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1292956A (en) * 1998-04-27 2001-04-25 德纳克公司 Method for managing failures on dynamic synchronous transfer mode dual ring topologies
CN1412977A (en) * 2001-10-10 2003-04-23 阿尔卡塔尔公司 Method for propagating fault information in RPR network and corresponding RPR data packet

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1292956A (en) * 1998-04-27 2001-04-25 德纳克公司 Method for managing failures on dynamic synchronous transfer mode dual ring topologies
CN1412977A (en) * 2001-10-10 2003-04-23 阿尔卡塔尔公司 Method for propagating fault information in RPR network and corresponding RPR data packet

Also Published As

Publication number Publication date
CN101262399A (en) 2008-09-10
CN101262399B (en) 2011-09-14

Similar Documents

Publication Publication Date Title
EP2352253B1 (en) Method and apparatus for protecting link aggregation group of ethernet ring
EP2304904B1 (en) Method and system for link aggregation
US7512140B2 (en) Inter-ring connection method and device
US7876673B2 (en) Prevention of frame duplication in interconnected ring networks
US20080068985A1 (en) Network redundancy method and middle switch apparatus
WO2007115493A1 (en) A method, device and system for achieving the switch in the dual-homed network based on the vpls
JP2010509880A (en) Hash-based multihoming
AU2009295116B2 (en) Control method for protecting failure recovery of Ethernet ring and Ethernet ring nodes
WO2008089633A1 (en) Method and apparatus for protecting ether ring net
US8792337B2 (en) Method and apparatus for providing an uplink over an access ring
JP2009524332A (en) VPLS failure protection for ring networks
WO2013174024A1 (en) Seamless redundancy realization method for ring network
WO2008106874A1 (en) Two node fault handling method and system for two loop-span rpr
CN101465782B (en) Method for switching optimizing link of RRPP loop, system and network node
JP2007208369A (en) Network system and node redundancy method therefor
WO2008154781A1 (en) A method for processing ether rig net message and an ether rig net protection system using the method
WO2010031210A1 (en) Method for forwarding a protocol frame in spanning rings and the shared nodes in ethernet network multi-rings
WO2012162946A1 (en) Message processing method and system
JP2011193200A (en) Communication apparatus, communication system, and communication method
WO2011095101A1 (en) Linear 1: n protection method, device and system for packet transport network
US20080316919A1 (en) Trunk interface in resilient packet ring, method and apparatus for realizing the trunk interface
CN102185776B (en) The method of Ethernet Layer 2 Multicast Fast Convergent and Ethernet system
CN110635940B (en) Main/standby switching method of EAPS Ethernet ring network
JP5004758B2 (en) Layer 2 network and network connection device
WO2008110086A1 (en) Redundancy protection method and system for bridge mode resilient packet rings

Legal Events

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

Ref document number: 08706601

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08706601

Country of ref document: EP

Kind code of ref document: A1