WO2011127736A1 - Method and apparatus for maintaining saved information of node in ethernet ring network - Google Patents

Method and apparatus for maintaining saved information of node in ethernet ring network Download PDF

Info

Publication number
WO2011127736A1
WO2011127736A1 PCT/CN2010/079422 CN2010079422W WO2011127736A1 WO 2011127736 A1 WO2011127736 A1 WO 2011127736A1 CN 2010079422 W CN2010079422 W CN 2010079422W WO 2011127736 A1 WO2011127736 A1 WO 2011127736A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
virtual channel
ring
subring
protocol frame
Prior art date
Application number
PCT/CN2010/079422
Other languages
French (fr)
Chinese (zh)
Inventor
吴少勇
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011127736A1 publication Critical patent/WO2011127736A1/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 Ethernet technology, and in particular, to a method and apparatus for maintaining information in an Ethernet ring node. Background technique
  • Ethernet is widely used in ring networking, which improves the reliability of the network.
  • fast protection switching is usually required to reach 50ms or less.
  • this fast protection switching technology can be implemented based on the G.8032 protocol of the International Telecommunication Union (ITU-T).
  • an automatic protection switching protocol and mechanism is defined for the Ethernet layer of the ring topology Ethernet.
  • the network protection method is applicable to the ring topology Ethernet.
  • the implementation process is as follows: In the ring topology Ethernet, select a link as a ring protection link. When the link of the Ethernet ring network is faultless, At least one of the two adjacent nodes of the ring protection link blocks the port connected to the ring protection link, preventing the protected data from passing through the ring protection link.
  • the node responsible for blocking the ring protection link port is called The ring protects the node to which the link belongs. In this way, there is only a unique communication path between any two nodes on the Ethernet ring network.
  • the closed loop of the communication path is not generated in the Ethernet ring network, preventing the closed loop and the network storm; If the faulty link is not a ring protection link, block the faulty port adjacent to the faulty link and open the blocked port on the ring protection link so that the protected data can be protected from the ring protection link. Through, a new communication path is generated between any two nodes on the ring protection link, which ensures the reconnection of the communication path and improves the network. Reliability.
  • each node needs to refresh the address table.
  • the specific action is to delete the address entry of the port on the ring.
  • the protocol frame when a node sends a protocol frame, the protocol frame includes its own node number and blocked port index number. After receiving the protocol frame, other nodes extract the node number and blocked port in the protocol frame. The index number is compared with the node number and the blocked port index number stored in the receiving port.
  • the node number of the receiving port and the blocked port index number are updated to the extracted node number and the blocked port index number. If the node number and the blocked port index number in the protocol frame are different from the node number and blocked port index number saved by the peer port of the receiving port, the node may need to refresh the address table.
  • the protocol frame received by the node is an NR (No Request) message
  • the node deletes the node number and the blocked port index number saved by the receiving port, and does not save the node number and the blocked port index number in the receiving protocol frame, that is, The node number saved by the node receiving port and the blocked port index number are empty.
  • Ethernet ring address table refresh scheme ensures that the single ring network of the Ethernet ring network can quickly delete the wrong address entries when switching, but also brings the virtual channel of the multi-ring network in the Ethernet ring network. The ring does not correctly delete the wrong address entry when switching.
  • the node to which the ring protection link belongs when no virtual channel sub-ring is in a normal state, the node to which the ring protection link belongs sends an NRRB (No Request, RPL Blocked) protocol frame to the non-virtual channel sub-ring.
  • the protocol frame includes the node number of the node to which the ring protection link belongs and the blocked port index number.
  • the other node After receiving the NRRB protocol frame, the other node extracts the node number and the blocked port index number in the protocol frame, and saves it on the receiving port. The node number is compared with the blocked port index number. If the two are not the same, the node number of the receiving port and the blocked port index number are updated to the extracted node number and the blocked port index number.
  • Each node records the node number of the node to which the ring protection link belongs and the blocked port index number.
  • the adjacent node of the faulty link detects the fault, blocks the faulty port, and sends an SF (Signal Fail) protocol frame to the sub-ring without the virtual channel.
  • the frame includes the node number of the sending node and the blocked port index number.
  • the other nodes extract the node number and the blocked port index number in the protocol frame, and the node number and blocked port index stored in the receiving port.
  • the node to which the ring protection link belongs re-blocks the ring protection link port, and sends an NRRB protocol frame to the non-virtual channel sub-ring.
  • the protocol frame includes the node to which the ring protection link belongs. Node number and blocked port index number, nodes in the virtual channel subring that are distributed between the ring protection link and the faulty link.
  • the node number and the blocked port index number in the protocol frame are extracted. , compared with the node number saved on the receiving port and the blocked port index number, the two are the same, so the address table will not be refreshed. In fact, when the virtual channel subring is not restored, the address table needs to be refreshed due to the change of the communication path of the data traffic.
  • the main purpose of the present invention is to provide a method and apparatus for maintaining information in an Ethernet ring node to solve the problem that the address table cannot be refreshed normally when the virtual channel sub-ring is switched back.
  • a method for maintaining information stored in an Ethernet ring network node comprising:
  • the node on the ring deletes the node save information of all the ports on the non-virtual channel subring, and does not save the node save information in the received requestless protocol frame.
  • the method further includes the process of confirming that the protection switching request on the no virtual channel subring needs to be cleared:
  • the method further includes: the node on the no virtual channel subring determining whether it is a virtual channel subring node, and performing the deleting operation when the determination result is yes.
  • the method further includes: when the determination result is negative, performing a subsequent operation using the prior art.
  • the method further includes:
  • the node save information includes a node number and a blocked port index number included in the transmitted protocol frame.
  • a maintenance device for storing information in an Ethernet ring network node, where the device includes a trigger unit and a storage information maintenance unit;
  • the triggering unit is configured to confirm that the protection switching request on the virtual channelless subring needs to be cleared, and notify the saving information maintenance unit of the situation;
  • the save information maintenance unit is configured to delete a node on the managed virtual channelless subring to save information on all ports of the virtual channel subring without saving the node save information in the received unrequested protocol frame.
  • the device further includes a node determining unit, configured to determine whether the managed node is a non-virtual channel sub-ring node, and notify the save information maintenance unit to perform the deleting operation when the determination result is yes.
  • the save information maintenance unit is further configured to:
  • the node save information includes a node number and a blocked port index number included in the transmitted protocol frame.
  • the method and device of the present invention solve the problem that the address table cannot be refreshed normally when there is no virtual channel sub-ring back-cut.
  • FIG. 3 is a schematic diagram of operation when the Ethernet ring network has no virtual channel sub-ring link recovery
  • FIG. 4 is a schematic diagram of operation when the Ethernet ring network has no virtual channel sub-ring back-cut
  • FIG. 5 is a flowchart of maintenance of information stored in an Ethernet ring network node according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of operation when an Ethernet ring network has no virtual channel sub-ring link recovery according to an embodiment of the present invention
  • FIG. 8 is a diagram of a maintenance apparatus for storing information in an Ethernet ring network node according to an embodiment of the present invention. detailed description
  • a node on a sub-ring without a virtual channel in the Ethernet ring network can delete the node number and blocked port index number of all ports on the sub-ring without the virtual channel when the node receives the unrequested protocol frame, and does not save.
  • the node number and the blocked port index number in the received request-free protocol frame enable the address table to be refreshed normally when the node number and the blocked port index number are received.
  • Figure 1 is a schematic diagram of the protection structure of the Ethernet ring network based on G.8032.
  • nodes S1, S2, S3, S4, S5, and S6 form a virtual channel sub-ring of the Ethernet ring network
  • node S2 is ring protection.
  • the link to which the link belongs, the link between the nodes S1 and S2 is the ring protection link, and the index of the ring protection link port of the node S2 is 0.
  • the node S2 sends the NRRB protocol frame on the non-virtual channel sub-ring.
  • the NRRB protocol frame includes the node number S2 and the blocked port index number 0 of the node to which the ring protection link belongs.
  • the node S4 After receiving the NRRB protocol frame, the node S4 extracts the node number and the blocked port index number in the NRRB protocol frame, and compares them with the node number and the blocked port index number stored in the receiving port respectively, and the comparison result is not the same.
  • the node number of the receiving port and the blocked port index number are updated to the extracted node number and the blocked port index number.
  • the node number recorded on the port that the node S4 receives the NRRB protocol frame is S2, and the blocked port index number is 0.
  • FIG. 2 is a schematic diagram of a protection structure when a link failure occurs in a virtual channel sub-ring in FIG. 1, as shown in FIG. 2, assuming that a link between nodes S5 and S6 is faulty, and node S5 detects that the link is faulty and blocks.
  • the faulty port sends an SF protocol frame on the sub-ring without a virtual channel.
  • the SF protocol frame includes the node number S5 of the sending node and the blocked port index number 1.
  • the node S4 extracts the node number and the blocked port index number in the SF protocol frame, and compares them with the node number and the blocked port index number stored in the receiving port respectively. When the comparison result is different.
  • the node number of the receiving port and the blocked port index number are updated to the extracted node number and the blocked port index number, and the address table is also refreshed.
  • FIG. 3 is a schematic diagram of the protection structure of the virtual link sub-ring failure link recovery in FIG. 2, as shown in FIG. 3, the link failure between nodes S5 and S6 is recovered, and the node S5 detects that the link failure is restored after the failure.
  • the NR protocol frame is sent on the virtual channel sub-ring.
  • the node S4 After receiving the NR protocol frame, the node S4 deletes the node number and the blocked port index number saved by the receiving port, that is, deletes the saved node number S5 and the blocked port index number 1 information, and does not save the information.
  • the node number and blocked port index number in the received NR protocol frame After receiving the NR protocol frame, the node S4 deletes the node number and the blocked port index number saved by the receiving port, that is, deletes the saved node number S5 and the blocked port index number 1 information, and does not save the information.
  • the node number and blocked port index number in the received NR protocol frame After receiving the NR protocol frame, the node S4 deletes the node number and the blocked port index number saved by the receiving port, that is, deletes the saved node number S5 and the blocked port index number 1 information, and does not save the information.
  • the node number and blocked port index number in the received NR protocol frame After receiving the NR protocol frame, the node S4 deletes the node
  • FIG. 4 is a schematic diagram of a protection structure when the virtual channel sub-ring is switched back in FIG. 3, as shown in FIG. 4, the node S2 re-blocks the ring protection link port, and sends an NRRB protocol frame on the no-virtual channel sub-ring, the NRRB protocol.
  • the frame includes the node number S2 and the blocked port index number 0 of the node to which the ring protection link belongs.
  • the node S4 After receiving the NRRB protocol frame, the node S4 extracts the node number S2 and the blocked port index number 0, and compares them with the node number S2 and the blocked port index number 0 stored in the receiving port respectively, because the comparison result is the same, Node S4 does not refresh the address table. In fact, when the virtual channel subring is not switched back, the address table needs to be refreshed due to the change of the communication path of the data traffic. S4 does not refresh the address table, which will cause communication failure in the subsequent communication process.
  • the present invention has emerged.
  • the node on the sub-ring without the virtual channel deletes the node on the sub-ring without the virtual channel.
  • the node number and blocked port index number saved by the port, and the node number and blocked port index number in the received unsolicited protocol frame are not saved.
  • FIG. 5 is a maintenance flow diagram of information stored in an Ethernet ring network node according to an embodiment of the present invention, where the process includes the following steps:
  • Step 510 The Ethernet ring network node receives the requestless protocol frame.
  • Step 520 The Ethernet ring network node that receives the requestless protocol frame determines whether it is a node on the virtual channel subring. If yes, go to step 530; otherwise, go to step 540.
  • Step 530 The node deletes the node number of all ports on the node without the virtual channel subring. And block the port index number, and confirm that the node number and blocked port index number in the received unrequested protocol frame are not saved, and the process ends.
  • Step 540 Apply the current technology to process the subsequent process.
  • Figure 6 shows the situation when the virtual link sub-ring failure link is restored in Figure 2.
  • the link between node S5 and node S6 is recovered, and node S5 detects that the link is restored and sends an NR protocol frame on the virtual channelless subring.
  • the node S4 After receiving the NR protocol frame, the node S4 first confirms that it is a non-virtual channel sub-ring node, and then deletes the node number and the blocked port index number of all ports on the non-virtual channel sub-ring of the local node, and does not save the received The node number and blocked port index number in the NR protocol frame. At this point, the node number and blocked port index number recorded on the ports on both rings in node S4 are empty.
  • node S2 re-blocks the ring protection link port because there is no virtual channel sub-ring back-cut, and sends an NRRB protocol frame on the non-virtual channel sub-ring.
  • the NRRB protocol frame includes the node number of the node to which the ring protection link belongs. S2 and blocked port index number 0.
  • the node S4 extracts the node number S2 and the blocked port index number 0 in the NRRB protocol frame, and compares them with the node number and the blocked port index number stored in the receiving port respectively.
  • the node number and the blocked port index number recorded in the NRRB protocol frame are the same as the node number recorded on the two ring ports of the node S4.
  • the blocked port index numbers are different, so that the node S4 needs to update the node number saved by the receiving port and the blocked port index number, and refresh the address table based on this.
  • the node on the no-virtual channel sub-ring receives the unrequested protocol frame.
  • the node on the sub-ring without the virtual channel can delete the node number of all the ports on the ring without the virtual channel sub-ring. And blocking the port index number, and The node number and the blocked port index number in the received unrequested protocol frame are not saved, so the incorrectly recorded node number and blocked port index number that can cause the address table to fail to be refreshed are deleted.
  • the address table can be refreshed correctly, which ensures the correct switching of data traffic.
  • FIG. 8 is a diagram of a maintenance device for storing information in an Ethernet ring node according to an embodiment of the present invention.
  • the device includes a trigger unit, a node judgment unit, and a save information maintenance unit that can be connected in sequence or connected in pairs. These three units can be set in the node or in other functional entities outside the node.
  • the trigger unit is used to confirm that the sub-loop back-cut phase is currently in the virtual channel, and the situation is notified to the node judging unit.
  • there are various methods for confirming that there is no virtual channel sub-ring back-cutting stage such as: judging whether a non-requested protocol frame is received, and determining that there is no virtual channel sub-loop back when receiving the no-request protocol frame.
  • the phase is determined; or, it is determined whether other indication information indicating that the sub-loop back-cut phase is currently in the virtual channel is received, and if it is received, it is determined that the sub-ring back-cut phase is currently in the virtual channel.
  • the node judging unit can receive the notification from the trigger unit, and judge whether the managed node is a non-virtual channel sub-ring node, and notify the save information maintenance unit when the judgment result is YES. It should be noted that there are various methods for determining whether a node is a sub-ring node without a virtual channel, such as: obtaining a node identifier, and searching for a member identifier of the obtained node identifier indicating that the node belongs to a sub-ring without a virtual channel, if Find, determine that the node is a virtual channel subring node.
  • the save information maintenance unit When the save information maintenance unit receives the notification from the node judging unit, deletes the node number and the blocked port index number of all the ports of the managed node on the non-virtual channel subring, and does not save the received requestless protocol frame. Node number and blocked port index number.
  • the save information maintenance unit can receive the node number and resistance according to the managed node.
  • the port index number is updated, the node number saved by the receiving port of the node and the blocked port index number are updated, and the address table is refreshed based on the refresh address table, or the related address table management unit is notified to refresh the address table.
  • the situation may be notified to the save information maintenance unit, and the save information maintenance unit applies the current technical process when receiving the above notification.
  • the save information maintenance unit applies the current technical process when receiving the above notification.
  • no node of the virtual channel sub-ring can receive the unsolicited protocol frame when the Ethernet ring has no virtual channel sub-ring back-cut in both the method and the device.
  • the node on the sub-ring without the virtual channel can delete all the ports on the ring of the virtual channel sub-ring without determining the virtual sub-ring node.
  • the node number and the blocked port index number, and the node number and blocked port index number in the received unsolicited protocol frame are not saved, so the incorrectly recorded node number that can cause the address table to fail to be refreshed normally is deleted.
  • the port index number is blocked.
  • the above node number and blocked port index number may be collectively referred to as node save information.
  • the node determines that the protection switching request on the non-virtual channel sub-ring needs to be cleared, and then deletes the node save information of all the ports on the non-virtual channel sub-ring of the local node, and confirms that the information is not saved.
  • the nodes in the unsolicited protocol frame are saved. In fact, the node determines that there are multiple ways in which the protection switching request on the virtual channelless subring needs to be cleared, such as: receiving a specific update protocol frame during the failback or failback phase.

Abstract

The present invention discloses a method and an apparatus for maintaining the saved information of the node in an Ethernet ring network, wherein when a protection switching request on a non-virtual channel sub-ring needs to be eliminated, the node on the non-virtual channel sub-ring deletes the node saved information in all ports on the non-virtual channel sub-ring of the current node, and does not save the received node saved information in the no-request protocol frame. The method and apparatus of the present invention solve the problem that the address table can not be updated properly when the non-virtual channel sub-ring switches back.

Description

以太环网节点中保存信息的维护方法和装置 技术领域  Maintenance method and device for saving information in Ethernet ring network node
本发明涉及以太网技术, 具体涉及以太环网节点中保存信息的维护方 法和装置。 背景技术  The present invention relates to Ethernet technology, and in particular, to a method and apparatus for maintaining information in an Ethernet ring node. Background technique
随着以太网向着多业务承载方向的发展, 特别是一些业务对网络的可 靠性、 实时性要求越来越高, 以太网广泛釆用了环形的组网, 从而提高了 网络的可靠性。 并且在这种环形组网的保护方案中, 通常要求快速保护倒 换能达到 50ms以下。 目前, 这种快速保护倒换的技术可以基于国际电信联 盟(ITU-T, International Telecommunication Union )的 G.8032协议来实现。  With the development of Ethernet towards multi-service bearer, especially for some services, the reliability and real-time requirements of the network are getting higher and higher. Ethernet is widely used in ring networking, which improves the reliability of the network. In this ring network protection scheme, fast protection switching is usually required to reach 50ms or less. Currently, this fast protection switching technology can be implemented based on the G.8032 protocol of the International Telecommunication Union (ITU-T).
基于上述 G.8032协议, 为环形拓朴以太网的以太层定义了自动保护切 换协议与机制。 这种网络保护方法适用于环形拓朴的以太网, 其实现大致 流程为: 在环形拓朴以太网中, 选择一段链路为环保护链路, 当以太环网 的链路都无故障时, 环保护链路的两个相邻节点中, 至少有一个节点阻塞 与环保护链路连接的端口, 防止被保护数据从环保护链路上通过, 这个负 责阻塞环保护链路端口的节点称为环保护链路所属节点, 这样, 以太环网 上任何两个节点之间只有惟一的通信路径, 因此以太环网中不会产生通信 路径的闭环, 防止了闭环和网络风暴; 当以太环网的链路出现故障时, 如 果该故障链路不是环保护链路, 则阻塞与故障链路相邻节点的故障端口, 打开环保护链路上阻塞的端口, 使得被保护数据可以从环保护链路上通过, 环保护链路上任何两个节点之间产生了新的通信路径, 保障了通信路径的 重新连通, 提高了网络的可靠性。  Based on the above G.8032 protocol, an automatic protection switching protocol and mechanism is defined for the Ethernet layer of the ring topology Ethernet. The network protection method is applicable to the ring topology Ethernet. The implementation process is as follows: In the ring topology Ethernet, select a link as a ring protection link. When the link of the Ethernet ring network is faultless, At least one of the two adjacent nodes of the ring protection link blocks the port connected to the ring protection link, preventing the protected data from passing through the ring protection link. The node responsible for blocking the ring protection link port is called The ring protects the node to which the link belongs. In this way, there is only a unique communication path between any two nodes on the Ethernet ring network. Therefore, the closed loop of the communication path is not generated in the Ethernet ring network, preventing the closed loop and the network storm; If the faulty link is not a ring protection link, block the faulty port adjacent to the faulty link and open the blocked port on the ring protection link so that the protected data can be protected from the ring protection link. Through, a new communication path is generated between any two nodes on the ring protection link, which ensures the reconnection of the communication path and improves the network. Reliability.
在以太环网的切换过程中, 数据流量的通信路径需要发生变化, 由于 每个节点记录的地址表信息在数据流量的通信路径发生变化后都不再适 用, 因此每个节点需要刷新地址表, 具体动作为删除环上端口的地址条目。 在 G.8032协议中, 节点在发送一个协议帧时, 协议帧中包括了自身的节点 号和阻塞端口索引号, 其他节点接收到该协议帧后, 提取出协议帧中的节 点号和阻塞端口索引号, 与保存在接收端口的节点号和阻塞端口索引号进 行对比, 如果两者不相同则将接收端口的节点号和阻塞端口索引号更新为 提取出来的节点号和阻塞端口索引号, 如果协议帧中的节点号和阻塞端口 索引号与接收端口的对端端口保存的节点号和阻塞端口索引号不同, 则该 节点还有可能需要刷新地址表。 当节点接收到的协议帧为 NR ( No Request, 无请求) 消息时, 节点删除接收端口保存的节点号和阻塞端口索引号, 并 且不保存接收协议帧中的节点号和阻塞端口索引号, 即节点接收端口保存 的节点号和阻塞端口索引号为空。 During the switching process of the Ethernet ring network, the communication path of data traffic needs to be changed due to The address table information recorded by each node is no longer applicable after the communication path of the data traffic changes. Therefore, each node needs to refresh the address table. The specific action is to delete the address entry of the port on the ring. In the G.8032 protocol, when a node sends a protocol frame, the protocol frame includes its own node number and blocked port index number. After receiving the protocol frame, other nodes extract the node number and blocked port in the protocol frame. The index number is compared with the node number and the blocked port index number stored in the receiving port. If the two are not the same, the node number of the receiving port and the blocked port index number are updated to the extracted node number and the blocked port index number. If the node number and the blocked port index number in the protocol frame are different from the node number and blocked port index number saved by the peer port of the receiving port, the node may need to refresh the address table. When the protocol frame received by the node is an NR (No Request) message, the node deletes the node number and the blocked port index number saved by the receiving port, and does not save the node number and the blocked port index number in the receiving protocol frame, that is, The node number saved by the node receiving port and the blocked port index number are empty.
以上这种以太环网地址表的刷新方案虽然保障了以太环网的单环网络 在切换时能够快速的删除错误的地址条目, 但是也带来了以太环网中多环 网络的无虚拟通道子环在切换时不能正确删除错误的地址条目。  The above-mentioned Ethernet ring address table refresh scheme ensures that the single ring network of the Ethernet ring network can quickly delete the wrong address entries when switching, but also brings the virtual channel of the multi-ring network in the Ethernet ring network. The ring does not correctly delete the wrong address entry when switching.
例如在以太环网多环网络中, 当无虚拟通道子环在正常状态时, 环保 护链路所属节点向无虚拟通道子环发送 NRRB ( No Request, RPL Blocked, 环保护链路阻塞)协议帧, 协议帧中包括了环保护链路所属节点的节点号 和阻塞端口索引号, 其他节点收到 NRRB协议帧后, 提取出协议帧中的节 点号和阻塞端口索引号, 与保存在接收端口的节点号和阻塞端口索引号进 行对比, 如果两者不相同则将接收端口的节点号和阻塞端口索引号更新为 提取出来的节点号和阻塞端口索引号, 因此在无虚拟通道子环稳定时, 各 个节点都记录了环保护链路所属节点的节点号和阻塞端口索引号。 当无虚 拟通道子环上链路发生故障时, 当故障链路相邻节点检测到故障后, 阻塞 故障端口, 向无虚拟通道子环上发送 SF ( Signal Fail, 故障)协议帧, 协议 帧中包括了发送节点的节点号和阻塞端口索引号,其他节点收到 SF协议帧 后, 提取出协议帧中的节点号和阻塞端口索引号, 与保存在接收端口的节 点号和阻塞端口索引号进行对比, 如果两者不相同则将接收端口的节点号 和阻塞端口索引号更新为提取出来的节点号和阻塞端口索引号, 并且还要 刷新地址表。 因此当无虚拟通道子环中出现链路故障后, 无虚拟通道子环 中分布在环保护链路和故障链路之间的节点, 它们的两个环端口上, 一侧 记录了环保护链路所属节点的节点号和阻塞端口索引号, 另外一侧记录了 故障链路相邻节点的节点号和阻塞端口索引号。 当无虚拟通道子环的故障 链路恢复时, 环保护链路所属节点重新阻塞环保护链路端口, 向无虚拟通 道子环上发送 NRRB协议帧, 协议帧中包括了环保护链路所属节点的节点 号和阻塞端口索引号, 无虚拟通道子环中分布在环保护链路和故障链路之 间的节点, 收到 NRRB协议帧后, 提取出协议帧中的节点号和阻塞端口索 引号, 与保存在接收端口的节点号和阻塞端口索引号进行对比, 两者是相 同的, 因此不会刷新地址表。 而实际上无虚拟通道子环在恢复切换时, 由 于数据流量的通信路径发生了变化而需要刷新地址表。 For example, in an Ethernet ring network multi-ring network, when no virtual channel sub-ring is in a normal state, the node to which the ring protection link belongs sends an NRRB (No Request, RPL Blocked) protocol frame to the non-virtual channel sub-ring. The protocol frame includes the node number of the node to which the ring protection link belongs and the blocked port index number. After receiving the NRRB protocol frame, the other node extracts the node number and the blocked port index number in the protocol frame, and saves it on the receiving port. The node number is compared with the blocked port index number. If the two are not the same, the node number of the receiving port and the blocked port index number are updated to the extracted node number and the blocked port index number. Therefore, when no virtual channel subring is stable, Each node records the node number of the node to which the ring protection link belongs and the blocked port index number. When the link on the sub-ring without a virtual channel fails, the adjacent node of the faulty link detects the fault, blocks the faulty port, and sends an SF (Signal Fail) protocol frame to the sub-ring without the virtual channel. The frame includes the node number of the sending node and the blocked port index number. After receiving the SF protocol frame, the other nodes extract the node number and the blocked port index number in the protocol frame, and the node number and blocked port index stored in the receiving port. For comparison, if the two are not the same, update the node number of the receiving port and the blocked port index number to the extracted node number and blocked port index number, and also refresh the address table. Therefore, when there is a link failure in the virtual channel subring, there is no node in the virtual channel subring that is distributed between the ring protection link and the faulty link. On both of the ring ports, one side records the ring protection chain. The node number of the node to which the road belongs and the index number of the blocked port. The other side records the node number of the adjacent node of the faulty link and the index number of the blocked port. When a faulty link with no virtual channel sub-ring is restored, the node to which the ring protection link belongs re-blocks the ring protection link port, and sends an NRRB protocol frame to the non-virtual channel sub-ring. The protocol frame includes the node to which the ring protection link belongs. Node number and blocked port index number, nodes in the virtual channel subring that are distributed between the ring protection link and the faulty link. After receiving the NRRB protocol frame, the node number and the blocked port index number in the protocol frame are extracted. , compared with the node number saved on the receiving port and the blocked port index number, the two are the same, so the address table will not be refreshed. In fact, when the virtual channel subring is not restored, the address table needs to be refreshed due to the change of the communication path of the data traffic.
因此, 在无虚拟通道子环的切换场景中, 现有的以太环网地址表的刷 新方案存在无法正常刷新地址表的问题; 并且, 针对该问题, 目前尚没有 解决方案。 发明内容  Therefore, in the switching scenario without the virtual channel sub-ring, the existing refreshing scheme of the Ethernet ring address table may not properly refresh the address table; and, there is currently no solution to this problem. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种以太环网节点中保存信息 的维护方法和装置, 以解决无虚拟通道子环回切时无法正常刷新地址表的 问题。  In view of this, the main purpose of the present invention is to provide a method and apparatus for maintaining information in an Ethernet ring node to solve the problem that the address table cannot be refreshed normally when the virtual channel sub-ring is switched back.
为解决上述问题, 本发明的技术方案是这样实现的:  In order to solve the above problems, the technical solution of the present invention is implemented as follows:
一种以太环网节点中保存信息的维护方法, 该方法包括:  A method for maintaining information stored in an Ethernet ring network node, the method comprising:
在无虚拟通道子环上的保护倒换请求需要被清除时, 由无虚拟通道子 环上的节点删除自身在无虚拟通道子环上所有端口的节点保存信息, 并且 不保存收到的无请求协议帧中的节点保存信息。 When the protection switching request on the no virtual channel subring needs to be cleared, there is no virtual channel sub The node on the ring deletes the node save information of all the ports on the non-virtual channel subring, and does not save the node save information in the received requestless protocol frame.
该方法进一步包括确认无虚拟通道子环上的保护倒换请求需要被清除 的过程:  The method further includes the process of confirming that the protection switching request on the no virtual channel subring needs to be cleared:
无虚拟通道子环上的所述节点收到无请求协议帧时, 确认所述保护倒 换请求需要被清除。  When the node on the no virtual channel subring receives the no-request protocol frame, it is confirmed that the protection switching request needs to be cleared.
该方法进一步包括: 无虚拟通道子环上的所述节点判断自身是否为无 虚拟通道子环节点, 并在判断结果为是时执行所述删除操作。  The method further includes: the node on the no virtual channel subring determining whether it is a virtual channel subring node, and performing the deleting operation when the determination result is yes.
该方法进一步包括: 所述判断结果为否时, 应用现有技术执行后续操 作。  The method further includes: when the determination result is negative, performing a subsequent operation using the prior art.
该方法进一步包括:  The method further includes:
根据所述节点所收到的节点保存信息, 更新该节点接收端口所保存的 节点保存信息, 并基于此刷新地址表。  Updating the node save information saved by the node receiving port according to the node save information received by the node, and refreshing the address table based on the node.
所述节点保存信息包括发送的协议帧中所包含的节点号和阻塞端口索 引号。  The node save information includes a node number and a blocked port index number included in the transmitted protocol frame.
一种以太环网节点中保存信息的维护装置, 该装置包括触发单元、 保 存信息维护单元; 其中,  A maintenance device for storing information in an Ethernet ring network node, where the device includes a trigger unit and a storage information maintenance unit;
所述触发单元, 用于确认无虚拟通道子环上的保护倒换请求需要被清 除, 并将该情况通知给所述保存信息维护单元;  The triggering unit is configured to confirm that the protection switching request on the virtual channelless subring needs to be cleared, and notify the saving information maintenance unit of the situation;
所述保存信息维护单元, 用于删除所管理的无虚拟通道子环上的节点 在无虚拟通道子环上所有端口的节点保存信息, 并且不保存收到的无请求 协议帧中的节点保存信息。  The save information maintenance unit is configured to delete a node on the managed virtual channelless subring to save information on all ports of the virtual channel subring without saving the node save information in the received unrequested protocol frame. .
该装置进一步包括节点判断单元, 用于判断所管理的所述节点是否为 无虚拟通道子环节点, 并在判断结果为是时通知所述保存信息维护单元执 行所述删除操作。 所述保存信息维护单元, 进一步用于: The device further includes a node determining unit, configured to determine whether the managed node is a non-virtual channel sub-ring node, and notify the save information maintenance unit to perform the deleting operation when the determination result is yes. The save information maintenance unit is further configured to:
根据所管理的所述节点所收到的节点保存信息, 更新该节点接收端口 所保存的节点保存信息, 并基于此刷新地址表。  And updating, according to the node save information received by the node, the node save information saved by the node receiving port, and refreshing the address table based on the node.
所述节点保存信息包括发送的协议帧中所包含的节点号和阻塞端口索 引号。  The node save information includes a node number and a blocked port index number included in the transmitted protocol frame.
本发明方法和装置解决了无虚拟通道子环回切时无法正常刷新地址表 的问题。 附图说明  The method and device of the present invention solve the problem that the address table cannot be refreshed normally when there is no virtual channel sub-ring back-cut. DRAWINGS
图 3为以太环网无虚拟通道子环链路恢复时的运行示意图; FIG. 3 is a schematic diagram of operation when the Ethernet ring network has no virtual channel sub-ring link recovery;
图 4为以太环网无虚拟通道子环回切时的运行示意图;  FIG. 4 is a schematic diagram of operation when the Ethernet ring network has no virtual channel sub-ring back-cut;
图 5为本发明一实施例的以太环网节点中保存信息的维护流程图; 图 6为本发明一实施例的以太环网无虚拟通道子环链路恢复时的运行 示意图; 图;  FIG. 5 is a flowchart of maintenance of information stored in an Ethernet ring network node according to an embodiment of the present invention; FIG. 6 is a schematic diagram of operation when an Ethernet ring network has no virtual channel sub-ring link recovery according to an embodiment of the present invention;
图 8为本发明一实施例的以太环网节点中保存信息的维护装置图。 具体实施方式  FIG. 8 is a diagram of a maintenance apparatus for storing information in an Ethernet ring network node according to an embodiment of the present invention. detailed description
总体而言, 以太环网中无虚拟通道子环上的节点在收到无请求协议帧 时, 可以删除本节点在无虚拟通道子环上所有端口的节点号和阻塞端口索 引号, 并且不保存收到的无请求协议帧中的节点号和阻塞端口索引号, 使 得后续再收到节点号和阻塞端口索引号时能够正常进行地址表刷新。  In general, a node on a sub-ring without a virtual channel in the Ethernet ring network can delete the node number and blocked port index number of all ports on the sub-ring without the virtual channel when the node receives the unrequested protocol frame, and does not save. The node number and the blocked port index number in the received request-free protocol frame enable the address table to be refreshed normally when the node number and the blocked port index number are received.
下面结合附图对技术方案的实施详细描述。 图 1为基于 G.8032的以太环网保护结构示意图,如图 1所示,节点 Sl、 S2、 S3、 S4、 S5和 S6组成了以太环网的无虚拟通道子环, 节点 S2为环保 护链路所属节点, 节点 S1和 S2之间的链路为环保护链路, 节点 S2的环保 护链路端口的索引号为 0。 当无虚拟通道子环为正常状态时, 节点 S2在无 虚拟通道子环上发送 NRRB协议帧, NRRB协议帧中包括了环保护链路所 属节点的节点号 S2和阻塞端口索引号 0。 节点 S4收到上述 NRRB协议帧 后, 会提取该 NRRB协议帧中的节点号和阻塞端口索引号, 并分别与保存 在接收端口的节点号和阻塞端口索引号进行对比, 在对比结果为不相同时 将接收端口的节点号和阻塞端口索引号更新为提取出来的节点号和阻塞端 口索引号。 The implementation of the technical solution will be described in detail below with reference to the accompanying drawings. Figure 1 is a schematic diagram of the protection structure of the Ethernet ring network based on G.8032. As shown in Figure 1, nodes S1, S2, S3, S4, S5, and S6 form a virtual channel sub-ring of the Ethernet ring network, and node S2 is ring protection. The link to which the link belongs, the link between the nodes S1 and S2 is the ring protection link, and the index of the ring protection link port of the node S2 is 0. When the virtual channel sub-ring is in the normal state, the node S2 sends the NRRB protocol frame on the non-virtual channel sub-ring. The NRRB protocol frame includes the node number S2 and the blocked port index number 0 of the node to which the ring protection link belongs. After receiving the NRRB protocol frame, the node S4 extracts the node number and the blocked port index number in the NRRB protocol frame, and compares them with the node number and the blocked port index number stored in the receiving port respectively, and the comparison result is not the same. At the same time, the node number of the receiving port and the blocked port index number are updated to the extracted node number and the blocked port index number.
因此,在无虚拟通道子环稳定时, 节点 S4接收到 NRRB协议帧的端口 上记录的节点号为 S2, 阻塞端口索引号为 0。  Therefore, when the virtual channel subring is not stable, the node number recorded on the port that the node S4 receives the NRRB protocol frame is S2, and the blocked port index number is 0.
图 2为图 1 中无虚拟通道子环出现链路故障时的保护结构示意图, 如 图 2所示, 假设节点 S5和 S6之间的链路出现了故障, 节点 S5检测到链路 故障后阻塞故障端口, 并在无虚拟通道子环上发送 SF协议帧, SF协议帧 中包括了发送节点的节点号 S5和阻塞端口索引号 1。 节点 S4收到上述 SF 协议帧后, 提取出 SF协议帧中的节点号和阻塞端口索引号, 并分别与保存 在接收端口的节点号和阻塞端口索引号进行对比, 在对比结果为不相同时 将接收端口的节点号和阻塞端口索引号更新为提取出来的节点号和阻塞端 口索引号, 并且还要刷新地址表。  2 is a schematic diagram of a protection structure when a link failure occurs in a virtual channel sub-ring in FIG. 1, as shown in FIG. 2, assuming that a link between nodes S5 and S6 is faulty, and node S5 detects that the link is faulty and blocks. The faulty port sends an SF protocol frame on the sub-ring without a virtual channel. The SF protocol frame includes the node number S5 of the sending node and the blocked port index number 1. After receiving the SF protocol frame, the node S4 extracts the node number and the blocked port index number in the SF protocol frame, and compares them with the node number and the blocked port index number stored in the receiving port respectively. When the comparison result is different. The node number of the receiving port and the blocked port index number are updated to the extracted node number and the blocked port index number, and the address table is also refreshed.
因此, 在链路故障发生后, 节点 S4收到 SF协议帧时会刷新地址表, 并且在收到 SF协议帧的端口记录的节点号为 S5 , 阻塞端口索引号为 1。 实 际上, 这时节点 S2 已经打开了端口, 但是由于节点 S2在打开端口时不会 发出协议帧, 因此节点 S4仍然记录了节点 S2阻塞端口的信息, 这实际上 是错误的信息。 图 3为图 2中无虚拟通道子环故障链路恢复时的保护结构示意图, 如 图 3所示, 节点 S5和 S6之间的链路故障恢复, 节点 S5检测到链路故障恢 复后在无虚拟通道子环上发送 NR协议帧, 节点 S4收到 NR协议帧后删除 接收端口保存的节点号和阻塞端口索引号, 即删除保存的节点号 S5和阻塞 端口索引号 1的信息,并且不保存收到的 NR协议帧中的节点号和阻塞端口 索引号。 Therefore, after the link failure occurs, the node S4 refreshes the address table when receiving the SF protocol frame, and the node number of the port record of the SF protocol frame is S5, and the blocked port index number is 1. In fact, node S2 has already opened the port at this time, but since node S2 does not issue a protocol frame when opening the port, node S4 still records the information of node S2 blocking the port, which is actually the wrong information. FIG. 3 is a schematic diagram of the protection structure of the virtual link sub-ring failure link recovery in FIG. 2, as shown in FIG. 3, the link failure between nodes S5 and S6 is recovered, and the node S5 detects that the link failure is restored after the failure. The NR protocol frame is sent on the virtual channel sub-ring. After receiving the NR protocol frame, the node S4 deletes the node number and the blocked port index number saved by the receiving port, that is, deletes the saved node number S5 and the blocked port index number 1 information, and does not save the information. The node number and blocked port index number in the received NR protocol frame.
图 4为图 3中无虚拟通道子环回切时的保护结构示意图, 如图 4所示, 节点 S2重新阻塞环保护链路端口,并在无虚拟通道子环上发送 NRRB协议 帧, NRRB协议帧中包括了环保护链路所属节点的节点号 S2和阻塞端口索 引号 0。 节点 S4收到上述 NRRB协议帧后提取出其中的节点号 S2和阻塞 端口索引号 0, 并分别与保存在接收端口的节点号 S2和阻塞端口索引号 0 进行对比, 由于对比结果为相同, 因此节点 S4不会刷新地址表。 而实际上, 无虚拟通道子环在回切时, 由于其数据流量的通信路径发生了变化而需要 刷新地址表, S4不刷新地址表将造成后续通信过程中的通信故障。  4 is a schematic diagram of a protection structure when the virtual channel sub-ring is switched back in FIG. 3, as shown in FIG. 4, the node S2 re-blocks the ring protection link port, and sends an NRRB protocol frame on the no-virtual channel sub-ring, the NRRB protocol. The frame includes the node number S2 and the blocked port index number 0 of the node to which the ring protection link belongs. After receiving the NRRB protocol frame, the node S4 extracts the node number S2 and the blocked port index number 0, and compares them with the node number S2 and the blocked port index number 0 stored in the receiving port respectively, because the comparison result is the same, Node S4 does not refresh the address table. In fact, when the virtual channel subring is not switched back, the address table needs to be refreshed due to the change of the communication path of the data traffic. S4 does not refresh the address table, which will cause communication failure in the subsequent communication process.
由此, 本发明应运而生, 釆用本发明的端口阻塞信息删除方案, 可以 在收到无请求协议帧时, 由无虚拟通道子环上的节点删除本节点在无虚拟 通道子环上所有端口所保存的节点号和阻塞端口索引号, 并且不保存收到 的无请求协议帧中的节点号和阻塞端口索引号。  Therefore, the present invention has emerged. With the port blocking information deletion scheme of the present invention, when a frame with no request protocol is received, the node on the sub-ring without the virtual channel deletes the node on the sub-ring without the virtual channel. The node number and blocked port index number saved by the port, and the node number and blocked port index number in the received unsolicited protocol frame are not saved.
以下对本发明所釆用的阻塞端口信息更新的方案进行具体阐述。  The scheme for updating the blocked port information used in the present invention will be specifically described below.
参见图 5 ,图 5为本发明一实施例的以太环网节点中保存信息的维护流 程图, 该流程包括以下步骤:  Referring to FIG. 5, FIG. 5 is a maintenance flow diagram of information stored in an Ethernet ring network node according to an embodiment of the present invention, where the process includes the following steps:
步骤 510: 以太环网节点收到无请求协议帧。  Step 510: The Ethernet ring network node receives the requestless protocol frame.
步骤 520:收到无请求协议帧的所述以太环网节点判断自身是否为无虚 拟通道子环上的节点, 如果是, 进入步骤 530; 否则, 进入步骤 540。  Step 520: The Ethernet ring network node that receives the requestless protocol frame determines whether it is a node on the virtual channel subring. If yes, go to step 530; otherwise, go to step 540.
步骤 530:所述节点删除本节点在无虚拟通道子环上所有端口的节点号 和阻塞端口索引号, 并且确认不保存收到的无请求协议帧中的节点号和阻 塞端口索引号, 结束本流程。 Step 530: The node deletes the node number of all ports on the node without the virtual channel subring. And block the port index number, and confirm that the node number and blocked port index number in the received unrequested protocol frame are not saved, and the process ends.
步骤 540: 应用现在技术处理后续流程。  Step 540: Apply the current technology to process the subsequent process.
下面结合具体实例对本发明的技术方案作进一步的详细描述。  The technical solutions of the present invention are further described in detail below with reference to specific examples.
参见图 6, 图 6展示了图 2中无虚拟通道子环故障链路恢复时的情况。 图 6中, 节点 S5和节点 S6之间的链路故障恢复, 节点 S5检测到链路恢复 后在无虚拟通道子环上发送 NR协议帧。 节点 S4收到 NR协议帧后, 首先 通过判断确认自身为无虚拟通道子环节点, 之后删除本节点在无虚拟通道 子环上所有端口的节点号和阻塞端口索引号,并且不保存收到的 NR协议帧 中的节点号和阻塞端口索引号。 至此, 节点 S4中两个环上端口记录的节点 号和阻塞端口索引号都为空。  See Figure 6, Figure 6 shows the situation when the virtual link sub-ring failure link is restored in Figure 2. In Figure 6, the link between node S5 and node S6 is recovered, and node S5 detects that the link is restored and sends an NR protocol frame on the virtual channelless subring. After receiving the NR protocol frame, the node S4 first confirms that it is a non-virtual channel sub-ring node, and then deletes the node number and the blocked port index number of all ports on the non-virtual channel sub-ring of the local node, and does not save the received The node number and blocked port index number in the NR protocol frame. At this point, the node number and blocked port index number recorded on the ports on both rings in node S4 are empty.
参见图 7, 图 7为图 6中无虚拟通道子环回切时的保护结构示意图。 图 7中, 节点 S2因无虚拟通道子环回切而重新阻塞环保护链路端口, 并在无 虚拟通道子环上发送 NRRB协议帧, NRRB协议帧中包括环保护链路所属 节点的节点号 S2和阻塞端口索引号 0。 节点 S4收到上述 NRRB协议帧后, 提取出 NRRB协议帧中的节点号 S2和阻塞端口索引号 0 , 并分别与保存在 接收端口的节点号和阻塞端口索引号进行对比。 由于节点 S4的两个环上端 口所记录的节点号和阻塞端口索引号都为空, 因此 NRRB协议帧中的节点 号和阻塞端口索引号同节点 S4的两个环上端口记录的节点号和阻塞端口索 引号都不相同, 使得节点 S4需要更新接收端口所保存的节点号和阻塞端口 索引号, 并基于此刷新地址表。  See Figure 7, Figure 7 for the protection structure of Figure 6 without the virtual channel sub-ring back-cut. In Figure 7, node S2 re-blocks the ring protection link port because there is no virtual channel sub-ring back-cut, and sends an NRRB protocol frame on the non-virtual channel sub-ring. The NRRB protocol frame includes the node number of the node to which the ring protection link belongs. S2 and blocked port index number 0. After receiving the NRRB protocol frame, the node S4 extracts the node number S2 and the blocked port index number 0 in the NRRB protocol frame, and compares them with the node number and the blocked port index number stored in the receiving port respectively. The node number and the blocked port index number recorded in the NRRB protocol frame are the same as the node number recorded on the two ring ports of the node S4. The blocked port index numbers are different, so that the node S4 needs to update the node number saved by the receiving port and the blocked port index number, and refresh the address table based on this.
由以上所述可见, 在以太环网无虚拟通道子环回切时, 无虚拟通道子 环上的节点会收到无请求协议帧。 无虚拟通道子环上的节点收到无请求协 议帧后, 在通过判断确认自身为无虚拟通道子环节点的情况下, 可以删除 本节点在无虚拟通道子环上所有环上端口的节点号和阻塞端口索引号, 并 且不保存收到的无请求协议帧中的节点号和阻塞端口索引号, 因此也就删 除了原先记录的能导致地址表无法正常刷新的不正确的节点号和阻塞端口 索引号; 使得节点在无虚拟通道子环回切时, 能够正确地刷新地址表, 保 障了数据流量的正确切换。 It can be seen from the above that when the Ethernet ring network has no virtual channel sub-ring back-cut, the node on the no-virtual channel sub-ring receives the unrequested protocol frame. After receiving a no-request protocol frame, the node on the sub-ring without the virtual channel can delete the node number of all the ports on the ring without the virtual channel sub-ring. And blocking the port index number, and The node number and the blocked port index number in the received unrequested protocol frame are not saved, so the incorrectly recorded node number and blocked port index number that can cause the address table to fail to be refreshed are deleted. When there is no virtual channel sub-ring back-cut, the address table can be refreshed correctly, which ensures the correct switching of data traffic.
在实际应用中, 为了保证上述操作的顺利实施, 可以进行如图 8所示 的设置。 参见图 8 , 图 8为本发明一实施例的以太环网节点中保存信息的维 护装置图, 该装置包括可以依次相连或两两相连的触发单元、 节点判断单 元、 保存信息维护单元。 这三个单元可以设置于节点中, 也可以设置于节 点之外的其它功能实体中。  In practical applications, in order to ensure the smooth implementation of the above operations, the settings shown in Figure 8 can be performed. Referring to FIG. 8, FIG. 8 is a diagram of a maintenance device for storing information in an Ethernet ring node according to an embodiment of the present invention. The device includes a trigger unit, a node judgment unit, and a save information maintenance unit that can be connected in sequence or connected in pairs. These three units can be set in the node or in other functional entities outside the node.
具体应用时, 触发单元用于确认目前处于无虚拟通道子环回切阶段, 并将该情况通知给节点判断单元。 需要说明的是, 确认目前处于无虚拟通 道子环回切阶段的方法有多种, 如: 判断是否收到无请求协议帧, 在收到 无请求协议帧时确定目前处于无虚拟通道子环回切阶段; 或者, 判断是否 收到用于指示目前处于无虚拟通道子环回切阶段的其它指示信息, 如果收 到, 则确定目前处于无虚拟通道子环回切阶段。  In the specific application, the trigger unit is used to confirm that the sub-loop back-cut phase is currently in the virtual channel, and the situation is notified to the node judging unit. It should be noted that there are various methods for confirming that there is no virtual channel sub-ring back-cutting stage, such as: judging whether a non-requested protocol frame is received, and determining that there is no virtual channel sub-loop back when receiving the no-request protocol frame. The phase is determined; or, it is determined whether other indication information indicating that the sub-loop back-cut phase is currently in the virtual channel is received, and if it is received, it is determined that the sub-ring back-cut phase is currently in the virtual channel.
节点判断单元能够接收来自触发单元的通知, 并判断所管理的节点是 否为无虚拟通道子环节点, 在判断结果为是时将该情况通知给保存信息维 护单元。 需要说明的是, 判断节点是否为无虚拟通道子环节点的方法有多 种, 如: 获取节点标识, 查找所获取的节点标识中是否有表明该节点属于 无虚拟通道子环的成员标识, 如果查找到, 确定节点为无虚拟通道子环节 点。  The node judging unit can receive the notification from the trigger unit, and judge whether the managed node is a non-virtual channel sub-ring node, and notify the save information maintenance unit when the judgment result is YES. It should be noted that there are various methods for determining whether a node is a sub-ring node without a virtual channel, such as: obtaining a node identifier, and searching for a member identifier of the obtained node identifier indicating that the node belongs to a sub-ring without a virtual channel, if Find, determine that the node is a virtual channel subring node.
保存信息维护单元收到来自节点判断单元的通知时, 删除所管理的所 述节点在无虚拟通道子环上所有端口的节点号和阻塞端口索引号, 并且不 保存收到的无请求协议帧中的节点号和阻塞端口索引号。  When the save information maintenance unit receives the notification from the node judging unit, deletes the node number and the blocked port index number of all the ports of the managed node on the non-virtual channel subring, and does not save the received requestless protocol frame. Node number and blocked port index number.
之后, 保存信息维护单元可以根据所管理的节点所收到的节点号和阻 塞端口索引号, 更新该节点接收端口所保存的节点号和阻塞端口索引号, 并基于此刷新地址表, 或者通知相关的地址表管理单元刷新地址表。 After that, the save information maintenance unit can receive the node number and resistance according to the managed node. The port index number is updated, the node number saved by the receiving port of the node and the blocked port index number are updated, and the address table is refreshed based on the refresh address table, or the related address table management unit is notified to refresh the address table.
另外, 当节点判断单元的判断结果为所管理的节点不是无虚拟通道子 环节点时, 也可以将该情况通知给保存信息维护单元, 保存信息维护单元 则在收到上述通知时应用现在技术处理后续流程。  In addition, when the judgment result of the node judgment unit is that the managed node is not a virtual channel sub-ring node, the situation may be notified to the save information maintenance unit, and the save information maintenance unit applies the current technical process when receiving the above notification. Follow-up process.
综上所述可见, 无论是方法还是装置, 在以太环网无虚拟通道子环回 切时, 无虚拟通道子环上的节点均可以接收无请求协议帧。 并且, 无虚拟 通道子环上的节点收到无请求协议帧后, 在通过判断确认自身为无虚拟通 道子环节点的情况下, 可以删除本节点在无虚拟通道子环上所有环上端口 的节点号和阻塞端口索引号, 并且不保存收到的无请求协议帧中的节点号 和阻塞端口索引号, 因此也就删除了原先记录的能导致地址表无法正常刷 新的不正确的节点号和阻塞端口索引号; 使得节点在无虚拟通道子环回切 时, 能够正确地刷新地址表, 保障了数据流量的正确切换。  In summary, it can be seen that no node of the virtual channel sub-ring can receive the unsolicited protocol frame when the Ethernet ring has no virtual channel sub-ring back-cut in both the method and the device. In addition, after receiving the no-request protocol frame, the node on the sub-ring without the virtual channel can delete all the ports on the ring of the virtual channel sub-ring without determining the virtual sub-ring node. The node number and the blocked port index number, and the node number and blocked port index number in the received unsolicited protocol frame are not saved, so the incorrectly recorded node number that can cause the address table to fail to be refreshed normally is deleted. The port index number is blocked. When the node is switched back without a virtual channel sub-ring, the address table can be correctly refreshed, ensuring correct switching of data traffic.
上述的节点号和阻塞端口索引号可以统称为节点的保存信息。 另外, 在收到无请求协议帧时, 节点确定无虚拟通道子环上的保护倒换请求需要 被清除, 进而删除本节点在无虚拟通道子环上所有端口的节点保存信息, 并且确认不保存收到的无请求协议帧中的节点保存信息。 实际上, 节点确 定无虚拟通道子环上的保护倒换请求需要被清除的方式有多种, 如: 在回 切或故障回复阶段收到特定的更新协议帧等。  The above node number and blocked port index number may be collectively referred to as node save information. In addition, when receiving the no-request protocol frame, the node determines that the protection switching request on the non-virtual channel sub-ring needs to be cleared, and then deletes the node save information of all the ports on the non-virtual channel sub-ring of the local node, and confirms that the information is not saved. The nodes in the unsolicited protocol frame are saved. In fact, the node determines that there are multiple ways in which the protection switching request on the virtual channelless subring needs to be cleared, such as: receiving a specific update protocol frame during the failback or failback phase.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围, 凡在本发明的精神和原则之内所作的任何修改、 等同替换和改进 等, 均应包含在本发明的保护范围之内。  The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included. Within the scope of protection of the present invention.

Claims

权利要求书 Claim
1、 一种以太环网节点中保存信息的维护方法, 其特征在于, 该方法包 括:  A method for maintaining information stored in an Ethernet ring network node, the method comprising:
在无虚拟通道子环上的保护倒换请求需要被清除时, 由无虚拟通道子 环上的节点删除自身在无虚拟通道子环上所有端口的节点保存信息, 并且 不保存收到的无请求协议帧中的节点保存信息。  When the protection switching request on the virtual channelless subring does not need to be cleared, the node on the non-virtual channel subring deletes the node save information of all ports on the virtual channelless subring, and does not save the received requestless protocol. The nodes in the frame hold the information.
2、 根据权利要求 1所述的方法, 其特征在于, 该方法进一步包括确认 无虚拟通道子环上的保护倒换请求需要被清除的过程:  2. The method of claim 1, wherein the method further comprises the step of confirming that the protection switching request on the no virtual channel subring needs to be cleared:
无虚拟通道子环上的所述节点收到无请求协议帧时, 确认所述保护倒 换请求需要被清除。  When the node on the no virtual channel subring receives the no-request protocol frame, it is confirmed that the protection switching request needs to be cleared.
3、 根据权利要求 2所述的方法, 其特征在于, 该方法进一步包括: 无 虚拟通道子环上的所述节点判断自身是否为无虚拟通道子环节点, 并在判 断结果为是时执行所述删除操作。  The method according to claim 2, wherein the method further comprises: determining, by the node on the no-virtual channel sub-ring, whether the node is a virtual channel sub-ring node, and executing the Describe the delete operation.
4、 根据权利要求 3所述的方法, 其特征在于, 该方法进一步包括: 所 述判断结果为否时, 应用现有技术执行后续操作。  The method according to claim 3, wherein the method further comprises: when the determination result is no, applying a prior art to perform a subsequent operation.
5、 根据权利要求 1至 4任一项所述的方法, 其特征在于, 该方法进一 步包括:  The method according to any one of claims 1 to 4, characterized in that the method further comprises:
根据所述节点所收到的节点保存信息, 更新该节点接收端口所保存的 节点保存信息, 并基于此刷新地址表。  Updating the node save information saved by the node receiving port according to the node save information received by the node, and refreshing the address table based on the node.
6、 根据权利要求 1至 4任一项所述的方法, 其特征在于, 所述节点保 存信息包括发送的协议帧中所包含的节点号和阻塞端口索引号。  The method according to any one of claims 1 to 4, wherein the node save information includes a node number and a blocked port index number included in the transmitted protocol frame.
7、 一种以太环网节点中保存信息的维护装置, 其特征在于, 该装置包 括触发单元、 保存信息维护单元; 其中,  A maintenance device for storing information in an Ethernet ring network node, wherein the device includes a trigger unit and a save information maintenance unit;
所述触发单元, 用于确认无虚拟通道子环上的保护倒换请求需要被清 除, 并将该情况通知给所述保存信息维护单元; 所述保存信息维护单元, 用于删除所管理的无虚拟通道子环上的节点 在无虚拟通道子环上所有端口的节点保存信息, 并且不保存收到的无请求 协议帧中的节点保存信息。 The triggering unit is configured to confirm that the protection switching request on the virtual channel subring does not need to be cleared, and notify the saving information maintenance unit of the situation; The save information maintenance unit is configured to delete a node on the managed virtual channelless subring to save information on all ports of the virtual channel subring without saving the node save information in the received unrequested protocol frame. .
8、 根据权利要求 7所述的装置, 其特征在于, 该装置进一步包括节点 判断单元, 用于判断所管理的所述节点是否为无虚拟通道子环节点, 并在 判断结果为是时通知所述保存信息维护单元执行所述删除操作。  The device according to claim 7, wherein the device further comprises a node determining unit, configured to determine whether the managed node is a virtual channel sub-ring node, and notify the station when the determination result is yes The save information maintenance unit performs the delete operation.
9、 根据权利要求 7或 8所述的装置, 其特征在于, 所述保存信息维护 单元, 进一步用于:  The device according to claim 7 or 8, wherein the save information maintenance unit is further configured to:
根据所管理的所述节点所收到的节点保存信息, 更新该节点接收端口 所保存的节点保存信息, 并基于此刷新地址表。  And updating, according to the node save information received by the node, the node save information saved by the node receiving port, and refreshing the address table based on the node.
10、 根据权利要求 7或 8所述的装置, 其特征在于, 所述节点保存信 息包括发送的协议帧中所包含的节点号和阻塞端口索引号。  10. The apparatus according to claim 7 or 8, wherein the node saving information comprises a node number and a blocked port index number included in the transmitted protocol frame.
PCT/CN2010/079422 2010-04-12 2010-12-03 Method and apparatus for maintaining saved information of node in ethernet ring network WO2011127736A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010146488.0A CN102215119B (en) 2010-04-12 2010-04-12 Stored maintaining method and device is protected in ethernet ring network node
CN201010146488.0 2010-04-12

Publications (1)

Publication Number Publication Date
WO2011127736A1 true WO2011127736A1 (en) 2011-10-20

Family

ID=44746260

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/079422 WO2011127736A1 (en) 2010-04-12 2010-12-03 Method and apparatus for maintaining saved information of node in ethernet ring network

Country Status (2)

Country Link
CN (1) CN102215119B (en)
WO (1) WO2011127736A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103117933B (en) * 2013-03-04 2015-12-23 中国科学院高能物理研究所 The method and system of data is transmitted in multi-point communication network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426031A (en) * 2008-12-09 2009-05-06 中兴通讯股份有限公司 Novel method and apparatus for Ether ring network address updating
CN101621443A (en) * 2008-07-01 2010-01-06 中兴通讯股份有限公司 A kind of fault recovery method of Ethernet ring protection system
CN101640646A (en) * 2009-09-01 2010-02-03 中兴通讯股份有限公司 Protection reversion method and device of Ethernet ring network
CN101645812A (en) * 2009-08-31 2010-02-10 武汉烽火网络有限责任公司 Protection switching method of Ethernet intersecting ring
CN101888340A (en) * 2010-07-19 2010-11-17 南京邮电大学 Method for refreshing regional addresses of subring

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100589427C (en) * 2007-02-14 2010-02-10 中兴通讯股份有限公司 Automatic protection method of Ethernet
CN101599892A (en) * 2008-06-03 2009-12-09 中兴通讯股份有限公司 A kind of addresses forwarding table update method
US9042216B2 (en) * 2008-06-20 2015-05-26 Alcatel Lucent Loop prevention mechanism for ethernet ring protection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621443A (en) * 2008-07-01 2010-01-06 中兴通讯股份有限公司 A kind of fault recovery method of Ethernet ring protection system
CN101426031A (en) * 2008-12-09 2009-05-06 中兴通讯股份有限公司 Novel method and apparatus for Ether ring network address updating
CN101645812A (en) * 2009-08-31 2010-02-10 武汉烽火网络有限责任公司 Protection switching method of Ethernet intersecting ring
CN101640646A (en) * 2009-09-01 2010-02-03 中兴通讯股份有限公司 Protection reversion method and device of Ethernet ring network
CN101888340A (en) * 2010-07-19 2010-11-17 南京邮电大学 Method for refreshing regional addresses of subring

Also Published As

Publication number Publication date
CN102215119A (en) 2011-10-12
CN102215119B (en) 2016-03-30

Similar Documents

Publication Publication Date Title
US8208369B2 (en) Ethernet ring system and a master node and an initialization method thereof
JP5508289B2 (en) Network recovery system and method from multilink failure
EP2277290B1 (en) Redundant ethernet automatic protection switching access to virtual private LAN services
EP2117176B1 (en) Method for implementing intersecting ring network with arbitrary topology, node and intersecting ring network
EP2204947A1 (en) Method and node device of ethernet failure detecting and converging
CN101483570B (en) Method, system and device for preventing looped network temporary loop circuit of relaying link
US20150365320A1 (en) Method and device for dynamically switching gateway of distributed resilient network interconnect
EP2874351B1 (en) Control method and device for protecting connectivity between ethernet ring network nodes, and first node
WO2009111969A1 (en) Method for blocking the edge port in the ethernet, ethernet loop network system and apparatus
EP2533470B1 (en) Method and equipment for preventing repeated refreshing of ethernet ring node address table
US20120170487A1 (en) Method and system for preventing repeated updating of address table in ethernet ring network protection
WO2010102490A1 (en) Address update method for ports of switching node, and switching node in ethernet ring network
CN102035710B (en) Method and system for updating blocked port information
US8811157B2 (en) Protection switching method and system for ethernet dual-homed link
US8681604B2 (en) Address refresh method and system
WO2011020330A1 (en) Method and apparatus for managing the ethernet topology
KR101302815B1 (en) Method and system for blocking protocol messages at a sub-ring control channel without virtual channel
WO2012097571A1 (en) Method and node device for recovering ring network service
JP4356727B2 (en) Route management system, route management method, and route management program
WO2012068866A1 (en) Method and system for refreshing media access control in ethernet ring network
WO2011127736A1 (en) Method and apparatus for maintaining saved information of node in ethernet ring network
WO2011000184A1 (en) Method and system for refreshing the single ring address in an ethernet ring
CN111526078A (en) Sub-ring network redundancy expansion protocol applied to diversified network topology
CN113285826A (en) Ring network protection switching method based on role switching
WO2010031283A1 (en) Method, device and system for detecting link label status

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

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

Country of ref document: EP

Kind code of ref document: A1