WO2007107098A1 - Procédé et système de détection de défaillance unidirectionnelle dans des réseaux en boucle - Google Patents

Procédé et système de détection de défaillance unidirectionnelle dans des réseaux en boucle Download PDF

Info

Publication number
WO2007107098A1
WO2007107098A1 PCT/CN2007/000866 CN2007000866W WO2007107098A1 WO 2007107098 A1 WO2007107098 A1 WO 2007107098A1 CN 2007000866 W CN2007000866 W CN 2007000866W WO 2007107098 A1 WO2007107098 A1 WO 2007107098A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
fault
port
pass
link
Prior art date
Application number
PCT/CN2007/000866
Other languages
English (en)
French (fr)
Inventor
Kewei Wu
Original Assignee
Zte Corporation
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 Corporation filed Critical Zte Corporation
Publication of WO2007107098A1 publication Critical patent/WO2007107098A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration
    • 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

Definitions

  • the present invention relates to the field of Ethernet applications, and in particular, to a method and system for detecting a single-pass fault in a ring network, which can effectively protect the Ethernet of the ring network.
  • Ethernet has been applied more and more to the construction of metropolitan area networks and campus networks to form high-reliability elastic ring networks due to its simplicity, low cost and wide use.
  • the problem of the device hardware or the application software may cause a single-pass fault in the loop. That is, the link is normal in one direction and the link is unreachable in the other direction. If the single-pass fault is not detected in time, it will affect the network application. If it is not handled properly, it may even cause a single-directional loop in the link, which makes the entire network paralyzed.
  • the commonly used single-pass fault detection method is that the neighboring network devices periodically send heartbeat information to each other. If the heartbeat information of the other party is not received within a predetermined time, the link between the devices is considered to be faulty.
  • This method can effectively detect the fault between links, but can not distinguish between single-pass faults and common faults, and can't detect the fault in which direction the single-link fault occurs.
  • each network element needs to be maintained. The frequency at which heartbeat information is sent.
  • the object of the present invention is to provide a method and system for detecting a single-pass fault in a ring network, so that the network can quickly detect a single-pass fault in the network and quickly locate a single-pass fault point, which can be used for In the field of Ethernet ring protection systems.
  • the present invention provides a method for detecting a single-pass fault in a ring network.
  • Each network element in the Ethernet forms a ring network through a link between the ports, where the method includes the following steps: Step one, determining One network element in the ring network is used as the control network element, and other network elements are used as the cooperative network element.
  • Step 2 The control network element periodically performs bidirectional state detection of the link, and detects whether a single-pass fault occurs in the ring network.
  • the control network element detects the actual The port location of the network element in which the single-pass failure occurs.
  • Step 21 The control network element periodically sends a status query to the cooperative network element that is linked to the port through two ports.
  • the status query message is sequentially transmitted through the cooperative network element in the ring network;
  • Step 22 If the ports of the control network element respectively receive the status query message sent by the other port, confirm that the ring network is normal, if the control network element has one and only one port receives the other side port The sent status query message confirms that the ring network has a single pass failure.
  • Step 21 After receiving the status query message from a port, the cooperative network element forwards the link from another port to the link. Next network element;
  • Step 32 The cooperative network element confirms that the port state that receives the status query message is a link normal in a predetermined time, and the port status that fails to receive the status query message is a link fault.
  • step 22 further includes: the control network element confirms that the status of the port that receives the status query message within a predetermined time is normal, and the status is not received.
  • the port status of the query message is the step of link failure.
  • step 3 further includes the following steps:
  • Step 51 The control network element sends a fault location message to the connected cooperative network element from the port that does not receive the status query message, and each coordinated network element sequentially transmits the fault location message.
  • Step 52 Determine the received location Whether the status of the two ports of the cooperative network element of the fault location message is that the link is normal;
  • Step 53 If yes, confirm that the cooperative network element is a single-pass faulty network element, and the link that receives the fault location message is a single-pass fault link, and the fault location message stops transmitting, if not, Then continue to deliver the fault location message and return to step 52.
  • the method for detecting a single-pass fault in the above-mentioned ring network wherein after the step 53, the method further includes:
  • control network element After the control network element receives the fault location message, the control network element is a single-pass faulty network element, and the link where the port that receives the fault location message is located is a single-pass fault link.
  • the present invention also provides a system for detecting a single-pass fault in a ring network
  • the ring network is composed of a plurality of network elements through links between ports, and includes:
  • control network element detecting module configured to set a network element in the ring network as a control network element, periodically initiate bidirectional state detection of the link, and detect whether a single-pass fault occurs in the ring network, When the single-pass fault occurs, further detecting a port location of the network element in which the single-pass fault actually occurs;
  • One or more cooperative network element detecting modules configured to separately set other network elements in the ring network as the cooperative network element, and assist the control network element detecting module to detect the single-pass fault and the single-pass fault The port location of the network element.
  • control network element detecting module further comprises:
  • a control network element fault confirmation module configured to control the control network element to periodically send a status query message between the two ports, and set a predetermined time, within a predetermined time after the status query message is initiated If the two ports respectively receive the status query message sent from another port, confirm that the ring network is normal, and if there is only one port, the one sent from another port is received.
  • a status inquiry message confirms that a single-pass failure occurs in the ring network.
  • control network element detecting module further comprises:
  • control network element fault locating module configured to control, by the control network element, a port that does not receive the status query message, and send a fault location message to the connected cooperative network element, if the control network element receives To the fault location message, it is confirmed that the control network element is a single-pass faulty network element, and the link where the port that receives the fault location message is located is a single-pass fault link.
  • the system for detecting a single-pass fault in the above-mentioned ring network wherein the cooperative network element detecting module further includes:
  • a cooperative network element fault confirmation module configured to transmit the status query message, set a predetermined time, and if the port of the cooperative network element receives the status query message within the predetermined time, confirm the port The status of the link is normal. If the status query message is not received within the predetermined time, the status of the port is confirmed as a link failure.
  • the system for detecting a single-pass fault in the above-mentioned ring network wherein the cooperative network element detecting module further includes:
  • a cooperative network element fault locating module configured to determine a cooperative network element that receives the fault location message If the status of the two ports is normal, if the link is normal, the fault location message is sent to the next network element. If the link is normal, the cooperative network element is confirmed as The single-pass faulty network element, the link where the port that receives the fault location message is located is a single-pass fault link.
  • the method of the present invention can detect a single-directional link fault in any direction, and when a single-directional link fault occurs, the link state of each network element port can perform a traversal detection along the ring network, and can quickly locate a single-pass fault. point.
  • Figure 1 is a schematic diagram of the workflow of the present invention
  • FIG. 2 is a schematic diagram of checking a loop link state in a loop normal state according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of detecting a single-pass fault and locating a fault point when a loop single-pass fault occurs in an embodiment of the present invention
  • FIG. 4 is a schematic view showing the structure of the system of the present invention. The best way to implement the invention
  • Figure 1 is a schematic diagram of the workflow of the present invention. As shown in the figure, the method includes the following steps: Step S100: Select one network element in the ring network as the control network element, and use other network elements in the ring network as the cooperative network element.
  • Step S101 The control network element periodically sends a status query message to the network elements on both sides. After receiving the status query message, the cooperative network element forwards the message along the message sending direction to the next network element. The status query message is sent from the control network element. One port is sent out, and then transmitted through the cooperative network element, and finally returns to the other port of the control network element, thereby completing the check of the ring network status.
  • Step S102 The cooperative network element transmits a status query message, and confirms that the status of the port that receives the status query message within a predetermined time is normal, and the link that is not received is a link fault.
  • Step S103 The control network element determines whether the two ports can receive the status query message. If it can be received, the process returns to step S101, and when the next detection time is up, it is re-detected. If one port of the control network element cannot receive the status inquiry issued by the other port, there is no side. Upon receiving the message, proceed to the next step.
  • Step S104 after detecting a single-pass fault, the control network element sends a fault location message from the port on the side that does not receive the status query message, the message
  • the cooperative network elements are sequentially transmitted along the ring network.
  • Step S105 Determine whether the received network element is a cooperative network element that is a control network element or both ports are normal links.
  • Step S106 If no, the fault location message is delivered to the next network element until the fault location message reaches a certain network element.
  • the network element is a cooperative network element or a control network element that can receive the status query message on both sides.
  • Step S107 the control network element or the cooperative network element is a single-pass faulty network element, and the port where the single-pass faulty network element and the network element that previously forwards the fault location message have a single-pass fault receiving fault location message
  • the link is a single-pass fault link.
  • FIG. 2 is a schematic diagram of checking a link link state in a normal state of a loop according to an embodiment of the present invention. as the picture shows,
  • the ring network structure shown in Figure 1 is constructed.
  • the five network elements of B1 to B5 are interconnected, B1 is used as the control network element, and B2 to B5 are used as the cooperative network element.
  • the control network element B1 When the loop is normal, as shown in Figure 1, the control network element B1 periodically sends status inquiry messages from the two ports to the loop.
  • the status query message sent from the B1 port 101 is sequentially passed through the cooperative network element B2-B3-B4 - B5.
  • the forwarding arrives at port 102 of control network element B1.
  • the status inquiry message sent from the control network element port 102 is sequentially forwarded to the control network element port 101 via B5-B4-B3-B2.
  • B1 port 102 does not forward to prevent service loops in the network.
  • FIG. 3 is a schematic diagram of detecting a single-pass fault and locating a fault point when a single-pass fault occurs in a loop according to an embodiment of the present invention.
  • the link between the cooperative NEs B3 and B4 fails, and the data link in the B4 to B3 direction fails.
  • Both the port 201 and the port 101 of the control network element B1 cannot receive the status inquiry message.
  • the link of the port is considered by the network element to be faulty.
  • the control network element detects that the port 101 is faulty, the port 102 link is in a normal state.
  • a single-pass fault occurs in the loop, and a fault location message is sent from the port 101 where the single-pass fault occurs.
  • Collaborative network element B2 slave After receiving the fault location message, the port 202 checks the link state of the other port 201. Since the state of the link of the port 201 is faulty, B2 forwards the fault location message from the port 201 to the cooperative network element B3. Similarly, the fault location message is forwarded by the cooperative network element B3 to the cooperative network element B4. After receiving the fault location message from the port 402, the cooperative network element B4 detects that the link state of the other port 401 is normal, and considers that the link of the port 402 is a single-pass fault link and B4 is a single-pass fault point.
  • the cooperative network element B4 disables the service data forwarding function of the port 402, it notifies the control network element B1 that the link is faulty, and the port position where the control network element has a single-pass fault.
  • the service forwarding function of the port 102 activated by the control network element B1 protects the handover.
  • control network element port 102 receives the fault location, the control network element is considered to be a single-pass faulty network element, and the link of the port 102 that receives the fault location message is a single-pass fault link.
  • the present invention further provides a system for detecting a single-pass fault in a ring network, comprising: a control network element detecting module 410 and one or more cooperative network element detecting modules 420.
  • the control network element detecting module 410 is configured to set a network element in the ring network as the control network element, periodically initiate bidirectional state detection of the link, and detect whether a single pass fault occurs in the ring network, when a single message occurs. When the fault occurs, further detecting the port position of the network element in which the single-pass fault actually occurs;
  • the cooperative network element detecting module 420 is configured to set other network elements in the ring network as the cooperative network element, and assist the control network element detecting module to detect the single-channel fault and the port position of the network element where the single-pass fault occurs.
  • control network element detecting module further includes: a control network element fault confirmation module 411 and a control network element fault location module 412.
  • the control network element fault confirmation module 411 is configured to control the control network element to periodically send a status query message between the two ports, and set a predetermined time, within a predetermined time after the status query message is initiated. If the two ports receive the status query message sent from the other port, the ring network is confirmed to be normal. If only one port receives the status query message sent from the other port, the ring type is confirmed. A single-pass failure occurs in the network;
  • the control network element fault locating module 412 is configured to control the control network element to send a fault location message to the connected cooperative network element on the port that does not receive the status query message, and if the control network element receives the fault location message, confirm the control network element.
  • a single-pass faulty network element, the link where the port that receives the fault location message is located is a single-pass fault link.
  • the cooperative network element detecting module 420 further includes: a cooperative network element fault confirmation module 421 and a cooperative network element fault location module 422.
  • the cooperative network element fault confirmation module 421 is configured to transmit a status query message, and set a predetermined time. If the port of the cooperative network element receives the status query message within a predetermined time, the status of the port is confirmed to be a normal link. If the status inquiry message is not received within the predetermined time, the status of the port is confirmed as a link failure.
  • the cooperative network element fault locating module 422 is configured to determine whether the status of the two ports of the cooperative network element that receives the fault location message is normal, and if not all the links are normal, continue to transmit the fault location message to the next network. If the link is normal, the link is confirmed to be a single-pass faulty network element, and the link where the port that receives the fault location message is located is a single-pass fault link.
  • the method of the present invention can detect a single-directional link fault in any direction, and utilizes the link state characteristics of each network element port when a single-directional link fault occurs, and can perform a traversal detection along the ring network to quickly locate a single pass. The point of failure.

Landscapes

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

Description

—种环型网络中检测单通故障的方法及其系统 技术领域
本发明涉及以太网应用领域尤其涉及一种环型网络中的检测单通故障的 方法及其系统, 可以有效保护环型网络的以太网。 背景技术
随着通讯技术的发展, 以太网由于其简单、 成本低和使用广泛的特点, 被 越来越多的应用到城域网和园区网的建设中去组建高可靠性的弹性环型网 络。在实际的应用中, 由于设备硬件或者应用软件的问题可能引起环路中会出 现单通故障的情况, 即某一个方向上链路正常, 另一方向上链路不通。 单通故 障发现不及时会影响网络应用,处理不当甚至可能会造成链路中出现单方向环 路, 使得整个网络瘫痪。
目前常用的单通故障检测方法是相邻网络设备之间定期相互发送心跳信 息, 预定时间内收不到对方心跳信息则认为设备间链路出现故障。这种方法可 以有效地检测到链路间故障, 但无法区分单通故障和普通故障, 更无法检测单 通故障时在哪个方向上发生链路故障, 并且在环形网络中, 各网元需要维护心 跳信息的发送频率。 发明公开
为解决上述问题本发明的目的在于提出一种环型网络中检测单通故障的 方法及其系统, 使得网络可以快速检测到网络中出现单通故障, 并快速定位到 单通故障点, 可用于以太网环保护系统等领域中。
为实现上述目的, 本发明提供了一种环型网络中检测单通故障的方法, 以 太网中的各个网元通过端口间的链接形成环型网络, 其中, 包括以下步骤: 步骤一, 确定所述环型网络中的一个网元作为控制网元, 其他的网元作为 协作网元;
步骤二, 所述控制网元周期性的进行链路的双向状态检测, 检测所述环型 网络中是否出现了单通故障;
歩骤三, 当所述环型网络中出现所述单通故障时, 所述控制网元检测实际 发生所述单通故障的网元的端口位置。
上述的环型网络中检测单通故障的方法, 其中, 所述步骤二还包括: 步骤 21, 所述控制网元周期性通过两个端口分别向与端口链接的协作网 元发送状态查询消 所述状态查询消息经所述环型网络中的协作网元依次传 递;
步骤 22, 若所述控制网元的端口都分别收到了另一个端口发送的状态查 询消息, 则确认所述环型网络正常, 若所述控制网元有且只有一个端口收到另 一侧端口发送的状态查询消息, 则确认所述环型网络发生单通故障。
上述的环型网络中检测单通故障的方法, 其中, 所述步骤 21还包括: 步骤 31, 所述协作网元从一个端口收到所述状态査询消息后, 从另一个 端口转发至链接的下一个网元;
步骤 32, 所述协作网元确认在预定时间内接收到所述状态査询消息的端 口状态为链路正常, 未能接收到所述状态査询消息的端口状态为链路故障。
上述的环型网络中检测单通故障的方法, 其中, 所述步骤 22还包括: 所述控制网元确认在预定时间内接收到状态査询消息的端口状态为链路 正常, 没有接收到状态查询消息的端口状态为链路故障的步骤。
上述的环型网络中检测单通故障的方法, 其中, 所述步骤三还包括以下步 骤:
步骤 51, 所述控制网元从接收不到所述状态查询消息的端口发送故障定 位消息至相连接的协作网元, 各个协作网元依次传递所述故障定位消息; 步骤 52, 判断接收到所述故障定位消息的协作网元的两个端口的状态是 否都为链路正常;
步骤 53, 若是, 则确认所述协作网元为单通故障网元, 接收到所述故障 定位消息的端口所在链路为单通故障链路, 且所述故障定位消息停止传递, 若 不是, 则继续传递所述故障定位消息, 并返回所述步骤 52。
上述的环型网络中捡测单通故障的方法, 其中, 所述步骤 53之后, 还包 括:
当所述控制网元接收到所述故障定位消息后,所述控制网元是单通故障网 元, 接收到所述故障定位消息的端口所在链路是单通故障链路。
为实现上述目的, 本发明还提供了一种环型网络中检测单通故障的系统, 所述环型网络由多个网元通过端口间的链接组成, 其中, 包括:
一控制网元检测模块, 用于设置所述环型网络中的一个网元作为控制网 元,周期性的发起链路的双向状态检测,检测所述环型网络中是否出现了单通 故障, 当出现所述单通故障时,进一步捡测实际发生所述单通故障的网元的端 口位置;
一个或多个协作网元检测模块,用于分别设置所述环型网络中的其他网元 作为协作网元,协助所述控制网元检测模块检测所述单通故障和发生所述单通 故障的网元的端口位置。
上述的环型网络中检测单通故障的系统,其中,所述控制网元检测模块进 一步包括:
一控制网元故障确认模块,用于控制所述控制网元周期性的在两个端口之 间相互发送状态査询消息,设定一预定时间,在所述状态查询消息发起后的预 定时间内,若所述两个端口处分别接收到了来自另一个端口发送来的所述状态 查询消息,则确认所述环型网络正常,若有且只有一个端口接收到了来自另一 个端口发送来的所述状态査询消息, 则确认所述环型网络发生单通故障。
上述的环型网络中检测单通故障的系统,其中,所述控制网元检测模块进 一步包括:
一控制网元故障定位模块,用于控制所述控制网元在未收到所述状态査询 消息的端口,发送故障定位消息至相连接的所述协作网元,若所述控制网元接 收到所述故障定位消息,则确认所述控制网元是单通故障网元,接收到所述故 障定位消息的端口所在链路是单通故障链路。
上述的环型网络中检测单通故障的系统,其中,所述协作网元检测模块进 一步包括:
一协作网元故障确认模块,用于传递所述状态查询消息,设定一预定时间, 若所述协作网元的端口在所述预定时间内接收到所述状态查询消息,则确认所 述端口的状态为链路正常, 若在所述预定时间内未能接收到所述状态査询消 息, 则确认所述端口的状态为链路故障。
上述的环型网络中检测单通故障的系统,其中,所述协作网元检测模块进 一步包括:
一协作网元故障定位模块, 用于判断接收到所述故障定位消息的协作网元 的两个端口的状态是否都是链路正常,若不都是链路正常,则继续传递所述故 障定位消息至下一个网元,若都是链路正常,则确认所述协作网元为单通故障 网元, 接收到所述故障定位消息的端口所在链路是单通故障链路。
本发明的方法可以检测到任意方向的单方向链路故障,利用单方向链路故 障发生时各个网元端口的链路状态特 沿着环型网络最多进行一次遍历检测 就可以快速定位单通故障点。 附图简要说明
图 1是本发明的工作流程示意图;
图 2是本发明实施例的环路正常状态时检查环路链路状态的示意图; 图 3是本发明实施例的环路发生单通故障时检测单通故障并定位故障点 的示意图;
图 4是本发明系统的结构示意图。 实现本发明的最佳方式
图 1是本发明的工作流程示意图。 如图所示, 包括以下步骤- 步骤 S100, 选取环型网络中一个网元作为控制网元, 环型网络中的其他 网元作为协作网元。
步骤 S101 , 控制网元周期性向两侧的网元发送状态査询消息, 协作网元 收到状态査询消息后沿消息发送方向转发消息给下一个网元网络正常时状态 查询消息从控制网元一侧端口发出, 经协作网元依次传递, 最终回到控制网元 的另一侧端口, 从而完成一次环网状态的检查。
步骤 S102, 协作网元传递状态查询消息, 并确认在预定时间内接收到状 态查询消息的端口状态为链路正常, 没有接收到的为链路故障。
步骤 S103, 控制网元判断两个端口是否都能接收到状态查询消息。 如果 都能收到, 则返回步骤 S101 , 待下一检测时间到时, 再重新检测, 若控制网 元的某一侧端口将无法收到另一侧端口发出的状态査询消, 有一侧没有接收 到信息, 则进入下一步骤。
单通故障发生后,单通故障点和控制网元之间的两组协作网元状态的一个 特征是: 某一组网元两侧都可以收到状态查询消息, 而另一组网元只能从一恻 收到状态查询消息。 根据这个特征, 本发明给出一个定位故障点的方法: 步骤 S104, 检测到单通故障发生后, 控制网元从接受不到状态査询消息 那一侧的端口发送一个故障定位消息, 该消息经协作网元依次沿环网传递。
步骤 S105, 判断接收的网元是否是控制网元或两个端口都为链路正常的 协作网元。
步骤 S106, 若否, 则将故障定位消息传递给下一个网元, 直到故障定位 消息到达某一网元该网元是两侧都可以收到状态查询消息的协作网元或者是 控制网元。
步骤 S107, 该控制网元或协作网元为单通故障网元, 单通故障网元和之 前转发故障定位消息的网元之间的链路上发生了单通故障接收故障定位消息 的端口所在链路为单通故障链路。
以下结合附图对本发明的具体实施例进行说明。本发明对专业技术人员熟 知的部分未进行表述或者未进行详细描述各种操作将按照顺序使用多个分离 的步骤进行描述。
图 2是本发明实施例的环路正常状态时检查环路链路状态的示意图。 如 图所示,
构造如图 1所示的环网结构, B1至 B5的五个网元两两互连, B1作为控制 网元, B2至 B5作为协作网元。
环路正常时, 如图 1所示, 控制网元 B1定期从两个端口向环路发送状态 査询消息从 B1端口 101发出的状态査询消息顺序经过协作网元 B2-B3-B4 - B5 的转发到达控制网元 B1的端口 102端口。 从控制网元端口 102发出的状态查 询消息顺序经过 B5- B4- B3-B2的转发到达控制网元端口 101。 对于其他的业务 数据, B1端口 102不进行转发, 以防止网络中出现业务环路。
图 3是本发明实施例的环路发生单通故障时捡测单通故障并定位故障点 的示意图。如图所示, 环路发生单通故障时, 协作网元 B3和 B4之间的链路发 生单通故障, B4到 B3方向数据链路不通, 协作网元 B3的端口 301、 协作网元 B2的端口 201和控制网元 B1的端口 101都无法收到状态查询消息, 预先设定 的接收时间窗过后, 上述端口的链路依次被其网元认为发生故障。控制网元在 检测到端口 101链路故障时, 102端口链路处于正常状态, 认为环路中发生了 单通故障, 从发生单通故障的端口 101发送故障定位消息。 协作网元 B2从端 口 202收受该故障定位消息后, 检査另一个端口 201的链路状态, 由于端口 201的链路的状态为故障, B2将故障定位消息从该 201端口转发给协作网元 B3。 同样故障定位消息被协作网元 B3转发到协作网元 B4。 协作网元 B4收到 来自端口 402的故障定位消息后,检测到另一端口 401的链路的状态为正常状 态, 认为端口 402的链路为单通故障链路, B4为单通故障点。 协作网元 B4禁 用端口 402的业务数据转发功能后, 通知控制网元 B1链路故障, 及所述控制 网元发生单通故障的端口位置。控制网元 B1激活的端口 102的业务转发功會 保护切换完成。
若控制网元端口 102接收到故障定位消 则认为控制网元是单通故障网 元, 收到该故障定位消息的端口 102所在的链路为单通故障链路。
此外,如图 4所示,本发明还提供了一种环型网络中检测单通故障的系统, 包括: 一控制网元检测模块 410和一个或多个协作网元检测模块 420。
其中,控制网元检测模块 410用于设置环型网络中的一个网元作为控制网 元,周期性的发起链路的双向状态检测,检测环型网络中是否出现了单通故障, 当出现单通故障时, 进一步检测实际发生单通故障的网元的端口位置;
协作网元检测模块 420用于设置环型网络中的其他网元作为协作网元,协 助控制网元检测模块检测单通故障和发生单通故障的网元的端口位置。
此外,控制网元检测模块进一步包括:一控制网元故障确认模块 411和一 控制网元故障定位模块 412。
其中,控制网元故障确认模块 411用于控制该控制网元周期性的在两个端 口之间相互发送状态査询消息,设定一预定时间,在状态査询消息发起后的预 定时间内, 若两个端口处分别接收到了来自另一个端口发送来的状态查询消 息,则确认环型网络正常,若有且只有一个端口接收到了来自另一个端口发送 来的状态査询消息, 则确认环型网络发生单通故障;
控制网元故障定位模块 412用于控制控制网元在未收到状态查询消息的 端口,发送故障定位消息至相连接的协作网元,若控制网元接收到故障定位消 息,则确认控制网元维单通故障网元,接收到故障定位消息的端口所在链路是 单通故障链路。
此外, 协作网元检测模块 420进一步包括: 一协作网元故障确认模块 421 和一协作网元故障定位模块 422。 其中,协作网元故障确认模块 421用于传递状态査询消息,设定一预定时 间,若协作网元的端口在预定时间内接收到状态查询消息,则确认端口的状态 为链路正常,若在预定时间内未能接收到状态查询消息,则确认端口的状态为 链路故障。
协作网元故障定位模块 422用于判断接收到故障定位消息的协作网元的 两个端口的状态是否都是链路正常,若不都是链路正常,则继续传递故障定位 消息至下一个网元, 若都是链路正常, 则确认协作网元为单通故障网元, 接收 到故障定位消息的端口所在链路是单通故障链路。
当然, 本发明还可有其它多种实施例, 在不背离本发明精神及其实质的情 况下, 熟悉本领域的普通技术人员当可根据本发明做出各种相应的改变和变 形, 但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。 工业应用性
本发明的方法可以检测到任意方向的单方向链路故障,利用单方向链路故 障发生时各个网元端口的链路状态特点,沿着环型网络最多进行一次遍历检测 就可以快速定位单通故障点。

Claims

权利要求书
1. 一种环型网络中检测单通故障的方法, 以太网中的各个网元通过端口 间的链接形成环型网络, 其特征在于, 包括以下步骤:
步骤一, 确定所述环型网络中的一个网元作为控制网元, 其他的网元作为 协作网元;
步骤二, 所述控制网元周期性的进行链路的双向状态捡测, 检测所述环型 网络中是否出现了单通故障;
步骤三, 当所述环型网络中出现所述单通故障时, 所述控制网元检测实际 发生所述单通故障的网元的端口位置。
2.根据权利要求 1所述的环型网络中检测单通故障的方法,其特征在于, 所述步骤二还包括:
步骤 21, 所述控制网元周期性通过两个端口分别向与端口链接的协作网 元发送状态查询消^所述状态查询消息经所述环型网络中的协作网元依次传 递;
步骤 22, 若所述控制网元的端口都分别收到了另一个端口发送的状态查 询消息, 则确认所述环型网络正常, 若所述控制网元有且只有一个端口收到另 一侧端口发送的状态查询消息, 则确认所述环型网络发生单通故障。
3. 根据权利要求 2所述的环型网络中检测单通故障的方法, 其特征在于, 所述步骤 21还包括:
步骤 31, 所述协作网元从一个端口收到所述状态査询消息后, 从另一个 端口转发至链接的下一个网元;
步骤 32, 所述协作网元确认在预定时间内接收到所述状态査询消息的端 口状态为链路正常, 未能接收到所述状态查询消息的端口状态为链路故障。
根据权利要求 3所述的环型网络中检测单通故障的方法,其特征在于, 所述步骤 22还包括:
所述控制网元确认在预定时间内接收到状态查询消息的端口状态为链路 正常, 没有接收到状态查询消息的端口状态为链路故障的步骤。
5.根据权利要求 4所述的环型网络中检测单通故障的方法,其特征在于, 所述步骤三还包括以下步骤:
步骤 51, 所述控制网元从接收不到所述状态査询消息的端口发送故障定 位消息至相连接的协作网元, 各个协作网元依次传递所述故障定位消息; 步骤 52, 判断接收到所述故障定位消息的协作网元的两个端口的状态是 否都为链路正常;
步骤 53, 若是, 则确认所述协作网元为单通故障网元, 接收到所述故障 定位消息的端口所在链路为单通故障链路, 且所述故障定位消息停止传递, 若 不是, 则继续传递所述故障定位消息, 并返回所述步骤 52。
6. 根据权利要求 5所述的环型网络中检测单通故障的方法,其特征在于, 所述步骤 53之后, 还包括:
当所述控制网元接收到所述故障定位消息后,所述控制网元是单通故障网 元, 接收到所述故障定位消息的端口所在链路是单通故障链路。
7. 一种环型网络中检测单通故障的系统, 所述环型网络由多个网元通过 端口间的链接组成, 其特征在于, 包括:
一控制网元检测模块, 用于设置所述环型网络中的一个网元作为控制网 元,周期性的发起链路的双向状态检测,检测所述环型网络中是否出现了单通 故障, 当出现所述单通故障时,进一步检测实际发生所述单通故障的网元的端 口位置;
一个或多个协作网元检测模块,用于分别设置所述环型网络中的其他网元 作为协作网元,协助所述控制网元检测模块检测所述单通故障和发生所述单通 故障的网元的端口位置。
8.根据权利要求 7所述的环型网络中检测单通故障的系统,其特征在于, 所述控制网元检测模块进一步包括:
一控制网元故障确认模块,用于控制所述控制网元周期性的在两个端口之 间相互发送状态査询消息,设定一预定时间,在所述状态査询消息发起后的预 定时间内,若所述两个端口处分别接收到了来自另一个端口发送来的所述状态 查询消息,则确认所述环型网络正常,若有且只有一个端口接收到了来自另一 个端口发送来的所述状态查询消息, 则确认所述环型网络发生单通故障。
9.根据权利要求 8所述的环型网络中检测单通故障的系统,其特征在于, 所述控制网元检测模块进一步包括:
一控制网元故障定位模块,用于控制所述控制网元在未收到所述状态査询 消息的端口,发送故障定位消息至相连接的所述协作网元,若所述控制网元接 收到所述故障定位消息,则确认所述控制网元是单通故障网元,接收到所述故 障定位消息的端口所在链路是单通故障链路。
10.根据权利要求 8或 9所述的环型网络中检测单通故障的系统,其特征 在于, 所述协作网元检测模块进一步包括:
一协作网元故障确认模块,用于传递所述状态查询消息,设定一预定时间, 若所述协作网元的端口在所述预定时间内接收到所述状态査询消息,则确认所 述端口的状态为链路正常, 若在所述预定时间内未能接收到所述状态査询消 息, 则确认所述端口的状态为链路故障。
11. 根据权利要求 10所述的环型网络中检测单通故障的系统, 其特征在 于, 所述协作网元检测模块进一步包括:
一协作网元故障定位模块,用于判断接收到所述故障定位消息的协作网元 的两个端口的状态是否都是链路正常,若不都是链路正常,则继续传递所述故 障定位消息至下一个网元,若都是链路正常,则确认所述协作网元为单通故障 网元, 接收到所述故障定位消息的端口所在链路是单通故障链路。
PCT/CN2007/000866 2006-03-20 2007-03-16 Procédé et système de détection de défaillance unidirectionnelle dans des réseaux en boucle WO2007107098A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNB2006100115227A CN100440817C (zh) 2006-03-20 2006-03-20 一种环型网络中检测单通故障的方法
CN200610011522.7 2006-03-20

Publications (1)

Publication Number Publication Date
WO2007107098A1 true WO2007107098A1 (fr) 2007-09-27

Family

ID=38522040

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/000866 WO2007107098A1 (fr) 2006-03-20 2007-03-16 Procédé et système de détection de défaillance unidirectionnelle dans des réseaux en boucle

Country Status (2)

Country Link
CN (1) CN100440817C (zh)
WO (1) WO2007107098A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848115A (zh) * 2010-04-21 2010-09-29 华为技术有限公司 一种波分路径的故障点定位方法及装置
CN102355333A (zh) * 2011-06-28 2012-02-15 大唐移动通信设备有限公司 一种语音业务的单通检测方法和设备

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136810A (zh) * 2007-09-30 2008-03-05 华为技术有限公司 链路状态的检测方法以及网络设备
CN101212366B (zh) * 2007-12-21 2011-12-21 杭州华三通信技术有限公司 以太环网中的故障检测方法、系统及主节点
CN101656970B (zh) * 2008-08-19 2012-11-07 中国移动通信集团河南有限公司 一种中继电路状态的判断方法、装置及系统
CN101753368B (zh) * 2008-12-01 2012-05-23 中兴通讯股份有限公司 一种以太网的保护方法
US8880956B2 (en) * 2011-06-01 2014-11-04 International Business Machines Corporation Facilitating processing in a communications environment using stop signaling
US8787155B2 (en) 2011-06-01 2014-07-22 International Business Machines Corporation Sideband error signaling
CN102694697A (zh) * 2012-05-28 2012-09-26 合肥华云通信技术有限公司 一种快速检测单向链路的方法
CN105357040B (zh) * 2015-10-28 2019-05-17 北京汽车股份有限公司 一种环形载most网络断环检测的方法及系统
CN105991376A (zh) * 2016-06-30 2016-10-05 北京东土科技股份有限公司 一种监测冗余网络完整性的方法和冗余装置
CN108429625B (zh) * 2017-02-13 2021-10-15 中兴通讯股份有限公司 一种实现故障诊断的方法及装置
CN106899472B (zh) * 2017-04-19 2019-12-10 广州睿嵌电子技术有限公司 一种单向环形网络控制器及其使用方法
CN113395184A (zh) 2020-03-11 2021-09-14 华为技术有限公司 一种故障处理方法、设备和可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1412977A (zh) * 2001-10-10 2003-04-23 阿尔卡塔尔公司 在rpr网中传播故障信息的方法及相应rpr数据包
US6615362B1 (en) * 1998-04-27 2003-09-02 Cisco Technology, Inc. System and method for fault recovery for two line bi-directional ring network
WO2005008392A2 (en) * 2003-07-08 2005-01-27 Sycamore Networks, Inc. Network span protection using span identifiers
CN1645834A (zh) * 2005-02-02 2005-07-27 周旭扬 Mac桥接网络环路发现、空间重用和保护倒换的方法和装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0998190A (ja) * 1995-09-29 1997-04-08 Chuo Syst Giken Kk ダイナミックアドレス割当て方式用端末装置
US6892329B2 (en) * 2001-04-02 2005-05-10 Corrigent Systems Ltd. Selective protection for ring topologies
KR100487215B1 (ko) * 2003-01-03 2005-05-04 삼성전자주식회사 파장분할다중방식 자기치유 환형 광통신망

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6615362B1 (en) * 1998-04-27 2003-09-02 Cisco Technology, Inc. System and method for fault recovery for two line bi-directional ring network
CN1412977A (zh) * 2001-10-10 2003-04-23 阿尔卡塔尔公司 在rpr网中传播故障信息的方法及相应rpr数据包
WO2005008392A2 (en) * 2003-07-08 2005-01-27 Sycamore Networks, Inc. Network span protection using span identifiers
CN1645834A (zh) * 2005-02-02 2005-07-27 周旭扬 Mac桥接网络环路发现、空间重用和保护倒换的方法和装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848115A (zh) * 2010-04-21 2010-09-29 华为技术有限公司 一种波分路径的故障点定位方法及装置
CN101848115B (zh) * 2010-04-21 2012-11-21 华为技术有限公司 一种波分路径的故障点定位方法及装置
CN102355333A (zh) * 2011-06-28 2012-02-15 大唐移动通信设备有限公司 一种语音业务的单通检测方法和设备

Also Published As

Publication number Publication date
CN101043383A (zh) 2007-09-26
CN100440817C (zh) 2008-12-03

Similar Documents

Publication Publication Date Title
WO2007107098A1 (fr) Procédé et système de détection de défaillance unidirectionnelle dans des réseaux en boucle
US9614721B2 (en) Fast flooding based fast convergence to recover from network failures
EP2117176B1 (en) Method for implementing intersecting ring network with arbitrary topology, node and intersecting ring network
EP2194676B1 (en) Ethernet ring system, its main node and intialization method
US8717879B2 (en) Method to be run in and device of a network as well as communication system comprising such device
EP2207307B1 (en) Method for processing the failure of the slave port of the master node in an ethernet ring network system
US8264954B2 (en) Method and device for operating a network and communication system comprising such device
WO2008089614A1 (fr) Procédé, système et dispositif de protection d'une liaison en anneau
US8570858B2 (en) Control method for protecting failure recovery of ethernet ring and ethernet ring nodes
WO2008046358A1 (fr) Procédé et dispositif destinés à réaliser une pénétration d'un statut de liaison de réseau point à multipoint
WO2009111969A1 (zh) 以太环网中边缘端口阻塞的方法、以太环网系统和设备
CN103051536A (zh) 一种二层冗余链路的快速组播切换方法
JP2008072708A (ja) フォルト・トレラント電子通信ネットワーク
WO2009039697A1 (en) Ethernet ring network systerm, transmission node of ethernet ring network and initialization method thereof
US8630162B2 (en) Fast flooding based fast convergence architecture
CN102264088A (zh) 伪线保护倒换实现方法及装置
WO2013049981A1 (zh) 一种基于共享通道的混合环网保护方法及系统
WO2013044741A1 (zh) 环形拓扑网络的故障处理方法、装置和一种路由设备
WO2011026319A1 (zh) 基于本地故障检测的环网保护方法及系统
WO2010031295A1 (zh) 一种以太网故障恢复的控制方法
WO2010034147A1 (zh) 一种实现中继网关容灾不断话的方法、系统及媒体网关
WO2013004124A1 (zh) 一种分布式链路聚合系统中业务流转发方法及节点
WO2014079010A1 (zh) 业务保护方法、设备及系统
JP4757719B2 (ja) ネットワークシステム、ip電話端末及びそれらに用いるネットワーク機器切替え方法
CN101741672B (zh) 自动保护通道的切换方法和装置

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

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

Country of ref document: EP

Kind code of ref document: A1