WO2008089614A1 - A method, system and device for ring link protection - Google Patents

A method, system and device for ring link protection Download PDF

Info

Publication number
WO2008089614A1
WO2008089614A1 PCT/CN2007/002398 CN2007002398W WO2008089614A1 WO 2008089614 A1 WO2008089614 A1 WO 2008089614A1 CN 2007002398 W CN2007002398 W CN 2007002398W WO 2008089614 A1 WO2008089614 A1 WO 2008089614A1
Authority
WO
WIPO (PCT)
Prior art keywords
port
protocol packet
secondary port
sent
primary
Prior art date
Application number
PCT/CN2007/002398
Other languages
French (fr)
Chinese (zh)
Inventor
Haizhou Xiang
Binxuan Li
Chenggui Cai
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 WO2008089614A1 publication Critical patent/WO2008089614A1/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

Definitions

  • the present invention relates to the field of IP network technologies, and in particular, to a method, system and device for ring link protection. Background technique
  • the Rapid Ring Protection Protocol is a link layer protocol specifically applied to the Ethernet ring. It can quickly enable the backup link to recover the ring network when a link failure occurs on the Ethernet ring.
  • An Ethernet ring that uses the RRPP protocol is mainly composed of multiple nodes. One of them is the master node, and the other nodes are transit nodes.
  • the two ports on the ring of the master node are classified into the primary port and the secondary port.
  • the secondary port of the primary node is usually in the closed state. The secondary port in the closed state cannot send and receive service packets, but can send and receive protocol packets.
  • the master node In order to detect a link fault in the ring network, the master node periodically sends a ring protocol (HELLO) message from the master port. In the case of a complete ring, the master node receives the self-send on the secondary port within a certain period. The HELLO packet, so that the primary node considers that the ring network is in a complete state, keeps the secondary port in the closed state to ensure that there is no loop; if the primary node does not receive the HELLO packet sent by itself on the secondary port within a certain period, it is considered When the ring network is in the fault state, the primary node opens the secondary port to send and receive service packets, and sends a message to notify other transit nodes to update the forwarding table. After the transit node updates the forwarding table, the data flow is switched to the backup link.
  • HELLO ring protocol
  • the secondary port of the primary node receives the HELLO packet sent by the primary port, it considers that the ring network is restored to the complete state, immediately shuts down the secondary port, and sends a message to notify other nodes to refresh the forwarding table. After the transmission node updates the forwarding table, the data flow is restarted. Switch back to the original link.
  • a link between a node on a ring network or a directly connected node fails, a down event of the node port is triggered, and the node immediately sends a fault (link_down) message to the master node.
  • the master node receives the faulty packet, it also considers that the ring network is in the fault state, immediately opens the secondary port, and sends a message to notify other transmitting nodes to update the forwarding table. After the transmitting node updates the forwarding table, the data stream is switched to the backup link.
  • the port of the faulty node will be up.
  • the faulty node will temporarily block the port.
  • the port can also transparently transmit RRPP packets.
  • the HELLO packet sent by the master node from the master port can penetrate the temporary blocked port.
  • the secondary port of the primary node receives the HELLO packet sent by the primary port, it considers that the ring network is in a complete state, immediately shuts down the secondary port, and sends a message to notify other nodes to open the temporary blocked port and refresh the forwarding table. After the publication, the data stream is switched back to the original link.
  • the master node detects the ring network link according to the fact that the secondary port does not receive the protocol packet sent by the master port or receives the fault packet sent by the transit node in a certain period. malfunction.
  • a link of the transmitting node fails, for example, the forwarding chip of the transmitting node fails, causing a unidirectional path, that is, a communication disconnection, a reverse path, or a slave from the primary port of the primary node to the secondary port of the primary node.
  • the secondary port of the primary node is disconnected from the primary port of the primary node, and the reverse path.
  • the primary node detects a link failure, it opens the secondary port to enable it to send and receive service packets.
  • the path from the secondary port to the primary port or from the primary port to the secondary port is originally a path, a loop occurs when the secondary port is opened, which eventually causes serious consequences of the entire network.
  • node 1 in a normal ring network consisting of four switches: node 1, node 2, node 3, and node 4, RRPP is enabled for each switch, and node 1 is set as a master node.
  • S is the secondary port of the primary node, and the secondary port is closed to prevent loops;
  • the node 4 is faulty, such as a forwarding chip abnormality, etc., causing the link of node 3 to node 4 to be unreachable, and the link of node 4 to node 3 is a path, and the single pass of node 4 to node 3 occurs.
  • the master node detects that the ring network is in the fault state, it immediately opens the secondary port S. At this time, the secondary port S can send and receive service packets. Therefore, a loop from the secondary port to the primary port appears in the ring network, and the whole may appear. The serious consequences of the net. Summary of the invention
  • the embodiment of the invention provides a method, a system and a device for protecting a ring network link, which are used to solve the problem in the prior art.
  • the master node detects a link fault
  • the secondary port is opened, and the communication loop is caused. The problem.
  • An embodiment of the present invention provides a ring network link protection method, which is applied to an Ethernet ring network, where the ring network includes a primary node and one or more transit nodes, and the primary node includes a primary port and a secondary port, and the method includes the following Steps:
  • the master node sends a protocol packet from the primary port and the secondary port to the transit node;
  • the master port and the secondary port open the secondary port when the protocol sent by the transmitting node is not received within a certain period of time after the protocol is issued.
  • An embodiment of the present invention provides a ring network link protection system, where the system includes:
  • a master node device including a primary port and a secondary port, configured to send a protocol packet from the primary port and the secondary port to the transit node device; a certain time after the primary port and the secondary port send a protocol packet
  • the secondary port is opened; the transit node device is configured to receive the protocol packet sent by the primary port, and send the protocol packet to the secondary port; Receiving a protocol packet sent by the secondary port, and sending the protocol packet to the primary port.
  • the embodiment of the present invention provides a master node device, which is connected to a transit node device, where the master node device includes a primary port and a secondary port, and the device further includes:
  • a sending unit configured to send a protocol packet from the primary port and the secondary port to the transit node device
  • the fault detecting unit is configured to open the secondary port when the protocol packet sent by the transit node device is not received within a certain period of time after the sending unit sends the protocol packet from the primary port and the secondary port.
  • the primary node of the ring network sends a protocol packet from the primary port and the secondary port to the transit node, and the primary port and the secondary port are after the protocol packet is sent.
  • the master node opens the secondary port. Because the primary port and the secondary port do not receive the protocol on time, it means that the ring network has failed but is not single. If the fault occurs, the secondary port is opened, and no loop occurs in the ring network.
  • one of the primary port and the secondary port does not receive the protocol packet on time, and the other port receives the protocol packet on time, it means A single-pass fault occurs in the ring network.
  • the present invention solves the problem that the primary node opens the secondary node once the link fault is detected in the prior art, causing a communication loop.
  • 1A is a schematic diagram of a link failure in an Ethernet ring network in the prior art
  • FIG. 1B is a schematic diagram of the prior art in which the secondary port of the primary node is opened after a single-pass failure occurs in the Ethernet ring network;
  • FIG. 3A is a schematic diagram of a link failure of an Ethernet ring network in the first embodiment of the present invention
  • FIG. 3B is a schematic diagram of a single-pass failure of an Ethernet ring network according to Embodiment 1 of the present invention
  • FIG. 4B is a schematic diagram of a case where a non-single-pass fault occurs in an Ethernet ring network
  • FIG. 4B is a schematic diagram of a secondary port of a primary node after a non-single-link failure occurs in the Ethernet ring network according to Embodiment 2 of the present invention
  • FIG. 5A is a schematic structural diagram of a system according to an embodiment of the present invention.
  • 5B is a schematic structural diagram of a master node device in a system according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a device according to an embodiment of the present invention. detailed description
  • a method for protecting a ring network link in the method, the master node sends protocol packets from the primary port and the secondary port respectively, and the primary port and the secondary port send the protocol packet within a certain period of time.
  • the master node will open the secondary port. Otherwise, to avoid loops, keep the secondary port in the closed state.
  • the embodiment of the present invention provides a ring network link protection method, which is applied to an Ethernet ring network using the RRPP protocol, where the ring network is mainly composed of multiple nodes, one of which is a master node, and the other nodes are transit nodes, and the master node
  • the two ports on the ring are divided into a primary port and a secondary port.
  • the secondary port of the primary node is usually in the closed state.
  • the secondary port in the closed state cannot receive or send service packets, but can send and receive protocol packets.
  • Step 201 The master node issues an agreement from the primary port and the secondary port respectively.
  • the master node On the ring network that uses the RRPP protocol, the master node sends protocol packets from the primary port and the secondary port.
  • the master node sends protocol packets from the primary port and the secondary port at regular intervals.
  • the timer is started for the primary port and the secondary port.
  • the protocol packet sent from the primary port will reach the secondary port of the primary node through the transit nodes in the ring network when the ring network is complete. After the primary port sends the protocol packet, if it is within a certain period of time, If the secondary port does not receive the protocol packet, the primary node considers that the link is faulty.
  • the protocol packets sent from the secondary port will eventually reach the primary port of the primary node through the various transit nodes in the ring network. If the primary port does not receive the protocol within a certain period of time, In the case of the text, the master node also believes that the link has failed.
  • Step 202 The primary node opens the secondary port when the primary port and the secondary port do not receive the protocol packet within a certain period of time after the protocol is sent.
  • This step includes the following three situations:
  • the master node When the primary port does not receive the protocol packet within a certain period of time after the protocol packet is sent, the master node considers that the link is faulty, but does not immediately open the secondary port. The protocol packet is not received within a certain period of time. If yes, it means that there is no one-way path in the ring network. The link fault detected by the master node is not a single-pass fault. At this time, the master node opens the secondary port. It can send and receive service packets, and send messages to other transmitting nodes to update the forwarding table. After the transmitting node updates the forwarding table, the data flow is switched to the backup link; otherwise, it means that there is a direction from the primary port to the secondary port in the ring network. In a one-way path, the link fault detected by the master node is a one-way fault. In order to avoid loops, the secondary port is not opened, but the secondary port is kept closed. In the closed state, only the timer is cleared;
  • the master node When the secondary port does not receive the protocol packet within a certain period of time after the protocol packet is sent, the master node considers that the link is faulty but does not immediately open the secondary port. Instead, it first determines whether the primary port is also transmitting the protocol packet. The protocol packet is not received within a certain period of time. If yes, it means that there is no one-way path in the ring network. The link fault detected by the master node is not a single-pass fault. At this time, the master node opens the secondary port. The device can send and receive service packets, and send messages to other transmitting nodes to update the forwarding table.
  • the transmission node After the transmission node updates the forwarding table, the data flow is switched to the backup link; otherwise, the ring network has a direction from the secondary port to the primary port.
  • the link fault detected by the master node In a one-way path, the link fault detected by the master node is a one-way fault.
  • the secondary port In order to avoid loops, the secondary port is not opened, but the secondary port is kept closed, and only the timer is cleared.
  • the master node When receiving the link fault packet sent by the transit node, the master node does not immediately open the secondary port. Instead, it first determines whether the primary port and the secondary port have not received the protocol packet within a certain period of time after the protocol packet is sent. If yes, it means that there is no unidirectional path in the ring network. The link fault detected by the master node is not a single-pass fault. At this time, the master node opens the secondary port to enable it to send and receive service packets and send packets at the same time.
  • the link fault detected by the master node is a single-pass fault. In order to avoid loops, the secondary port is not opened, but the secondary port is kept closed, and only the timer is cleared.
  • the certain time can be set and changed.
  • a timer can be set for the primary port and the secondary port respectively in the primary node, and then the primary port can be returned when the timer of the primary port expires.
  • the protocol packet is not received, and the primary port does not receive the protocol packet within a certain period of time after the protocol packet is sent.
  • the secondary port has not received the protocol packet when the timer of the secondary port expires.
  • the secondary port does not receive the protocol packet within a certain period of time after the protocol packet is sent; of course, the primary port and the secondary port of the master node can share a timer, in this case, when the timer expires The master port has not received the protocol packet, and it is determined that the master port does not receive the protocol within a certain period of time after the protocol is issued. When the timer expires, the secondary port has not received the protocol packet to determine that the secondary port has not received the protocol packet within a certain period of time after the protocol packet is sent.
  • Step 203 After the secondary port is opened, when the primary port or the secondary port of the primary node receives the protocol sent by the transmission node, the secondary port is closed;
  • the secondary port After the secondary port is opened, when the primary port and the secondary port receive the protocol packet, the ring network is restored to the complete state. To prevent loops, the secondary port needs to be shut down, and a packet is sent to notify other transmitting nodes to refresh the forwarding table. After the transit node updates the forwarding table, the data stream is switched back to the original link.
  • the ring network When one port of the primary port or the secondary port receives the protocol packet, only one port receives the protocol packet. At this time, the ring network does not return to the complete state, but a communication loop occurs, in order to avoid loops. More serious consequences, such as broadcast storms, also require the secondary port to be closed and send a message to inform other transmitting nodes to refresh the forwarding table.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • a switch is composed of four switches: node 1, node 2, node 3, and node 4, and RRPP is enabled on each switch, and node 1 is set as the master.
  • Node P is the primary port of the master node, S is the secondary port of the master node, and the secondary port is closed to prevent loops;
  • the support node 4 fails, causing the link from node 3 to node 4 to be unreachable, and the link from node 4 to node 3 is the path.
  • the master node detects that the ring network is in the fault state, in order to distinguish whether the fault is a single-pass fault, it is first determined whether the master port and the secondary port have not received the protocol packet within a certain period of time. Since the link from node 4 to node 3 is the path, the unidirectional path of node 4-> node 3-> node 2-> node 1 appears in the ring network. At this time, the master port can receive the protocol packet sent by the slave port.
  • the link fault detected by the master node is a single-pass fault, and in order to avoid the communication loop in the direction of node 4->node 3->node 2->node 1->node 4, the secondary port is not opened, and Keep the secondary port off and only clear the timer.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • each switch is enabled with RRPP, and node 1 is set as the master node, P is the master port of the master node, and S is the secondary port of the master node. The secondary port is closed. To prevent loops;
  • Fig. 4A it is assumed that node 3 and node 4 fail, causing the link from node 3 to node 4 and node 4 to node 3 to fail.
  • the master node detects that the ring network is in the fault state, in order to distinguish whether the fault is a single-pass fault, it is first determined whether the master port and the secondary port have not received the protocol packet within a certain period of time. Since the link from node 3 to node 4 and node 4 to node 3 are unreachable, there is no unidirectional path in the ring network.
  • neither the primary port nor the secondary port can receive the protocol packet, so the link detected by the master node
  • the fault is not a single-pass fault, so the master node opens its secondary port to enable it to send and receive service packets, and sends a message to inform other transport nodes to update the forwarding table.
  • the transport node updates the forwarding table, the data flow is switched to the backup link. .
  • a communication path for service message transmission is established between the four nodes, as shown in Fig. 4B.
  • an embodiment of the present invention further provides a ring network link protection system, where the system includes: a master node device 501 including a primary port P and a secondary port S, respectively, for respectively from the primary port and the secondary
  • the port sends a protocol packet to the transit node device; when the primary port and the secondary port do not receive the protocol packet sent by the transit node device within a certain period of time after the protocol packet is sent, the secondary port is opened;
  • the node device 502 is configured to receive the protocol packet sent by the primary port, and send the protocol packet to the secondary port; receive the protocol packet sent by the secondary port, and send the protocol packet to the primary port. Text.
  • the master node device 501 further includes a sending unit 5011 and a fault detecting unit 5012, where the sending unit 5011 is configured to send a protocol packet from the primary port and the secondary port to the transmitting node device, respectively; 5012.
  • the method is: when the sending unit does not receive the protocol packet sent by the transit node device within a certain period of time after the sending unit sends the protocol packet from the primary port and the secondary port, the secondary port is opened.
  • the sending unit 5011 is configured to send a protocol packet from the primary port and the secondary port to the transmitting node device at regular intervals.
  • the fault detecting unit 5012 includes a first processing unit 50121, a second processing unit 50122, and a
  • the third processing unit 50123 is configured to: when the primary port does not receive the protocol packet sent by the transit node device within a certain period of time after the primary port sends the protocol packet, determine whether the secondary port is The protocol message sent by the transit node device is not received within a certain period of time after the protocol packet is sent, and if so, the secondary port is opened; the second processing unit 50122 is configured to send the protocol packet after the secondary port sends the protocol packet.
  • the third processing unit 50123 is configured to: when receiving the fault packet sent by the transit node device, determine whether the primary port and the secondary port are not within a certain period of time after sending the protocol packet Receiving a protocol packet sent by the transit node device, and if yes, opening the secondary port.
  • the master node device 501 further includes a fault recovery unit 5013, configured to close the secondary port when the primary port or/and the secondary port receives a protocol packet sent by the transit node device.
  • an embodiment of the present invention further provides a master node device, where the device includes a primary port P and a secondary port S, which can be applied to a ring link protection system, and is connected to a transmission node device, and the device further includes sending The unit 601 and the fault detecting unit 602, wherein the sending unit 601 is configured to send a protocol packet from the primary port and the secondary port to the transmitting node device, respectively; and the fault detecting unit 602 is configured to send the sending unit from the primary When the port and the secondary port do not receive the protocol packet sent by the transit node device within a certain period of time after the protocol packet is sent, the secondary port is opened.
  • the sending unit 601 is configured to send a protocol packet from the primary port and the secondary port to the transmitting node device at regular intervals.
  • the fault detection unit 602 includes a first processing unit, a second processing unit 6022, and a third processing unit 6023.
  • the first processing unit 6021 is configured to not receive the protocol packet after the primary port sends the protocol packet.
  • the protocol packet sent by the node device is transmitted, it is determined whether the secondary port does not receive the protocol packet sent by the transit node device within a certain period of time after the protocol packet is sent, and if yes, the secondary port is opened;
  • the second processing unit 6022 is configured to: when the protocol port sent by the transit node device is not received within a certain period of time after the slave port sends the protocol packet, determine whether the master port is certain after the protocol packet is sent. The protocol sent by the transit node device was not received within the time limit.
  • the third processing unit 6023 is configured to determine, when receiving the fault message sent by the transit node device, whether the primary port and the secondary port are in an agreement.
  • the protocol packet sent by the transit node device is not received within a certain period of time after the packet, and if so, the secondary port is opened.
  • the device further includes a fault recovery unit 603, configured to close the secondary port when the primary port or/and the secondary port receives a protocol packet sent by the transmitting node device.
  • the master node may not receive the protocol packet within a certain period of time after the protocol packet is sent by the primary port or the secondary port, or may detect the link fault by receiving the fault packet sent by the transit node.
  • a link failure from the primary port to the secondary port can be detected, and a link failure from the secondary port to the primary port can also be detected.
  • the backup link is enabled only when it is determined that the link failure is not a single-pass failure, and the secondary port is opened, because opening the secondary port in the single-pass failure causes communication on the ring network. Loops, while communication loops can cause serious adverse consequences such as broadcast storms.
  • the link fault is not a single-pass fault, and the secondary port can be opened; if the primary port And one of the ports on the secondary port does not receive the protocol packet sent by the transit node within a certain period of time after the protocol packet is sent, and the other port receives the protocol sent by the transit node within a certain period of time after the protocol packet is sent.
  • the packet indicates that the link fault is a single-pass fault and does not open the secondary port.
  • the primary node does not enable the backup link and opens the secondary port, thereby ensuring that communication does not occur in the ring network.
  • the loop avoids serious adverse consequences such as broadcast storms caused by communication loops.
  • the software corresponding to the invention can be stored in a computer readable storage medium, and the computer can implement the functions that the software can perform.

Abstract

A ring link protection method, which is used in Ethernet ring, is disclosed. The said ring comprises master node and more than one transit nodes. The said master node comprises primary port and secondary port. The said method is as follows: the said master node sends a HELLO message to transit nodes through said primary port and said secondary port; if said primary port and said secondary port do not receive the said HELLO message, which is forwarded by transit nodes, in an interval after sending HELLO message, the said master node unblocks said secondary port. The said method can avoid the communication loop which is created when the masternode uses the backup link.

Description

一种环网链路保护的方法、 系统及设备 技术领域  Method, system and device for ring network link protection
本发明涉及 IP网络技术领域, 尤其涉及一种环网链路保护的方法、 系统 及设备。 背景技术  The present invention relates to the field of IP network technologies, and in particular, to a method, system and device for ring link protection. Background technique
快速环网保护协议( Rapid Ring Protection Protocol , RRPP )是一个专门 应用于以太网环的链路层协议, 它能在以太网环上出现链路故障时, 迅速启 用备份链路以恢复环网上各个节点之间的通信路径。  The Rapid Ring Protection Protocol (RRPP) is a link layer protocol specifically applied to the Ethernet ring. It can quickly enable the backup link to recover the ring network when a link failure occurs on the Ethernet ring. The communication path between nodes.
使用 RRPP协议的以太网环主要由多个节点构成, 其中一个为主节点, 其他节点为传输节点, 主节点在环上的两个端口分为主端口和副端口。 为了 避免环网出现环路, 主节点的副端口通常处于关闭状态, 处于关闭状态的副 端口不能收发业务报文, 但可以收发协议报文。  An Ethernet ring that uses the RRPP protocol is mainly composed of multiple nodes. One of them is the master node, and the other nodes are transit nodes. The two ports on the ring of the master node are classified into the primary port and the secondary port. In order to avoid loops on the ring network, the secondary port of the primary node is usually in the closed state. The secondary port in the closed state cannot send and receive service packets, but can send and receive protocol packets.
为了检测环网中的链路故障, 主节点周期性地从主端口发送环的协议 ( HELLO )报文, 在环完整的情况下, 在一定周期内主节点会在副端口上接 收到自己发送的 HELLO报文, 这样主节点认为环网处于完整状态, 则保持副 端口处于关闭状态以保证没有环路; 若在一定周期内主节点没有在副端口接 收到自己发送的 HELLO报文, 则认为环网处于故障状态, 主节点会打开副端 口使其能够收发业务报文, 同时发送报文通知其他传输节点更新转发表, 传 输节点更新转发表后数据流则切换到备份链路上。  In order to detect a link fault in the ring network, the master node periodically sends a ring protocol (HELLO) message from the master port. In the case of a complete ring, the master node receives the self-send on the secondary port within a certain period. The HELLO packet, so that the primary node considers that the ring network is in a complete state, keeps the secondary port in the closed state to ensure that there is no loop; if the primary node does not receive the HELLO packet sent by itself on the secondary port within a certain period, it is considered When the ring network is in the fault state, the primary node opens the secondary port to send and receive service packets, and sends a message to notify other transit nodes to update the forwarding table. After the transit node updates the forwarding table, the data flow is switched to the backup link.
一旦主节点的副端口接收到主端口发送的 HELLO 报文, 则认为环网恢 复完整状态, 立刻关闭副端口, 并发送报文通知其他节点刷新转发表, 传输 节点更新转发表后数据流又重新切换回原来的链路上。  Once the secondary port of the primary node receives the HELLO packet sent by the primary port, it considers that the ring network is restored to the complete state, immediately shuts down the secondary port, and sends a message to notify other nodes to refresh the forwarding table. After the transmission node updates the forwarding table, the data flow is restarted. Switch back to the original link.
另外, 环网上的节点或直接相连节点间的链路出现故障时, 会触发节点 端口的 down事件, 该节点会立即主动向主节点发送故障(link_down )报文, 主节点接收到故障报文时, 也认为环网处于故障状态, 立刻打开副端口, 同 时发送报文通知其他传输节点更新转发表, 传输节点更新转发表后数据流切 换到备份链路上。 In addition, when a link between a node on a ring network or a directly connected node fails, a down event of the node port is triggered, and the node immediately sends a fault (link_down) message to the master node. When the master node receives the faulty packet, it also considers that the ring network is in the fault state, immediately opens the secondary port, and sends a message to notify other transmitting nodes to update the forwarding table. After the transmitting node updates the forwarding table, the data stream is switched to the backup link.
若故障恢复, 故障节点的端口会 UP起来, 这时故障节点会临时阻塞该端 口, 但该端口还能透传 RRPP协议报文, 主节点从主端口发送的 HELLO报文 可以穿透临时阻塞端口,一旦主节点的副端口接收到主端口发送的 HELLO报 文, 则认为环网恢复完整状态, 立刻关闭副端口, 并发送报文通知其他节点 打开临时阻塞端口同时刷新转发表, 传输节点更新转发表后数据流又重新切 换回原来的链路上。  If the fault is rectified, the port of the faulty node will be up. The faulty node will temporarily block the port. However, the port can also transparently transmit RRPP packets. The HELLO packet sent by the master node from the master port can penetrate the temporary blocked port. Once the secondary port of the primary node receives the HELLO packet sent by the primary port, it considers that the ring network is in a complete state, immediately shuts down the secondary port, and sends a message to notify other nodes to open the temporary blocked port and refresh the forwarding table. After the publication, the data stream is switched back to the original link.
可见, 在使用 RRPP协议的环网中, 主节点根据副端口在一定周期接收 不到主端口发送的协议报文或接收到传输节点发来的故障报文两种情况来检 测到环网链路故障。  It can be seen that in the ring network using the RRPP protocol, the master node detects the ring network link according to the fact that the secondary port does not receive the protocol packet sent by the master port or receives the fault packet sent by the transit node in a certain period. malfunction.
当传输节点的某条链路出现故障, 例如传输节点的转发芯片故障, 造成 了单向通路的情况, 即从主节点的主端口往主节点的副端口方向通信断路, 反向通路, 或者从主节点的副端口往主节点的主端口方向通信断路, 反向通 路。 这时当主节点检测到链路故障时, 会打开副端口使其能够收发业务报文。 但是由于从副端口往主端口方向或从主端口往副端口方向原本就是通路, 打 开副端口就会出现环路, 最终导致整网瘫痪的严重后果。  When a link of the transmitting node fails, for example, the forwarding chip of the transmitting node fails, causing a unidirectional path, that is, a communication disconnection, a reverse path, or a slave from the primary port of the primary node to the secondary port of the primary node. The secondary port of the primary node is disconnected from the primary port of the primary node, and the reverse path. At this time, when the primary node detects a link failure, it opens the secondary port to enable it to send and receive service packets. However, since the path from the secondary port to the primary port or from the primary port to the secondary port is originally a path, a loop occurs when the secondary port is opened, which eventually causes serious consequences of the entire network.
如图 1A所示, 由节点 1, 节点 2, 节点 3, 节点 4四个交换机组成的处 于正常状态的环网中,每个交换机都使能了 RRPP,并把节点 1设置为主节点, P为主节点的主端口, S为主节点的副端口, 副端口被关闭以防止环路;  As shown in FIG. 1A, in a normal ring network consisting of four switches: node 1, node 2, node 3, and node 4, RRPP is enabled for each switch, and node 1 is set as a master node. As the primary port of the primary node, S is the secondary port of the primary node, and the secondary port is closed to prevent loops;
如图 1B所示, 假设节点 4出现故障, 如转发芯片异常等, 造成节点 3到节 点 4的链路不通, 而节点 4到节点 3的链路为通路, 出现节点 4到节点 3的单通现 象。 当主节点检测到环网处于故障状态, 则立刻打开副端口 S, 此时副端口 S 就可以收发业务报文, 因此环网中出现了从副端口到主端口方向的环路, 而 可能出现整网瘫痪的严重后果。 发明内容 As shown in FIG. 1B, it is assumed that the node 4 is faulty, such as a forwarding chip abnormality, etc., causing the link of node 3 to node 4 to be unreachable, and the link of node 4 to node 3 is a path, and the single pass of node 4 to node 3 occurs. phenomenon. When the master node detects that the ring network is in the fault state, it immediately opens the secondary port S. At this time, the secondary port S can send and receive service packets. Therefore, a loop from the secondary port to the primary port appears in the ring network, and the whole may appear. The serious consequences of the net. Summary of the invention
本发明实施例提供一种环网链路保护的方法、 系统及设备, 用以解决现 有技术中在以太环网中, 当主节点检测到链路故障就将副端口打开, 而造成 通信环路的问题。  The embodiment of the invention provides a method, a system and a device for protecting a ring network link, which are used to solve the problem in the prior art. In the Ethernet ring network, when the master node detects a link fault, the secondary port is opened, and the communication loop is caused. The problem.
本发明实施例提供一种环网链路保护的方法, 应用于以太环网中, 该环 网包括主节点和一个以上的传输节点, 所述主节点包括主端口和副端口, 该 方法包括以下步骤:  An embodiment of the present invention provides a ring network link protection method, which is applied to an Ethernet ring network, where the ring network includes a primary node and one or more transit nodes, and the primary node includes a primary port and a secondary port, and the method includes the following Steps:
A. 所述主节点从所述主端口和所述副端口向传输节点发出协议报文; A. The master node sends a protocol packet from the primary port and the secondary port to the transit node;
B. 所述主端口和所述副端口在发出协议 ·艮文后的一定时间内未接收到传 输节点发来的协议"^文时, 所述主节点打开所述副端口。 B. The master port and the secondary port open the secondary port when the protocol sent by the transmitting node is not received within a certain period of time after the protocol is issued.
本发明实施例提供一种环网链路保护的系统, 该系统包括:  An embodiment of the present invention provides a ring network link protection system, where the system includes:
包括主端口和副端口的主节点设备, 用于从所述主端口和所述副端口向 传输节点设备发出协议报文; 在所述主端口和所述副端口发出协议报文后的 一定时间内未接收到传输节点设备发来的协议报文时, 打开所述副端口; 传输节点设备, 用于接收所述主端口发出的协议报文, 并向所述副端口 发出该协议报文; 接收所述副端口发出的协议报文, 并向所述主端口发出该 协议报文。  a master node device including a primary port and a secondary port, configured to send a protocol packet from the primary port and the secondary port to the transit node device; a certain time after the primary port and the secondary port send a protocol packet When the protocol packet sent by the transit node device is not received, the secondary port is opened; the transit node device is configured to receive the protocol packet sent by the primary port, and send the protocol packet to the secondary port; Receiving a protocol packet sent by the secondary port, and sending the protocol packet to the primary port.
本发明实施例提供一种主节点设备, 与传输节点设备相连, 所述主节点 设备包括主端口和副端口, 该设备还包括:  The embodiment of the present invention provides a master node device, which is connected to a transit node device, where the master node device includes a primary port and a secondary port, and the device further includes:
发送单元, 用于从所述主端口和所述副端口向传输节点设备发出协议报 文;  a sending unit, configured to send a protocol packet from the primary port and the secondary port to the transit node device;
故障检测单元, 用于在所述发送单元从所述主端口和所述副端口发出协 议报文后的一定时间内未接收到传输节点设备发来的协议报文时, 打开所述 副端口。  The fault detecting unit is configured to open the secondary port when the protocol packet sent by the transit node device is not received within a certain period of time after the sending unit sends the protocol packet from the primary port and the secondary port.
与现有技术相比, 本发明实施例中, 环网的主节点从其主端口和副端口 向传输节点发出协议报文, 所述主端口和所述副端口在发出协议报文后的一 定时间内未接收到传输节点发来的协议报文时, 主节点才打开副端口, 因为 主端口和副端口都未按时收到协议 ^艮文, 意味着环网中虽然出现故障但不是 单通故障, 此时将副端口打开, 环网中不会出现环路; 而在主端口和副端口 其中一个端口未按时收到协议报文, 而另一个端口按时收到了协议报文时, 意味着环网中出现的是单通故障, 此时不能将副端口打开, 否则环网中会出 现环路, 从而可能导致更加严重的后果。 可见, 本发明解决了现有技术中主 节点一旦检测到链路故障就将副节点打开, 而造成通信环路的问题。 附图说明 Compared with the prior art, in the embodiment of the present invention, the primary node of the ring network sends a protocol packet from the primary port and the secondary port to the transit node, and the primary port and the secondary port are after the protocol packet is sent. When the protocol packet sent by the transit node is not received within the fixed time, the master node opens the secondary port. Because the primary port and the secondary port do not receive the protocol on time, it means that the ring network has failed but is not single. If the fault occurs, the secondary port is opened, and no loop occurs in the ring network. When one of the primary port and the secondary port does not receive the protocol packet on time, and the other port receives the protocol packet on time, it means A single-pass fault occurs in the ring network. At this time, the secondary port cannot be opened. Otherwise, a loop will occur in the ring network, which may lead to more serious consequences. It can be seen that the present invention solves the problem that the primary node opens the secondary node once the link fault is detected in the prior art, causing a communication loop. DRAWINGS
图 1 A为现有技术中以太环网未发生链路故障时示意图;  1A is a schematic diagram of a link failure in an Ethernet ring network in the prior art;
图 1B 为现有技术中以太环网发生单通故障后打开主节点副端口时的示 意图;  FIG. 1B is a schematic diagram of the prior art in which the secondary port of the primary node is opened after a single-pass failure occurs in the Ethernet ring network;
图 2为本发明实施例中的方法流程图;  2 is a flowchart of a method in an embodiment of the present invention;
图 3 A为本发明实施例一中以太环网未发生链路故障时示意图; 图 3B为本发明实施例一中以太环网发生单通故障时的示意图; 图 4A为本发明实施例二中以太环网发生非单通故障时的示意图; 图 4B 为本发明实施例二中以太环网发生非单通故障后打开主节点副端 口时的示意图;  3A is a schematic diagram of a link failure of an Ethernet ring network in the first embodiment of the present invention; FIG. 3B is a schematic diagram of a single-pass failure of an Ethernet ring network according to Embodiment 1 of the present invention; FIG. 4B is a schematic diagram of a case where a non-single-pass fault occurs in an Ethernet ring network; FIG. 4B is a schematic diagram of a secondary port of a primary node after a non-single-link failure occurs in the Ethernet ring network according to Embodiment 2 of the present invention;
图 5A为本发明实施例的系统结构示意图;  FIG. 5A is a schematic structural diagram of a system according to an embodiment of the present invention; FIG.
图 5B为本发明实施例系统中的主节点设备结构示意图;  5B is a schematic structural diagram of a master node device in a system according to an embodiment of the present invention;
图 6为本发明实施例的设备结构示意图。 具体实施方式  FIG. 6 is a schematic structural diagram of a device according to an embodiment of the present invention. detailed description
本发明实施例提供的一种环网链路保护的方法, 在本方法中, 主节点从 主端口和副端口分别发出协议报文, 在主端口和副端口发出协议报文后的一 定时间内未接收到协议报文时, 主节点才将副端口打开, 否则, 为避免出现 环路, 保持副端口处于关闭状态。 本发明实施例提供一种环网链路保护的方法, 应用于使用 RRPP 协议的 以太环网中, 该环网主要由多个节点构成, 其中一个为主节点, 其他节点为 传输节点, 主节点在环上的两个端口分为主端口和副端口。 为了避免环网出 现环路, 主节点的副端口通常处于关闭状态, 处于关闭状态的副端口不能收 发业务报文, 但能够收发协议报文。 A method for protecting a ring network link according to an embodiment of the present invention, in the method, the master node sends protocol packets from the primary port and the secondary port respectively, and the primary port and the secondary port send the protocol packet within a certain period of time. When the protocol packet is not received, the master node will open the secondary port. Otherwise, to avoid loops, keep the secondary port in the closed state. The embodiment of the present invention provides a ring network link protection method, which is applied to an Ethernet ring network using the RRPP protocol, where the ring network is mainly composed of multiple nodes, one of which is a master node, and the other nodes are transit nodes, and the master node The two ports on the ring are divided into a primary port and a secondary port. To avoid loops on the ring network, the secondary port of the primary node is usually in the closed state. The secondary port in the closed state cannot receive or send service packets, but can send and receive protocol packets.
参见图 2, 本发明实施例所提供方法的具体实现流程如下:  Referring to FIG. 2, the specific implementation process of the method provided by the embodiment of the present invention is as follows:
步骤 201: 主节点分别从主端口和副端口发出协议 4艮文;  Step 201: The master node issues an agreement from the primary port and the secondary port respectively.
在使用 RRPP协议的环网中, 主节点一旦使能 RRPP , 就从主端口和副端 口分别发出协议报文, 以后每隔一定时间周期, 主节点都从主端口和副端口 分别发出协议报文, 在发出协议报文的同时, 为主端口和副端口启动定时器。 其中, 从主端口发出的协议报文, 在环网完整的情况下, 会通过环网中的各 个传输节点最后到达主节点的副端口; 主端口发出协议报文后, 若在一定时 间内, 副端口未接收到该协议报文, 则主节点认为链路发生故障。 同样, 从 副端口发出的协议报文, 在环网完整的情况下 , 会通过环网中的各个传输节 点最后到达主节点的主端口, 若在一定时间内, 主端口未接收到该协议 4艮文, 则主节点也认为链路发生故障。  On the ring network that uses the RRPP protocol, the master node sends protocol packets from the primary port and the secondary port. The master node sends protocol packets from the primary port and the secondary port at regular intervals. When the protocol packet is sent, the timer is started for the primary port and the secondary port. The protocol packet sent from the primary port will reach the secondary port of the primary node through the transit nodes in the ring network when the ring network is complete. After the primary port sends the protocol packet, if it is within a certain period of time, If the secondary port does not receive the protocol packet, the primary node considers that the link is faulty. Similarly, when the ring network is complete, the protocol packets sent from the secondary port will eventually reach the primary port of the primary node through the various transit nodes in the ring network. If the primary port does not receive the protocol within a certain period of time, In the case of the text, the master node also believes that the link has failed.
步骤 202:主节点在主端口和副端口发出协议才艮文后的一定时间内未接收 到协议报文时, 才将副端口打开;  Step 202: The primary node opens the secondary port when the primary port and the secondary port do not receive the protocol packet within a certain period of time after the protocol is sent.
本步骤包括以下三种情况:  This step includes the following three situations:
主端口在发出协议报文后的一定时间内未接收到协议报文时, 主节点认 为链路发生故障, 但并不立即打开副端口, 而是首先判断副端口是否也在发 出协议报文后的一定时间内未接收到协议报文, 如果是, 则意味着环网中不 存在单向通路, 主节点检测到的链路故障不是单通故障, 此时主节点才将副 端口打开, 使其能够收发业务报文, 同时发送报文通知其他传输节点更新转 发表, 传输节点更新转发表后数据流则切换到备份链路上; 否则意味着环网 中存在从主端口到副端口方向的单向通路, 主节点检测到的链路故障为单通 故障, 此时为了避免出现环路, 并不将副端口打开, 而是保持副端口处于关 闭状态, 只将定时器清零; When the primary port does not receive the protocol packet within a certain period of time after the protocol packet is sent, the master node considers that the link is faulty, but does not immediately open the secondary port. The protocol packet is not received within a certain period of time. If yes, it means that there is no one-way path in the ring network. The link fault detected by the master node is not a single-pass fault. At this time, the master node opens the secondary port. It can send and receive service packets, and send messages to other transmitting nodes to update the forwarding table. After the transmitting node updates the forwarding table, the data flow is switched to the backup link; otherwise, it means that there is a direction from the primary port to the secondary port in the ring network. In a one-way path, the link fault detected by the master node is a one-way fault. In order to avoid loops, the secondary port is not opened, but the secondary port is kept closed. In the closed state, only the timer is cleared;
副端口在发出协议报文后的一定时间内未接收到协议报文时, 主节点认 为链路发生故障, 但并不立即打开副端口, 而是首先判断主端口是否也在发 出协议报文后的一定时间内未接收到协议报文, 如果是, 则意味着环网中不 存在单向通路, 主节点检测到的链路故障不是单通故障, 此时主节点才将副 端口打开, 使其能够收发业务报文, 同时发送报文通知其他传输节点更新转 发表, 传输节点更新转发表后数据流则切换到备份链路上; 否则意味着环网 中存在从副端口到主端口方向的单向通路, 主节点检测到的链路故障为单通 故障, 此时为了避免出现环路, 并不将副端口打开, 而是保持副端口处于关 闭状态, 只将定时器清零;  When the secondary port does not receive the protocol packet within a certain period of time after the protocol packet is sent, the master node considers that the link is faulty but does not immediately open the secondary port. Instead, it first determines whether the primary port is also transmitting the protocol packet. The protocol packet is not received within a certain period of time. If yes, it means that there is no one-way path in the ring network. The link fault detected by the master node is not a single-pass fault. At this time, the master node opens the secondary port. The device can send and receive service packets, and send messages to other transmitting nodes to update the forwarding table. After the transmission node updates the forwarding table, the data flow is switched to the backup link; otherwise, the ring network has a direction from the secondary port to the primary port. In a one-way path, the link fault detected by the master node is a one-way fault. In order to avoid loops, the secondary port is not opened, but the secondary port is kept closed, and only the timer is cleared.
主节点接收到传输节点发来的链路故障报文时, 也不立即打开副端口, 而是首先判断主端口和副端口是否在发出协议报文后的一定时间内未接收到 协议报文, 如果是, 则意味着环网中不存在单向通路, 主节点检测到的链路 故障不是单通故障, 此时主节点才将副端口打开, 使其能够收发业务报文, 同时发送报文通知其他传输节点更新转发表, 传输节点更新转发表后数据流 则切换到备份链路上; 否则意味着环网中存在从主端口到副端口方向或从副 端口到主端口方向的单向通路, 主节点检测到的链路故障为单通故障, 此时 为了避免出现环路, 并不将副端口打开, 而是保持副端口处于关闭状态, 只 将定时器清零。  When receiving the link fault packet sent by the transit node, the master node does not immediately open the secondary port. Instead, it first determines whether the primary port and the secondary port have not received the protocol packet within a certain period of time after the protocol packet is sent. If yes, it means that there is no unidirectional path in the ring network. The link fault detected by the master node is not a single-pass fault. At this time, the master node opens the secondary port to enable it to send and receive service packets and send packets at the same time. Notifying other transit nodes to update the forwarding table, and the data stream is switched to the backup link after the transit node updates the forwarding table; otherwise, it means that there is a one-way path from the primary port to the secondary port or from the secondary port to the primary port in the ring network. The link fault detected by the master node is a single-pass fault. In order to avoid loops, the secondary port is not opened, but the secondary port is kept closed, and only the timer is cleared.
本步骤中, 所述一定时间, 是可以进行设置和改变的, 比如: 可以在主 节点中分别为主端口和副端口设置定时器, 那么, 可以通过在主端口的定时 器超时时主端口还未接收到协议报文, 来判断主端口在发出协议报文后的一 定时间内未接收到协议报文, 同样, 可以通过在副端口的定时器超时时副端 口还未接收到协议报文, 来判断副端口在发出协议报文后的一定时间内未接 收到协议报文; 当然, 主节点的主端口和副端口可以共用一个定时器, 在这 种情况下, 通过在该定时器超时时主端口还未接收到协议报文, 来判断主端 口在发出协议才艮文后的一定时间内未接收到协议才艮文, 同样, 可以通过在该 定时器超时时副端口还未接收到协议报文, 来判断副端口在发出协议报文后 的一定时间内未接收到协议报文。 In this step, the certain time can be set and changed. For example, a timer can be set for the primary port and the secondary port respectively in the primary node, and then the primary port can be returned when the timer of the primary port expires. The protocol packet is not received, and the primary port does not receive the protocol packet within a certain period of time after the protocol packet is sent. Similarly, the secondary port has not received the protocol packet when the timer of the secondary port expires. It is determined that the secondary port does not receive the protocol packet within a certain period of time after the protocol packet is sent; of course, the primary port and the secondary port of the master node can share a timer, in this case, when the timer expires The master port has not received the protocol packet, and it is determined that the master port does not receive the protocol within a certain period of time after the protocol is issued. When the timer expires, the secondary port has not received the protocol packet to determine that the secondary port has not received the protocol packet within a certain period of time after the protocol packet is sent.
步骤 203 : 将副端口打开后, 主节点的主端口或 /和副端口接收到传输节 点发来的协议 4艮文时, 关闭副端口;  Step 203: After the secondary port is opened, when the primary port or the secondary port of the primary node receives the protocol sent by the transmission node, the secondary port is closed;
这里, 将副端口打开后, 在主端口和副端口都接收到协议报文时, 环网 恢复完整状态, 为防止出现环路, 需要关闭副端口, 并发送报文通知其他传 输节点刷新转发表, 传输节点更新转发表后数据流又重新切换回原来的链路 上。 而在主端口或副端口其中一个端口接收到协议艮文时, 由于只有一个端 口接收到协议报文, 此时环网并未恢复完整状态, 但却出现了通信环路, 为 了避免环路造成更加严重的后果比如广播风暴, 也需要将副端口关闭, 并发 送报文通知其他传输节点刷新转发表。  Here, after the secondary port is opened, when the primary port and the secondary port receive the protocol packet, the ring network is restored to the complete state. To prevent loops, the secondary port needs to be shut down, and a packet is sent to notify other transmitting nodes to refresh the forwarding table. After the transit node updates the forwarding table, the data stream is switched back to the original link. When one port of the primary port or the secondary port receives the protocol packet, only one port receives the protocol packet. At this time, the ring network does not return to the complete state, but a communication loop occurs, in order to avoid loops. More serious consequences, such as broadcast storms, also require the secondary port to be closed and send a message to inform other transmitting nodes to refresh the forwarding table.
下面以具体实施例对本发明提供的方法进行具体说明:  The method provided by the present invention is specifically described below by using specific embodiments:
实施例一:  Embodiment 1:
参见图 3A, 本实施例中, 由节点 1 , 节点 2 , 节点 3 , 节点 4四个交换机 组成的处于正常状态的环网中, 每个交换机都使能了 RRPP, 并把节点 1设置 为主节点, P为主节点的主端口, S为主节点的副端口, 副端口被关闭以防止 出现环路;  Referring to FIG. 3A, in the embodiment, a switch is composed of four switches: node 1, node 2, node 3, and node 4, and RRPP is enabled on each switch, and node 1 is set as the master. Node, P is the primary port of the master node, S is the secondary port of the master node, and the secondary port is closed to prevent loops;
如图 3B所示, 支设节点 4出现故障, 造成节点 3到节点 4的链路不通, 而节点 4到节点 3的链路为通路。 当主节点检测到环网处于故障状态时, 为 了区分该故障是否为单通故障, 首先判断主端口和副端口是否都在一定时间 周期内未接收到协议报文。 由于节点 4到节点 3的链路为通路, 环网中出现 了节点 4-〉 节点 3-〉 节点 2-〉 节点 1的单向通路, 此时主端口可以接收到副 端口发出的协议报文, 因此主节点检测到的链路故障为单通故障, 为了避免 出现节点 4-〉 节点 3-〉 节点 2-〉 节点 1-〉 节点 4方向的通信环路, 并不将副 端口打开, 而是保持副端口处于关闭状态, 只将定时器清零。  As shown in Fig. 3B, the support node 4 fails, causing the link from node 3 to node 4 to be unreachable, and the link from node 4 to node 3 is the path. When the master node detects that the ring network is in the fault state, in order to distinguish whether the fault is a single-pass fault, it is first determined whether the master port and the secondary port have not received the protocol packet within a certain period of time. Since the link from node 4 to node 3 is the path, the unidirectional path of node 4-> node 3-> node 2-> node 1 appears in the ring network. At this time, the master port can receive the protocol packet sent by the slave port. Therefore, the link fault detected by the master node is a single-pass fault, and in order to avoid the communication loop in the direction of node 4->node 3->node 2->node 1->node 4, the secondary port is not opened, and Keep the secondary port off and only clear the timer.
实施例二:  Embodiment 2:
参见图 3A, 本实施例中, 仍然由节点 1 , 节点 2 , 节点 3 , 节点 4四个交 换机组成的处于正常状态的环网中, 每个交换机都使能了 RRPP, 并把节点 1 设置为主节点, P为主节点的主端口, S为主节点的副端口, 副端口被关闭以 防止出现环路; Referring to FIG. 3A, in this embodiment, four nodes are still connected by node 1, node 2, node 3, and node 4. In the normal ring network, each switch is enabled with RRPP, and node 1 is set as the master node, P is the master port of the master node, and S is the secondary port of the master node. The secondary port is closed. To prevent loops;
如图 4A所示, 假设节点 3和节点 4出现故障, 造成节点 3到节点 4和节 点 4到节点 3 的链路不通。 当主节点检测到环网处于故障状态时, 为了区分 该故障是否为单通故障, 首先判断主端口和副端口是否都在一定时间周期内 未接收到协议报文。 由于节点 3到节点 4和节点 4到节点 3的链路都不通, 环网中不存在单向通路, 此时主端口和副端口均接收不到协议报文, 因此主 节点检测到的链路故障不是单通故障, 于是主节点将其副端口打开, 使其能 够收发业务报文, 同时发送报文通知其他传输节点更新转发表, 传输节点更 新转发表后数据流则切换到备份链路上。 这时, 在四个节点间又建立了业务 报文传输的通信通路, 如图 4B所示。  As shown in Fig. 4A, it is assumed that node 3 and node 4 fail, causing the link from node 3 to node 4 and node 4 to node 3 to fail. When the master node detects that the ring network is in the fault state, in order to distinguish whether the fault is a single-pass fault, it is first determined whether the master port and the secondary port have not received the protocol packet within a certain period of time. Since the link from node 3 to node 4 and node 4 to node 3 are unreachable, there is no unidirectional path in the ring network. At this time, neither the primary port nor the secondary port can receive the protocol packet, so the link detected by the master node The fault is not a single-pass fault, so the master node opens its secondary port to enable it to send and receive service packets, and sends a message to inform other transport nodes to update the forwarding table. After the transport node updates the forwarding table, the data flow is switched to the backup link. . At this time, a communication path for service message transmission is established between the four nodes, as shown in Fig. 4B.
参见图 5A,本发明实施例还提供一种环网链路保护的系统,该系统包括: 包括主端口 P和副端口 S的主节点设备 501 ,用于分别从所述主端口和所述副 端口向传输节点设备发出协议报文; 在所述主端口和所述副端口发出协议报 文后的一定时间内未接收到传输节点设备发来的协议报文时, 打开所述副端 口; 传输节点设备 502 , 用于接收所述主端口发出的协议报文, 并向所述副端 口发出该协议报文; 接收所述副端口发出的协议报文, 并向所述主端口发出 该协议报文。  Referring to FIG. 5A, an embodiment of the present invention further provides a ring network link protection system, where the system includes: a master node device 501 including a primary port P and a secondary port S, respectively, for respectively from the primary port and the secondary The port sends a protocol packet to the transit node device; when the primary port and the secondary port do not receive the protocol packet sent by the transit node device within a certain period of time after the protocol packet is sent, the secondary port is opened; The node device 502 is configured to receive the protocol packet sent by the primary port, and send the protocol packet to the secondary port; receive the protocol packet sent by the secondary port, and send the protocol packet to the primary port. Text.
参见图 5B , 主节点设备 501还包括发送单元 5011和故障检测单元 5012, 其中, 发送单元 5011 , 用于分别从所述主端口和所述副端口向传输节点设备 发出协议报文; 故障检测单元 5012, 用于在发送单元从所述主端口和所述副 端口发出协议报文后的一定时间内未接收到传输节点设备发来的协议报文 时, 打开所述副端口。  Referring to FIG. 5B, the master node device 501 further includes a sending unit 5011 and a fault detecting unit 5012, where the sending unit 5011 is configured to send a protocol packet from the primary port and the secondary port to the transmitting node device, respectively; 5012. The method is: when the sending unit does not receive the protocol packet sent by the transit node device within a certain period of time after the sending unit sends the protocol packet from the primary port and the secondary port, the secondary port is opened.
发送单元 5011用于每隔一定时间周期分别从所述主端口和所述副端口向 传输节点设备发出协议报文。  The sending unit 5011 is configured to send a protocol packet from the primary port and the secondary port to the transmitting node device at regular intervals.
故障检测单元 5012包括第一处理单元 50121、 第二处理单元 50122和第 三处理单元 50123 , 其中, 第一处理单元 50121 , 用于在所述主端口发出协议 报文后的一定时间内未接收到传输节点设备发来的协议报文时, 判断所述副 端口是否在发出协议报文后的一定时间内未接收到传输节点设备发来的协议 文, 如果是, 则打开所述副端口; 第二处理单元 50122, 用于在所述副端口 发出协议报文后的一定时间内未接收到传输节点设备发来的协议报文时, 判 断所述主端口是否在发出协议报文后的一定时间内未接收到传输节点设备发 来的协议报文, 如果是, 则打开所述副端口; 第三处理单元 50123 , 用于在接 收到传输节点设备发来的故障报文时, 判断所述主端口和所述副端口是否在 发出协议报文后的一定时间内未接收到传输节点设备发来的协议报文, 如果 是, 则打开所述副端口。 The fault detecting unit 5012 includes a first processing unit 50121, a second processing unit 50122, and a The third processing unit 50123 is configured to: when the primary port does not receive the protocol packet sent by the transit node device within a certain period of time after the primary port sends the protocol packet, determine whether the secondary port is The protocol message sent by the transit node device is not received within a certain period of time after the protocol packet is sent, and if so, the secondary port is opened; the second processing unit 50122 is configured to send the protocol packet after the secondary port sends the protocol packet. If the protocol packet sent by the transit node device is not received within a certain period of time, it is determined whether the master port does not receive the protocol packet sent by the transit node device within a certain period of time after the protocol packet is sent, and if yes, Opening the secondary port; the third processing unit 50123 is configured to: when receiving the fault packet sent by the transit node device, determine whether the primary port and the secondary port are not within a certain period of time after sending the protocol packet Receiving a protocol packet sent by the transit node device, and if yes, opening the secondary port.
主节点设备 501进一步包括故障恢复单元 5013 , 用于在所述主端口或 /和 所述副端口接收到传输节点设备发来的协议报文时, 关闭所述副端口。  The master node device 501 further includes a fault recovery unit 5013, configured to close the secondary port when the primary port or/and the secondary port receives a protocol packet sent by the transit node device.
参见图 6, 本发明实施例还提供一种主节点设备, 该设备包括主端口 P和 副端口 S , 可以应用于环网链路保护的系统中, 与传输节点设备相连, 该设备 还包括发送单元 601和故障检测单元 602 , 其中, 发送单元 601 , 用于分别从 所述主端口和所述副端口向传输节点设备发出协议报文; 故障检测单元 602 , 用于在发送单元从所述主端口和所述副端口发出协议报文后的一定时间内未 接收到传输节点设备发来的协议报文时, 打开所述副端口。  Referring to FIG. 6, an embodiment of the present invention further provides a master node device, where the device includes a primary port P and a secondary port S, which can be applied to a ring link protection system, and is connected to a transmission node device, and the device further includes sending The unit 601 and the fault detecting unit 602, wherein the sending unit 601 is configured to send a protocol packet from the primary port and the secondary port to the transmitting node device, respectively; and the fault detecting unit 602 is configured to send the sending unit from the primary When the port and the secondary port do not receive the protocol packet sent by the transit node device within a certain period of time after the protocol packet is sent, the secondary port is opened.
发送单元 601 用于每隔一定时间周期分别从所述主端口和所述副端口向 传输节点设备发出协议报文。  The sending unit 601 is configured to send a protocol packet from the primary port and the secondary port to the transmitting node device at regular intervals.
故障检测单元 602包括第一处理单元、 6021第二处理单元 6022和第三处 理单元 6023 , 其中, 第一处理单元 6021 , 用于在所述主端口发出协议报文后 的一定时间内未接收到传输节点设备发来的协议报文时, 判断所述副端口是 否在发出协议报文后的一定时间内未接收到传输节点设备发来的协议报文, 如果是, 则打开所述副端口; 第二处理单元 6022, 用于在所述副端口发出协 议报文后的一定时间内未接收到传输节点设备发来的协议报文时, 判断所述 主端口是否在发出协议报文后的一定时间内未接收到传输节点设备发来的协 议报文, 如果是, 则打开所述副端口; 第三处理单元 6023 , 用于在接收到传 输节点设备发来的故障报文时, 判断所述主端口和所述副端口是否在发出协 议报文后的一定时间内未接收到传输节点设备发来的协议报文, 如果是, 则 打开所述副端口。 The fault detection unit 602 includes a first processing unit, a second processing unit 6022, and a third processing unit 6023. The first processing unit 6021 is configured to not receive the protocol packet after the primary port sends the protocol packet. When the protocol packet sent by the node device is transmitted, it is determined whether the secondary port does not receive the protocol packet sent by the transit node device within a certain period of time after the protocol packet is sent, and if yes, the secondary port is opened; The second processing unit 6022 is configured to: when the protocol port sent by the transit node device is not received within a certain period of time after the slave port sends the protocol packet, determine whether the master port is certain after the protocol packet is sent. The protocol sent by the transit node device was not received within the time limit. And the third processing unit 6023 is configured to determine, when receiving the fault message sent by the transit node device, whether the primary port and the secondary port are in an agreement. The protocol packet sent by the transit node device is not received within a certain period of time after the packet, and if so, the secondary port is opened.
该设备进一步包括故障恢复单元 603, 用于在所述主端口或 /和所述副端 口接收到传输节点设备发来的协议报文时, 关闭所述副端口。  The device further includes a fault recovery unit 603, configured to close the secondary port when the primary port or/and the secondary port receives a protocol packet sent by the transmitting node device.
在本发明中, 主节点可以通过主端口或副端口在发出协议艮文后的一定 时间内未接收到协议报文, 或者通过接收到传输节点发来的故障报文来检测 链路故障, 既可以检测到从主端口到副端口方向的链路故障, 还可以检测到 从副端口到主端口方向的链路故障。 但是, 主节点检测到链路故障后, 只有 在确定该链路故障不是单通故障的情况下才启用备份链路, 打开副端口, 因 为在单通故障时打开副端口会使环网出现通信环路, 而通信环路则可能造成 诸如广播风暴的严重不良后果。 这里, 如果主端口和副端口均在发出协议报 文后的一定时间内未接收到传输节点发来的协议报文, 则说明该链路故障不 是单通故障, 可以打开副端口; 如果主端口和副端口其中一个端口在发出协 议报文后的一定时间内未接收到传输节点发来的协议报文, 而另一个端口在 发出协议报文后的一定时间内接收到传输节点发来的协议报文, 则说明该链 路故障为单通故障, 不打开副端口。  In the present invention, the master node may not receive the protocol packet within a certain period of time after the protocol packet is sent by the primary port or the secondary port, or may detect the link fault by receiving the fault packet sent by the transit node. A link failure from the primary port to the secondary port can be detected, and a link failure from the secondary port to the primary port can also be detected. However, after the master node detects a link failure, the backup link is enabled only when it is determined that the link failure is not a single-pass failure, and the secondary port is opened, because opening the secondary port in the single-pass failure causes communication on the ring network. Loops, while communication loops can cause serious adverse consequences such as broadcast storms. Here, if the primary port and the secondary port do not receive the protocol packet sent by the transit node within a certain period of time after the protocol packet is sent, the link fault is not a single-pass fault, and the secondary port can be opened; if the primary port And one of the ports on the secondary port does not receive the protocol packet sent by the transit node within a certain period of time after the protocol packet is sent, and the other port receives the protocol sent by the transit node within a certain period of time after the protocol packet is sent. The packet indicates that the link fault is a single-pass fault and does not open the secondary port.
由此可见, 釆用本发明, 能够保证在以太环网的链路出现单通故障的情 况下, 主节点不会启用备份链路而将副端口打开, 从而保证了环网中不会出 现通信环路, 进而避免了由于通信环路所造成的诸如广播风暴的严重不良后 果。  It can be seen that, with the present invention, it can be ensured that in the case of a single-pass failure of the Ethernet ring network link, the primary node does not enable the backup link and opens the secondary port, thereby ensuring that communication does not occur in the ring network. The loop, in turn, avoids serious adverse consequences such as broadcast storms caused by communication loops.
需要说明的是, 当本发明作为独立的软件产品销售或使用时, 该发明对 应的软件可以存储在计算机可读取存储介质中, 并由计算机实现本软件所能 完成的功能。  It should be noted that when the present invention is sold or used as a stand-alone software product, the software corresponding to the invention can be stored in a computer readable storage medium, and the computer can implement the functions that the software can perform.
显然, 本领域的技术人员可以对本发明进行各种改动和变型而不脱离本 发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要 求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。 It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention are claimed in the present invention The invention is also intended to cover such modifications and variations within the scope of the invention.

Claims

权 利 要 求 Rights request
1、 一种环网链路保护的方法, 应用于以太环网中, 该环网包括主节点和 一个以上的传输节点, 所述主节点包括主端口和副端口, 其特征在于, 该方 法包括以下步骤: A ring network link protection method, which is applied to an Ethernet ring network, the ring network includes a master node and one or more transit nodes, and the master node includes a primary port and a secondary port, wherein the method includes The following steps:
A. 所述主节点从所述主端口和所述副端口向传输节点发出协议报文; A. The master node sends a protocol packet from the primary port and the secondary port to the transit node;
B. 所述主端口和所述副端口在发出协议 文后的一定时间内未接收到传 输节点发来的协议 4艮文时, 所述主节点打开所述副端口。 B. The primary port and the secondary port open the secondary port when the protocol sent by the transmitting node is not received within a certain period of time after the protocol is sent.
2、 如权利要求 1所述的方法, 其特征在于, 步骤 A中所述主节点周期性 从所述主端口和所述副端口发出协议寺艮文。  2. The method according to claim 1, wherein in step A, the master node periodically issues a protocol temple message from the primary port and the secondary port.
3、 如权利要求 1所述的方法, 其特征在于, 步骤 B包括:  3. The method of claim 1, wherein step B comprises:
在所述主端口发出协议报文后的一定时间内未接收到传输节点发来的协 议报文时, 所述主节点判断所述副端口是否在发出协议报文后的一定时间内 未接收到传输节点发来的协议报文, 如果是, 则打开所述副端口。  When the primary port does not receive the protocol packet sent by the transit node within a certain period of time after the protocol packet is sent, the master node determines whether the secondary port does not receive the protocol packet within a certain period of time after the protocol packet is sent. The protocol packet sent by the transit node, and if so, the secondary port is opened.
4、 如权利要求 1所述的方法, 其特征在于, 步骤 B包括:  4. The method of claim 1, wherein step B comprises:
在所述副端口发出协议报文后的一定时间内未接收到传输节点发来的协 议报文时, 所述主节点判断所述主端口是否在发出协议报文后的一定时间内 未接收到传输节点发来的协议报文, 如果是, 则打开所述副端口。  When the slave port does not receive the protocol packet sent by the transit node within a certain period of time after the slave port sends the protocol packet, the master node determines whether the master port does not receive the protocol packet within a certain period of time after the protocol packet is sent. The protocol packet sent by the transit node, and if so, the secondary port is opened.
5、 如权利要求 1所述的方法, 其特征在于, 步骤 B包括:  5. The method of claim 1, wherein step B comprises:
所述主节点接收到传输节点发来的故障报文时, 判断所述主端口和所述 副端口是否在发出协议报文后的一定时间内未接收到传输节点发来的协议报 文, 如果是, 则打开所述副端口。  When the master node receives the fault packet sent by the transit node, it determines whether the master port and the slave port do not receive the protocol packet sent by the transit node within a certain period of time after the protocol packet is sent, if Yes, the secondary port is opened.
6、 如权利要求 1所述的方法, 其特征在于, 步骤 B中在所述主节点打开 所述副端口之后, 该方法进一步包括:  The method of claim 1, wherein after the primary node opens the secondary port in step B, the method further includes:
所述主节点在所述主端口或 /和所述副端口接收到传输节点发来的协议报 文时, 关闭所述副端口。  The master node closes the secondary port when the primary port or/and the secondary port receives a protocol packet sent by the transit node.
7、 一种环网链路保护的系统, 其特征在于, 该系统包括: 包括主端口和副端口的主节点设备, 用于从所述主端口和所述副端口向 传输节点设备发出协议报文; 在所述主端口和所述副端口发出协议报文后的 一定时间内未接收到传输节点设备发来的协议报文时 , 打开所述副端口; 传输节点设备, 用于接收所述主端口发出的协议报文, 并向所述副端口 发出该协议报文; 接收所述副端口发出的协议报文, 并向所述主端口发出该 协议报文。 7. A system for ring link protection, characterized in that the system comprises: a master node device including a primary port and a secondary port, configured to send a protocol packet from the primary port and the secondary port to the transit node device; a certain time after the primary port and the secondary port send a protocol packet When the protocol packet sent by the transit node device is not received, the secondary port is opened; the transit node device is configured to receive the protocol packet sent by the primary port, and send the protocol packet to the secondary port; Receiving a protocol packet sent by the secondary port, and sending the protocol packet to the primary port.
8、 如权利要求 7所述的系统, 其特征在于, 所述主节点设备还包括: 发送单元, 用于从所述主端口和所述副端口向传输节点设备发出协议报 文;  The system according to claim 7, wherein the master node device further includes: a sending unit, configured to send a protocol packet from the primary port and the secondary port to the transmitting node device;
故障检测单元, 用于在所述发送单元从所述主端口和所述副端口发出协 议报文后的一定时间内未接收到传输节点设备发来的协议报文时, 打开所述 副端口。  The fault detecting unit is configured to open the secondary port when the protocol packet sent by the transit node device is not received within a certain period of time after the sending unit sends the protocol packet from the primary port and the secondary port.
9、 如权利要求 8所述的系统, 其特征在于, 所述发送单元用于: 每隔一定时间周期分别从所述主端口和所述副端口向传输节点设备发出 协议报文。  The system according to claim 8, wherein the sending unit is configured to: send protocol packets from the primary port and the secondary port to the transmitting node device at regular intervals.
10、 如权利要求 8所述的系统, 其特征在于, 所述故障检测单元包括: 第一处理单元, 用于在所述主端口发出协议报文后的一定时间内未接收 到传输节点设备发来的协议报文时, 判断所述副端口是否在发出协议报文后 的一定时间内未接收到传输节点设备发来的协议报文, 如果是, 则打开所述 副端口。  The system according to claim 8, wherein the fault detecting unit comprises: a first processing unit, configured to not receive the transmitting node device within a certain time after the primary port sends the protocol packet When the protocol packet is received, it is determined whether the secondary port does not receive the protocol packet sent by the transit node device within a certain period of time after the protocol packet is sent, and if yes, the secondary port is opened.
11、 如权利要求 8所述的系统, 其特征在于, 所述故障检测单元包括: 第二处理单元, 用于在所述副端口发出协议报文后的一定时间内未接收 到传输节点设备发来的协议报文时, 判断所述主端口是否在发出协议报文后 的一定时间内未接收到传输节点设备发来的协议报文, 如果是, 则打开所述 副端口。  The system according to claim 8, wherein the fault detecting unit comprises: a second processing unit, configured to not receive the transmitting node device within a certain time after the slave port sends the protocol packet When the protocol packet is received, it is determined whether the primary port does not receive the protocol packet sent by the transit node device within a certain period of time after the protocol packet is sent, and if yes, the secondary port is opened.
12、 如权利要求 8所述的系统, 其特征在于, 所述故障检测单元包括: 第三处理单元, 用于在接收到传输节点设备发来的故障报文时, 判断所 述主端口和所述副端口是否在发出协议报文后的一定时间内未接收到传输节 点设备发来的协议报文, 如果是, 则打开所述副端口。 The system according to claim 8, wherein the fault detecting unit comprises: a third processing unit, configured to: when receiving the fault message sent by the transmitting node device, determine the location Whether the primary port and the secondary port do not receive the protocol packet sent by the transit node device within a certain period of time after the protocol packet is sent, and if yes, the secondary port is opened.
13、 如权利要求 8 所述的系统, 其特征在于, 所述主节点设备进一步包 括:  The system of claim 8, wherein the master node device further comprises:
故障恢复单元, 用于在所述主端口或 /和所述副端口接收到传输节点设备 发来的协议 文时 , 关闭所述副端口。  The fault recovery unit is configured to close the secondary port when the primary port or/and the secondary port receives the protocol text sent by the transmission node device.
14、 一种主节点设备, 与传输节点设备相连, 所述主节点设备包括主端 口和副端口, 其特征在于, 该设备还包括:  A master node device, which is connected to a transit node device, where the master node device includes a primary port and a secondary port, and the device further includes:
发送单元, 用于从所述主端口和所述副端口向传输节点设备发出协议报 文;  a sending unit, configured to send a protocol packet from the primary port and the secondary port to the transit node device;
故障检测单元, 用于在所述发送单元从所述主端口和所述副端口发出协 议报文后的一定时间内未接收到传输节点设备发来的协议报文时, 打开所述 副端口。  The fault detecting unit is configured to open the secondary port when the protocol packet sent by the transit node device is not received within a certain period of time after the sending unit sends the protocol packet from the primary port and the secondary port.
15、 如权利要求 14所述的设备, 其特征在于, 所述发送单元用于: 每隔一定时间周期从所述主端口和所述副端口向传输节点设备发出协议 报文。  The device according to claim 14, wherein the sending unit is configured to: send a protocol message from the primary port and the secondary port to a transit node device at regular time intervals.
16、 如权利要求 14所述的设备, 其特征在于, 所述故障检测单元包括: 第一处理单元, 用于在所述主端口发出协议报文后的一定时间内未接收 到传输节点设备发来的协议报文时, 判断所述副端口是否在发出协议报文后 的一定时间内未接收到传输节点设备发来的协议报文, 如果是, 则打开所述 副端口。  The device according to claim 14, wherein the fault detecting unit comprises: a first processing unit, configured to not receive the transmitting node device within a certain time after the primary port sends the protocol packet When the protocol packet is received, it is determined whether the secondary port does not receive the protocol packet sent by the transit node device within a certain period of time after the protocol packet is sent, and if yes, the secondary port is opened.
17、 如权利要求 14所述的设备, 其特征在于, 所述故障检测单元包括: 第二处理单元, 用于在所述副端口发出协议报文后的一定时间内未接收 到传输节点设备发来的协议报文时, 判断所述主端口是否在发出协议报文后 的一定时间内未接收到传输节点设备发来的协议报文, 如果是, 则打开所述 副端口。  The device according to claim 14, wherein the fault detecting unit comprises: a second processing unit, configured to not receive the transmitting node device within a certain time after the slave port sends the protocol packet When the protocol packet is received, it is determined whether the primary port does not receive the protocol packet sent by the transit node device within a certain period of time after the protocol packet is sent, and if yes, the secondary port is opened.
18、 如权利要求 14所述的设备, 其特征在于, 所述故障检测单元包括: 第三处理单元, 用于在接收到传输节点设备发来的故障报文时, 判断所 述主端口和所述副端口是否在发出协议报文后的一定时间内未接收到传输节 点设备发来的协议报文, 如果是, 则打开所述副端口。 The device according to claim 14, wherein the fault detecting unit comprises: a third processing unit, configured to: when receiving the fault message sent by the transit node device, determine whether the primary port and the secondary port have not received the transmission node device within a certain time after sending the protocol packet Protocol message, if yes, open the secondary port.
19、 如权利要求 14所述的设备, 其特征在于, 该设备进一步包括: 故障恢复单元, 用于在所述主端口或 /和所述副端口接收到传输节点设备 发来的协议 文时, 关闭所述副端口。  The device of claim 14, further comprising: a failure recovery unit, configured to: when the primary port or/and the secondary port receives a protocol text sent by the transmission node device, Close the secondary port.
PCT/CN2007/002398 2007-01-17 2007-08-10 A method, system and device for ring link protection WO2008089614A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2007100009881A CN101001192B (en) 2007-01-17 2007-01-17 Method, system and equipment for protecting ring network link
CN200710000988.1 2007-01-17

Publications (1)

Publication Number Publication Date
WO2008089614A1 true WO2008089614A1 (en) 2008-07-31

Family

ID=38693009

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/002398 WO2008089614A1 (en) 2007-01-17 2007-08-10 A method, system and device for ring link protection

Country Status (2)

Country Link
CN (1) CN101001192B (en)
WO (1) WO2008089614A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105429892A (en) * 2015-10-29 2016-03-23 北京星网锐捷网络技术有限公司 Method and device of avoiding loops for track traffic network
CN110098967A (en) * 2019-05-14 2019-08-06 浙江国利网安科技有限公司 A kind of communication means, device, equipment and medium
CN113645312A (en) * 2021-08-25 2021-11-12 烽火通信科技股份有限公司 Method and device for protecting sub-ring network link based on ERPS protocol
CN115412424A (en) * 2022-08-17 2022-11-29 浪潮思科网络科技有限公司 Method and device for detecting double main devices in MLAG environment

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001192B (en) * 2007-01-17 2010-04-21 华为技术有限公司 Method, system and equipment for protecting ring network link
CN101163038B (en) * 2007-08-16 2010-06-02 中兴通讯股份有限公司 Ethernet equipment link protecting method
CN101127674B (en) 2007-09-25 2011-11-30 中兴通讯股份有限公司 Initialization method for transmission nodes of Ethernet loop network system
CN101141333A (en) * 2007-10-12 2008-03-12 中兴通讯股份有限公司 Ethernet system host node slave port fault processing method
CN101262402B (en) * 2007-11-08 2011-08-10 北京东土科技股份有限公司 A method for realizing redundant backup between loop networks
CN101184013B (en) * 2007-12-13 2011-04-13 杭州华三通信技术有限公司 Method for preventing generation of loop, host node and system
CN101212366B (en) * 2007-12-21 2011-12-21 杭州华三通信技术有限公司 Failure detection method, system, and main node in Ethernet loop network
CN101227371B (en) * 2008-02-18 2011-06-22 中兴通讯股份有限公司 Method and apparatus of backup switch among same level switch equipments
CN101237319B (en) * 2008-02-20 2012-01-04 杭州华三通信技术有限公司 Time synchronization method in Ethernet ring network and Ethernet ring system
CN101227372B (en) * 2008-02-21 2010-09-08 杭州华三通信技术有限公司 Ether ring net protection method, transmission node and host node
CN101989934B (en) * 2009-08-06 2017-04-05 中兴通讯股份有限公司 A kind of data ring network fault detect and the method and system of positioning
CN101764731B (en) * 2009-12-09 2011-11-30 熊伟 Ethernet ring network algorithm switching method
CN102111317B (en) * 2009-12-25 2013-06-05 中兴通讯股份有限公司 Method, system and device for protecting controlled virtual local area network in Ethernet ring
CN101997724A (en) * 2010-11-22 2011-03-30 中兴通讯股份有限公司 Method and device for updating multicast forwarding entries
CN102291290A (en) * 2011-08-08 2011-12-21 浙江中控技术股份有限公司 Method and system for failure detection and connection of Ethernet ring network
CN102244600A (en) * 2011-08-12 2011-11-16 华为技术有限公司 Method and device for detecting and processing link failure in RRPP (Rapid Ring Protect Protocol) ring network
CN102710442B (en) * 2012-06-01 2014-12-10 中兴通讯股份有限公司 Management method of network management service port, communication device and communication system
CN103220201B (en) * 2013-04-24 2016-08-17 杭州华三通信技术有限公司 A kind of method and device of detection and protection of ring network faults
CN103973537B (en) * 2014-05-09 2017-06-27 杭州同尊信息技术有限公司 A kind of looped network with failure protection function and the fault protecting method for looped network
CN105223931B (en) * 2015-10-15 2018-02-09 固高科技(深圳)有限公司 Flexible manufacturing system and its communication system, communication means
CN106357832B (en) * 2016-08-24 2019-10-18 浙江宇视科技有限公司 Looped network address list item update mechanism method and device
CN108933732B (en) * 2017-05-23 2021-10-15 中国电信股份有限公司 Loop detection method, device and system
CN111742523A (en) * 2018-02-28 2020-10-02 三菱电机株式会社 Communication system
CN110912815B (en) * 2018-09-14 2022-07-05 中兴通讯股份有限公司 Network element ring formation preventing method, device, equipment and readable storage medium
CN115550106A (en) * 2021-06-30 2022-12-30 中兴通讯股份有限公司 Control method of ring network node, network device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1412977A (en) * 2001-10-10 2003-04-23 阿尔卡塔尔公司 Method for propagating fault information in RPR network and corresponding RPR data packet
US6766482B1 (en) * 2001-10-31 2004-07-20 Extreme Networks Ethernet automatic protection switching
CN1812361A (en) * 2006-01-23 2006-08-02 杭州华为三康技术有限公司 Fast ring network protecting method and system
CN1859220A (en) * 2006-06-07 2006-11-08 杭州华为三康技术有限公司 Method for backup of main station point and backup station point
CN101001192A (en) * 2007-01-17 2007-07-18 华为技术有限公司 Method, system and equipment for protecting ring network link
CN101030901A (en) * 2007-04-27 2007-09-05 中控科技集团有限公司 Distributed Ethernet system and method for inspecting fault based thereon

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1412977A (en) * 2001-10-10 2003-04-23 阿尔卡塔尔公司 Method for propagating fault information in RPR network and corresponding RPR data packet
US6766482B1 (en) * 2001-10-31 2004-07-20 Extreme Networks Ethernet automatic protection switching
CN1812361A (en) * 2006-01-23 2006-08-02 杭州华为三康技术有限公司 Fast ring network protecting method and system
CN1859220A (en) * 2006-06-07 2006-11-08 杭州华为三康技术有限公司 Method for backup of main station point and backup station point
CN101001192A (en) * 2007-01-17 2007-07-18 华为技术有限公司 Method, system and equipment for protecting ring network link
CN101030901A (en) * 2007-04-27 2007-09-05 中控科技集团有限公司 Distributed Ethernet system and method for inspecting fault based thereon

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105429892A (en) * 2015-10-29 2016-03-23 北京星网锐捷网络技术有限公司 Method and device of avoiding loops for track traffic network
CN105429892B (en) * 2015-10-29 2018-10-12 北京星网锐捷网络技术有限公司 A kind of method and apparatus of the anti-loops of Rail traffic network
CN110098967A (en) * 2019-05-14 2019-08-06 浙江国利网安科技有限公司 A kind of communication means, device, equipment and medium
CN110098967B (en) * 2019-05-14 2022-08-12 浙江国利网安科技有限公司 Communication method, device, equipment and medium
CN113645312A (en) * 2021-08-25 2021-11-12 烽火通信科技股份有限公司 Method and device for protecting sub-ring network link based on ERPS protocol
CN115412424A (en) * 2022-08-17 2022-11-29 浪潮思科网络科技有限公司 Method and device for detecting double main devices in MLAG environment
CN115412424B (en) * 2022-08-17 2024-03-26 浪潮思科网络科技有限公司 Double-master device detection method and device in MLAG environment

Also Published As

Publication number Publication date
CN101001192A (en) 2007-07-18
CN101001192B (en) 2010-04-21

Similar Documents

Publication Publication Date Title
WO2008089614A1 (en) A method, system and device for ring link protection
CN101060485B (en) Topology changed messages processing method and processing device
CN101127653B (en) Ethernet loop device with backup and implementation method for master device backup
AU2009295116B2 (en) Control method for protecting failure recovery of Ethernet ring and Ethernet ring nodes
EP2194676B1 (en) Ethernet ring system, its main node and intialization method
CN100571180C (en) Ensure the method and the device of ethernet ring network reliability service when transmission node fault
US8179788B2 (en) Protection switching method and apparatus for use in ring network
CN101345683B (en) Protocol packet transmission control method of Ethernet automatic protection switch system
CN101677267B (en) Method for retransmitting protocol frames in transannular way and sharing nodes in multiple rings of Ethernet
WO2008089701A1 (en) Method, device and system for ring protection
WO2010045832A1 (en) Method and apparatus for protecting link aggregation group of ethernet ring
WO2009039697A1 (en) Ethernet ring network systerm, transmission node of ethernet ring network and initialization method thereof
WO2007115493A1 (en) A method, device and system for achieving the switch in the dual-homed network based on the vpls
JP2005260927A (en) Ethernet automatic protection switching
WO2009046591A1 (en) Method for processing failure of slave port of master node in ethernet ring network system
WO2009111969A1 (en) Method for blocking the edge port in the ethernet, ethernet loop network system and apparatus
WO2011026347A1 (en) Method for ethernet loop network protection and thransmission node
CN101039172B (en) Ethernet ring network system and its protection method and standby host node
CN100493006C (en) Loop fault detecting method, subring main node and subring
CN101478469B (en) Method and system for RRPP loop link switching
JP2007174119A (en) Layer 2 network
CN103843286A (en) Triggering a redundant router master/backup status change based on switch connectivity
WO2010031295A1 (en) Control method for ethernet failure recovery
EP2533470B1 (en) Method and equipment for preventing repeated refreshing of ethernet ring node address table
CN110635940B (en) Main/standby switching method of EAPS Ethernet ring network

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

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

Country of ref document: EP

Kind code of ref document: A1