[go: up one dir, main page]

WO2011131069A1 - Binding links detection method and distributed device - Google Patents

Binding links detection method and distributed device Download PDF

Info

Publication number
WO2011131069A1
WO2011131069A1 PCT/CN2011/072010 CN2011072010W WO2011131069A1 WO 2011131069 A1 WO2011131069 A1 WO 2011131069A1 CN 2011072010 W CN2011072010 W CN 2011072010W WO 2011131069 A1 WO2011131069 A1 WO 2011131069A1
Authority
WO
WIPO (PCT)
Prior art keywords
link
abnormal
status
end device
line card
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2011/072010
Other languages
French (fr)
Chinese (zh)
Inventor
韦红波
张磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Publication of WO2011131069A1 publication Critical patent/WO2011131069A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]

Definitions

  • the present invention relates to the field of communications, and in particular to a method for detecting a bundled link and a distributed device. Background technique
  • T-MPLSC transport MPLS Multi-Protocol Label Switching
  • T-MPLS connection-oriented packet transport technology.
  • T-MPLS provides a simplified, connection-oriented implementation based on widely used IP/MPLS technologies and standards. T-MPLS removes the functionality of MPLS that is not related to connection-oriented applications, while adding some features that are important to the transport network. Unlike MPLS, T-MPLS does not support connectionless mode, which is simpler to implement and easier to operate and manage than MPLS. T-MPLS eliminates the functional features associated with L3 and IP routing in MPLS, and its device implementation will meet operators' needs for low-cost and high-capacity next-generation packet networks. T-MPLS follows the existing idea of circuit-switched transport networks, using the same architecture, management and operational modes. T-MPLS will be used in the transport network for future operator packetization.
  • T-MPLS can be considered as an organic combination of mature TDM transport network operation mechanism and reliable packet network technology (MPLS).
  • MPLS packet network technology
  • T-MPLS has major improvements to MPLS, such as bidirectional LSP (Label Switching Path), end-to-end LSP protection, and powerful OAM (Operation Administration and Maintenance) mechanisms.
  • LSP Label Switching Path
  • OAM Operaation Administration and Maintenance
  • the connectivity detection (CC) function is defined in T-MPLS.
  • the essence of the bundling technology is to "combine" several physical links between two devices into one logical data path, called a bundle link.
  • the link is logically a whole.
  • the internal composition and details of the transmitted data are transparent to the upper layer.
  • Several physical links inside the bundle link complete the data transmission and reception tasks and back up each other. As long as there are still working members, the entire bundled link will not expire.
  • Bundling links have the following significant advantages over direct connections through physical ports between devices as shown in Figure 1:
  • bundling is even the only way to increase link capacity.
  • devices on the market cannot provide links higher than 10G
  • users can aggregate two 10G links to obtain transmission lines with bandwidths greater than 10G.
  • it is necessary to limit the capacity of the transmission line which is neither too low, affecting the transmission speed, nor too high, exceeding the processing capacity of the network.
  • the prior art only supports link bandwidth growth of orders of magnitude, such as 10M, 100M, 1000M, and the like.
  • a primary object of the present invention is to provide a method for detecting a bundled link and a distributed device to solve at least the above problems.
  • a method for detecting a bundle link including: a sender device sends a connectivity detection CC message to a receiver device through all member links in a bundle link; When the CC message of any member link is not received within the predetermined time, the status of the member link is abnormal.
  • a distributed device including a line card, where the line card includes: a receiving module, configured to receive a connectivity detection CC report sent by the sending end device through all member links in the bundle link
  • the member link state judging module is configured to determine that the status of the member link is abnormal when the CC message of any member link is not received within a predetermined time; If the status is abnormal, it is determined that the status of the bundled link is abnormal.
  • the receiving end device detects the CC message sent by the transmitting end device through all the member links of the bundling link, and determines the member link when the CC message on a certain member link is not received within a predetermined time.
  • the status of the link is abnormal.
  • the status of the bundle link is considered abnormal.
  • FIG. 1 is a schematic diagram of a device directly connected through a physical port according to the related art
  • FIG. 2 is a schematic diagram of a device connected through a bundle interface according to the related art
  • FIG. 3 is a T-MPLS according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a method for detecting a bundle link according to a first embodiment of the present invention
  • FIG. 5 is a bundle link of a distributed device according to Embodiment 2 of the present invention.
  • Flowchart of connectivity detection 6 is a schematic diagram of connection of a bundle interface between a router and an access network router and a switch according to a third embodiment of the present invention;
  • FIG. 7 is a schematic structural diagram of a distributed device according to an embodiment of the present invention.
  • Step S402 A sender device sends a connectivity detection CC 4 to a receiver device through all member links in a bundle link.
  • Step S404 when the receiving device does not receive the CC message of any member link within a predetermined time, it determines that the status of the member link is abnormal; and in step S406, the receiving device determines all member chains. When the status of the path is abnormal, it is determined that the status of the bundle link is abnormal.
  • the receiving end device detects the CC message sent by the sending end device through all the member links of the bundling link, and determines the member when the CC message on a certain member link is not received within a predetermined time.
  • the status of the link is abnormal (that is, an abnormality or fault occurs).
  • the status of all the member links is abnormal, the status of the link is considered abnormal (that is, an abnormality or fault occurs).
  • the CC function of the distributed device can only support one physical port to send protocol packets. That is, the connectivity of the physical link directly connected to the physical port can be detected. . Can be implemented using this embodiment
  • step S402 includes: the sending end device sends a CC message by using a line card where all member links of the sending end device are located.
  • the sender device master notifies all the line cards where the member ports of the bundle link are located (eg, periodically) to simultaneously transmit the CC 4 message.
  • This embodiment provides a specific implementation manner in which a sending end device sends a CC message.
  • the step S404 includes: the receiving end device receives the CC message by using the line card where any member link of the receiving end device is located, and simultaneously detects the receiving condition; the receiving end device does not receive the CC message within the predetermined time.
  • the status of the member link is determined to be abnormal.
  • This embodiment provides a specific implementation manner in which the receiving end device detects the status of the member link.
  • the line card directly detects the reception of the CC message and makes a judgment, and the judgment is faster.
  • the method further includes: deleting, by the line cards where the member links are located, the states of the corresponding member links.
  • the mutual backup of the status of the member links of the bundled link that is, the full backup
  • the status of the member link is abnormal, and the line card of the other member link is notified.
  • the mutual backup of the status of the member link can also prevent the connectivity detection of the bundle link from being affected by the insertion and removal of the line card corresponding to the link of the member link.
  • the step S406 includes: when the receiving end device does not receive the CC message within the predetermined time by the line card where the member link of the receiving end device is located, the line card on the receiving end device determines whether the line card is normal. The member link; if there is no normal member link, the line card on the receiving device notifies the main control module in the receiving device, and the status of the bundling link is abnormal.
  • the link bundle link is abnormal. At this time, the bundle link cannot transmit packets.
  • the receiving device determines that there is a normal member link, it determines that the state of the bundled link is normal. That is, as long as the status of one member link is normal and the status of the entire bundle link is normal, the packet can be transmitted.
  • the preferred embodiment provides a specific implementation manner in which the receiving end device determines that the state of the bundled link is abnormal (that is, the bundle link is abnormal or faulty).
  • the line card can directly determine whether the status of the other member links is abnormal. If yes, it determines that the bundle link is abnormal.
  • the judgment of the state of the bundled link directly by the line card can greatly shorten the judgment time, determine the speed faster, and meet the requirements of the related technology for high reliability requirements (such as voice service, etc.).
  • the method includes: if a normal member link exists, the line card where the abnormal member link on the receiving device is located is connected to the member link of the receiving device except the abnormal member link.
  • the line card broadcasts a message that the status of its corresponding member link is abnormal.
  • the preferred embodiment provides a specific implementation in which the receiving end device determines that the state of the bundled link is normal. Because the line cards back up the state of the member links corresponding to each other, that is, each line card has the status of all member links. Therefore, when a line card determines the status of the member link corresponding to it If the fault is abnormal, the line card can directly determine whether the status of the other member links is abnormal. If not, determine that the status of the bundle link is normal. The judgment of the state of the bundled link directly by the line card can greatly shorten the judgment time, determine the speed faster, and meet the requirements of the related technology for high reliability requirements (such as voice service, etc.).
  • the transmission data can be directly switched, so that the transmission of data is not interrupted.
  • the distributed device A and the distributed device B can be the transmitting end and the receiving end of each other, and the connectivity detection of the bundled link 1 and the bundled link 2 is performed by the above method.
  • the method for detecting the bundle link of the present invention is described by taking the distributed device A in FIG. 3 as the router A and the distributed device B as the router B as an example. Traffic between the router A and the router B is carried. To prevent the loss of long-term traffic due to the interruption of the physical link, the traffic is carried over the bundle interface between the router A and the router B.
  • FIG. 5 is a flowchart of connectivity detection of a bundle link of a distributed device according to Embodiment 2 of the present invention. First, you need to create and configure bundled link 1 and bundle link 2 on Router A and Router B.
  • the physical interface of the BFD is bound to the corresponding bundle interface (that is, the physical link is added to the corresponding bundle link;) Then deploy the CC function of the T-MPLS OAM (that is, start the CC detection function of the bundle link) to detect the bundle link 1 and the bundle link 2 respectively! state. As shown in FIG.
  • the process of the method for detecting a bundle link specifically includes the following steps: Step S502: Configure a CC detection function for starting T-MPLS OAM on Router A and/or Router B; Step S504, The master notifies the CC function parameter of the line card where the member ports corresponding to all the member links of the bundle link 1 and the bundle link 2 are located, and the line card simultaneously sends the CC message according to the CC function parameter and starts detecting at the same time; S506: If the line card corresponding to one of the link links 1 or the link 2 of the bundle link 2 does not receive the CC message of the peer end within the detection time (that is, the predetermined time), a physical port chain is generated.
  • Step S508 The physical port link abnormal event needs to be separately processed according to the detection status of the sibling member link, and the line card determines whether the bundle link to which it belongs (assumed to be the bundle link 1) is detected.
  • the status is normal other sibling member links, and if yes, go to step S510, if no, go to step 4 to gather S512;
  • step S510 the line card broadcasts that the bundle link 1 corresponds to Line card detection state of this link member (i.e., the state of the line card corresponding to the members of the link is abnormal message);
  • step S512 the notification directly to the line card of the master device 1 as a whole bundle link is abnormal.
  • FIG. 6 is a schematic diagram of connection of a bundle interface between a router and an inter-network router and a switch according to a third embodiment of the present invention.
  • An operator deploys a bundled interface between the skeletal network and the access network to carry the service on the 7-port (that is, the bundled link is used to carry the service).
  • the bundled link needs to be detected by the CC function of the T-MPLS OAM.
  • Router A, Router B, and Router C form the backbone network of the carrier.
  • Switch A and Switch B are access-side devices. Configure the bundle interface and bundle link between Switch A and Router A.
  • Step 1 switches and routers A configuration bundle interface A 1, ⁇ 1 and the physical interface bundle into a bundle interface (i.e. links are created and configured on the bundle switch router A 1 and A (i.e., bundled
  • the binding link corresponding to interface 1 adds the physical link (that is, the physical link corresponding to the physical interface) to the corresponding bundle link 1;);
  • Step 2 configure bundle interface 1 to start T-MPLS.
  • the CC function of the OAM is used to detect the state of the bundled link 1.
  • Step 3 At some point, if the bundle link is detected according to the above detection method of the bundled link
  • FIG. 7 is a schematic structural diagram of a distributed device according to an embodiment of the present invention. As shown in FIG.
  • the distributed device 1 includes: a line card 10, comprising: a receiving module 101, configured to receive a connectivity detection CC message sent by a sending end device through all member links in a bundle link;
  • the link state determining module 102 is configured to determine that the status of the member link is abnormal when the receiving module 101 does not receive the CC message of any member link within a predetermined time; When the status of the path is abnormal, it is determined that the status of the bundled link is abnormal.
  • the line card 10 further includes: a sending module 103, configured to notify the main control module 20 that the state of the bundling link is abnormal when the member link state determining module 102 determines that the status of all the member links is abnormal;
  • the distributed device 1 further includes: a main control module 20 configured to receive a notification that the bundle link status of the line card 10 is abnormal, and perform subsequent processing.
  • the member link state determining module 102 is further configured to determine whether there is a normal member link when the receiving module 101 does not receive the CC message within a predetermined time.
  • the sending module 103 is further configured to: when the member link state determining module 102 determines that there is a normal member link, broadcast the corresponding line card to the distributed device 1 except the member link other than the abnormal member link.
  • the status of the member link is an abnormal message.
  • the distributed device of the above embodiment detects the connectivity of the bundle link by using the above-described detection method of the bundle link. It can be seen from the above description that the present invention achieves the following technical effects:
  • the present invention solves the problem that the related art cannot implement connectivity detection for a bundled link, thereby enabling inter-distributed devices in a T-MPLS network.
  • the connectivity of the bundle link is detected.
  • the status of the member links of the bundle link is backed up by each other and is not affected by the insertion and removal of the line card corresponding to the member link in the bundle link.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method for detecting binding links and a distributed device are disclosed in the invention, wherein the detection method includes: a transmission end device sends connectivity check (CC) messages to a reception end device through all the member links of a binding link (S402); if the reception end device does not receive the CC message through one of the member links within a predetermined time, the state of the member link is determined to be abnormal (S404); and when the reception end device determines that the states of all the member links are abnormal, the state of the binding link is determined to be abnormal (S406). The invention can achieve the connectivity detection of binding links between the distributed devices in a Transport Multi-Protocol Label Switching (T-MPLS) network.

Description

捆绑链路的检测方法及分布式设备 技术领域 本发明涉及通信领域, 具体而言, 涉及一种捆绑链路的检测方法及分布 式设备。 背景技术  The present invention relates to the field of communications, and in particular to a method for detecting a bundled link and a distributed device. Background technique

T-MPLSC传送 MPLS( Multi-Protocol Label Switching,多协议标签交换 ) ) 技术是为了适应运营商对分组传送网的需求而提出的一种新型的基于 T-MPLSC transport MPLS (Multi-Protocol Label Switching) technology is a new type of technology based on the needs of operators for packet transport networks.

MPLS、 面向连接的分组传送技术。 T-MPLS基于已经广泛应用的 IP/MPLS 技术和标准,提供了一种简化的面向连接的实现方式。 T-MPLS去掉了 MPLS 中与面向连接应用无关的功能, 同时增加了对于传送网而言非常重要的一些 功能。 与 MPLS不同, T-MPLS不支持无连接模式, 实现上要比 MPLS更简单, 更易于运行和管理。 T-MPLS取消了 MPLS中与 L3和 IP路由相关的功能特 性, 其设备实现将满足运营商对低成本和大容量的下一代分组网络的需求。 T-MPLS沿袭了现有基于电路交换传送网的思想, 釆用与其相同的体系架构、 管理和运行模式。 T-MPLS将用于未来运营商分组化的传送网中。 MPLS, connection-oriented packet transport technology. T-MPLS provides a simplified, connection-oriented implementation based on widely used IP/MPLS technologies and standards. T-MPLS removes the functionality of MPLS that is not related to connection-oriented applications, while adding some features that are important to the transport network. Unlike MPLS, T-MPLS does not support connectionless mode, which is simpler to implement and easier to operate and manage than MPLS. T-MPLS eliminates the functional features associated with L3 and IP routing in MPLS, and its device implementation will meet operators' needs for low-cost and high-capacity next-generation packet networks. T-MPLS follows the existing idea of circuit-switched transport networks, using the same architecture, management and operational modes. T-MPLS will be used in the transport network for future operator packetization.

T-MPLS的许多设计思想在传统的 SDH ( Synchronous Digital Hierarchy, 同步数字体系) 网络中已经被广泛应用, 运营商也是基于这种思想来运营和 管理现有网络的。 因此, 可以认为 T-MPLS是成熟的 TDM传送网运营机制 和可靠的分组网技术( MPLS )的有机结合。 另夕卜, T-MPLS对 MPLS的主要 改进, 如双向 LSP ( Label Switching Path, 标记交换路径)、 端到端 LSP保护 和强大的 OAM ( Operation Administration and Maintenance, 操作、 管理与维 护) 机制等, 将实现对传送网资源的有效控制和使用, 从而实现网络运营成 本的降低。 OAM是 T-MPLS最核心的问题, 也是 T-MPLS标准出现变动的 根本原因。 为了提高故障的发现能力, T-MPLS中定义了连通性检测 (CC ) 功能。 如图 2所示, 捆绑技术的实质是将两台设备间的数条物理链路 "组合 "成 逻辑上的一条数据通路, 称为一条捆绑链路。 该链路在逻辑上是一个整体, 内部的组成和传输数据的细节对上层月艮务是透明的。 捆绑链路内部的数条物 理链路共同完成数据的收发任务并相互备份。只要还存在能正常工作的成员 , 整个捆绑链路就不会失效。 与如图 1所示的设备间通过物理端口直接连接相比, 捆绑链路具有如下 显著的优点: Many of the design ideas of T-MPLS have been widely used in traditional SDH (Synchronous Digital Hierarchy) networks, and operators are also based on this idea to operate and manage existing networks. Therefore, T-MPLS can be considered as an organic combination of mature TDM transport network operation mechanism and reliable packet network technology (MPLS). In addition, T-MPLS has major improvements to MPLS, such as bidirectional LSP (Label Switching Path), end-to-end LSP protection, and powerful OAM (Operation Administration and Maintenance) mechanisms. The effective control and use of the transmission network resources will be realized, thereby reducing the network operation cost. OAM is the core issue of T-MPLS and the root cause of changes in the T-MPLS standard. In order to improve the discovery capability of faults, the connectivity detection (CC) function is defined in T-MPLS. As shown in Figure 2, the essence of the bundling technology is to "combine" several physical links between two devices into one logical data path, called a bundle link. The link is logically a whole. The internal composition and details of the transmitted data are transparent to the upper layer. Several physical links inside the bundle link complete the data transmission and reception tasks and back up each other. As long as there are still working members, the entire bundled link will not expire. Bundling links have the following significant advantages over direct connections through physical ports between devices as shown in Figure 1:

1 ) 提高链路可用性: 捆绑链路中, 成员链路互相动态备份。 当某一成 员链路中断时, 其它成员链路能够迅速接替其工作。 与生成树协议不同, 捆 绑链路启用备份的过程对聚合之外是不可见的, 而且启用备份过程只在捆绑 链路内, 与其它链路无关, 切换可在数毫秒内完成。 2 ) 增加链路容量: 捆绑技术的另一个明显的优点是为用户提供一种经 济的提高链路传输率的方法。 通过捆绑多条物理链路, 用户不必升级现有设 备就能获得更大带宽的数据链路, 其容量等于各物理链路容量之和。 捆绑模 块按照一定算法将业务流量分配给不同的成员链路, 实现链路级的负载分担 功能。 某些情况下, 捆绑技术甚至是提高链路容量的唯一方法。 例如当市场上 的设备都不能提供高于 10G的链路时, 用户可以将两条 10G链路聚合, 获得 带宽大于 10G的传输线路。 此外, 特定组网环境下需要限制传输线路的容量, 既不能太低, 影响传 输速度, 也不能太高, 超过网络的处理能力。 但现有技术都只支持链路带宽 以 10为数量级的增长, 如 10M、 100M、 1000M等。 而通过捆绑技术将 n条 物理链路捆绑起来, 就能得到更适宜的、 n倍带宽的链路。 得益于上述优点, 捆绑链路在 T-MPLS现行网络中得到广泛的应用。 但是在现有方案中, 分布式设备的 CC功能仅能够支持一个物理端口发 送协议报文, 即仅能够对设备间通过物理端口直接连接的物理链路进行连通 性检测, 而无法实现对于捆绑链路进行连通性检测。 发明内容 本发明的主要目的在于提供一种捆绑链路的检测方法及分布式设备, 以 至少解决上述问题。 根据本发明的一个方面, 提供了一种捆绑链路的检测方法, 包括: 发送 端设备通过捆绑链路中的所有成员链路向接收端设备发送连通性检测 CC报 文; 当接收端设备在预定时间内未接收到任一条成员链路的 CC报文时, 判 定该条成员链路的状态为异常; 当接收端设备判断所有成员链路的状态均为 异常时, 则判定捆绑链路的状态为异常。 根据本发明的另一方面, 提供了一种分布式设备, 包括线卡, 线卡包括: 接收模块, 设置为接收发送端设备通过捆绑链路中的所有成员链路发送的连 通性检测 CC报文; 成员链路状态判断模块, 设置为当在预定时间内未接收 到任一条成员链路的 CC报文时, 判定该条成员链路的状态为异常; 还设置 为当判断所有成员链路的状态均为异常时, 则判定捆绑链路的状态为异常。 通过本发明, 接收端设备检测发送端设备通过捆绑链路的所有成员链路 发送的 CC报文, 当在预定时间内未接收到某一条成员链路上的 CC报文时 判定该成员链路的状态为异常, 当判断所有的成员链路的状态均为异常时认 为该捆绑链路的状态为异常, 解决了相关技术无法实现对于捆绑链路的连通 性检测的问题, 从而能够实现 T-MPLS网络中分布式设备间的捆绑链路的连 通性的检测。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1是根据相关技术的设备间通过物理端口直接连接的示意图; 图 2是根据相关技术的设备间通过捆绑接口连接的示意图; 图 3是根据本发明实施例的 T-MPLS网络中分布式设备通过捆绑链路连 接的示意图; 图 4是根据本发明实施例一的捆绑链路的检测方法的流程图; 图 5是根据本发明实施例二的分布式设备的捆绑链路的连通性检测的流 程图; 图 6是根据本发明实施例三的某运营商骨千网和接入网间路由器和交换 机间的捆绑接口的连接示意图; 以及 图 7是根据本发明实施例的分布式设备的结构示意图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。 如图 3所示, 在 T-MPLS网络中, 分布式设备 A和分布式设备 B之间通 过捆绑链路 1和捆绑链路 2进行通信。 图 4是根据本发明实施例一的捆绑链路的检测方法的流程图, 包括以下 步骤: 步骤 S402,发送端设备通过捆绑链路中的所有成员链路向接收端设备发 送连通性检测 CC 4艮文; 步骤 S404 , 当接收端设备在预定时间内未接收到任一条成员链路的 CC 报文时, 判定该条成员链路的状态为异常; 步骤 S406, 当接收端设备判断所有成员链路的状态均为异常时, 则判定 捆绑链路的状态为异常。 在该实施例中, 接收端设备检测发送端设备通过捆绑链路的所有成员链 路发送的 CC报文, 当在预定时间内未接收到某一条成员链路上的 CC报文 时判定该成员链路的状态为异常(即发生异常或故障), 当判断所有的成员链 路的状态均为异常时认为该捆绑链路的状态为异常(即发生异常或故障;),解 决了相关技术的分布式设备的 CC功能仅能够支持一个物理端口发送协议报 文, 即仅能够对设备间通过物理端口直接连接的物理链路进行连通性检测, 而无法实现对于捆绑链路的连通性检测的问题。 使用该实施例能够实现1) Improve link availability: In bundled links, member links are dynamically backed up to each other. When a member link is broken, other member links can quickly take over their work. Unlike the spanning tree protocol, the process of enabling backup on a bundled link is invisible to the outside of the aggregate, and the backup process is enabled only within the bundled link, regardless of other links, and the switch can be completed in milliseconds. 2) Increase link capacity: Another obvious advantage of bundling technology is to provide users with an economical way to increase link transmission rates. By bundling multiple physical links, users can obtain a larger bandwidth data link without upgrading existing devices, and its capacity is equal to the sum of the physical link capacities. The bundle module allocates service traffic to different member links according to a certain algorithm to implement link-level load sharing. In some cases, bundling is even the only way to increase link capacity. For example, when devices on the market cannot provide links higher than 10G, users can aggregate two 10G links to obtain transmission lines with bandwidths greater than 10G. In addition, in a specific networking environment, it is necessary to limit the capacity of the transmission line, which is neither too low, affecting the transmission speed, nor too high, exceeding the processing capacity of the network. However, the prior art only supports link bandwidth growth of orders of magnitude, such as 10M, 100M, 1000M, and the like. By bundling n physical links, a more suitable n-bandwidth link can be obtained. Thanks to the above advantages, bundled links are widely used in T-MPLS active networks. However, in the existing solution, the CC function of the distributed device can only support one physical port to send protocol packets, that is, it can only detect the connectivity of the physical link directly connected between the devices through the physical port, but cannot implement the binding chain. The road is tested for connectivity. SUMMARY OF THE INVENTION A primary object of the present invention is to provide a method for detecting a bundled link and a distributed device to solve at least the above problems. According to an aspect of the present invention, a method for detecting a bundle link is provided, including: a sender device sends a connectivity detection CC message to a receiver device through all member links in a bundle link; When the CC message of any member link is not received within the predetermined time, the status of the member link is abnormal. When the receiving device determines that the status of all member links is abnormal, the bundle link is determined. The status is abnormal. According to another aspect of the present invention, a distributed device is provided, including a line card, where the line card includes: a receiving module, configured to receive a connectivity detection CC report sent by the sending end device through all member links in the bundle link The member link state judging module is configured to determine that the status of the member link is abnormal when the CC message of any member link is not received within a predetermined time; If the status is abnormal, it is determined that the status of the bundled link is abnormal. According to the present invention, the receiving end device detects the CC message sent by the transmitting end device through all the member links of the bundling link, and determines the member link when the CC message on a certain member link is not received within a predetermined time. The status of the link is abnormal. When the status of all the member links is abnormal, the status of the bundle link is considered abnormal. This solves the problem that the related technology cannot implement connectivity detection for the bundle link. Detection of connectivity of bundled links between distributed devices in an MPLS network. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a schematic diagram of a device directly connected through a physical port according to the related art; FIG. 2 is a schematic diagram of a device connected through a bundle interface according to the related art; FIG. 3 is a T-MPLS according to an embodiment of the present invention. FIG. 4 is a flowchart of a method for detecting a bundle link according to a first embodiment of the present invention; FIG. 5 is a bundle link of a distributed device according to Embodiment 2 of the present invention; Flowchart of connectivity detection; 6 is a schematic diagram of connection of a bundle interface between a router and an access network router and a switch according to a third embodiment of the present invention; and FIG. 7 is a schematic structural diagram of a distributed device according to an embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. As shown in FIG. 3, in the T-MPLS network, the distributed device A and the distributed device B communicate through the bundle link 1 and the bundle link 2. 4 is a flowchart of a method for detecting a bundle link according to a first embodiment of the present invention, including the following steps: Step S402: A sender device sends a connectivity detection CC 4 to a receiver device through all member links in a bundle link. In the step S404, when the receiving device does not receive the CC message of any member link within a predetermined time, it determines that the status of the member link is abnormal; and in step S406, the receiving device determines all member chains. When the status of the path is abnormal, it is determined that the status of the bundle link is abnormal. In this embodiment, the receiving end device detects the CC message sent by the sending end device through all the member links of the bundling link, and determines the member when the CC message on a certain member link is not received within a predetermined time. The status of the link is abnormal (that is, an abnormality or fault occurs). When the status of all the member links is abnormal, the status of the link is considered abnormal (that is, an abnormality or fault occurs). The CC function of the distributed device can only support one physical port to send protocol packets. That is, the connectivity of the physical link directly connected to the physical port can be detected. . Can be implemented using this embodiment

T-MPLS网络中分布式设备间的捆绑链路的连通性的检测。 其中, 捆绑链路 中可以包括两条或两条以上的物理链路(每条物理链路称为成员链路)。 优选地, 步骤 S402包括: 发送端设备通过发送端设备上的所有成员链 路所在的线卡, 发送 CC报文。 发送端设备主控通知捆绑链路的成员端口所 在的所有线卡定时地 (如周期性地) 同时发送 CC 4艮文。 该实施例提供了发送端设备发送 CC报文的具体实施方案。 与捆绑链路 的所有成员链路相对应的成员端口所在的所有线卡同时发送 CC报文以实现 接收端设备通过检测 CC报文的接收情况来判断成员链路的状态并最终判断 捆绑链路的状态。 优选地, 步骤 S404包括: 接收端设备通过接收端设备上的任一条成员 链路所在的线卡接收 CC报文并同时对接收情况进行检测; 接收端设备在预 定时间内未接收到 CC报文时, 判定该条成员链路的状态为异常。 该实施例提供了接收端设备对成员链路的状态进行检测的具体实施方 案。 线卡直接对 CC报文的接收情况进行检测, 并做出判断, 判断较快。 通 过各线卡对 CC报文的接收情况同时 (即并行地) 进行检测, 对于捆绑链路 的检测不会受到某个 /某些成员线卡的插拔的影响。 优选地, 在上述的方法中, 还包括: 任一条成员链路所在的线卡互相备 份各自对应的成员链路的状态。 这样, 通过捆绑链路的成员链路的状态的互相备份(即全备份), 如启动 后或者上述检测过程中, 发现某条成员链路的状态为异常则通知其他成员链 路的线卡以实现成员链路的状态的相互备份。 此外, 通过成员链路的状态的 相互备份还可以使得捆绑链路的连通性检测不会受到某一条成员链路所对应 的线卡的插拔的影响。 优选地, 步骤 S406包括: 当接收端设备通过接收端设备上的任一条成 员链路所在的线卡, 在预定时间内未接收到 CC报文时, 接收端设备上的线 卡判断是否存在正常的成员链路; 若不存在正常的成员链路, 则接收端设备 上的线卡通知接收端设备中的主控模块, 捆绑链路的状态为异常。 即, 当接 收端设备上某线卡发现捆绑链路的所有兄弟成员链路的状态都为异常, 并且 自己也检测到物理端口链路异常后, 上艮捆绑链路异常。 此时, 该捆绑链路 不能进行报文的传输。 当接收端设备判断存在正常的成员链路时, 判定该捆 绑链路的状态为正常。 即, 捆绑链路中只要有一条成员链路的状态为正常, 整个捆绑链路的状态即为正常, 可以进行报文的传输。 该优选实施例提供了接收端设备判断捆绑链路的状态为异常 (即捆绑链 路发生异常或故障) 的具体实施方案。 由于线卡之间互相备份其所对应的成 员链路的状态, 即每个线卡上均具有所有的成员链路的状态, 因此, 当某一 个线卡判断其所对应的成员链路的状态为异常时, 该线卡可以直接判断其他 的成员链路的状态是否均为异常, 若是, 则判定该捆绑链路发生异常。 通过 线卡直接进行捆绑链路的状态的判断可以极大地缩短判断的时间, 判断速度 较快, 并满足相关技术对于可靠性要求较高 (如语音业务等) 的需求。 优选地, 在上述的方法中, 包括: 若存在正常的成员链路, 则接收端设 备上的异常成员链路所在的线卡向接收端设备上除异常成员链路以外的其它 成员链路所在的线卡广播其对应的成员链路的状态为异常的消息。 该优选实施例提供了接收端设备判断捆绑链路的状态为正常的具体实施 方案。 由于线卡之间互相备份其所对应的成员链路的状态, 即每个线卡上均 具有所有的成员链路的状态, 因此, 当某一个线卡判断其所对应的成员链路 的状态为异常时,该线卡可以直接判断其他的成员链路的状态是否均为异常, 若否, 则判定该捆绑链路的状态为正常。 通过线卡直接进行捆绑链路的状态 的判断可以极大地缩短判断的时间, 判断速度较快, 并满足相关技术对于可 靠性要求较高 (如语音业务等) 的需求。 当判断还有状态为正常的其他捆绑 链路时, 可以直接进行传输数据的倒换, 不至于使得数据的传输中断。 如图 3所示, 分布式设备 A和分布式设备 B可以互为发送端和接收端, 釆用上述的方法对捆绑链路 1和捆绑链路 2进行连通性检测。 实施例二以图 3中的分布式设备 A为路由器 A和分布式设备 B为路由 器 B为例对本发明的捆绑链路的检测方法进行说明。 其中, 路由器 A和路由 器 B之间^载业务流量, 为了防止因为物理链路中断导致的长时间业务流量 丢失, 在路由器 A和路由器 B之间通过捆绑接口承载业务(即通过捆绑链路 1和捆绑链路 2承载业务); 同时在路由器 A和路由器 B之间又进行捆绑接 口备份来保护捆绑接口本身,这就需要通过部署 T-MPLS OAM的 CC功能来 进行捆绑链路的状态的检测。 图 5是根据本发明实施例二的分布式设备的捆绑链路的连通性检测的流 程图。 首先, 需要在路由器 A和路由器 B上分别创建并配置捆绑链路 1和捆 绑链路 2, 巴物理接口绑定到对应的捆绑接口上 (即将物理链路添加到对应 的捆绑链路中;); 然后再部署 T-MPLS OAM的 CC功能 (即启动捆绑链路的 CC检测功能) 用来分别检测捆绑链路 1和捆绑链路 2的^! 态。 如图 5所示, 基于实施例二的捆绑链路的检测方法的流程具体包括以下 步骤: 步骤 S502, 在路由器 A和 /或路由器 B上配置启动 T-MPLS OAM的 CC 检测功能; 步骤 S504 ,主控通知捆绑链路 1和捆绑链路 2的所有成员链路对应的成 员端口所在的线卡的 CC功能参数, 线卡才艮据该 CC功能参数同时发送 CC 艮文并同时开始检测; 步骤 S506,如果捆绑链路 1或者捆绑链路 2中的某一条成员链路所对应 的线卡在检测时间 (即上述的预定时间) 内没有收到对端的 CC报文, 则会 产生物理端口链路异常事件; 步骤 S508, 针对物理端口链路异常事件, 需要根据兄弟成员链路的检测 状态分别处理, 该线卡判断其所归属的捆绑链路 (假设为捆绑链路 1 ) 中是 否存在检测的状态为正常的其他兄弟成员链路, 若是, 则转入步骤 S510, 若 否, 则转入步 4聚 S512; 步骤 S510,该线卡广播通知捆绑链路 1所对应的其他的线卡本成员链路 的检测状态 (即该线卡所对应的成员链路的状态为异常的消息); 步骤 S512, 该线卡直接通知主控设备该捆绑链路 1整体状态异常。 图 6是根据本发明实施例三的某运营商骨千网和接入网间路由器和交换 机间的捆绑接口的连接示意图。 某运营商在骨千网和接入网间部署捆绑接口 来 7 载业务(即通过捆绑链路来 7 载业务), 由于某接入侧链路的异常希望通 知给另一侧接入设备, 需要通过 T-MPLS OAM的 CC功能来检测捆绑链路。 如图 6所示, 路由器 A、 路由器 B和路由器 C组成运营商的骨千网, 交 换机 A和交换机 B为接入侧设备。 在交换机 A和路由器 A间配置部署捆绑 接口和捆绑链路。 由于另一侧交换机 B希望知道交换机 A和路由器 A间捆 绑链路的状态, 故在交换机 A和路由器 A间部署 T-MPLS OAM的 CC功能 以检测捆绑链路的状态。 步骤 1 , 交换机 A和路由器 A配置捆绑接口 1 , 并^ 1物理接口捆入该捆 绑接口 1 (即在交换机 A和路由器 A上分别创建并配置捆绑链路 1 (即捆绑 接口 1对应的捆绑链路), 将物理链路 (即上述的物理接口对应的物理链路) 添力口到对应的捆绑链路 1中;); 步骤 2, 配置捆绑接口 1启动 T-MPLS OAM的 CC功能用来检测捆绑链 路 1的状态 ^ 步骤 3 , 某一时刻, 若按照上述的捆绑链路的检测方法检测到捆绑链路Detection of connectivity of bundled links between distributed devices in a T-MPLS network. The bundle link may include two or more physical links (each physical link is called a member link). Preferably, step S402 includes: the sending end device sends a CC message by using a line card where all member links of the sending end device are located. The sender device master notifies all the line cards where the member ports of the bundle link are located (eg, periodically) to simultaneously transmit the CC 4 message. This embodiment provides a specific implementation manner in which a sending end device sends a CC message. All the line cards of the member ports corresponding to all the member links of the bundled link send CC packets at the same time to enable the receiving device to determine the status of the member links by detecting the receiving status of the CC packets and finally determine the bundle link. status. Preferably, the step S404 includes: the receiving end device receives the CC message by using the line card where any member link of the receiving end device is located, and simultaneously detects the receiving condition; the receiving end device does not receive the CC message within the predetermined time. The status of the member link is determined to be abnormal. This embodiment provides a specific implementation manner in which the receiving end device detects the status of the member link. The line card directly detects the reception of the CC message and makes a judgment, and the judgment is faster. The receiving of CC messages by each line card is detected at the same time (ie, in parallel), and the detection of the bundle link is not affected by the plugging and unplugging of some/some member line cards. Preferably, in the foregoing method, the method further includes: deleting, by the line cards where the member links are located, the states of the corresponding member links. In this way, the mutual backup of the status of the member links of the bundled link (that is, the full backup), for example, after the startup or during the detection process, the status of the member link is abnormal, and the line card of the other member link is notified. Implement mutual backup of the status of member links. In addition, the mutual backup of the status of the member link can also prevent the connectivity detection of the bundle link from being affected by the insertion and removal of the line card corresponding to the link of the member link. Preferably, the step S406 includes: when the receiving end device does not receive the CC message within the predetermined time by the line card where the member link of the receiving end device is located, the line card on the receiving end device determines whether the line card is normal. The member link; if there is no normal member link, the line card on the receiving device notifies the main control module in the receiving device, and the status of the bundling link is abnormal. That is, when a line card on the receiving device finds that the status of all the link members of the bundle link is abnormal, and the physical port link is abnormal, the link bundle link is abnormal. At this time, the bundle link cannot transmit packets. When the receiving device determines that there is a normal member link, it determines that the state of the bundled link is normal. That is, as long as the status of one member link is normal and the status of the entire bundle link is normal, the packet can be transmitted. The preferred embodiment provides a specific implementation manner in which the receiving end device determines that the state of the bundled link is abnormal (that is, the bundle link is abnormal or faulty). Because the line cards back up the state of the member links corresponding to each other, that is, each line card has the status of all member links, therefore, when When the line card determines that the status of the member link corresponding to the link is abnormal, the line card can directly determine whether the status of the other member links is abnormal. If yes, it determines that the bundle link is abnormal. The judgment of the state of the bundled link directly by the line card can greatly shorten the judgment time, determine the speed faster, and meet the requirements of the related technology for high reliability requirements (such as voice service, etc.). Preferably, in the foregoing method, the method includes: if a normal member link exists, the line card where the abnormal member link on the receiving device is located is connected to the member link of the receiving device except the abnormal member link. The line card broadcasts a message that the status of its corresponding member link is abnormal. The preferred embodiment provides a specific implementation in which the receiving end device determines that the state of the bundled link is normal. Because the line cards back up the state of the member links corresponding to each other, that is, each line card has the status of all member links. Therefore, when a line card determines the status of the member link corresponding to it If the fault is abnormal, the line card can directly determine whether the status of the other member links is abnormal. If not, determine that the status of the bundle link is normal. The judgment of the state of the bundled link directly by the line card can greatly shorten the judgment time, determine the speed faster, and meet the requirements of the related technology for high reliability requirements (such as voice service, etc.). When it is judged that there are other bundle links whose status is normal, the transmission data can be directly switched, so that the transmission of data is not interrupted. As shown in FIG. 3, the distributed device A and the distributed device B can be the transmitting end and the receiving end of each other, and the connectivity detection of the bundled link 1 and the bundled link 2 is performed by the above method. In the second embodiment, the method for detecting the bundle link of the present invention is described by taking the distributed device A in FIG. 3 as the router A and the distributed device B as the router B as an example. Traffic between the router A and the router B is carried. To prevent the loss of long-term traffic due to the interruption of the physical link, the traffic is carried over the bundle interface between the router A and the router B. The bundled link 2 carries the service.) At the same time, the bundle interface backup is performed between the router A and the router B to protect the bundle interface itself. This requires the CC function of the T-MPLS OAM to detect the state of the bundle link. FIG. 5 is a flowchart of connectivity detection of a bundle link of a distributed device according to Embodiment 2 of the present invention. First, you need to create and configure bundled link 1 and bundle link 2 on Router A and Router B. The physical interface of the BFD is bound to the corresponding bundle interface (that is, the physical link is added to the corresponding bundle link;) Then deploy the CC function of the T-MPLS OAM (that is, start the CC detection function of the bundle link) to detect the bundle link 1 and the bundle link 2 respectively! state. As shown in FIG. 5, the process of the method for detecting a bundle link according to the second embodiment specifically includes the following steps: Step S502: Configure a CC detection function for starting T-MPLS OAM on Router A and/or Router B; Step S504, The master notifies the CC function parameter of the line card where the member ports corresponding to all the member links of the bundle link 1 and the bundle link 2 are located, and the line card simultaneously sends the CC message according to the CC function parameter and starts detecting at the same time; S506: If the line card corresponding to one of the link links 1 or the link 2 of the bundle link 2 does not receive the CC message of the peer end within the detection time (that is, the predetermined time), a physical port chain is generated. Step S508: The physical port link abnormal event needs to be separately processed according to the detection status of the sibling member link, and the line card determines whether the bundle link to which it belongs (assumed to be the bundle link 1) is detected. The status is normal other sibling member links, and if yes, go to step S510, if no, go to step 4 to gather S512; step S510, the line card broadcasts that the bundle link 1 corresponds to Line card detection state of this link member (i.e., the state of the line card corresponding to the members of the link is abnormal message); step S512, the notification directly to the line card of the master device 1 as a whole bundle link is abnormal. FIG. 6 is a schematic diagram of connection of a bundle interface between a router and an inter-network router and a switch according to a third embodiment of the present invention. An operator deploys a bundled interface between the skeletal network and the access network to carry the service on the 7-port (that is, the bundled link is used to carry the service). The bundled link needs to be detected by the CC function of the T-MPLS OAM. As shown in Figure 6, Router A, Router B, and Router C form the backbone network of the carrier. Switch A and Switch B are access-side devices. Configure the bundle interface and bundle link between Switch A and Router A. Since the other switch B wants to know the state of the bundle link between the switch A and the router A, the CC function of the T-MPLS OAM is deployed between the switch A and the router A to detect the state of the bundle link. Step 1, switches and routers A configuration bundle interface A 1, ^ 1 and the physical interface bundle into a bundle interface (i.e. links are created and configured on the bundle switch router A 1 and A (i.e., bundled The binding link corresponding to interface 1 adds the physical link (that is, the physical link corresponding to the physical interface) to the corresponding bundle link 1;); Step 2, configure bundle interface 1 to start T-MPLS. The CC function of the OAM is used to detect the state of the bundled link 1. Step 3: At some point, if the bundle link is detected according to the above detection method of the bundled link

1的状态为正常, 则继续转发用户流量; 步骤 4, 某一时刻, 若按照上述的捆绑链路的检测方法检测到捆绑链路 1发生异常, 则将捆绑链路 1的状态设置为异常, 并阻塞用户流量的转发。 图 7是根据本发明实施例的分布式设备的结构示意图。 如图 7所示, 该分布式设备 1包括: 线卡 10 , 其包括: 接收模块 101 , 设置为接收发送端设备通过捆绑链路中的所有成员链路 发送的连通性检测 CC报文; 成员链路状态判断模块 102 , 设置为当接收模块 101在预定时间内未接 收到任一条成员链路的 CC报文时, 判定该条成员链路的状态为异常; 还设 置为当判断所有成员链路的状态均为异常时,则判定捆绑链路的状态为异常。 优选地, 线卡 10还包括: 发送模块 103 , 设置为在成员链路状态判断模 块 102在判断所有成员链路的状态均为异常时, 通知主控模块 20捆绑链路 的状态为异常; 在上述的分布式设备 1中还包括: 主控模块 20 , 设置为接收 线卡 10的捆绑链路状态为异常的通知, 并进行后续处理。 其中, 成员链路状态判断模块 102还设置为当接收模块 101在预定时间 内未接收到 CC报文时, 判断是否存在正常的成员链路。 优选地, 发送模块 103还设置为在成员链路状态判断模块 102判断存在 正常的成员链路时, 向分布式设备 1上除异常成员链路以外的其它成员链路 所在的线卡广播其对应的成员链路的状态为异常的消息。 上述实施例的分布式设备釆用上述的捆绑链路的检测方法对捆绑链路的 连通性进行检测。 从以上的描述中, 可以看出, 本发明实现了如下技术效果: 本发明解决 了相关技术无法实现对于捆绑链路的连通性检测的问题, 从而能够实现 T-MPLS网络中分布式设备间的捆绑链路的连通性的检测, 捆绑链路的成员 链路的状态互相备份, 且不会受到捆绑链路中成员链路对应的线卡的插拔影 响。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并 且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步 4聚, 或者 将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作 成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件 结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的^"神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。 If the status of 1 is normal, the user traffic is forwarded. Step 4: At a certain time, if the detection of the bundle link is abnormal according to the detection method of the bundle link, the state of the bundle link 1 is set to be abnormal. And block the forwarding of user traffic. FIG. 7 is a schematic structural diagram of a distributed device according to an embodiment of the present invention. As shown in FIG. 7, the distributed device 1 includes: a line card 10, comprising: a receiving module 101, configured to receive a connectivity detection CC message sent by a sending end device through all member links in a bundle link; The link state determining module 102 is configured to determine that the status of the member link is abnormal when the receiving module 101 does not receive the CC message of any member link within a predetermined time; When the status of the path is abnormal, it is determined that the status of the bundled link is abnormal. Preferably, the line card 10 further includes: a sending module 103, configured to notify the main control module 20 that the state of the bundling link is abnormal when the member link state determining module 102 determines that the status of all the member links is abnormal; The distributed device 1 further includes: a main control module 20 configured to receive a notification that the bundle link status of the line card 10 is abnormal, and perform subsequent processing. The member link state determining module 102 is further configured to determine whether there is a normal member link when the receiving module 101 does not receive the CC message within a predetermined time. Preferably, the sending module 103 is further configured to: when the member link state determining module 102 determines that there is a normal member link, broadcast the corresponding line card to the distributed device 1 except the member link other than the abnormal member link. The status of the member link is an abnormal message. The distributed device of the above embodiment detects the connectivity of the bundle link by using the above-described detection method of the bundle link. It can be seen from the above description that the present invention achieves the following technical effects: The present invention solves the problem that the related art cannot implement connectivity detection for a bundled link, thereby enabling inter-distributed devices in a T-MPLS network. The connectivity of the bundle link is detected. The status of the member links of the bundle link is backed up by each other and is not affected by the insertion and removal of the line card corresponding to the member link in the bundle link. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim 1. 一种捆绑链路的检测方法, 包括: A method for detecting a bundle link, comprising: 发送端设备通过捆绑链路中的所有成员链路向接收端设备发送连 通性检测 CC报文;  The sender device sends a connectivity detection CC message to the receiver device through all member links in the bundle link. 当所述接收端设备在预定时间内未接收到任一条所述成员链路的 When the receiving end device does not receive any of the member links within a predetermined time CC报文时, 判定该条成员链路的状态为异常; When the CC packet is received, the status of the member link is abnormal. 当所述接收端设备判断所述所有成员链路的状态均为异常时, 则 判定所述捆绑链路的状态为异常。  When the receiving end device determines that the status of all the member links is abnormal, it determines that the status of the bundled link is abnormal. 2. 根据权利要求 1所述的方法, 其中, 发送端设备通过捆绑链路中的所 有成员链路向接收端设备发送连通性检测 CC 4艮文包括: The method according to claim 1, wherein the sending end device sends the connectivity detection to the receiving end device by using all the member links in the bundling link. 所述发送端设备通过所述发送端设备上的所有成员链路所在的线 卡, 发送所述 艮文。  The sending end device sends the message by using a line card where all member links on the sending end device are located. 3. 根据权利要求 1所述的方法, 其中, 当所述接收端设备在预定时间内 未接收到任一条所述成员链路的 CC报文时, 判定该条成员链路的状 态为异常包括: The method according to claim 1, wherein, when the receiving end device does not receive any CC message of the member link within a predetermined time, determining that the status of the member link is abnormal includes : 所述接收端设备通过所述接收端设备上的任一条成员链路所在的 线卡接收所述 CC 4艮文并同时对接收情况进行检测;  Receiving, by the receiving end device, the CC 4 message by using a line card where any member link of the receiving end device is located, and simultaneously detecting the receiving condition; 所述接收端设备在所述预定时间内未接收到所述 CC报文时, 判 定该条成员链路的状态为异常。  When the receiving end device does not receive the CC message within the predetermined time, it determines that the status of the member link is abnormal. 4. 根据权利要求 2或 3所述的方法, 其中, 还包括: 所述任一条成员链 路所在的线卡互相备份各自对应的成员链路的状态。 The method according to claim 2 or 3, further comprising: the line cards where the one of the member links are located back up each other to the state of the corresponding member link. 5. 根据权利要求 1所述的方法, 其中, 当所述接收端设备判断所述所有 成员链路的状态均为异常时, 则判定所述捆绑链路的状态为异常包括: 当所述接收端设备通过所述接收端设备上的任一条成员链路所在 的线卡, 在所述预定时间内未接收到 CC报文时, 所述接收端设备上 的线卡判断是否存在正常的成员链路; 若不存在正常的成员链路, 则所述接收端设备上的线卡通知所述 接收端设备中的主控模块, 所述捆绑链路的状态为异常。 The method according to claim 1, wherein, when the receiving end device determines that the status of the all member links is abnormal, determining that the status of the bundle link is abnormal includes: when the receiving When the end device does not receive the CC message within the predetermined time by the line card where the member link of the receiving device is located, the line card on the receiving device determines whether there is a normal member chain. road; If there is no normal member link, the line card on the receiving end device notifies the main control module in the receiving end device that the status of the bundling link is abnormal. 6. 根据权利要求 5所述的方法, 其中, 若存在正常的成员链路, 则所述 接收端设备上的异常成员链路所在的线卡向所述接收端设备上除所述 异常成员链路以外的其它成员链路所在的线卡广播其对应的成员链路 的状态为异常的消息。 The method according to claim 5, wherein, if there is a normal member link, the line card where the abnormal member link on the receiving end device is located removes the abnormal member chain from the receiving end device The line card where the member links other than the road are located broadcasts the message that the status of the corresponding member link is abnormal. 7. 一种分布式设备, 包括线卡, 所述线卡包括: 7. A distributed device, comprising a line card, the line card comprising: 接收模块, 设置为接收发送端设备通过捆绑链路中的所有成员链 路发送的连通性检测 CC报文;  The receiving module is configured to receive, by the sending end device, the connectivity detection CC message sent by all the member links in the bundle link; 成员链路状态判断模块, 设置为当在预定时间内未接收到任一条 所述成员链路的 CC报文时, 判定该条成员链路的状态为异常; 还设 置为当判断所有所述成员链路的状态均为异常时, 则判定所述捆绑链 路的状态为异常。  The member link state judging module is configured to determine that the status of the member link is abnormal when the CC message of the member link is not received within a predetermined time; If the status of the link is abnormal, it is determined that the status of the bundle link is abnormal. 8. 根据权利要求 7所述的分布式设备, 其中, 所述线卡还包括: 发送模 块, 设置为在所述成员链路状态判断模块判断所有所述成员链路的状 态均为异常时, 通知主控模块所述捆绑链路的状态为异常; The distributed device according to claim 7, wherein the line card further comprises: a sending module, configured to: when the member link state determining module determines that the states of all the member links are abnormal, Notifying the main control module that the status of the bundle link is abnormal; 所述分布式设备还包括: 所述主控模块, 设置为接收所述线卡的 所述捆绑链路状态为异常的通知, 并进行后续处理。  The distributed device further includes: the main control module, configured to receive a notification that the bundle link status of the line card is abnormal, and perform subsequent processing. 9. 根据权利要求 7所述的分布式设备, 其中, 所述成员链路状态判断模 块还设置为在所述预定时间内未接收到 CC报文时, 判断是否存在正 常的成员链路。 The distributed device according to claim 7, wherein the member link state determining module is further configured to determine whether a normal member link exists when the CC message is not received within the predetermined time. 10. 根据权利要求 9所述的分布式设备, 其中, 所述发送模块还设置为在 所述成员链路状态判断模块判断存在正常的成员链路时, 向所述接收 端设备上除所述异常成员链路以外的其它成员链路所在的线卡广播其 对应的成员链路的状态为异常的消息。 The distributed device according to claim 9, wherein the sending module is further configured to: when the member link state determining module determines that a normal member link exists, to the receiving device The line card where the member links other than the abnormal member link are located broadcasts the message that the status of the corresponding member link is abnormal.
PCT/CN2011/072010 2010-04-21 2011-03-21 Binding links detection method and distributed device Ceased WO2011131069A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010153776.9 2010-04-21
CN201010153776A CN101834759A (en) 2010-04-21 2010-04-21 Detection method of binding link and distributed equipment

Publications (1)

Publication Number Publication Date
WO2011131069A1 true WO2011131069A1 (en) 2011-10-27

Family

ID=42718695

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/072010 Ceased WO2011131069A1 (en) 2010-04-21 2011-03-21 Binding links detection method and distributed device

Country Status (2)

Country Link
CN (1) CN101834759A (en)
WO (1) WO2011131069A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834759A (en) * 2010-04-21 2010-09-15 中兴通讯股份有限公司 Detection method of binding link and distributed equipment
CN101984573B (en) * 2010-11-15 2015-07-22 中兴通讯股份有限公司 Method and system for distributed realization of LACP standard state machine
CN102299846B (en) * 2011-08-19 2014-09-10 杭州华三通信技术有限公司 Method for transmitting BFD (Bidirectional Forwarding Detection) message and equipment
CN105791108B (en) * 2014-12-25 2019-07-12 中兴通讯股份有限公司 A kind of method and device that the tunnel bandwidth based on bundle interface is reserved
CN106230956A (en) * 2016-08-08 2016-12-14 镇江惠通电子有限公司 Network communication method based on P2P and device
CN108494677B (en) * 2018-03-26 2021-03-30 新华三技术有限公司 Link binding method and device
CN112751724B (en) * 2019-10-31 2023-07-11 华为技术有限公司 Method and device for detecting link state
CN117041137A (en) * 2023-07-31 2023-11-10 中国电信股份有限公司技术创新中心 Link status detection methods, devices, equipment, storage media and program products

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056223A (en) * 2007-05-30 2007-10-17 杭州华三通信技术有限公司 Link failure detection method and device
CN101217424A (en) * 2008-01-21 2008-07-09 中兴通讯股份有限公司 Method and device for detecting aggregation link failure
CN101286899A (en) * 2007-04-12 2008-10-15 株式会社日立制作所 Network system and node device
CN101834759A (en) * 2010-04-21 2010-09-15 中兴通讯股份有限公司 Detection method of binding link and distributed equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE60210918T2 (en) * 2002-02-15 2006-09-14 Sony Deutschland Gmbh Method for overload detection of IP flows over a wireless network
CN101267360B (en) * 2008-04-10 2010-08-18 华为技术有限公司 Pseudowire fault detection method and user edge device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286899A (en) * 2007-04-12 2008-10-15 株式会社日立制作所 Network system and node device
CN101056223A (en) * 2007-05-30 2007-10-17 杭州华三通信技术有限公司 Link failure detection method and device
CN101217424A (en) * 2008-01-21 2008-07-09 中兴通讯股份有限公司 Method and device for detecting aggregation link failure
CN101834759A (en) * 2010-04-21 2010-09-15 中兴通讯股份有限公司 Detection method of binding link and distributed equipment

Also Published As

Publication number Publication date
CN101834759A (en) 2010-09-15

Similar Documents

Publication Publication Date Title
Sharma et al. OpenFlow: Meeting carrier-grade recovery requirements
US8325611B2 (en) Scaling OAM for point-to-point trunking
CN100550715C (en) Method for supporting SDH/SONET automatic protection switching over Ethernet
JP5213854B2 (en) Connectivity fault management (CFM) in networks with link aggregation group connections
WO2011131069A1 (en) Binding links detection method and distributed device
US9871708B2 (en) Method and system for ring protection switching
EP2013996B1 (en) System and method of multi-nodal aps control protocol signalling
EP2618521B1 (en) Method, apparatus and system for link aggregation failure protection
CN102014019B (en) Aggregated link switching method and device
WO2005020022A2 (en) Self-healing tree network
WO2009036705A1 (en) Method for detecting interface failure and network node equipment
CN102549979A (en) Method and device for conveying traffic
WO2012068996A1 (en) Method and device for detecting link state
CN105340230A (en) Virtual Chassis Topology Management
WO2013010422A1 (en) Share-path-based ring network tunnel configuration method, ring network protection method and system
WO2011095101A1 (en) Linear 1: n protection method, device and system for packet transport network
CN103490921B (en) Network protection method, device, lower link point and system
WO2012097657A1 (en) System and networking method for ring network
CN111885630B (en) Data transmission method and communication device
CN101854567B (en) Data transmission method and device of optical transmission layer
CN104702498A (en) Method and device for reducing the number of optical connections through coordination protection
WO2023065750A1 (en) State synchronization method and apparatus, and device
CN102148693B (en) Shared granularity method, node and shared granularity system
CN101291258B (en) Ethernet loop processing method for multi-frame interconnection of communication platforms
CN116054929B (en) Business protection system

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

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

Country of ref document: EP

Kind code of ref document: A1