WO2008031336A1 - Procédé, dispositif et système permettant d'éviter la formation de cycle de données sur boucle dans un réseau ethernet en anneau - Google Patents

Procédé, dispositif et système permettant d'éviter la formation de cycle de données sur boucle dans un réseau ethernet en anneau Download PDF

Info

Publication number
WO2008031336A1
WO2008031336A1 PCT/CN2007/070203 CN2007070203W WO2008031336A1 WO 2008031336 A1 WO2008031336 A1 WO 2008031336A1 CN 2007070203 W CN2007070203 W CN 2007070203W WO 2008031336 A1 WO2008031336 A1 WO 2008031336A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
ring network
fault
port
refresh
Prior art date
Application number
PCT/CN2007/070203
Other languages
English (en)
French (fr)
Inventor
Yan Wang
Suping Zhai
Pingan Zhang
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.
Priority to CA002662738A priority Critical patent/CA2662738A1/en
Priority to EP07764132A priority patent/EP2061188A4/en
Publication of WO2008031336A1 publication Critical patent/WO2008031336A1/zh
Priority to US12/399,529 priority patent/US20090168646A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • 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/40Bus networks
    • H04L12/403Bus networks with centralised control, e.g. polling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, apparatus and system for avoiding data loops in a ring-shaped Ethernet network. Background of the invention
  • Multi-point connection is a unique feature of Ethernet.
  • Multi-point connection can effectively support a large-scale and numerous communication services.
  • a protection switching mechanism can be used. Ring Ethernet structure.
  • Figure 1 is a diagram of a prior art ring Ethernet structure.
  • the ring Ethernet structure is simply referred to as a ring network.
  • S 1 will block its own secondary port for user data packets when the ring network can communicate normally, to avoid broadcast storms caused by data loops.
  • transit nodes other non-primary nodes in the ring network other than the primary node S1 are referred to as transit nodes.
  • S1 When a ring network fault occurs on the ring network, S1 triggers the corresponding protection switching operation.
  • the specific protection switching principle is shown in the figure.
  • S1 when a ring network fault occurs in the ring network, S1 enters a ring fault state and opens its own secondary port for user data packets to allow user data to pass through; and, in S1 and the ring network The other nodes refresh their own forwarding tables to re-top learning.
  • S1 will continuously send polling messages in the ring network by its primary port. Once the ring network fault is removed, S1 can receive its own polling message through its secondary port. In this case, S1 is restored to the normal state by the ring fault state, and the user data packet is re-blocked with its secondary port to prohibit user data packets from passing.
  • the ring network fault usually includes link faults and/or node faults.
  • the embodiments of the present invention provide a method for avoiding data loops in a ring-shaped Ethernet network, which can effectively reduce the probability of occurrence of a data loop phenomenon. The following steps:
  • the transmission node constituting the ring network detects the ring network failure, and disables the user data packet transmission capability of the port on the link affected by the failure;
  • the primary node of the ring network learns the ring network fault and performs the protection switching operation.
  • the transmitting node refreshes its own forwarding table and forwards the packet according to the refreshed forwarding table.
  • the ring-shaped Ethernet system disclosed in the embodiment of the present invention includes a master node and a plurality of transit nodes, and the master node and the transport node are connected into a ring network, and the transport node can detect whether the ring network is Faulty, when detecting a fault, the transmitting node disables the user data transmission capability of the port on the link affected by the fault; advertises the fault to the master node; and receives the refresh notification control from the master node After 3 ⁇ 4 text, refresh its own forwarding table;
  • the master node After learning that a fault occurs in the ring network, the master node can perform a protection switching operation and send a refresh notification control text to the transmission node in the ring network.
  • the master node in the ring Ethernet network disclosed in the embodiment of the present invention includes a state learning module, a protection switching module, and a refresh control module.
  • the status learning module is configured to learn whether a fault occurs in the ring network, and when the fault is known, notify the protection switching module and the refresh control module respectively;
  • the protection switching module is configured to perform a protection switching operation according to a notification from a status learning module
  • the refresh control module is configured to generate and send a refresh notification control message.
  • the transmission node in the ring-shaped Ethernet disclosed in the embodiment of the present invention includes a fault detection module, a port control module, and a forwarding table management module.
  • the fault detection module is configured to detect whether a fault occurs in the ring network, and if yes, notify the port control module;
  • the port control module is configured to: after receiving the notification from the fault detection module, disable the user data packet transmission capability of the transit node on the port affected by the fault; the forwarding table management module is configured to receive according to the received The refresh notification control message arrives, and the forwarding table of the transmission node is refreshed.
  • the transmission node in the ring Ethernet when detecting the ring network failure, disables itself in the chain affected by the fault.
  • the user data packet transmission capability of the port on the road; further, the transmission node may further determine whether the refresh notification control text sent by the primary node after entering the normal state is received, and enable the self in the judgment result as received.
  • the user data packet transmission capability of the port on the link that has been affected by the fault thus, the probability of occurrence of the data loop phenomenon can be effectively reduced, and the data loop phenomenon can be completely avoided.
  • 1 is a schematic diagram of a prior art ring Ethernet structure
  • 2 is a schematic diagram of a prior art ring Ethernet protection switching
  • FIG. 3 is a flowchart of a protection switching according to a first preferred embodiment of the present invention.
  • FIG. 4 is a flow chart of protection switching according to a second preferred embodiment of the present invention.
  • the transport node in the ring Ethernet disables the user data transmission capability of the port on the link affected by the fault; and the transmission node can further determine whether the master node is in normal state.
  • the refresh notification control message sent after the status, and enable the user data of the port on the link affected by the failure to be transmitted when the judgment result is received.
  • FIG. 3 is a flowchart of a protection switching according to a first preferred embodiment of the present invention. The process includes the following steps:
  • Step 310 When in the normal working state, the transmitting node applies the prior art to detect the ring network fault in the ring network; when detecting the ring network fault, it proceeds to step 320, and when no ring network fault is detected, returns to step 310.
  • Step 320 When detecting a ring network failure, the transmitting node sends an alarm message to the primary node. When the master node receives the alarm message from the transmitting node, the master node determines that the ring network fault is detected.
  • the master node can also continuously send polling messages in its ring network by its primary port.
  • the master node can receive the polling packet sent by its own master port through its own secondary port.
  • the master node cannot be configured before the set failure period timer expires. Receiving the polling message, when this happens, the master node determines the check A ring fault was detected.
  • Step 330 After transmitting the alarm message, the transmitting node disables the user data packet transmission capability of the port on the link affected by the fault, so as to ensure that there is no user datagram in the port on the link affected by the fault.
  • the transmission node to disable the transmission capability of the user data file, such as: the transmission node blocks its own port on the link affected by the failure for the user data packet; or, the transmission node is for the user data packet. Set the port on the link affected by the failure to be unavailable.
  • step 320 and step 330 are usually performed simultaneously, or the time interval between step 320 and step 330 is very short; therefore, the time when the primary node receives the alarm message is usually to disable the user at the transmission node. Simultaneous or subsequent data transmission capability.
  • the operation of the primary node to open its own secondary port due to receiving the alarm 4 message must be after the transmission node disables its own user data packet transmission capability; this causes the node in the ring network to go from the normal working state to the ring due to the ring network failure.
  • the fault status is switched, there is no data loop phenomenon in the ring network.
  • step 330 can also be performed before step 320.
  • Step 340 After receiving the alarm message from the transit node, the master node performs a corresponding protection switching operation and finally enters a ring fault state. Moreover, the master node sends a refresh notification control message to the transit node in the ring network. The forwarding node is notified to refresh the forwarding table. Therefore, the transmission node that disables the user data packet transmission capability of the port on the link affected by the failure can determine whether the refresh notification control message is received. If yes, proceed to step 350; otherwise, return Step 340.
  • Step 350 When receiving the refresh notification control message sent by the primary node after entering the ring fault state, the transmitting node applies the prior art to refresh the forwarding table saved by itself.
  • the transit node After that, the transit node enters a ring fault state.
  • FIG. 4 is a flowchart of a protection switching according to a second preferred embodiment of the present invention, where the process includes the following steps:
  • Step 410 The transmission node that disables the user data packet transmission capability of the port on the link affected by the failure knows that the ring network failure has been eliminated.
  • the transit node may send a control message to the master node to notify the master node that the ring network fault has been eliminated.
  • the master node may also determine that the ring network fault has been eliminated when receiving the polling message sent by itself.
  • the master node enters the normal working state and sends a refresh notification control message to the transit node in the ring network to notify the transmitting node to refresh the forwarding table; and the master node re-targets the user data packet. Block its own secondary port to prevent user data packets from passing.
  • Step 420 Disable the transmission node of the user data packet transmission capability of the port on the link affected by the failure, and determine whether the refresh notification control message sent by the master node after entering the normal state is received. Proceed to step 430; otherwise, return to step 420.
  • Step 430 The transit node enables the user data packet transmission capability of the port on the link that has been affected by the fault, and refreshes the forwarding table saved by itself according to the refresh notification control packet from the master node.
  • the transmission node opens a port for the user data packet on the link that has been affected by the failure; or, the transmission node is for the user.
  • the data message will itself be on the link that was affected by the failure.
  • the port is set to available.
  • the transit node After that, the transit node enters a normal working state.
  • the transmitting node enables the user data transmission capability of the port on the link that has been affected by the failure. This causes the data loop phenomenon to occur in the ring network when the nodes in the ring network are switched from the ring fault state to the normal working state due to the elimination of the ring network fault.
  • the state obtaining module is configured to learn whether a fault occurs in the ring network, and when the fault is known, notify the protection switching module and the refresh control module respectively; and further, it is used to know whether the ring network fault has been eliminated, and if yes, notify each Protect the switching module and refresh the control module.
  • the status learning module may include a polling unit, where the polling unit includes a preset failure period timer; the polling unit is configured to continuously send a polling message, and determine whether the failure period timer expires before The secondary port of the primary node receives the polling message. If received, the ring network has no fault; if not, the ring network fails.
  • the protection switching module is configured to perform a protection switching operation according to the notification from the status learning module.
  • the protection switching operation is to enable the secondary port of the primary node to allow the data packet to be sent and received through the secondary port.
  • the protection switching module is further configured to restore the primary node from the protection switching state to the normal working state according to the notification from the status learning module, that is, to close the secondary port of the primary node, and stop sending and receiving data packets through the secondary port.
  • the refresh control module is configured to generate and send a refresh notification control message to the transmission node in the ring network.
  • the fault detection module is configured to detect whether a fault occurs in the ring network, and if yes, notify the port control module.
  • the fault detection module further includes a notification unit for detecting the fault When the module detects a ring network fault, it generates and sends an alarm packet to the master node in the ring network.
  • the fault detection module can also detect whether the fault in the ring network disappears. If yes, the notification unit generates and sends a control message for notifying that the fault disappears to the master node in the ring network.
  • a port control module configured to: after receiving the notification from the fault detection module, disable the user data packet transmission capability of the transit node on the port affected by the fault; according to the received normal state from the primary node After the refresh notification control message is sent, the user data packet transmission capability of the port on the link that has been affected by the failure is enabled.
  • the forwarding table management module is configured to refresh the forwarding table of the transmitting node according to the received refresh notification control message.
  • the method, the system and the device for avoiding data loops in the ring Ethernet provided by the embodiments of the present invention can effectively reduce the probability of occurrence of the data loop phenomenon, and can even completely avoid the data loop. The emergence of phenomena.

Landscapes

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

Description

一种在环状以太网中避免数据环路的方法、 装置和系统 技术领域
本发明涉及通信领域, 具体涉及一种在环状以太网中避免数据环路 的方法、 装置和系统。 发明背景
支持多点连接是以太网的一个独有的特性, 多点连接可以有效地支 持大范围、 数目众多的通讯业务; 并且, 为了提供多点连接中通讯的可 靠性, 可以使用具有保护倒换机制的环状以太网结构。
参见图 1 , 图 1为现有技术的环状以太网结构图。 为了描述方便, 以下将环状以太网结构简称为环网。 图 1中, 作为环网中的唯——个主 节点, S 1会在环网能正常通信时针对用户数据报文阻塞自身的副端口, 以避免因产生数据环路而引起广播风暴。 通常, 环网中除主节点 S1 以 外的其它非主节点均被称为传输节点。
当环网中出现环网故障时, S1会触发相应的保护倒换操作 , 具体的 保护倒换原理如图 所示。 图 2中, 当检测到环网中出现环网故障时, S1 会进入环故障状态并针对用户数据报文打开自身的副端口以允许用 户数据 4艮文通过; 并且, S1和环网中的其他节点分别刷新自身的转发表 以重新进行拓朴学习。 同时, S1会持续性地由其主端口在环网内发送轮 询报文。 一旦环网故障消除, S1则可以通过其副端口接收自身所发送的 轮询报文。 在这种情况下, S1由环故障状态恢复到正常状态, 并重新针 对用户数据报文阻塞其副端口以禁止用户数据报文通过。
所述环网故障通常包括链路故障和 /或节点故障, S1 检测环网中出 现环网故障的方式有多种, 如: 当收到来自传输节点的告警报文时, S1 确定检测到环网中出现了环网故障。
显然, 环网故障消除与 S1通过其副端口接收到所述轮询报文之间, 必然会存在一定时间间隔;在该时间间隔内, S1的副端口仍旧是打开的, 这将导致环网内出现短时间的数据环路现象。
另外, 由于轮询"¾文通常都是单向传输的; 所以, 当双向通信的环 网中发生单向环网故障时, 另外一个方向上的单向链路并没有出现环网 故障 , 这将导致没有环网故障的单向链路上出现数据环路现象。 发明内容
有鉴于此, 本发明实施例提供一种在环状以太网中避免数据环路的 方法, 可以有效降低数据环路现象的出现几率。 如下步骤:
组成环状网的传输节点检测到所述环状网故障, 则禁用自身在受故 障影响链路上的端口的用户数据报文传输能力;
所述环状网的主节点获知环状网故障, 进行保护倒换操作; 传输节点刷新自身的转发表, 并按照刷新后的转发表转发报文。 本发明实施例所公开的环状以太网系统, 包括一个主节点和多个传 输节点, 所述主节点和和传输节点连接成环状网, 所述传输节点能够检 测所述环状网中是否有故障, 当检测到故障时, 所述传输节点禁用自身 在受故障影响链路上的端口的用户数据 4艮文传输能力; 向主节点通告出 现故障; 并在收到来自主节点的刷新通告控制>¾文后, 刷新自身的转发 表;
所述主节点能够在得知环状网中出现故障后, 进行保护倒换操作并 向环状网中的传输节点发送刷新通告控制 文。 本发明实施例所公开的在环状以太网中的主节点包括状态获知模 块、 保护倒换模块和刷新控制模块,
所述状态获知模块用于获知环状网中是否出现故障 , 当获知出现故 障时 , 分别通知保护倒换模块和刷新控制模块;
所述保护倒换模块用于根据来自状态获知模块的通知进行保护倒换 操作;
所述刷新控制模块用于生成并发送刷新通告控制报文。
本发明实施例所公开的环状以太网中的传输节点包括故障检测模 块、 端口控制模块和转发表管理模块,
所述故障检测模块用于检测环状网中是否发生故障, 若是, 则通知 端口控制模块;
所述端口控制模块用于接收到来自故障检测模块的通知后 , 禁用所 述传输节点在受故障影响链路上的端口的用户数据报文传输能力; 所述转发表管理模块用于根据所接收到的刷新通告控制报文, 刷新 所述传输节点的转发表。
与现有技术相比, 本发明实施例所提供的在环状以太网中避免数据 环路的方案, 当检测到环网故障时, 环状以太网中的传输节点禁用自身 在受故障影响链路上的端口的用户数据报文传输能力; 而且, 该传输节 点还可以进一步判断是否收到了主节点在进入正常状态后所发出的刷 新通告控制 文, 并在判断结果为收到时启用自身在曾受故障影响链路 上的端口的用户数据报文传输能力; 从而可以有效降低数据环路现象的 出现几率, 甚至可以完全避免数据环路现象的出现。 附图简要说明
图 1为现有技术的环状以太网结构图; 图 2为现有技术的环状以太网保护倒换原理图;
图 3为本发明第一较佳实施例的保护倒换流程图;
图 4为本发明第二较佳实施例的保护倒换流程图。
实施本发明的方式
下面结合附图及具体实施例对本发明详细说明。 测到环网故障时, 环状以太网中的传输节点禁用自身在受故障影响链路 上的端口的用户数据 文传输能力; 而且, 该传输节点还可以进一步判 断是否收到了主节点在进入正常状态后所发出的刷新通告控制报文, 并 在判断结果为收到时启用自身在曾受故障影响链路上的端口的用户数 据>¾文传输能力。
参见图 3 , 图 3为本发明第一较佳实施例的保护倒换流程图, 该流 程包括以下步骤:
步骤 310: 当处于正常工作状态时, 传输节点应用现有技术检测环 网中的环网故障; 在检测到环网故障时进入步骤 320, 在没有检测到环 网故障时返回步骤 310。
步骤 320: 当检测到环网故障时, 传输节点向主节点发出告警报文。 主节点在收到来自传输节点的告警报文时, 主节点确定检测到了环 网故障。
实际上,主节点还可以持续性地由其主端口在环网内发送轮询报文。 当环网工作正常时, 主节点能够通过自身的副端口收到由自身主端口所 发出的轮询报文; 而当链路出现故障时, 主节点在设置的失败周期定时 器超时前都无法收到所述轮询报文, 当出现这种情况时, 主节点确定检 测到了环网故障。
步骤 330: 传输节点在发出所述告警报文后, 禁用自身在受故障影 响链路上的端口的用户数据报文传输能力, 以保证自身在受故障影响链 路上的端口中没有用户数据报文通过。 以图 2为例, S3和 S4只需要禁 用自身在受故障影响链路一侧的端口的用户数据报文传输能力, 而无须 禁用未受故障影响链路一侧的端口的用户数据 文传输能力。
具体而言,传输节点禁用所述用户数据 文传输能力的方法有多种, 如: 传输节点针对用户数据报文阻塞自身在受故障影响链路上的端口; 或者, 传输节点针对用户数据报文将自身在受故障影响链路上的端口设 置为不可用。
需要说明的是, 步骤 320与步骤 330通常是同时进行的, 或者步骤 320与步骤 330之间的时间间隔非常短; 因此, 主节点收到告警报文的 时间点通常是在传输节点禁用自身用户数据报文传输能力的同时或之 后。
显然 , 主节点因收到告警 4艮文而打开自身副端口的操作必然在传输 节点禁用自身用户数据报文传输能力之后; 这使得环网中的节点因环网 故障而从正常工作状态向环故障状态倒换时, 环网中不会出现数据环路 现象。
当然, 实际上也可以在步骤 320之前执行步骤 330。
步骤 340: 主节点在接收到来自传输节点的告警报文后, 会进行相 应的保护倒换操作并最终进入环故障状态; 并且, 主节点会向环网中的 传输节点发出刷新通告控制报文, 以通知传输节点刷新转发表。 因此, 禁用了自身在受故障影响链路上的端口的用户数据报文传输能力的传 输节点, 可以判断是否收到了所述刷新通告控制报文, 如果收到, 则进 入步骤 350; 否则, 返回步骤 340。 步骤 350: 当收到主节点进入环故障状态后所发出的刷新通告控制 报文时, 传输节点应用现有技术刷新自身所保存的转发表。
在此之后, 传输节点进入环故障状态。
由图 3可见, 当环网中的节点因环网故障而从正常工作状态向环故 障状态倒换时, 环网中不会出现数据环路现象。
在后续通信过程中, 如果环网中的环网故障已消除, 那么环网中的 节点要执行图 4中所示的操作。 参见图 4, 图 4为本发明第二较佳实施 例的保护倒换流程图, 该流程包括以下步骤:
步骤 410: 禁用了自身在受故障影响链路上的端口的用户数据报文 传输能力的传输节点获知环网故障已消除。
在此之后, 传输节点可以向主节点发送控制报文, 以通知主节点环 网故障已消除; 当然, 主节点也可以在接收到自身所发送的轮询报文时 确定环网故障已消除。 当获知环网故障已消除时, 主节点会进入正常工 作状态并向环网内的传输节点发出刷新通告控制报文, 以通知传输节点 刷新转发表; 并且, 主节点会重新针对用户数据报文阻塞自身的副端口 以禁止用户数据报文通过。
步骤 420: 禁用了自身在受故障影响链路上的端口的用户数据报文 传输能力的传输节点, 判断是否收到了主节点在进入正常状态后所发出 的刷新通告控制报文,如果收到,就进入步骤 430;否则,返回步骤 420。
步骤 430: 传输节点启用自身在曾受故障影响链路上的端口的用户 数据报文传输能力 , 并根据来自主节点的刷新通告控制报文刷新自身所 保存的转发表。
具体而言 ,传输节点启用所述用户数据 ^艮文传输能力的方法有多种, 如: 传输节点针对用户数据报文开通自身在曾受故障影响链路上的端 口; 或者, 传输节点针对用户数据报文将自身在曾受故障影响链路上的 端口设置为可用。
在此之后, 传输节点进入正常工作状态。
由图 4可见, 在主节点因进入正常工作状态而重新针对用户数据报 文阻塞自身的副端口之后, 传输节点才启用自身在曾受故障影响链路上 的端口的用户数据 4艮文传输能力; 这使得环网中的节点因环网故障的消 除而从环故障状态向正常工作状态倒换时, 环网中不会出现数据环路现 象。
用于实现上述较佳实施例处理流程的主节点包括:
状态获知模块, 用于获知环状网中是否出现故障, 当获知出现故障 时, 分别通知保护倒换模块和刷新控制模块; 还用于获知所述环状网故 障是否已消除, 若是, 则分别通知保护倒换模块和刷新控制模块。
所述状态获知模块可以包括轮询单元 , 所述轮询单元包括预先设置 的失败周期定时器; 所述轮询单元用于持续发送轮询报文, 并判断在失 败周期定时器超时前是否从所述主节点的副端口接收到轮询报文, 若接 收到, 则环状网没有故障; 若未接收到, 则环状网发生故障。
保护倒换模块, 用于根据来自状态获知模块的通知进行保护倒换操 作; 所述保护倒换操作就是启用主节点的副端口, 允许通过副端口发送 和接收数据报文。 保护倒换模块还用于根据来自状态获知模块的通知, 将主节点从保护倒换状态恢复为正常工作状态, 即关闭主节点的副端 口 , 停止通过副端口发送和接收数据报文。
刷新控制模块, 用于生成并发送刷新通告控制报文至环状网中的传 输节点。
用于实现上述较佳实施例处理流程的传输节点包括:
故障检测模块, 用于检测环状网中是否发生故障, 若是, 则通知端 口控制模块。 故障检测模块进一步包括通知单元, 用于当所述故障检测 模块检测到环状网故障时, 生成并发送告警报文至环状网中的主节点。 故障检测模块还可以检测环状网中的故障是否消失, 若是, 则通知单元 生成并发送通告故障消失的控制报文至环状网中的主节点。
端口控制模块, 用于在接收到来自故障检测模块的通知后, 禁用所 述传输节点在受故障影响链路上的端口的用户数据报文传输能力; 根据 所收到的来自主节点进入正常状态后发出的刷新通告控制报文, 启用所 述传输节点在曾受故障影响链路上的端口的用户数据报文传输能力。
转发表管理模块, 用于根据所接收到的刷新通告控制报文, 刷新所 述传输节点的转发表。
由以上所述可以看出, 本发明实施例所提供的在环状以太网中避免 数据环路的方法、 系统以及装置, 可以有效降低数据环路现象的出现几 率, 甚至可以完全避免数据环路现象的出现。

Claims

权利要求书
1、 一种在环状以太网中避免数据环路的方法, 其特征在于, 该方 法包括:
组成环状网的传输节点检测到所述环状网故障, 禁用自身在受故障 影响链路上的端口的用户数据报文传输能力;
所述环状网的主节点获知环状网故障, 进行保护倒换操作; 传输节点刷新自身的转发表, 并按照刷新后的转发表转发报文。
2、根据权利要求 1所述的方法, 其特征在于, 所述环网故障是链路 故障和 /或节点故障。
3、根据权利要求 1所述的方法, 其特征在于, 所述传输节点禁用所 述用户数据 4艮文传输能力的方法为:
传输节点针对用户数据报文阻塞自身在受故障影响链路上的端口; 或者,
传输节点针对用户数据报文将自身在受故障影响链路上的端口设置 为不可用。
4、根据权利要求 1所述的方法, 其特征在于, 所述环状网的主节点 获知环状网故障为: 主节点收到来自传输节点的告警报文;
或者, 主节点在设置的失败周期定时器超时前没有收到轮询报文。
5、根据权利要求 1所述的方法, 其特征在于, 所述主节点进行保护 倒换操作包括: 主节点打开自身的副端口。
6、根据权利要求 5所述的方法, 其特征在于, 所述主节点进行保护 倒换操作除了包括主节点打开自身的副端口之外, 进一步包括: 主节点 发送轮询报文。
7、根据权利要求 1所述的方法, 其特征在于, 所述传输节点刷新自 身的转发表包括:
主节点向环状网内的传输节点发送刷新通告控制报文;
传输节点收到所述刷新通告控制报文,根据所述刷新通告控制报文, 刷新自身的转发表。
8、根据权利要求 1至 7所述的方法, 其特征在于, 该方法进一步包 括:
主节点获知环状网故障已消除, 进入正常工作状态, 并向环状网内 的传输节点发送刷新通告控制报文;
所述传输节点在收到所述刷新通告控制报文时启用自身在曾受故障 影响链路上的端口的用户数据报文传输能力, 并刷新自身的转发表。
9、根据权利要求 8所述的方法, 其特征在于, 所述主节点获知环状 网故障已消除为:
主节点收到来自传输节点的控制 文, 得知环状网故障已消除; 或 者,
主节点收到自身所发送的轮询报文确定环状网故障已消除。
10、 根据权利要求 8所述的方法, 其特征在于, 所述主节点进入正 常工作状态包括: 主节点阻塞自身的副端口。
11、 根据权利要求 8所述的方法, 其特征在于, 传输节点启用所述 用户数据 文传输能力的方法为:
传输节点针对用户数据报文开通自身在曾受故障影响链路上的端 口; 或者,
传输节点针对用户数据报文将自身在曾受故障影响链路上的端口设 置为可用。
12、 一种环状以太网系统, 包括主节点和传输节点, 所述主节点和 和传输节点连接成环状网, 其特征在于, 所述传输节点用于检测所述环状网中是否有故障,当检测到故障时, 所述传输节点禁用自身在受故障影响链路上的端口的用户数据报文传 输能力; 并在收到来自主节点的刷新通告控制>¾文后, 刷新自身的转发 表;
所述主节点用于当得知环状网中出现故障时, 进行保护倒换操作并 向环状网中的传输节点发送刷新通告控制 文。
13、根据权利要求 12所述的系统, 其特征在于, 所述主节点进一步 用于当获知环状网故障已消除时, 进入正常工作状态, 并向环状网内的 传输节点发送刷新通告控制报文;
所述传输节点进一步用于在收到主节点在进入正常状态后所发出的 刷新通告控制报文后, 启用自身在曾受故障影响链路上的端口的用户数 据报文传输能力 , 并刷新自身的转发表。
14、 一种主节点, 其特征在于, 所述主节点包括状态获知模块、 保 护倒换模块和刷新控制模块,
所述状态获知模块用于获知环状网中是否出现故障 , 当获知出现故 障时 , 分别通知保护倒换模块和刷新控制模块;
所述保护倒换模块用于根据来自状态获知模块的通知进行保护倒换 操作;
所述刷新控制模块用于生成并发送刷新通告控制报文。
15、根据权利要求 14所述的主节点, 其特征在于, 所述状态获知模 块进一步用于获知所述环状网故障是否已消除, 若是, 则分别通知保护 倒换模块和刷新控制模块;
所述保护倒换模块进一步用于根据来自状态获知模块的通知 , 将主 节点从保护倒换状态恢复为正常工作状态。
16、 根据权利要求 14或 15所述的主节点, 其特征在于, 所述状态 获知模块包括轮询单元, 所述轮询单元包括预先设置的失败周期定时 器; 所述轮询单元用于持续发送轮询报文, 并判断在失败周期定时器超 时前是否从所述主节点的副端口接收到轮询报文, 若接收到, 则环状网 没有故障; 若未接收到, 则环状网发生故障。
17、一种传输节点, 其特征在于, 所述传输节点包括故障检测模块、 端口控制模块和转发表管理模块,
所述故障检测模块用于检测环状网中是否发生故障, 若是, 则通知 端口控制模块;
所述端口控制模块用于接收到来自故障检测模块的通知后 , 禁用所 述传输节点在受故障影响链路上的端口的用户数据报文传输能力;
所述转发表管理模块用于根据所接收到的刷新通告控制报文, 刷新 所述传输节点的转发表。
18、根据权利要求 17所述的传输节点, 其特征在于, 所述端口控制 模块进一步用于根据所收到的刷新通告控制报文, 启用所述传输节点在 曾受故障影响链路上的端口的用户数据报文传输能力。
19、 根据权利要求 17或 18所述的传输节点, 其特征在于, 所述故 障检测模块进一步包括通知单元, 用于当所述故障检测模块检测到环状 网故障时, 生成并发送告警报文。
PCT/CN2007/070203 2006-09-07 2007-06-28 Procédé, dispositif et système permettant d'éviter la formation de cycle de données sur boucle dans un réseau ethernet en anneau WO2008031336A1 (fr)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CA002662738A CA2662738A1 (en) 2006-09-07 2007-06-28 Method, apparatus and system for avoiding loop in ethernet ring
EP07764132A EP2061188A4 (en) 2006-09-07 2007-06-28 METHOD, DEVICE AND SYSTEM FOR AVOIDING LOOP DATA CYCLE FORMATION IN AN ETHERNET RING NETWORK
US12/399,529 US20090168646A1 (en) 2006-09-07 2009-03-06 Method, apparatus and system for avoiding loop in ethernet ring

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200610153201.0 2006-09-07
CNA2006101532010A CN101141366A (zh) 2006-09-07 2006-09-07 一种在环状以太网中避免数据环路的方法

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US12/399,529 Continuation US20090168646A1 (en) 2006-09-07 2009-03-06 Method, apparatus and system for avoiding loop in ethernet ring

Publications (1)

Publication Number Publication Date
WO2008031336A1 true WO2008031336A1 (fr) 2008-03-20

Family

ID=39183385

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/070203 WO2008031336A1 (fr) 2006-09-07 2007-06-28 Procédé, dispositif et système permettant d'éviter la formation de cycle de données sur boucle dans un réseau ethernet en anneau

Country Status (5)

Country Link
US (1) US20090168646A1 (zh)
EP (1) EP2061188A4 (zh)
CN (1) CN101141366A (zh)
CA (1) CA2662738A1 (zh)
WO (1) WO2008031336A1 (zh)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100290340A1 (en) * 2009-05-15 2010-11-18 Electronics And Telecommunications Research Institute Method for protection switching
US8477660B2 (en) * 2009-05-25 2013-07-02 Electronics And Telecommunications Research Institute Method for updating filtering database in multi-ring network
CN102474429B (zh) * 2009-08-17 2015-08-19 上海贝尔股份有限公司 用于以太网线性保护倒换的状态转变的方法和装置
US8774207B2 (en) * 2010-07-31 2014-07-08 Motorola Solutions, Inc. Methods for bearer reservation, maintenance, and use in a communication system
US8838156B2 (en) 2010-10-22 2014-09-16 Motorola Solutions, Inc. Multi-bearer rate control for transporting user plane data
CN102739466B (zh) * 2011-04-13 2017-10-17 中兴通讯股份有限公司 一种设置以太网节点检测帧超时时长的方法及系统
CN103001810B (zh) * 2012-12-26 2015-12-23 盛科网络(苏州)有限公司 网络业务通道保护切换方法及系统
CN104135417B (zh) * 2014-08-27 2018-09-11 杭州立地信息技术有限公司 一种以太环网链路中断快速恢复的方法及相应的以太环网
US10091023B2 (en) 2015-12-21 2018-10-02 Ciena Corporation Systems and methods to detect and recover from a loop in an Ethernet ring protected network
CN106059886B (zh) * 2016-06-27 2020-10-13 新华三技术有限公司 一种报文转发方法及装置
US10382301B2 (en) * 2016-11-14 2019-08-13 Alcatel Lucent Efficiently calculating per service impact of ethernet ring status changes
WO2019167175A1 (ja) * 2018-02-28 2019-09-06 三菱電機株式会社 通信システム

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004056049A1 (fr) * 2002-12-13 2004-07-01 Areva T & D Sa Reseau ethernet en double anneau
US6785226B1 (en) * 1999-09-01 2004-08-31 Carriercomm, Inc. System and method for data routing over a network
CN1645834A (zh) * 2005-02-02 2005-07-27 周旭扬 Mac桥接网络环路发现、空间重用和保护倒换的方法和装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6717922B2 (en) * 2002-03-04 2004-04-06 Foundry Networks, Inc. Network configuration protocol and method for rapid traffic recovery and loop avoidance in ring topologies
JP3635268B2 (ja) * 2002-05-23 2005-04-06 アンリツ株式会社 ブリッジ及びそれを用いた経路変更方法
US8543672B2 (en) * 2003-06-02 2013-09-24 Alcatel Lucent Method for reconfiguring a ring network, a network node, and a computer program product
US7564779B2 (en) * 2005-07-07 2009-07-21 Alcatel Lucent Ring rapid spanning tree protocol
EP1727313A1 (en) * 2005-05-25 2006-11-29 Siemens Aktiengesellschaft Ring network and method for automatic protection switching

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6785226B1 (en) * 1999-09-01 2004-08-31 Carriercomm, Inc. System and method for data routing over a network
WO2004056049A1 (fr) * 2002-12-13 2004-07-01 Areva T & D Sa Reseau ethernet en double anneau
CN1645834A (zh) * 2005-02-02 2005-07-27 周旭扬 Mac桥接网络环路发现、空间重用和保护倒换的方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2061188A4 *

Also Published As

Publication number Publication date
US20090168646A1 (en) 2009-07-02
CA2662738A1 (en) 2008-03-20
EP2061188A4 (en) 2010-01-27
EP2061188A1 (en) 2009-05-20
CN101141366A (zh) 2008-03-12

Similar Documents

Publication Publication Date Title
WO2008031336A1 (fr) Procédé, dispositif et système permettant d'éviter la formation de cycle de données sur boucle dans un réseau ethernet en anneau
CN101212366B (zh) 以太环网中的故障检测方法、系统及主节点
CN100409634C (zh) 快速环网保护方法及系统
CN101001192B (zh) 一种环网链路保护的方法、系统及设备
CN101252500B (zh) 任意拓扑相交环网的实现方法、节点和相交环网
EP2352253A1 (en) Method and apparatus for protecting link aggregation group of ethernet ring
US9432250B2 (en) Redundant network implementation method
EP2194676B1 (en) Ethernet ring system, its main node and intialization method
US8570858B2 (en) Control method for protecting failure recovery of ethernet ring and ethernet ring nodes
EP2477359B1 (en) Ethernet switch ring (esr) protection method and transit node
WO2008031347A1 (fr) Procédé et appareil de réalisation de commutation de protection dans l'ethernet en anneau
CN101686167A (zh) 一种以太环网故障恢复的控制方法
WO2007107098A1 (fr) Procédé et système de détection de défaillance unidirectionnelle dans des réseaux en boucle
CN101478469B (zh) Rrpp环链路切换的方法和系统
CN102055658B (zh) 快速环网保护协议单环组网中实现故障保护的方法及设备
CN101714939A (zh) 一种以太环网主节点的故障处理方法及相应以太环网
EP2533470B1 (en) Method and equipment for preventing repeated refreshing of ethernet ring node address table
CN110635940B (zh) 一种eaps以太环网的主备倒换方法
CN102035695A (zh) 双向转发检测方法及装置
CN101425952B (zh) 保障以太环网可靠运行的方法及装置
CN101621443A (zh) 一种以太环网保护系统的故障恢复方法
JP5004758B2 (ja) レイヤ2ネットワークおよびネットワーク接続装置
CN101237319A (zh) 以太环网中的时间同步方法和以太环网系统
CN114710440A (zh) 环网收敛的处理方法及装置
JP2014513891A (ja) イーサネットノードの検出フレームタイムアウト時間の設定方法及びシステム

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2662738

Country of ref document: CA

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2007764132

Country of ref document: EP