WO2008011781A1 - A method and node to detect neighbor node on resilient package ring - Google Patents

A method and node to detect neighbor node on resilient package ring Download PDF

Info

Publication number
WO2008011781A1
WO2008011781A1 PCT/CN2007/001608 CN2007001608W WO2008011781A1 WO 2008011781 A1 WO2008011781 A1 WO 2008011781A1 CN 2007001608 W CN2007001608 W CN 2007001608W WO 2008011781 A1 WO2008011781 A1 WO 2008011781A1
Authority
WO
WIPO (PCT)
Prior art keywords
connectivity
node
topology
neighbor
packet ring
Prior art date
Application number
PCT/CN2007/001608
Other languages
French (fr)
Chinese (zh)
Inventor
Jian Li
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 WO2008011781A1 publication Critical patent/WO2008011781A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/66Layer 2 routing, e.g. in Ethernet based MAN's

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a method and a network node for sensing neighbor connectivity on an elastic packet ring.
  • RPR Resilient Packet Ring
  • IP Internet Protocol
  • Ethernet Ethernet
  • features such as flexibility and scalability, while absorbing the advantages of high bandwidth efficiency of fiber ring network, fast protection of 50ms (milliseconds), and automatic discovery of network topology, providing a good networking solution for broadband IP metropolitan area networks.
  • MAC Media Access Control
  • RPR's most attractive feature is carrier-class reliability, which not only limits the processing of data-oriented services, but also forms more processing. Integrated transport solution for business delivery.
  • RPR is a ring network composed of packet switching nodes. Adjacent nodes are connected by a pair of optical fibers. Similar to SDH (Synchronous Digital Hierarchy) topology, RPR network topology It is based on two oppositely transmitted rings, each of which operates at the same rate. Different from SDH, both rings of RPR can transmit data, and the two rings are called 0 ring and 1 ring respectively. The data transmission direction of the 0 ring on the RPR is clockwise, and the direction of the 1 ring is counterclockwise. Each RPR node uses the 48-bit MAC address used in the Ethernet as the address identifier.
  • RPR provides 50ms of source routing protection. Under normal circumstances, both fibers of the RPR are working fibers.
  • the node fiber ingress physical layer device detects an error and notifies the MAC layer of the error, and sends a control signaling packet to notify other nodes; after receiving the control signaling packet, these nodes will Perform topology auto-discovery and transfer all services to the active ring. According to the RPR protocol, this ring protection switching is completed within 50ms, so its topology convergence is also completed within 50ms.
  • the connectivity of the interface network is a very important feature.
  • the slow detection of the upper layer of the control plane protocol includes the IGP hello packet, the link-layer protocol (Peer-to-Point Protocol), and other QoS packets of the reliability protocol such as VRRP. .
  • This type of detection packet needs to be sent and received by a CPU (Central Process Unit) running on the routing control plane. Therefore, the transmission and reception frequency has a large P-control system, which is basically a second-level detection. If the detection rate is increased, Then the CPU pressure on the control plane is very large.
  • the neighboring detection of the ISIS (Intermediate System-to-Intermediate System) protocol sends a hello packet for 10 seconds (seconds). If the Hello packet is not received for 4 consecutive times, the neighbor connectivity is considered to be lost.
  • the typical configuration of the advertised VRRP packet is that Is is sent once. If the VRRP packet is not received for three consecutive times, the connectivity with the peer device is considered to be lost.
  • the disadvantage of this method is that the detection speed is too slow, usually takes 3 seconds to 90 seconds. This time is unacceptable for real-time services that require a 50ms switch.
  • the fast detection of the forwarding plane detects the connectivity of neighbors through protocols such as BFD (Bidirectional Forward Detection).
  • BFD Bidirectional Forward Detection
  • the hello packet of the BFD is sent directly through the forwarding plane.
  • the sending and receiving speed is very fast. You can send a hello packet in 10 ms. If the connection fails for three consecutive times, the neighbor connectivity is lost.
  • This detection method can meet the speed requirements, but there are still some shortcomings: BFD packets need to occupy a lot of bandwidth. Usually, a BFD test needs to occupy nearly 64k (thousands of bits) of bandwidth.
  • the BFD protocol standard is still in the draft stage. The standardization degree and interoperability of the protocol have certain limitations.
  • the BFD protocol needs to be established between two neighbors. For the ring topology of RPR, there is a scalability problem.
  • the embodiments of the present invention provide a method and a device for sensing neighbor connectivity on an elastic packet ring, which can quickly obtain connectivity of the ring neighbors within 50 ms while avoiding the problem of occupying extra bandwidth.
  • An embodiment of the present invention provides a method for sensing neighbor connectivity on an elastic packet ring, including: obtaining a topology table after convergence of the elastic packet ring;
  • the connectivity of the neighbor node is determined by whether the topology table includes an address identifier of a neighbor node.
  • An embodiment of the present invention further provides a network node, where the network node includes:
  • a topology table unit configured to obtain a topology table after the convergence of the elastic packet ring
  • a detecting unit configured to determine connectivity of the neighbor node by whether the topology table includes an address identifier of a neighboring node.
  • the specified neighbor node address is searched in the generated topology table after the network topology is converged. Identification, detecting neighbor connectivity. Because the elastic packet protocol can ensure that the topological fast convergence can be completed within 50ms after each topology change, the fast detection of the adjacent connectivity is realized, and the problem of slow detection speed of the upper control plane protocol layer is solved.
  • the embodiment of the present invention fully utilizes the function of the flexible packet ring protocol itself, does not need to occupy extra bandwidth, and has good scalability.
  • Figure 1 is a schematic diagram of RPR ring network communication
  • FIG. 2 is a flowchart of a first embodiment of a method for sensing neighbor connectivity according to the present invention; a flowchart of a node address;
  • FIG. 4 is a topological structural diagram of an RPR ring network in an application example of the present invention.
  • FIG. 5 is a schematic diagram of a first variation of an RPR ring network topology in an application example of the present invention
  • FIG. 6 is a schematic diagram of two variants of an RPR ring network topology in an application example of the present invention
  • FIG. 7 is an application example of the present invention.
  • FIG. 8 is a schematic structural diagram of an embodiment of a network node in the present invention.
  • the elastic packet ring network it is ensured that topology convergence is completed within 50 ms, and a topology table reflecting the current topology structure is generated in each RPR ring node, and the topology table is searched for connectivity.
  • the address identifier of the neighbor node that is sexually detected to determine connectivity with the neighbor node.
  • the node needs to be perceived or detected on a node of an elastic packet ring.
  • the connectivity of a node to one of its neighbors.
  • the node first searches for the MAC address of the neighbor node that needs to be aware of connectivity in the topology table of the current resilient packet ring. If it can be found, it has connectivity, otherwise it has no connectivity.
  • the MAC address of the neighboring node is associated with the RPR ring, and the associated information is saved, indicating that the MAC address is the MAC address of the associated node on the RPR ring.
  • the association between the MAC address of the neighboring node and the resilient packet ring can be saved in the network device.
  • Step S210 The upper layer application of the node specifies an elastic packet ring that needs to find connectivity, and specifies a MAC address of a neighbor node that needs to perform connectivity detection.
  • Step S220 Find a topology table of the elastic packet ring on the node according to the specified resilient packet ring.
  • Step S230 Check whether the elastic packet topology table completes convergence. If the convergence is complete, perform step S240, otherwise wait for topology convergence. Afterwards, step S240 is performed;
  • Step S240 Search for the MAC address of the specified neighbor node in the topology table, if it is found, it has connectivity, otherwise it does not have connectivity.
  • the specified neighbor node can be associated with the corresponding elastic packet ring and the associated information is saved.
  • the association indicates that the neighbor node is on the elastic packet ring.
  • the topology table When searching for the MAC address of the specified neighboring node in the topology table, the topology table may be traversed sequentially, or the topology table may be searched by a hash (HASH) method, and other methods may be utilized by those skilled in the art. The search is performed without departing from the scope of the invention.
  • HASH hash
  • the topology table of the node usually includes a ring topology table (or east table) and a ring topology table (or a west table), and the process of searching for the MAC address of the neighbor node in the topology table by sequentially traversing. It may have the flow shown in Figure 3, including:
  • Step III it is necessary to check the reachability and validity of the elastic packet ring entry, which can be determined by the validity field and the reachability field in the elastic packet ring topology table. If the check fails, go to Step III; otherwise, check whether the MAC address in the Elastic Packet Ring Topology entry and the MAC address of the neighbor node to be detected are identical. If they are the same, the search succeeds, indicating connectivity; otherwise, Step 2 of the next-hop table of the ring topology table, and perform step II until the last entry of the ring topology table. If it is still not found, perform step ⁇ ; III. Starting from the first hop entry of the 0-ring topology table of the elastic packet ring;
  • Step IV Check the reachability and validity of the elastic packet ring entry. If the check fails, the connectivity is not provided. Otherwise, the MAC address in the elastic packet ring topology entry and the MAC address of the neighbor node to be detected are compared. If they are the same, they have connectivity. Otherwise, they go to the next hop entry. Step IV is executed until the last entry of the 0-ring topology table. If it is still not found, it does not have connectivity.
  • the above search process can also be searched from the 0-ring topology table.
  • neighbor connectivity tables can be constructed from topology tables and neighbor nodes that specify perceptual connectivity.
  • the neighbor connectivity table includes the address identifier of the neighbor node that needs to be aware of connectivity, the resilient packet ring associated with the neighbor node, and the current connectivity of the neighbor node learned from the topology table.
  • other related information may also be included.
  • the elastic packet protocol can obtain topology change information and notify all nodes on the ring to perform topology convergence again. After convergence, the convergence is generated.
  • the topology table of the resilient packet ring looks up the MAC address of the neighbor node that needs to be aware of connectivity. If it can be found, the connectivity to the neighbor node is normal; otherwise, the connectivity to the neighbor node fails.
  • the address of the neighbor node that needs to be aware of connectivity at this time is the MAC address of the associated node.
  • the process of searching for the MAC address in the topology table is the same as the search process in the first embodiment.
  • a neighbor connectivity table is constructed, each time the topology changes, neighbor nodes that have an association relationship with the elastic packet ring whose topology changes may be found in the neighbor connectivity table, and these neighbor nodes may be topologically
  • the neighbor nodes that change the connectivity after the topology is converged, the connectivity of the neighbor nodes is refreshed according to the topology table, that is, if the convergence topology table includes the MAC address of one of the neighbor nodes, the neighbor node
  • the connectivity is normal; otherwise the connectivity of the neighbor node fails.
  • the topology change includes: the networking structure, the node on the elastic packet ring, or the link fault occurs.
  • the topology changes, and the node inserts or withdraws the elastic packet ring.
  • the storage medium may be a read only memory, a random access memory, a magnetic disk, an optical disk, or the like.
  • the connectivity of neighbor R5 nodes is detected on the R1 node.
  • the R1 node will form its own topology table due to the network topology discovery.
  • the basic information is as follows:
  • the R1 node finds the MAC address of the neighbor R5 in its own topology table 00.e0.fc.10.00.a5, which can be found, so the connectivity between R1 and neighbor R5 is normal.
  • the RPR detects the fault and notifies all nodes on the ring to perform topology convergence again.
  • its topology information is as follows:
  • R1 MAC address 00.e0.fc.10.00.al
  • R2 MAC address 00.e0.fc.10.00.a2
  • R3 MAC address 00.e0.fc.10.00.a3
  • R4 MAC address 00.e0.fc.10.00.a4
  • R5 MAC address 00.e0.fc.10.00.a5
  • R6 MAC address 00.e0.fc.10.00.a6
  • the R1 node still has the MAC address of the R5 node in its own topology table, so the connectivity between R1 and neighbor R5 is still normal.
  • the RPR detects the fault and notifies all nodes on the ring to perform topology convergence again.
  • its topology information is as follows:
  • R1 MAC address 00.e0.fc.10.00.al
  • R2 MAC address 00.e0.fc.10.00.a2
  • R3 MAC address 00.e0.fc.10.00.a3
  • R6 MAC address 00.e0.fc.10.00.a6
  • the R1 node cannot find the MAC address of the R5 node in its own topology table, so the connectivity between R1 and neighbor R5 fails.
  • the RPR protocol detects the fault and notifies all nodes on the ring to re-top topology convergence.
  • its topology information is as follows:
  • R1 MAC address 00.e0.fc.10.00.al
  • R2 MAC address 00.e0.fc.10.00.a2
  • R4 MAC address 00.e0.fc.10.00.a4
  • R6 MAC address 00.e0.fc.10.00.a6
  • the R1 node cannot find the MAC address of the R5 node in its own topology table, so the connectivity between R1 and neighbor R5 fails.
  • an embodiment of a network node connected to an elastic packet ring may have the structure shown in FIG.
  • the network node includes a topology table unit 810 and a detection unit 820.
  • the topology table unit 810 is configured to obtain a topology table after the convergence of the elastic packet ring on the network node, for example, by the topology table unit 810 when the connectivity detection is initiated for the first time. To determine whether the elastic packet ring converges and read the converged topology table.
  • the detecting unit 820 searches the topology table acquired by the topology table unit 810 for the address identifier of the neighbor node that needs to be aware of connectivity, and if found, determines that the neighbor node has connectivity, and if not found, determines that the neighbor node does not have connectivity. Sex.
  • the topology table includes a 0 ring table and a ring table of the elastic packet ring.
  • the detecting unit 820 does not find the address identifier of a neighbor node in the two tables, it is determined that the neighbor node has no connectivity.
  • the address identifier of the neighbor node usually adopts the MAC address of the neighbor node.
  • the unit 830 monitors whether the elastic packet ring in which the network node is located has a topology change, and sends an indication to the topology table unit 810 and the detecting unit 820 respectively when the change occurs, indicating that the topology table unit obtains the updated information after the elastic packet ring converges.
  • the topology table indicates that the detecting unit refreshes the connectivity of the neighbor nodes according to the updated topology table.
  • the detection unit 820 may further include a connectivity table storage module 822 and a connectivity table maintenance module 821 in consideration of convenience of implementation.
  • the connectivity identifier is stored in the connectivity table storage module 822, and the association relationship between the neighboring node and the resilient packet ring is stored.
  • the connectivity table maintenance module 821 finds the address identifier of the neighbor node that has an association relationship with the elastic packet ring in the connectivity table storage module 822, and In the topology table, it is found whether there is an address identifier of the associated neighbor node, and if found, the neighbor node is determined to have connectivity, and if not found, the neighbor node is determined to have no connectivity; and the topology update notification unit 830 is received. After the indication, the connectivity table maintenance module 821 repeats the above process to update the current connectivity of the associated neighbor node. In addition, the current connectivity of the associated neighbor node may be saved in the connectivity table storage module, and maintained by the connectivity table maintenance module 821.
  • the embodiment of the present invention determines the connectivity with the neighbor node by looking up the address identifier of the neighbor node to be detected in the topology table, and fully utilizes the characteristics of the protocol convergence within 50 ms of the elastic packet ring itself, thereby solving the upper layer control.
  • the problem of slow detection at the plane protocol level, without interoperability problems and scalability issues, does not require additional bandwidth.

Abstract

A method and node to detect neighbor node on RPR are disclosed. In this method, a topology table is maintained in a node, which can be used for making sure if a neighbor node is connecting directly with the said node. The method wins the merit of converging in 50 ms, which overcomes the problem of low detecting speed over control plane, at the same time, bad connectivity problem, low scalability problem and additional bandwidth engrossment can be avoided well.

Description

一种弹性分组环上感知邻居连通性的方法和网络节点 本申请要求于 2006 年 7 月 18 日提交中国专利局、 申请号为 200610061720.4、 发明名称为"一种弹性分组环上感知邻居连通性的方法和装 置"的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。  Method and network node for sensing neighbor connectivity on resilient packet ring This application claims to be filed on July 18, 2006, with the Chinese Patent Office, application number 200610061720.4, and the invention name is "a resilient packet ring to sense neighbor connectivity. The priority of the Chinese Patent Application, the entire disclosure of which is incorporated herein by reference.
技术领域 Technical field
本发明涉及网絡通信技术领域,尤其涉及一种弹性分组环上感知邻居连通 性的方法和网络节点。  The present invention relates to the field of network communication technologies, and in particular, to a method and a network node for sensing neighbor connectivity on an elastic packet ring.
背景技术 Background technique
随着网络通信技术的发展,各种新一代的城域网技术层出不穷,其中 RPR ( Resilient Packet Ring, 弹性分组环)技术融合了 IP ( Internet Protocol, 网际 协议)的智能化、 以太网的经济性、 灵活性和可扩展性等特点, 同时吸收了光 纤环网的高带宽效率、 50ms (毫秒)快速保护、 网络拓朴自动发现等优势, 为宽带 IP城域网提供了良好的组网方案。与传统 MAC ( Media Access Control, 媒介接入控制)相比, RPR最吸引人的特点是具有电信级的可靠性, 使其不 仅仅只是局限于处理面向数据的业务传送需求,同时可以形成处理多业务传送 的综合传输解决方案。  With the development of network communication technology, various new generations of metropolitan area network technologies emerge one after another. Among them, RPR (Resilient Packet Ring) technology combines the intelligence of IP (Internet Protocol) and the economics of Ethernet. Features such as flexibility and scalability, while absorbing the advantages of high bandwidth efficiency of fiber ring network, fast protection of 50ms (milliseconds), and automatic discovery of network topology, providing a good networking solution for broadband IP metropolitan area networks. Compared with traditional MAC (Media Access Control), RPR's most attractive feature is carrier-class reliability, which not only limits the processing of data-oriented services, but also forms more processing. Integrated transport solution for business delivery.
如图 1所示, RPR是一种由分组交换节点组成的环形网络, 相邻的节点 通过一对光纤连接; 与 SDH ( Synchronous Digital Hierarchy, 同步数字系列) 拓朴结构类似, RPR的网络拓朴是基于两个相反方向传输的环, 环上的每段 光路工作在同一速率上。 与 SDH不同的是, RPR的两个环都能够传送数据, 两个环被分别称为 0环和 1环。 RPR上 0环的数据传送方向为顺时针方向, 1 环的方向为逆时针方向。每个 RPR节点都采用一个以太网中用到的 48位 MAC 地址作为地址标识。  As shown in Figure 1, RPR is a ring network composed of packet switching nodes. Adjacent nodes are connected by a pair of optical fibers. Similar to SDH (Synchronous Digital Hierarchy) topology, RPR network topology It is based on two oppositely transmitted rings, each of which operates at the same rate. Different from SDH, both rings of RPR can transmit data, and the two rings are called 0 ring and 1 ring respectively. The data transmission direction of the 0 ring on the RPR is clockwise, and the direction of the 1 ring is counterclockwise. Each RPR node uses the 48-bit MAC address used in the Ethernet as the address identifier.
RPR能够提供 50ms的源路由保护。正常情况下, RPR的两根光纤都是工 作光纤。当发生光纤中断或节点故障时,节点光纤入口物理层设备检测到错误, 并将该错误通知 MAC层, 同时发出一个控制信令分组通知其他节点; 这些节 点收到这个控制信令分组后,会进行拓朴自动发现, 并把所有业务转移到有效 环上。才艮据 RPR协议, 这种环保护倒换在 50ms内完成, 因此其拓朴收敛也在 50ms内完成。 在 IP网絡中, 接口网络部居连通性是一个非常重要的特性。 邻居连通性 的快速、 可靠的获得, 对于 IGP ( Interior Gateway Protocol, 内部网关协议) 快速收敛、 各种 FRR ( Fast Re-route, 快速重路由)、 VRRP ( Virtual Router Redundancy Protocol,虚拟路由冗余协议 )等倒换技术都具有非常重要的意义。 当前技术中,对于接口网络邻居的连通性检测主要有两种方式: 通过上层控制 平面协议层面的慢速检测和通过转发平面的快速检测。 RPR provides 50ms of source routing protection. Under normal circumstances, both fibers of the RPR are working fibers. When a fiber break or node failure occurs, the node fiber ingress physical layer device detects an error and notifies the MAC layer of the error, and sends a control signaling packet to notify other nodes; after receiving the control signaling packet, these nodes will Perform topology auto-discovery and transfer all services to the active ring. According to the RPR protocol, this ring protection switching is completed within 50ms, so its topology convergence is also completed within 50ms. In an IP network, the connectivity of the interface network is a very important feature. Fast and reliable access to neighbor connectivity, fast convergence for IGP (Interior Gateway Protocol), various FRR (Fast Re-route), VRRP (Virtual Router Redundancy Protocol) ) The switching technology is very important. In the current technology, there are two main methods for detecting connectivity of an interface network neighbor: slow detection through the upper layer of the control plane protocol and fast detection through the forwarding plane.
其中, 上层控制平面协议层面的慢速检测包括 IGP hello 报文、 PPP ( Point-to-Point Protocol,点到点协议 )等链路层协议的 Keepalive报文、 VRRP 等可靠性协议的 advertise报文。这类检测报文需要通过运行在路由控制平面的 CPU ( Central Process Unit, 中央处理器)来收发, 所以收发频率有很大的 P艮 制, 基本是一个秒级的检测, 如果检测速率提高, 则对控制平面 CPU压力非 常大。 例如 ISIS ( Intermediate System-to-intermediate System, 中间系统一中间 系统)协议的邻居检测时 10s (秒)发送一个 hello报文, 如果连续 4次收不 到 Hello报文, 则认为邻居连通性丢失。 VRRP的 advertise报文的典型配置为 Is发送一次, 如果连续 3次接收不到, 则认为和对端设备的连通性丟失。 这 种方式的缺点主要是检测速度太慢, 通常需要 3秒至 90秒。 这个时间对于需 要 50ms切换的实时业务根本无法接受。  The slow detection of the upper layer of the control plane protocol includes the IGP hello packet, the link-layer protocol (Peer-to-Point Protocol), and other QoS packets of the reliability protocol such as VRRP. . This type of detection packet needs to be sent and received by a CPU (Central Process Unit) running on the routing control plane. Therefore, the transmission and reception frequency has a large P-control system, which is basically a second-level detection. If the detection rate is increased, Then the CPU pressure on the control plane is very large. For example, the neighboring detection of the ISIS (Intermediate System-to-Intermediate System) protocol sends a hello packet for 10 seconds (seconds). If the Hello packet is not received for 4 consecutive times, the neighbor connectivity is considered to be lost. The typical configuration of the advertised VRRP packet is that Is is sent once. If the VRRP packet is not received for three consecutive times, the connectivity with the peer device is considered to be lost. The disadvantage of this method is that the detection speed is too slow, usually takes 3 seconds to 90 seconds. This time is unacceptable for real-time services that require a 50ms switch.
转发平面的快速检测是通过 BFD ( Bidirectional Forward Detection, 又向 转发检测)等协议检测邻居的连通性。 BFD的 hello报文通常通过转发平面直 接发送, 收发速度非常快, 可以做到 10ms发送一个 hello报文, 连续 3次接 收不到则认为邻居连通性丢失。这种检测方法可以满足速度的要求,但仍然有 一些缺点: BFD报文发送需要占用不少带宽, 通常一个 BFD检测需要占用将 近 64k (千位)带宽; 另外, BFD协议标准仍在草案阶段, 协议的标准化程度 和互通性有一定的局限性; 而且, BFD协议需要在两两邻居之间建立, 对于 RPR这种环状拓朴, 存在可扩展性问题。  The fast detection of the forwarding plane detects the connectivity of neighbors through protocols such as BFD (Bidirectional Forward Detection). The hello packet of the BFD is sent directly through the forwarding plane. The sending and receiving speed is very fast. You can send a hello packet in 10 ms. If the connection fails for three consecutive times, the neighbor connectivity is lost. This detection method can meet the speed requirements, but there are still some shortcomings: BFD packets need to occupy a lot of bandwidth. Usually, a BFD test needs to occupy nearly 64k (thousands of bits) of bandwidth. In addition, the BFD protocol standard is still in the draft stage. The standardization degree and interoperability of the protocol have certain limitations. Moreover, the BFD protocol needs to be established between two neighbors. For the ring topology of RPR, there is a scalability problem.
发明内容 Summary of the invention
鉴于上述现有技术所存在的问题,本发明实施例提供了一种弹性分组环上 感知邻居连通性的方法及装置, 能够在 50ms内快速获得环上邻居连通性, 同 时避免占用额外带宽的问题。 本发明的实施例提供了一种弹性分组环上感知邻居连通性的方法, 包括: 获取所述弹性分组环收敛后的拓朴表; In view of the above problems in the prior art, the embodiments of the present invention provide a method and a device for sensing neighbor connectivity on an elastic packet ring, which can quickly obtain connectivity of the ring neighbors within 50 ms while avoiding the problem of occupying extra bandwidth. . An embodiment of the present invention provides a method for sensing neighbor connectivity on an elastic packet ring, including: obtaining a topology table after convergence of the elastic packet ring;
由所述拓朴表是否包括邻居节点的地址标识确定所述邻居节点的连通性。 本发明的实施例还提供了一种网络节点, 该网络节点包括:  The connectivity of the neighbor node is determined by whether the topology table includes an address identifier of a neighbor node. An embodiment of the present invention further provides a network node, where the network node includes:
拓朴表单元, 用于获取所述弹性分組环收敛后的拓朴表;  a topology table unit, configured to obtain a topology table after the convergence of the elastic packet ring;
检测单元,用于由所述拓朴表是否包括邻居节点的地址标识确定所述邻居 节点的连通性。  And a detecting unit, configured to determine connectivity of the neighbor node by whether the topology table includes an address identifier of a neighboring node.
由上述本发明实施例提供的技术方案可以看出,当启动邻居连通性检测时 或当拓朴发生变化时,都是在网络拓朴收敛后在生成的拓朴表中查找指定的邻 居节点地址标识,检测邻居连通性。 由于弹性分组协议可以确保每次拓朴发生 变化后都可以在 50ms内完成拓朴快速收敛,从而实现邻接连通性的快速检测, 解决了上层控制平面协议层面检测速度慢的问题。  According to the technical solution provided by the foregoing embodiment of the present invention, when the neighbor connectivity detection is initiated or when the topology changes, the specified neighbor node address is searched in the generated topology table after the network topology is converged. Identification, detecting neighbor connectivity. Because the elastic packet protocol can ensure that the topological fast convergence can be completed within 50ms after each topology change, the fast detection of the adjacent connectivity is realized, and the problem of slow detection speed of the upper control plane protocol layer is solved.
同时, 由上述提供的技术方案可以看出,本发明实施例充分利用弹性分组 环协议本身功能, 无需占用额外带宽, 具有很好的扩展性。  At the same time, it can be seen from the technical solution provided above that the embodiment of the present invention fully utilizes the function of the flexible packet ring protocol itself, does not need to occupy extra bandwidth, and has good scalability.
附图说明 DRAWINGS
图 1为 RPR环网络通信示意图;  Figure 1 is a schematic diagram of RPR ring network communication;
图 2为本发明感知邻居连通性的方法第一实施例的流程图; 节点地址的流程图;  2 is a flowchart of a first embodiment of a method for sensing neighbor connectivity according to the present invention; a flowchart of a node address;
图 4为本发明应用示例中的 RPR环网络拓朴结构图;  4 is a topological structural diagram of an RPR ring network in an application example of the present invention;
图 5为本发明应用示例中的 RPR环网络拓朴的第一种变化示意图; 图 6为本发明应用示例中的 RPR环网络拓朴的笫二种变化示意图; 图 7为本发明应用示例中的 RPR环网络拓朴的第三种变化示意图; 图 8为本发明中网络节点实施例的结构示意图。  FIG. 5 is a schematic diagram of a first variation of an RPR ring network topology in an application example of the present invention; FIG. 6 is a schematic diagram of two variants of an RPR ring network topology in an application example of the present invention; FIG. 7 is an application example of the present invention. A third variation diagram of the RPR ring network topology; FIG. 8 is a schematic structural diagram of an embodiment of a network node in the present invention.
具体实施方式 detailed description
本发明的实施例中, 依据弹性分组环网络能确保在 50ms内完成拓朴收敛 并在每个 RPR环的节点中生成反映当前拓朴结构的拓朴表, 在拓朴表中查找 需要进行连通性检测的邻居节点的地址标识, 从而确定与邻居节点的连通性。  In the embodiment of the present invention, according to the elastic packet ring network, it is ensured that topology convergence is completed within 50 ms, and a topology table reflecting the current topology structure is generated in each RPR ring node, and the topology table is searched for connectivity. The address identifier of the neighbor node that is sexually detected to determine connectivity with the neighbor node.
在本发明的笫一实施例中,需要在某个弹性分组环的节点上感知或检测该 节点与其某个邻居节点的连通性。节点首先在当前弹性分組环的拓朴表中查找 需要感知连通性的邻居节点的 MAC地址, 如果可以找到, 则具有连通性, 否 则不具有连通性。 同时还可以将该邻居节点的 MAC地址和该 RPR环关联起 来,并保存关联信息,表示该 MAC地址为该 RPR环上关联节点的 MAC地址。 邻居节点的 MAC地址和该弹性分组环的关联可以保存在网络设备中。 In an embodiment of the present invention, the node needs to be perceived or detected on a node of an elastic packet ring. The connectivity of a node to one of its neighbors. The node first searches for the MAC address of the neighbor node that needs to be aware of connectivity in the topology table of the current resilient packet ring. If it can be found, it has connectivity, otherwise it has no connectivity. At the same time, the MAC address of the neighboring node is associated with the RPR ring, and the associated information is saved, indicating that the MAC address is the MAC address of the associated node on the RPR ring. The association between the MAC address of the neighboring node and the resilient packet ring can be saved in the network device.
具体步骤如图 2所示, 包括:  The specific steps are shown in Figure 2, including:
步骤 S210: 节点的上层应用程序指定需要查找连通性的弹性分组环, 以 及指定需要进行连通性检测的邻居节点的 MAC地址;  Step S210: The upper layer application of the node specifies an elastic packet ring that needs to find connectivity, and specifies a MAC address of a neighbor node that needs to perform connectivity detection.
步骤 S220: 根据指定的弹性分组环, 找到节点上该弹性分組环的拓朴表; 步驟 S230: 检查该弹性分组拓朴表是否完成收敛, 如果收敛完成, 则执 行步驟 S240, 否则等待拓朴收敛后, 再执行步驟 S240;  Step S220: Find a topology table of the elastic packet ring on the node according to the specified resilient packet ring. Step S230: Check whether the elastic packet topology table completes convergence. If the convergence is complete, perform step S240, otherwise wait for topology convergence. Afterwards, step S240 is performed;
步驟 S240:在该拓朴表中查找指定的邻居节点的 MAC地址,如果找到则 具有连通性, 否则不具备连通性。  Step S240: Search for the MAC address of the specified neighbor node in the topology table, if it is found, it has connectivity, otherwise it does not have connectivity.
如果在节点上指定的需要感知连通性的邻居节点具有连通性,则可以将指 定的邻居节点与对应的弹性分组环关联起来, 并保存关联信息。其中, 关联表 示该邻居节点处在该弹性分組环上。  If the neighbor node specified on the node that needs to be aware of connectivity has connectivity, the specified neighbor node can be associated with the corresponding elastic packet ring and the associated information is saved. The association indicates that the neighbor node is on the elastic packet ring.
在拓朴表中查找指定的邻居节点的 MAC地址时,可以顺序遍历该拓朴表, 也可通过哈希(HASH )方法在该拓朴表中进行查找, 本领域技术人员还可利 用其它方法进行查找, 并不超出本发明的保护范围。  When searching for the MAC address of the specified neighboring node in the topology table, the topology table may be traversed sequentially, or the topology table may be searched by a hash (HASH) method, and other methods may be utilized by those skilled in the art. The search is performed without departing from the scope of the invention.
其中,节点的拓朴表通常包括 1环拓朴表(或称东向表)和 0环拓朴表(或 称西向表), 通过顺序遍历在拓朴表中查找邻居节点的 MAC地址的过程可以 具有图 3所示的流程, 包括:  The topology table of the node usually includes a ring topology table (or east table) and a ring topology table (or a west table), and the process of searching for the MAC address of the neighbor node in the topology table by sequentially traversing. It may have the flow shown in Figure 3, including:
I、 从弹性分组环的 1环拓朴表的第一跳表项开始;  I. Starting from the first hop entry of the ring topology table of the elastic packet ring;
II、首先需要检查此弹性分组环表项的可达性以及有效性,这可以通过弹 性分组环拓朴表里的有效性字段和可达性字段来判断。如果检查失败,则执行 步骤 III; 否则, 查看此弹性分组环拓朴表项中 MAC地址和需要检测的邻居节 点的 MAC地址是否完全相同, 如果相同, 查找成功, 表明具有连通性; 否则 转入 1环拓朴表的下一跳表项,执行步骤 II ,直到 1环拓朴表的最后一个表项, 如果仍没有找到, 则执行步驟 ΠΙ; III、 从弹性分组环的 0环拓朴表的第一跳表项开始; II. First, it is necessary to check the reachability and validity of the elastic packet ring entry, which can be determined by the validity field and the reachability field in the elastic packet ring topology table. If the check fails, go to Step III; otherwise, check whether the MAC address in the Elastic Packet Ring Topology entry and the MAC address of the neighbor node to be detected are identical. If they are the same, the search succeeds, indicating connectivity; otherwise, Step 2 of the next-hop table of the ring topology table, and perform step II until the last entry of the ring topology table. If it is still not found, perform step ΠΙ; III. Starting from the first hop entry of the 0-ring topology table of the elastic packet ring;
IV、检查该弹性分组环表项的可达性和有效性, 如果检查失败, 则不具备 连通性; 否则比较该弹性分组环拓朴表项中的 MAC地址与需要检测的邻居节 点的 MAC地址是否相同, 如果相同则具有连通性, 否则转入下一跳表项, 执 行步骤 IV直到所述 0环拓朴表的最后一个表项, 如果仍没找到则不具备连通 性。  IV. Check the reachability and validity of the elastic packet ring entry. If the check fails, the connectivity is not provided. Otherwise, the MAC address in the elastic packet ring topology entry and the MAC address of the neighbor node to be detected are compared. If they are the same, they have connectivity. Otherwise, they go to the next hop entry. Step IV is executed until the last entry of the 0-ring topology table. If it is still not found, it does not have connectivity.
当然, 上述查找过程也可以从 0环拓朴表开始查找。  Of course, the above search process can also be searched from the 0-ring topology table.
此外,可以根据拓朴表和指定需要感知连通性的邻居节点构建邻居连通性 表。邻居连通性表中包括需要感知连通性的邻居节点的地址标识、该邻居节点 所关联的弹性分组环、以及从拓朴表获知的该邻居节点的当前连通性, 当然也 可包括其它相关信息。  In addition, neighbor connectivity tables can be constructed from topology tables and neighbor nodes that specify perceptual connectivity. The neighbor connectivity table includes the address identifier of the neighbor node that needs to be aware of connectivity, the resilient packet ring associated with the neighbor node, and the current connectivity of the neighbor node learned from the topology table. Of course, other related information may also be included.
在本发明的第二实施例中, 当弹性分组环网络发生拓朴变化时, 弹性分組 协议可以获得拓朴变化信息并通知环上所有节点重新进行拓朴收敛, 待收敛 后,在收敛生成的该弹性分组环的拓朴表中查找需要感知连通性的邻居节点的 MAC地址。 如果可以找到, 说明与该邻居节点连通性正常; 否则, 说明与该 邻居节点的连通性失败。其中,此时需要感知连通性的邻居节点的地址为关联 节点的 MAC地址。  In the second embodiment of the present invention, when the topology of the resilient packet ring network changes, the elastic packet protocol can obtain topology change information and notify all nodes on the ring to perform topology convergence again. After convergence, the convergence is generated. The topology table of the resilient packet ring looks up the MAC address of the neighbor node that needs to be aware of connectivity. If it can be found, the connectivity to the neighbor node is normal; otherwise, the connectivity to the neighbor node fails. The address of the neighbor node that needs to be aware of connectivity at this time is the MAC address of the associated node.
其中, 第二实施例中, 在拓朴表中查找 MAC地址的过程与第一实施例中 的查找过程一样。  In the second embodiment, the process of searching for the MAC address in the topology table is the same as the search process in the first embodiment.
如果构建有邻居连通性表, 当拓朴每次发生变化时, 可以在邻居连通性表 中查找与拓朴发生变化的弹性分組环具有关联关系的邻居节点,这些邻居节点 即是可能被拓朴变化影响连通性的邻居节点; 在拓朴收敛后,根据拓朴表来刷 新这些邻居节点的连通性,即如果收敛后的拓朴表中包括其中某个邻居节点的 MAC地址, 则该邻居节点的连通性正常; 否则该邻居节点的连通性失败。  If a neighbor connectivity table is constructed, each time the topology changes, neighbor nodes that have an association relationship with the elastic packet ring whose topology changes may be found in the neighbor connectivity table, and these neighbor nodes may be topologically The neighbor nodes that change the connectivity; after the topology is converged, the connectivity of the neighbor nodes is refreshed according to the topology table, that is, if the convergence topology table includes the MAC address of one of the neighbor nodes, the neighbor node The connectivity is normal; otherwise the connectivity of the neighbor node fails.
本实施例中, 拓朴变化包括: 组网结构、 弹性分组环上节点或链路发生故 障弓 )起拓朴发生变化, 还包括节点插入或撤出该弹性分组环。  In this embodiment, the topology change includes: the networking structure, the node on the elastic packet ring, or the link fault occurs. The topology changes, and the node inserts or withdraws the elastic packet ring.
本领域普通技术人员可以理解实现上述方法实施例中的全部或部分步骤 是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于可读取存储 介质中, 该程序在执行时可以包括上述方法实施例中的全部或部分步骤。所述 的存储介质可以是只读存储器、 随机存储器、 磁碟、 光盘等。 A person skilled in the art can understand that all or part of the steps in implementing the above method embodiments can be completed by a program instructing related hardware, and the program can be stored in a readable storage medium, and the program can be executed when executed. All or part of the steps in the above method embodiments are included. Said The storage medium may be a read only memory, a random access memory, a magnetic disk, an optical disk, or the like.
为对本发明的上述两个感知连通性方法实施例有进一步理解,下面结合应 用示例作进一步说明。  In order to further understand the above two embodiments of the sensory connectivity method of the present invention, the following will be further described in conjunction with the application examples.
参见图 4, 在所示的 RPR环网中, 假设在 R1节点上检测邻居 R5节点的 连通性。 按照上述实施例中的方法, 网络组建后, R1 节点由于网络拓朴发现 会形成自己的拓朴表, 基本信息如下:  Referring to Figure 4, in the RPR ring network shown, it is assumed that the connectivity of neighbor R5 nodes is detected on the R1 node. According to the method in the foregoing embodiment, after the network is formed, the R1 node will form its own topology table due to the network topology discovery. The basic information is as follows:
R1 MAC地址 00.e0.fc.10.00.al  R1 MAC address 00.e0.fc.10.00.al
R2 MAC地址 00.e0.fc.10.00.a2  R2 MAC address 00.e0.fc.10.00.a2
R3 MAC地址 00.e0.fc.10.00.a3  R3 MAC address 00.e0.fc.10.00.a3
R4 MAC地址 00.e0.fc.10.00.a4  R4 MAC address 00.e0.fc.10.00.a4
R5 MAC地址 00.e0.fc.10.00.a5  R5 MAC address 00.e0.fc.10.00.a5
R6 MAC地址 00.e0.fc.10.00.a6  R6 MAC address 00.e0.fc.10.00.a6
R1节点在自己的拓朴表中查找邻居 R5的 MAC地址 00.e0.fc.10.00.a5,可 以查到, 所以 R1与邻居 R5的连通性正常。  The R1 node finds the MAC address of the neighbor R5 in its own topology table 00.e0.fc.10.00.a5, which can be found, so the connectivity between R1 and neighbor R5 is normal.
参见图 5, 当 R5、 R6之间的链路出现故障时, RPR协议检测到该故障, 通知环上所有节点重新进行拓朴收敛。 当 R1节点拓朴收敛后, 其拓朴表信息 如下:  Referring to Figure 5, when the link between R5 and R6 fails, the RPR detects the fault and notifies all nodes on the ring to perform topology convergence again. When the R1 node topology is converged, its topology information is as follows:
R1: MAC地址 00.e0.fc.10.00.al  R1: MAC address 00.e0.fc.10.00.al
R2 : MAC地址 00.e0.fc.10.00.a2  R2: MAC address 00.e0.fc.10.00.a2
R3: MAC地址 00.e0.fc.10.00.a3  R3: MAC address 00.e0.fc.10.00.a3
R4 : MAC地址 00.e0.fc.10.00.a4  R4: MAC address 00.e0.fc.10.00.a4
R5: MAC地址 00.e0.fc.10.00.a5  R5: MAC address 00.e0.fc.10.00.a5
R6: MAC地址 00.e0.fc.10.00.a6  R6: MAC address 00.e0.fc.10.00.a6
R1节点在自己的拓朴表中仍然存在 R5节点的 MAC地址, 所以此时 R1 与邻居 R5的连通性仍然正常。  The R1 node still has the MAC address of the R5 node in its own topology table, so the connectivity between R1 and neighbor R5 is still normal.
参见图 6, 当 R5、 R6之间的链路和 R3、 R4之间的链路同时或者先后出 现故障后, RPR协议检测到该故障, 通知环上所有节点重新进行拓朴收敛。 当 R1节点拓朴收敛后, 其拓朴表信息如下:  Referring to Figure 6, after the link between R5 and R6 and the link between R3 and R4 are faulty at the same time or in succession, the RPR detects the fault and notifies all nodes on the ring to perform topology convergence again. When the R1 node topology is converged, its topology information is as follows:
R1: MAC地址 00.e0.fc.10.00.al R2: MAC地址 00.e0.fc.10.00.a2 R1: MAC address 00.e0.fc.10.00.al R2: MAC address 00.e0.fc.10.00.a2
R3: MAC地址 00.e0.fc.10.00.a3  R3: MAC address 00.e0.fc.10.00.a3
R6: MAC地址 00.e0.fc.10.00.a6  R6: MAC address 00.e0.fc.10.00.a6
Rl节点在自己的拓朴表中不能查到 R5节点的 MAC地址, 所以此时 R1 与邻居 R5的连通性失败。  The R1 node cannot find the MAC address of the R5 node in its own topology table, so the connectivity between R1 and neighbor R5 fails.
参见图 7, 当 R5节点发生故障后, RPR协议检测到该故障, 通知环上所 有节点重新进行拓朴收敛。 当 R1节点拓朴收敛后, 其拓朴表信息如下:  Referring to Figure 7, after the R5 node fails, the RPR protocol detects the fault and notifies all nodes on the ring to re-top topology convergence. When the R1 node topology is converged, its topology information is as follows:
R1: MAC地址 00.e0.fc.10.00.al  R1: MAC address 00.e0.fc.10.00.al
R2: MAC地址 00.e0.fc.10.00.a2  R2: MAC address 00.e0.fc.10.00.a2
R3: MAC地址 00.e0.fc.10.00.a3  R3: MAC address 00.e0.fc.10.00.a3
R4: MAC地址 00.e0.fc.10.00.a4  R4: MAC address 00.e0.fc.10.00.a4
R6: MAC地址 00.e0.fc.10.00.a6  R6: MAC address 00.e0.fc.10.00.a6
R1节点在自己的拓朴表中不能查到 R5节点的 MAC地址, 所以此时 R1 与邻居 R5的连通性失败。  The R1 node cannot find the MAC address of the R5 node in its own topology table, so the connectivity between R1 and neighbor R5 fails.
本发明中, 连接在弹性分组环上的网络节点的一个实施例可以具有图 8 所示的结构。该网络节点包括拓朴表单元 810和检测单元 820,拓朴表单元 810 用来获取该网络节点上弹性分组环收敛后的拓朴表,例如在初次启动连通性检 测时由拓朴表单元 810来判断弹性分组环是否收敛并读取收敛后的拓朴表。检 测单元 820在拓朴表单元 810所获取的拓朴表中查找需要感知连通性的邻居节 点的地址标识,如果找到则判定该邻居节点具有连通性,如果未找到则判定该 邻居节点不具有连通性。  In the present invention, an embodiment of a network node connected to an elastic packet ring may have the structure shown in FIG. The network node includes a topology table unit 810 and a detection unit 820. The topology table unit 810 is configured to obtain a topology table after the convergence of the elastic packet ring on the network node, for example, by the topology table unit 810 when the connectivity detection is initiated for the first time. To determine whether the elastic packet ring converges and read the converged topology table. The detecting unit 820 searches the topology table acquired by the topology table unit 810 for the address identifier of the neighbor node that needs to be aware of connectivity, and if found, determines that the neighbor node has connectivity, and if not found, determines that the neighbor node does not have connectivity. Sex.
通常拓朴表包括弹性分组环的 0环表和 1环表,当检测单元 820在这两个 表中均未找到某个邻居节点的地址标识, 才会判定该邻居节点不具有连通性。 邻居节点的地址标识通常采用该邻居节点的 MAC地址。 单元 830监视本网络节点所在的弹性分组环是否发生拓朴变化,在发生变化时 分别向拓朴表单元 810和检测单元 820发出指示,指示拓朴表单元在弹性分组 环收敛后获取其更新的拓朴表,指示检测单元按照更新的拓朴表刷新邻居节点 的连通生。 考虑到实现的便利性, 检测单元 820可以进一步包括连通性表存储模块 822和连通性表维护模块 821。 在连通性表存储模块 822中保存需要感知连通 性的邻居节点的地址标识、该邻居节点与其所在弹性分组环的关联关系。在拓 朴表单元 810获得弹性分組环收敛后的拓朴表之后, 连通性表维护模块 821 在连通性表存储模块 822中找到与该弹性分组环具有关联关系的邻居节点的 地址标识,并在该拓朴表中查找是否有该关联邻居节点的地址标识,如果找到 则判定该邻居节点具有连通性, 如果未找到则判定该邻居节点不具有连通性; 在收到拓朴更新通知单元 830的指示后,连通性表维护模块 821重复上述过程 来更新关联邻居节点的当前连通性。此外,还可以在连通性表存储模块中保存 关联邻居节点的当前连通性, 由连通性表维护模块 821对其进行维护。 Generally, the topology table includes a 0 ring table and a ring table of the elastic packet ring. When the detecting unit 820 does not find the address identifier of a neighbor node in the two tables, it is determined that the neighbor node has no connectivity. The address identifier of the neighbor node usually adopts the MAC address of the neighbor node. The unit 830 monitors whether the elastic packet ring in which the network node is located has a topology change, and sends an indication to the topology table unit 810 and the detecting unit 820 respectively when the change occurs, indicating that the topology table unit obtains the updated information after the elastic packet ring converges. The topology table indicates that the detecting unit refreshes the connectivity of the neighbor nodes according to the updated topology table. The detection unit 820 may further include a connectivity table storage module 822 and a connectivity table maintenance module 821 in consideration of convenience of implementation. The connectivity identifier is stored in the connectivity table storage module 822, and the association relationship between the neighboring node and the resilient packet ring is stored. After the topology table unit 810 obtains the topology table after the elastic packet ring convergence, the connectivity table maintenance module 821 finds the address identifier of the neighbor node that has an association relationship with the elastic packet ring in the connectivity table storage module 822, and In the topology table, it is found whether there is an address identifier of the associated neighbor node, and if found, the neighbor node is determined to have connectivity, and if not found, the neighbor node is determined to have no connectivity; and the topology update notification unit 830 is received. After the indication, the connectivity table maintenance module 821 repeats the above process to update the current connectivity of the associated neighbor node. In addition, the current connectivity of the associated neighbor node may be saved in the connectivity table storage module, and maintained by the connectivity table maintenance module 821.
综上所述,本发明的实施例通过在拓朴表中查找需要检测的邻居节点的地 址标识判断与邻居节点的连通性, 充分利用弹性分组环自身 50ms内协议收敛 的特性,解决了上层控制平面协议层面检测速度慢的问题, 同时没有互通性问 题和可扩展性问题, 也不需要额外占用带宽。  In summary, the embodiment of the present invention determines the connectivity with the neighbor node by looking up the address identifier of the neighbor node to be detected in the topology table, and fully utilizes the characteristics of the protocol convergence within 50 ms of the elastic packet ring itself, thereby solving the upper layer control. The problem of slow detection at the plane protocol level, without interoperability problems and scalability issues, does not require additional bandwidth.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局 限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易 想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护 范围应该以权利要求的保护范围为准。  The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or within the technical scope disclosed by the present invention. Alternatives are intended to be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权 利 要 求 Rights request
1、 一种弹性分组环上感知邻居连通性的方法, 其特征在于, 包括: 获取所述弹性分組环收敛后的拓朴表;  A method for sensing neighbor connectivity on an elastic packet ring, comprising: obtaining a topology table after convergence of the elastic packet ring;
由所述拓朴表是否包括邻居节点的地址标识确定所述邻居节点的连通性。  The connectivity of the neighbor node is determined by whether the topology table includes an address identifier of a neighbor node.
2、 根据权利要求 1所述的弹性分组环上感知邻居连通性的方法, 其特征 在于, 所述方法还包括: The method for sensing neighbor connectivity on the resilient packet ring according to claim 1, wherein the method further includes:
当所述弹性分组环的拓朴变化时, 获取收敛后更新的拓朴表;  Obtaining a topology table updated after convergence when the topology of the elastic packet ring changes;
由所述更新的拓朴表是否包括邻居节点的地址标识重新确定所述邻居节 点的连通性。  The connectivity of the neighbor node is re-determined by whether the updated topology table includes an address identifier of a neighbor node.
3、 根据权利要求 2所述的弹性分组环上感知邻居连通性的方法, 其特征 在于, 所述方法还包括:保存需要感知连通性的邻居节点的地址标识及其与所 在弹性分组环的关联关系。  The method for sensing neighbor connectivity on the resilient packet ring according to claim 2, wherein the method further comprises: storing an address identifier of the neighbor node that needs to be aware of connectivity and its association with the resilient packet ring. relationship.
4、 根据权利要求 3所述的弹性分组环上感知邻居连通性的方法, 其特征 在于, 所述重新确定邻居节点的连通性包括:  The method for sensing neighbor connectivity on the resilient packet ring according to claim 3, wherein the re-determining the connectivity of the neighbor node comprises:
查找与发生拓朴变化的弹性分组环具有关联关系的邻居节点的地址标识; 根据所述地址标识重新确定与所述弹性分组环具有关联关系的邻居节点 的连通性。  And searching for an address identifier of the neighboring node that is associated with the resilient packet ring in which the topology change occurs; and determining connectivity of the neighboring node that is associated with the resilient packet ring according to the address identifier.
5、 根据权利要求 2所述的弹性分组环上感知邻居连通性的方法, 其特征 在于: 所述拓朴变化包括组网结构变化、 或链路故障、 或节点故障、 或节点插 入 / :出网络。  The method for sensing neighbor connectivity on an elastic packet ring according to claim 2, wherein: the topology change comprises a network structure change, or a link failure, or a node failure, or a node insertion/:out The internet.
6、 才艮据权利要求 1至 5任意一项所述的弹性分组环上感知邻居连通性的 方法, 其特征在于, 所述确定邻居节点的连通性包括: 在收敛后的拓朴表中查 找所述邻居节点的地址标识, 如果找到则具有连通性, 否则不具备连通性。  The method for sensing neighbor connectivity on an elastic packet ring according to any one of claims 1 to 5, wherein the determining the connectivity of the neighbor node comprises: searching in the converged topology table. The address identifier of the neighbor node, if found, has connectivity, otherwise it does not have connectivity.
7、 根据权利要求 6所述的弹性分组环上感知邻居连通性的方法, 其特征 在于, 通过顺序遍历或哈希查找收敛后拓朴表中邻居节点的地址标识。  7. The method for sensing neighbor connectivity on an elastic packet ring according to claim 6, wherein the address identifier of the neighbor node in the topology table after convergence is searched by sequential traversal or hashing.
8、 根据权利要求 7所述的弹性分组环上感知邻居连通性的方法, 其特征 在于, 所述拓朴表包括第一表和第二表; 其中所述第一表为弹性分组环的 0 环表则所述第二表为弹性分组环的 1环表; 或, 所述第一表为弹性分组环的 1 环表则所述第二表为弹性分组环的 0环表。 The method for sensing neighbor connectivity on an elastic packet ring according to claim 7, wherein the topology table comprises a first table and a second table; wherein the first table is an elastic packet ring The ring table is a ring table of the elastic packet ring; or, the first table is a ring table of the elastic packet ring, and the second table is a ring table of the elastic packet ring.
9、 才艮据权利要求 8所述的弹性分组环上感知邻居连通性的方法, 其特征 在于, 所述通过顺序遍历查找邻居节点的地址标识具体包括: The method for sensing the neighboring connectivity on the resilient packet ring according to claim 8, wherein the locating the address identifier of the neighboring node by the sequential traversal comprises:
从第一表的第一跳表项开始查找;  Search from the first hop entry of the first table;
检查第一表表项的可达性和有效性,如果检查失败,转下一步开始查找第 二表; 否则比较第一表表项中的地址标识与所述邻居节点的地址标识是否相 同, 如果相同则具有连通性, 如果不同则继续比较下一跳表项, 直到第一表的 最后一个表项;  Check the reachability and validity of the first table entry. If the check fails, go to the next step to find the second table. Otherwise, compare the address identifier in the first table entry with the address identifier of the neighbor node. If they are the same, they have connectivity. If they are different, continue to compare the next hop entry until the last entry of the first table.
从第二表的第一跳表项开始查找;  Search from the first hop entry of the second table;
检查第二表表项的可达性和有效性, 如果检查失败, 则不具备连通性; 否 则比较第二表表项中的地址标识与所述邻居节点的地址标识是否相同,如果相 同则具有连通性,如果不同则继续比较下一跳表项, 直到第二表的最后一个表 项; 如果没有相同地址标识的表项则不具备连通性。  Checking the reachability and validity of the second table entry. If the check fails, the connectivity is not provided. Otherwise, the address identifier in the second table entry is compared with the address identifier of the neighbor node. If they are the same, Connectivity, if different, continue to compare the next hop entry until the last entry in the second table; if there is no entry identified by the same address, there is no connectivity.
10、根据权利要求 1所述的弹性分组环上感知邻居连通性的方法,其特征 在于, 所述邻居节点的地址标识为该邻居节点的 MAC地址。  The method for sensing neighbor connectivity on a resilient packet ring according to claim 1, wherein the address identifier of the neighboring node is a MAC address of the neighboring node.
11、 一种网络节点, 连接在弹性分组环上, 其特征在于, 包括:  A network node, connected to the elastic packet ring, and comprising:
拓朴表单元, 用于获取所述弹性分组环收敛后的拓朴表;  a topology table unit, configured to obtain a topology table after the convergence of the elastic packet ring;
检测单元,用于由所述拓朴表是否包括邻居节点的地址标识确定所述邻居 节点的连通性。  And a detecting unit, configured to determine connectivity of the neighbor node by whether the topology table includes an address identifier of a neighboring node.
12、 根据权利要求 11所述的网络节点, 其特征在于, 所述网络节点还包 括拓朴更新通知单元,用于在所述弹性分组环的拓朴发生变化时指示拓朴表单 元获取收敛后更新的拓朴表, 以及指示检测单元重新确定邻居节点的连通性。  The network node according to claim 11, wherein the network node further includes a topology update notification unit, configured to indicate that the topology table unit obtains convergence after the topology of the elastic packet ring changes The updated topology table, and the indication detection unit re-determines the connectivity of the neighbor nodes.
13、 根据权利要求 11或 12所述的网络节点, 其特征在于, 所述检测单元 包括:  The network node according to claim 11 or 12, wherein the detecting unit comprises:
连通性表存储模块,用于存储需要感知连通性的邻居节点的地址标识及其 与所在弹性分组环的关联关系;  a connectivity table storage module, configured to store an address identifier of a neighbor node that needs to be aware of connectivity and an association relationship with the resilient packet ring;
连通性表维护模块,用于根据所述弹性分组环收敛后的拓朴表中是否包括 具有关联关系的邻居节点的地址标识来确定所述邻居节点的当前连通性。  The connectivity table maintenance module is configured to determine the current connectivity of the neighbor node according to whether the topology table of the resilient packet ring convergence includes an address identifier of a neighbor node having an association relationship.
14、 根据权利要求 11所述的网络节点, 其特征在于: 所述拓朴表包括弹 性分组环的 0环表和 1环表; 所述邻居节点的地址标识为该邻居节点的 MAC 地址。  The network node according to claim 11, wherein: the topology table includes a ring table and a ring table of the elastic packet ring; and the address identifier of the neighbor node is a MAC address of the neighbor node.
PCT/CN2007/001608 2006-07-18 2007-05-17 A method and node to detect neighbor node on resilient package ring WO2008011781A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200610061720.4 2006-07-18
CN2006100617204A CN101110752B (en) 2006-07-18 2006-07-18 Method and device for sensing neighbor connectivity on elastic packet ring

Publications (1)

Publication Number Publication Date
WO2008011781A1 true WO2008011781A1 (en) 2008-01-31

Family

ID=38981129

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/001608 WO2008011781A1 (en) 2006-07-18 2007-05-17 A method and node to detect neighbor node on resilient package ring

Country Status (2)

Country Link
CN (1) CN101110752B (en)
WO (1) WO2008011781A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227479B (en) * 2008-02-02 2010-12-01 杭州华三通信技术有限公司 Method and apparatus of topology linkage
CN102215123B (en) * 2011-06-07 2013-10-30 南京邮电大学 Multi-ring-network-topology-structure-based large-scale trunking system
CN103731311A (en) * 2014-01-26 2014-04-16 杭州华三通信技术有限公司 Annular stacked link failure processing method and device
CN104702510B (en) * 2015-03-11 2018-02-09 新华三技术有限公司 Message forwarding method and device in a kind of RPR networks

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1479490A (en) * 2002-08-29 2004-03-03 华为技术有限公司 Method of sharing medium switch on control address on elastic growping looped network interface
KR20040056792A (en) * 2002-12-24 2004-07-01 한국전자통신연구원 Apparatus for processing packet in RPR network
US20040170184A1 (en) * 2003-02-07 2004-09-02 Masanori Hashimoto RPR network system
CN1691629A (en) * 2004-04-30 2005-11-02 华为技术有限公司 Method for implementing layer-2 equipment interconnection in resilient packet ring (RPR) based network
CN1777138A (en) * 2004-11-15 2006-05-24 中兴通讯股份有限公司 Method for realizing resilient packet ring relay flooding transmission into unicast transmission

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1330147C (en) * 2004-07-22 2007-08-01 中兴通讯股份有限公司 Automatic discovering method of resilient packet ring (RPR) equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1479490A (en) * 2002-08-29 2004-03-03 华为技术有限公司 Method of sharing medium switch on control address on elastic growping looped network interface
KR20040056792A (en) * 2002-12-24 2004-07-01 한국전자통신연구원 Apparatus for processing packet in RPR network
US20040170184A1 (en) * 2003-02-07 2004-09-02 Masanori Hashimoto RPR network system
CN1691629A (en) * 2004-04-30 2005-11-02 华为技术有限公司 Method for implementing layer-2 equipment interconnection in resilient packet ring (RPR) based network
CN1777138A (en) * 2004-11-15 2006-05-24 中兴通讯股份有限公司 Method for realizing resilient packet ring relay flooding transmission into unicast transmission

Also Published As

Publication number Publication date
CN101110752B (en) 2011-07-20
CN101110752A (en) 2008-01-23

Similar Documents

Publication Publication Date Title
JP7389838B2 (en) Interior gateway protocol flooding minimization
US11411853B2 (en) Link-state advertisement LSA sending method, apparatus, and system
US8672566B2 (en) Node apparatus and communication method
WO2019105066A1 (en) Route processing method and apparatus, and data transmission method and apparatus
JP4031500B2 (en) Node redundancy method, interface card, interface device, node device, and packet ring network system
JP5666590B2 (en) LDP and IGP synchronization for broadcast networks
JP5542927B2 (en) Inter-node link aggregation system and method
WO2006099784A1 (en) A method for detecting link fault between end-to-end nodes in a hybrid network
JP7176095B2 (en) COMMUNICATION METHOD, COMMUNICATION DEVICE AND COMMUNICATION SYSTEM
EP2404397B1 (en) Ldp igp synchronization for broadcast networks
JPWO2002087175A1 (en) Restoration protection method and apparatus
JP7306642B2 (en) Loop avoidance communication method, loop avoidance communication device and loop avoidance communication system
WO2017054770A1 (en) Cluster communication
WO2008083590A1 (en) Method and apparatus of rapid convergence of point-to-point service
US20100246406A1 (en) Route convergence based on ethernet operations, administration, and maintenance protocol
WO2020119644A1 (en) Forwarding entry generation method, apparatus, and device
WO2019201014A1 (en) Ethernet segment identifier adjacency detection processing method, device, and storage medium
JP5862445B2 (en) Communication device
WO2012062069A1 (en) Method and device for sending bidirectional forwarding detection message
JP2022160653A (en) Packet processing method and gateway device
WO2008131654A1 (en) A network system and a method for establishing the shortest path and transmitting the broadcast packet
WO2016106482A1 (en) Error code information transfer method, network device and communication system
US20080316919A1 (en) Trunk interface in resilient packet ring, method and apparatus for realizing the trunk interface
WO2008011781A1 (en) A method and node to detect neighbor node on resilient package ring
WO2014139175A1 (en) Method, device, and system for convergence of dual-uplink tangent ring

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: RU

122 Ep: pct application non-entry in european phase

Ref document number: 07721181

Country of ref document: EP

Kind code of ref document: A1