WO2007118429A1 - Method and apparatus for detecting backward defect indication path condition - Google Patents

Method and apparatus for detecting backward defect indication path condition Download PDF

Info

Publication number
WO2007118429A1
WO2007118429A1 PCT/CN2007/001243 CN2007001243W WO2007118429A1 WO 2007118429 A1 WO2007118429 A1 WO 2007118429A1 CN 2007001243 W CN2007001243 W CN 2007001243W WO 2007118429 A1 WO2007118429 A1 WO 2007118429A1
Authority
WO
WIPO (PCT)
Prior art keywords
path
connectivity
reverse
message
defect indication
Prior art date
Application number
PCT/CN2007/001243
Other languages
French (fr)
Chinese (zh)
Inventor
Shuyou Dong
Wenyang Lei
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2007118429A1 publication Critical patent/WO2007118429A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • 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 technologies, and in particular, to a method for detecting a state of a reverse defect indicating path. Background technique
  • LSP Label Switching Path
  • this MPLS OAM mechanism it is possible to effectively detect, confirm, and locate defects originating from the MPLS layer network; report defects and make corresponding processing; and provide a trigger mechanism for protection switching in the event of a failure.
  • OAM connectivity detection (CV-Connectivity Verification)
  • the LSP connectivity detection is performed by the ingress (source) transmission of the LSP and the reception (sink) of the LSP.
  • OAM FFD Fast Failure Detection
  • the connectivity detection is performed in the manner in which the ingress (source) of the LSP is transmitted and the egress (sink) is received.
  • the FFD packet has one byte of frequency information.
  • CV message collection The fixed Is transmission period is used, and the FFD message can support multiple transmission frequencies such as 10ms, 20ms, 50ms ⁇ 100ms, 200ms, 500ms, etc., and the supported frequency values can be changed according to requirements.
  • the OAM Forward Defect Indication (FDI) packet is used by the upstream node of the LSP to advertise the defect information to the egress node of the LSP.
  • FDI OAM Forward Defect Indication
  • OAM Backward Defect Indication (BDI) packet The OAM BDI packet is used by the outbound node of the LSP to notify the ingress of the LSP through the reverse channel after discovering the LSP defect.
  • the basic detection function of MPLS OAM is mainly the interaction process of connectivity detection. It can be described as follows:
  • MPLS OAM detects the connectivity of a single LSP.
  • the device sends a CV FFD packet to the source.
  • the packet is sent to the sink through the detected LSP.
  • the sink determines the type, frequency, and path of the LSP.
  • the TTSI Terminal Termination Source Identifier
  • the TTSI Terminal Termination Source Identifier
  • the number of correct and incorrect packets received during the detection period is calculated, so that the connectivity of the LSP is monitored at any time, and when the LSP is defective, it is quickly detected. Defects and analyze the type of defect.
  • the reverse channel carrying BDI may be of the following three types:
  • a dedicated reverse LSP The only reverse LSP corresponding to the forward LSP is relatively stable, but it may cause waste of resources.
  • a shared reverse LSP A number of forward LSPs share a reverse LSP. All the LSPs returning BDI packets pass through this reverse LSP. This method reduces resource waste. However, when multiple forward LSPs are simultaneously defective, this reverse LSP There may be congestion on it.
  • Non-MPLS return path This method may pose a security risk.
  • a malicious user may create a BDI packet to be sent to the source of the detected LSP, causing unnecessary Interrupted.
  • additional security confirmations should be configured for BDI messages.
  • the TTSI is configured for the OAM, so that the TTSI information of the detected LSP can be carried in the BDI packet, so as to verify the validity of the BDI packet.
  • the fault information of the MPLS OAM needs to be advertised in the manner shown.
  • the premise is that the path of the BDI message is unobstructed. If the BDI message cannot reach the source due to the path failure of the BDI, the entire fault detection mechanism fails. In the case of BDI path sharing, if the shared path fails, the fault detection of all forward LSPs will be invalidated. This situation is more serious.
  • the prior art employs a method of separately configuring the fault detection function for the BDI path. For example: If the BDI message is forwarded through the IP path, the BDI path is detected by detecting whether the normal IP path is normal. If the BDI message is transmitted through the MPLS LSP, the LSP needs to be detected.
  • the method is ordinary MPLS OAM detection.
  • Embodiments of the present invention provide a method and apparatus for detecting a BDI path state by a reverse defect.
  • Embodiments of the present invention provide a reverse defect indication path state detection method, where the method includes:
  • the transmitting end periodically sends a connectivity detection packet to the receiving end on the reverse defect indication path; the receiving end receives the connectivity detection packet, and when the timing of the receiving end arrives, the receiving end does not receive the packet.
  • the connectivity detection packet determines that the reverse defect indication path is faulty.
  • the embodiment of the invention provides a path state detecting device, which comprises a detecting message sending module.
  • the detection packet sending module is configured to periodically send a connectivity detection message to the corresponding receiving end on the reverse defect indication path.
  • the transmitting module includes a timer module and reverse defect indication path connectivity Detecting a transmitting submodule
  • the timer module is configured to set a timing duration for the reverse defect indication path
  • the reverse defect indication path connectivity detection sending submodule is configured to: when the timing duration of the reverse defect indication path arrives, A connectivity detection is generated, and the connectivity detection packet is sent through a corresponding reverse defect indication path.
  • the device further comprises a detection message receiving module,
  • the detection packet receiving module is configured to receive the connectivity detection packet, and if the predetermined timing duration of the receiving end arrives, the connectivity detection is not received, and the reverse defect is determined. Indicates that the path has failed.
  • Another path state detecting apparatus includes: detecting a message receiving module;
  • the detection packet receiving module is configured to receive the connectivity detection packet, and if the receiving terminal does not receive the connectivity detection packet when the timing of the receiving end arrives, determine the reverse The defect indicates that the path has failed.
  • the detection message receiving module comprises a sliding timer module and a reverse defect indicating path connectivity detecting receiving submodule;
  • the sliding timer module is configured to set a timing duration for the reverse defect indication path, where a timing duration of the receiving end is greater than a timing duration of the corresponding sending end;
  • the reverse defect indication path connectivity detection receiving submodule is configured to receive the connectivity test J1.
  • the message flow of the MPLS OAM fault detection is extended, and the path detection packet is periodically sent on the path of the BDI, and the receiving end is based on a certain time interval.
  • the number of received probe packets determines whether the BDI path is faulty. It is not necessary to separately configure the fault detection mechanism for the BDI path. Instead, the MPLS OAM mechanism is used to automatically detect the BDI path connectivity. Therefore, the workload of the tester is greatly reduced, the test procedure can be simplified, and the reliability and efficiency can be improved.
  • FIG 1 shows the basic process of MPLS OAM interaction detection
  • FIG. 2 is a device diagram of detecting a path state in an embodiment of the present invention
  • FIG. 3 is a flowchart of sending a reverse fault indication path detection message according to an embodiment of the present invention
  • FIG. 4 is a flowchart of receiving a message by using a reverse defect indication path in the embodiment of the present invention. detailed description
  • the message flow of the MPLS OAM fault detection is extended, and the path detection packet is periodically sent on the path of the BDI. If the receiving end does not receive the specified number of detection packets within a certain time interval, the BDI path is considered to be faulty. .
  • a reverse defect indication path state detecting device includes: a detecting message sending module or/and a detecting message receiving module;
  • the detecting message sending module is configured to send, by the sending end of the reverse defect indicating path, a connectivity detecting message to the receiving end of the reverse defect indicating path on the reverse defect indicating path; the detecting message receiving module, The receiving end receives the connectivity detection packet, and if the receiving end still does not receive the connectivity detection packet when the timing of the receiving end arrives, the reverse defect indication path is considered to appear. malfunction.
  • the detection message sending module includes a reverse defect indication (BDI) processing module and a timer module, and the BDI processing module has a BDI CV (BDI Connectivity Verification) transmission sub-module;
  • BDI reverse defect indication
  • CV BDI Connectivity Verification
  • the timer module is configured to set a timing duration for the reverse defect indication path
  • the reverse defect indication path connectivity detection sending submodule is configured to generate when the timing duration of the reverse defect indication path arrives A connectivity detection packet is sent, and the connectivity detection packet is sent by the reverse defect indication path corresponding to the timing duration.
  • the detection message receiving module includes a sliding timer module and a reverse defect indication path connectivity detection BDI CV receiving submodule;
  • the sliding timer module is configured to set a timing time for the reverse defect indication path The timing of the receiving end is greater than the corresponding timing of the sending end; the reverse defect indicating path connectivity detecting and receiving submodule is configured to receive the connectivity detecting message.
  • the process of sending a reverse defect indication path detection packet in the embodiment of the present invention includes the following steps:
  • Step 101 Set a timing duration for the reverse defect indication path at the sending end, and the timer module stores timing information of all LSPs that have enabled BDI path detection, and can set different timing durations for BDI detection paths corresponding to different LSPs. . Since the connectivity check of the BDI path is a non-real-time tight detection, the duration of the timing can be relatively long.
  • Step 102 When the timing duration arrives, a connectivity detection message is generated.
  • a timer interrupt message is generated, and the message includes the information of the LSP.
  • the reverse defect indicates the path connectivity detection.
  • the BDI CV sending sub-module extracts the information of the LSP. Construct reverse defect indication path connectivity detection BDI CV detection message.
  • the BDI CV detection packet can be used in two ways:
  • BDI-CV Define a new message type called BDI-CV with the message format as follows:
  • Action type can indicate two actions, namely BDI-CV detection and BDI-CV stop detection
  • TTSI LSP ID, if TTSI is not required, this field is padded with 0x00
  • the message format is as follows:
  • the type field indicates the action type, and the valid value is 0x01, which indicates the BDI CV detection message. If the value of type is 0, it means that it is a normal BDI failure notification message.
  • Step 103 The connectivity detection message BDI CV is sent by the reverse defect indication path corresponding to the timing duration.
  • Step 201 Set a timing duration for each reverse defect indication path at the receiving end, and the timing duration is greater than the timing duration of the corresponding sending end. , the duration can be 3 times the transmission period of the text;
  • Step 202 Start a sliding timer to determine whether the BDI CV detection message is received.
  • the detection of the reverse defect message is performed by using a sliding window at the receiving end of the reverse defect indication path;
  • Step 203 If the defect detection message is received within the specified timing of the receiving end, the sliding timer is reset.
  • Step 204 When the timing value of the timer arrives, the BDI CV receiving submodule still does not receive the connectivity detection packet, and the reverse defect indication path is considered to be faulty.

Abstract

The invention provides a method and apparatus for detecting status of backward defect indication path. The said method includes following procedures: sends the connectivity message to the receiver in backward defect indication path according to the scheduled time interval; the said receiver receives the said connectivity message; when the receiver end timer is reached, if receiver does not receive the connectivity message, a failure has occurred in backward defect indication path. The invention also discloses an apparatus for detecting of backward defect indication path. The said apparatus includes the sending and receiving modules for detecting message. Using technical method of invention, it is no need of configuring mechanism of fault detection singly for BDI path, and uses MPLS OAM mechanism directly for implementing detection of connectivity for BDI path.

Description

一种反向缺陷指示路径状态检测的方法及装置 本申请要求于 2006 年 04 月 18 日提交中国专利局、 申请号为 200610075642.3、 发明名称为"一种反向缺陷指示路径状态检测的方法及 装置,,的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域  Method and device for detecting reverse path indication path state on April 18, 2006, the invention claims to be a Chinese patent office, application number 200610075642.3, and the invention name is "a method and device for detecting reverse defect indication path state" The priority of the Chinese patent application is hereby incorporated by reference in its entirety.
本发明涉及通信技术领域,特别涉及一种反向缺陷指示路径状态检测 的方法。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a method for detecting a state of a reverse defect indicating path. Background technique
为了在 MPLS的用户平面能确定标签交换路径( LSP , Label Switching Path )的连通性, 衡量网络的利用率以及度量网络的性能, 同时在链路出 现缺陷或故障时迅速进行保护倒换,以便能根据与客户签订的业务等级协 议( SLA, Service Level Agreements )提供业务, MPLS层需要提供一个 完全不依赖于任何上层或下层的 OAM机制。  In order to determine the connectivity of the Label Switching Path (LSP) in the user plane of the MPLS, measure the utilization of the network and measure the performance of the network, and quickly perform protection switching when the link is faulty or faulty, so that The Service Level Agreements (SLAs) signed with customers provide services, and the MPLS layer needs to provide an OAM mechanism that is completely independent of any upper or lower layers.
使用这种 MPLS OAM机制, 可以有效地检测、 确认并定位出源于 MPLS层网络内部的缺陷; 报告缺陷并做出相应的处理; 在出现故障的时 候, 能够提供保护倒换的触发机制。  Using this MPLS OAM mechanism, it is possible to effectively detect, confirm, and locate defects originating from the MPLS layer network; report defects and make corresponding processing; and provide a trigger mechanism for protection switching in the event of a failure.
关于 MPLS OAM 功能需求背景的进一步介绍可参考 ITU-T Recommendation Y.1710。  A further introduction to the background of MPLS OAM functional requirements can be found in ITU-T Recommendation Y.1710.
MPLS OAM的主要消息类型有 4种, 各消息类型的报文格式如下。 l. OAM CV报文  There are four main types of MPLS OAM messages. The format of each message type is as follows. l. OAM CV packet
OAM连通性检测 ( CV-Connectivity Verification ) 艮文是通过 LSP的 入节点 (源端)发送、 出节点 (宿端)接收的方式来进行 LSP连通性检 测的。  OAM connectivity detection (CV-Connectivity Verification) The LSP connectivity detection is performed by the ingress (source) transmission of the LSP and the reception (sink) of the LSP.
2. OAM FFD报文  2. OAM FFD packet
OAM FFD ( Fast Failure Detection ) 艮文同 CV报文一样, 也是通过 OAM FFD (Fast Failure Detection) is the same as the CV message.
LSP的入节点(源端)发送、 出节点(宿端)接收的方式进行连通性检测 的。 The connectivity detection is performed in the manner in which the ingress (source) of the LSP is transmitted and the egress (sink) is received.
同 CV报文相比, FFD报文中多了一个字节的频率信息。 CV报文采 用固定 Is的发送周期, 而 FFD报文可支持 10ms、 20ms, 50ms ^ 100ms、 200ms, 500ms等多种发送频率, 可以根据需求来改变支持的频率值。 Compared with the CV packet, the FFD packet has one byte of frequency information. CV message collection The fixed Is transmission period is used, and the FFD message can support multiple transmission frequencies such as 10ms, 20ms, 50ms^100ms, 200ms, 500ms, etc., and the supported frequency values can be changed according to requirements.
3. 0AM FDI报文  3. 0AM FDI message
OAM正向缺陷指示 ( FDI , Forward Defect Indication )报文用于 LSP 的上游节点将缺陷信息通告给 LSP的出节点。  The OAM Forward Defect Indication (FDI) packet is used by the upstream node of the LSP to advertise the defect information to the egress node of the LSP.
4. OAM反向缺陷指示( BDI, Backward Defect Indication )报文 OAM BDI报文用于 LSP的出节点在发现 LSP缺陷后,将缺陷信息通 过反向通道告知 LSP的入节点。  4. OAM Backward Defect Indication (BDI) packet The OAM BDI packet is used by the outbound node of the LSP to notify the ingress of the LSP through the reverse channel after discovering the LSP defect.
参见图 1, MPLS OAM基本检测功能主要是连通性检测的交互过程 具体可以描述为:  Referring to Figure 1, the basic detection function of MPLS OAM is mainly the interaction process of connectivity detection. It can be described as follows:
MPLS OAM针对单条 LSP的连通性检测, 在源端发送 CV FFD检测 报文, 报文通过被检测 LSP发送到宿端, 宿端判断接收到的检测报文中 携带的类型、频率、 LSP的路径源端标识(TTSI, Trail Termination Source Identifier )信息的正误, 并计算检测周期内收到正确与错误报文的数量, 从而对 LSP的联通性进行随时监控, 并在 LSP出现缺陷时, 快速检测到 缺陷, 并分析出缺陷类型。  MPLS OAM detects the connectivity of a single LSP. The device sends a CV FFD packet to the source. The packet is sent to the sink through the detected LSP. The sink determines the type, frequency, and path of the LSP. The TTSI (Terminal Termination Source Identifier) information is correct, and the number of correct and incorrect packets received during the detection period is calculated, so that the connectivity of the LSP is monitored at any time, and when the LSP is defective, it is quickly detected. Defects and analyze the type of defect.
同时, 在配置检测 LSP的 OAM功能时, 为其绑定一个反向通道 (反
Figure imgf000005_0001
LSP的 源宿端的非 MPLS路径), 当宿端检测到缺陷后, 通过反向通道将携带缺 陷信息的 BDI报文发送给源端, 从而使源端及时获知缺陷状态, 并在正 确配置了保护组时, 触发相应倒换。 需要指出的是, 承载 BDI的反向通 道, 可能是以下三种类型:
At the same time, when configuring the OAM function of the LSP, bind it to a reverse channel.
Figure imgf000005_0001
The non-MPLS path of the LSP is sent to the source through the reverse channel. The BDI packet carrying the defect information is sent to the source through the reverse channel. The source device knows the defect status in time and configures the protection correctly. When the group is triggered, the corresponding switching is triggered. It should be noted that the reverse channel carrying BDI may be of the following three types:
一条专用反向 LSP。 与正向 LSP相对应的唯一的反向 LSP, 这种 方法相对稳定, 但可能造成资源浪费。  A dedicated reverse LSP. The only reverse LSP corresponding to the forward LSP is relatively stable, but it may cause waste of resources.
一条共享反向 LSP。 多条正向 LSP共用一条反向 LSP, 所有 LSP 的返回 BDI报文均通过这一条反向 LSP, 这种方法减少了资源浪费, 但 当多条正向 LSP同时出现缺陷, 这条反向 LSP上可能会出现拥堵。  A shared reverse LSP. A number of forward LSPs share a reverse LSP. All the LSPs returning BDI packets pass through this reverse LSP. This method reduces resource waste. However, when multiple forward LSPs are simultaneously defective, this reverse LSP There may be congestion on it.
非 MPLS返回路径。 这种方法可能会带来安全隐患, 比如, 恶意 的用户可能会制造一条 BDI报文发给被检测 LSP的源端, 造成不必要的 中断。 为了避免这种隐患, 应该为 BDI报文配置额外的安全确认信息。 例如为 OAM配置 TTSI,这样 BDI报文中就可以携带被检测 LSP的 TTSI 信息, 以方便验证该条 BDI报文的合法性。 Non-MPLS return path. This method may pose a security risk. For example, a malicious user may create a BDI packet to be sent to the source of the detected LSP, causing unnecessary Interrupted. To avoid this hazard, additional security confirmations should be configured for BDI messages. For example, the TTSI is configured for the OAM, so that the TTSI information of the detected LSP can be carried in the BDI packet, so as to verify the validity of the BDI packet.
从上面的分析可以看出, MPLS OAM的故障信息需要采用显示的方 式进行通告。 对于采用 BDI方式进行故障通告, 前提是 BDI消息的路径 是通畅的。 如果因为 BDI的路径故障导致 BDI消息无法抵达源端, 则整 个故障检测机制失效。 对于 BDI路径共享的情况, 如果共享路径出现故 障, 将导致所有前向 LSP的故障检测失效, 这种情况后果更加严重。  As can be seen from the above analysis, the fault information of the MPLS OAM needs to be advertised in the manner shown. For BDA notification, the premise is that the path of the BDI message is unobstructed. If the BDI message cannot reach the source due to the path failure of the BDI, the entire fault detection mechanism fails. In the case of BDI path sharing, if the shared path fails, the fault detection of all forward LSPs will be invalidated. This situation is more serious.
因此有必要提供一种检测 BDI通路是否通畅的机制。 现有技术采用 为 BDI路径单独配置故障检测功能的方法。 例如: 如果 BDI 消息是通过 IP路径转发,则对 BDI路径采用检测普通 IP路径是否正常的方法进行检 测; 如果 BDI 消息是通过 MPLS LSP进行传输, 那么就需要对这个 LSP 进行检测, 此时使用的方法就是普通的 MPLS OAM检测。  Therefore, it is necessary to provide a mechanism for detecting whether the BDI path is unobstructed. The prior art employs a method of separately configuring the fault detection function for the BDI path. For example: If the BDI message is forwarded through the IP path, the BDI path is detected by detecting whether the normal IP path is normal. If the BDI message is transmitted through the MPLS LSP, the LSP needs to be detected. The method is ordinary MPLS OAM detection.
采用上述现有技术方案, 会增加配置工作量, 部署麻烦, 需要将 BDI 故障检测和 LSP或 IP的故障检测绑定起来。 发明内容  With the above prior art solution, the configuration workload is increased, the deployment is troublesome, and the BDI fault detection and the fault detection of the LSP or the IP need to be bound. Summary of the invention
本发明实施例提供一种反向缺陷指示 BDI路径状态检测的方法及装 置。  Embodiments of the present invention provide a method and apparatus for detecting a BDI path state by a reverse defect.
本发明实施例提供一种反向缺陷指示路径状态检测方法,所述方法包 括:  Embodiments of the present invention provide a reverse defect indication path state detection method, where the method includes:
发送端定时在反向缺陷指示路径上向接收端发送连通性检测报文; 所述接收端接收所述连通性检测报文, 当所述接收端的定时时长到达时, 所述接收端未收到所述连通性检测报文 ,则判断反向缺陷指示路径出现故 障。  The transmitting end periodically sends a connectivity detection packet to the receiving end on the reverse defect indication path; the receiving end receives the connectivity detection packet, and when the timing of the receiving end arrives, the receiving end does not receive the packet. The connectivity detection packet determines that the reverse defect indication path is faulty.
本发明实施例提供一种路径状态检测装置,该装置包括检测报文发送 模块,  The embodiment of the invention provides a path state detecting device, which comprises a detecting message sending module.
所述检测报文发送模块,用于在反向缺陷指示路径上定时向相应的接 收端发送连通性检测拫文。  The detection packet sending module is configured to periodically send a connectivity detection message to the corresponding receiving end on the reverse defect indication path.
更适宜地,所述发送模块包括定时器模块和反向缺陷指示路径连通性 检测发送子模块; Preferably, the transmitting module includes a timer module and reverse defect indication path connectivity Detecting a transmitting submodule;
所述定时器模块用于对所述反向缺陷指示路径设定定时时长; 所述反向缺陷指示路径连通性检测发送子模块,用于当所述反向缺陷 指示路径的定时时长到达时,生成连通性检测^ =艮文,并通过相应的反向缺 陷指示路径发送所述连通性检测报文。  The timer module is configured to set a timing duration for the reverse defect indication path, and the reverse defect indication path connectivity detection sending submodule is configured to: when the timing duration of the reverse defect indication path arrives, A connectivity detection is generated, and the connectivity detection packet is sent through a corresponding reverse defect indication path.
更适宜地, 该装置还包括检测报文接收模块,  Preferably, the device further comprises a detection message receiving module,
所述检测报文接收模块,用于接收所述连通性检测报文,如果所述接 收端预定的定时时长到达时,未收到所述连通性检测 4艮文,则确定所述反 向缺陷指示路径出现故障。  The detection packet receiving module is configured to receive the connectivity detection packet, and if the predetermined timing duration of the receiving end arrives, the connectivity detection is not received, and the reverse defect is determined. Indicates that the path has failed.
本发明实施例提供的另一种路径状态检测装置,包括检测报文接收模 块;  Another path state detecting apparatus provided by the embodiment of the present invention includes: detecting a message receiving module;
所述检测报文接收模块,用于接收所述连通性检测报文,如果所述接 收端的定时时长到达时,所述接收端未收到所述连通性检测报文,则确定 所述反向缺陷指示路径出现故障。  The detection packet receiving module is configured to receive the connectivity detection packet, and if the receiving terminal does not receive the connectivity detection packet when the timing of the receiving end arrives, determine the reverse The defect indicates that the path has failed.
更适宜地,所述检测报文接收模块包括滑动定时器模块和反向缺陷指 示路径连通性检测接收子模块;  Preferably, the detection message receiving module comprises a sliding timer module and a reverse defect indicating path connectivity detecting receiving submodule;
所述滑动定时器模块, 用于针对所述反向缺陷指示路径设定定时时 长, 所述接收端的定时时长大于相应发送端的定时时长;  The sliding timer module is configured to set a timing duration for the reverse defect indication path, where a timing duration of the receiving end is greater than a timing duration of the corresponding sending end;
所述反向缺陷指示路径连通性检测接收子模块,用于接收所述连通性 测 Jl。  The reverse defect indication path connectivity detection receiving submodule is configured to receive the connectivity test J1.
从上述本发明的技术方案中可以看出,在进行反向缺陷指示 BDI时, 扩展 MPLS OAM故障检测的消息流程,在 BDI的路径上定时发送路径探 测报文, 接收端根据在一定时间间隔内所接收到的探测报文数量, 判断 BDI路径是否出现故障, 不需要对 BDI路径单独配置故障检测机制, 而 是直接使用 MPLS OAM的机制自动实现 BDI路径连通性的检测。 因此, 大大减少测试人员的工作量, 可简化测试程序, 提高可靠性、 效率。 附图说明  It can be seen from the above technical solution of the present invention that when the reverse defect indication BDI is performed, the message flow of the MPLS OAM fault detection is extended, and the path detection packet is periodically sent on the path of the BDI, and the receiving end is based on a certain time interval. The number of received probe packets determines whether the BDI path is faulty. It is not necessary to separately configure the fault detection mechanism for the BDI path. Instead, the MPLS OAM mechanism is used to automatically detect the BDI path connectivity. Therefore, the workload of the tester is greatly reduced, the test procedure can be simplified, and the reliability and efficiency can be improved. DRAWINGS
图 1所示为 MPLS OAM基本检测交互过程图;  Figure 1 shows the basic process of MPLS OAM interaction detection;
图 2所示为本发明实施例中检测路径状态的装置图; 图 3 所示为本发明实施例中利用反向缺陷指示路径检测报文发送的 流程图; 2 is a device diagram of detecting a path state in an embodiment of the present invention; FIG. 3 is a flowchart of sending a reverse fault indication path detection message according to an embodiment of the present invention;
图 4所示为本发明实施例中利用反向缺陷指示路径检测报文接收的 流程图。 具体实施方式  FIG. 4 is a flowchart of receiving a message by using a reverse defect indication path in the embodiment of the present invention. detailed description
下面将参照附图和实施例对本发明进行进一步说明,但并不作为对本 发明的限定。  The invention is further illustrated by the following figures and examples, but not by way of limitation.
本发明实施例中扩展了 MPLS OAM故障检测的消息流程, 在 BDI 的路径上定时发送路径探测报文,接收端在一定时间间隔内没有接收到指 定数量的探测报文, 则认为 BDI路径出现故障。  In the embodiment of the present invention, the message flow of the MPLS OAM fault detection is extended, and the path detection packet is periodically sent on the path of the BDI. If the receiving end does not receive the specified number of detection packets within a certain time interval, the BDI path is considered to be faulty. .
本发明实施例中所提供的反向缺陷指示路径状态检测方法的具体步 骤如下:  The specific steps of the reverse defect indication path state detection method provided in the embodiment of the present invention are as follows:
参见如图 2, 所示是一种反向缺陷指示路径状态检测装置, 所述装置 包括: 检测报文发送模块或 /和检测报文接收模块;  Referring to FIG. 2, a reverse defect indication path state detecting device is provided. The device includes: a detecting message sending module or/and a detecting message receiving module;
所述检测报文发送模块,用于反向缺陷指示路径的发送端定时在反向 缺陷指示路径上向反向缺陷指示路径的接收端发送连通性检测报文; 所述检测报文接收模块, 用于所述接收端接收所述连通性检测报文, 如果当所述接收端的定时时长到达时,所述接收端仍然没有收到所述连通 性检测报文, 则认为反向缺陷指示路径出现故障。  The detecting message sending module is configured to send, by the sending end of the reverse defect indicating path, a connectivity detecting message to the receiving end of the reverse defect indicating path on the reverse defect indicating path; the detecting message receiving module, The receiving end receives the connectivity detection packet, and if the receiving end still does not receive the connectivity detection packet when the timing of the receiving end arrives, the reverse defect indication path is considered to appear. malfunction.
所述检测报文发送模块包括反向缺陷指示( BDI )处理模块和定时器 模块,所述 BDI处理模块中设有反向缺陷指示路径连通性检测( BDI CV, BDI Connectivity Verification )发送子模块;  The detection message sending module includes a reverse defect indication (BDI) processing module and a timer module, and the BDI processing module has a BDI CV (BDI Connectivity Verification) transmission sub-module;
所述定时器模块用于对反向缺陷指示路径设定一个定时时长; 所述反向缺陷指示路径连通性检测发送子模块,用于当所述反向缺陷 指示路径的定时时长到达时,生成一个连通性检测报文,并通过该定时时 长相应的反向缺陷指示路径发出所述连通性检测报文。  The timer module is configured to set a timing duration for the reverse defect indication path, and the reverse defect indication path connectivity detection sending submodule is configured to generate when the timing duration of the reverse defect indication path arrives A connectivity detection packet is sent, and the connectivity detection packet is sent by the reverse defect indication path corresponding to the timing duration.
所述检测报文接收模块包括滑动定时器模块和反向缺陷指示路径连 通性检测 BDI CV接收子模块;  The detection message receiving module includes a sliding timer module and a reverse defect indication path connectivity detection BDI CV receiving submodule;
所述滑动定时器模块, 用于针对反向缺陷指示路径设定一个定时时 长, 所述接收端的定时时长大于所述发送端相应的定时时长; 所述反向缺陷指示路径连通性检测接收子模块,用于接收所述连通性 检测艮文。 The sliding timer module is configured to set a timing time for the reverse defect indication path The timing of the receiving end is greater than the corresponding timing of the sending end; the reverse defect indicating path connectivity detecting and receiving submodule is configured to receive the connectivity detecting message.
参见如图 3 ,本发明实施例中反向缺陷指示路径检测报文发送端流程 包括如下步骤:  Referring to FIG. 3, the process of sending a reverse defect indication path detection packet in the embodiment of the present invention includes the following steps:
步骤 101 : 在发送端给反向缺陷指示路径设定定时时长, 定时器模块 存放了所有使能了 BDI路径检测的 LSP的定时信息, 可针对不同 LSP对应 的 BDI检测路径设定不同的定时时长。 由于 BDI路径的连通性检查属于非 实时紧迫的检测, 因此定时的时长可以比较长。  Step 101: Set a timing duration for the reverse defect indication path at the sending end, and the timer module stores timing information of all LSPs that have enabled BDI path detection, and can set different timing durations for BDI detection paths corresponding to different LSPs. . Since the connectivity check of the BDI path is a non-real-time tight detection, the duration of the timing can be relatively long.
步驟 102: 当所述定时时长到达, 生成一个连通性检测报文。 当某个 Step 102: When the timing duration arrives, a connectivity detection message is generated. When some
LSP 的定时时间到达的时候生成定时器中断消息, 所述消息中包含了该 LSP的信息,反向缺陷指示路径连通性检测 BDI CV发送子模块收到中断 消息后,提取所述 LSP的信息,构造反向缺陷指示路径连通性检测 BDI CV 检测报文。 When the timing of the LSP arrives, a timer interrupt message is generated, and the message includes the information of the LSP. The reverse defect indicates the path connectivity detection. After receiving the interrupt message, the BDI CV sending sub-module extracts the information of the LSP. Construct reverse defect indication path connectivity detection BDI CV detection message.
所述 BDI CV检测报文可以采用两种方式:  The BDI CV detection packet can be used in two ways:
1.定义新的消息类型  1. Define a new message type
定义一种新的消息类型, 称为 BDI-CV, 消息格式如下所示:  Define a new message type called BDI-CV with the message format as follows:
Figure imgf000009_0001
Figure imgf000009_0001
Function type:报文类型, 0x05代表反向缺陷指示路径连通性检测 BDI CV报文  Function type: packet type, 0x05 represents reverse defect indication path connectivity detection BDI CV message
Reserved: 预留字段  Reserved: Reserved field
type: 动作类型, 可以指示两种动作, 分别是 BDI-CV检测和 BDI-CV 停止检测  Type: Action type, can indicate two actions, namely BDI-CV detection and BDI-CV stop detection
TTSI: LSP标识, 如不需要使用 TTSI, 该字段填充为 0x00  TTSI: LSP ID, if TTSI is not required, this field is padded with 0x00
Padding: 填充字段 BIP16: 报文校验和 Padding: padding field BIP16: Message checksum
2.扩展 BDI消息  2. Extend BDI messages
在 BDI消息中增加 BDI连通性检测的信息, 消息格式如下所示:  Add BDI connectivity detection information to the BDI message. The message format is as follows:
Figure imgf000010_0001
Figure imgf000010_0001
其中 type字段表示动作类型, 有效取值为 0x01 , 表示 BDI CV检测报 文。 如果 type的值为 0, 则表示是普通的 BDI故障通告报文。  The type field indicates the action type, and the valid value is 0x01, which indicates the BDI CV detection message. If the value of type is 0, it means that it is a normal BDI failure notification message.
步骤 103:通过该定时时长相应的反向缺陷指示路径发出所述连通性 检测报文 BDI CV。  Step 103: The connectivity detection message BDI CV is sent by the reverse defect indication path corresponding to the timing duration.
参见如图 4 , 反向缺陷指示路径检测报文接收端流程图所示: 步骤 201: 在接收端给每一条反向缺陷指示路径设定定时时长, 并且 定时时长大于相应所述发送端的定时时长, 该时长可以为 3倍的 艮文 发送周期;  Referring to FIG. 4, the flow chart of the reverse defect indication path detection message receiving end is shown in the following steps: Step 201: Set a timing duration for each reverse defect indication path at the receiving end, and the timing duration is greater than the timing duration of the corresponding sending end. , the duration can be 3 times the transmission period of the text;
步骤 202: 启动滑动定时器,对所述 BDI CV检测报文是否接收到进行 判断。在反向缺陷指示路径的接收端采用滑动窗口的方式进行反向缺陷报 文的检测;  Step 202: Start a sliding timer to determine whether the BDI CV detection message is received. The detection of the reverse defect message is performed by using a sliding window at the receiving end of the reverse defect indication path;
步骤 203: 如果在接收端指定定时时长内收到缺陷检测报文, 滑动定 时器复位;  Step 203: If the defect detection message is received within the specified timing of the receiving end, the sliding timer is reset.
步骤 204: 当定时器的定时值到达时, 所述 BDI CV接收子模块仍未收 到连通性检测报文, 则认为该反向缺陷指示路径出现故障。  Step 204: When the timing value of the timer arrives, the BDI CV receiving submodule still does not receive the connectivity detection packet, and the reverse defect indication path is considered to be faulty.
以上通过示例的方式对发明的实施方案进行了详细描述,但是本领域 的普通技术人员应该认识到在不背离本发明的精神和范围下,可以对本发 明作出各种修改和等同替换。  The embodiments of the invention have been described in detail by way of example only, and those of ordinary skill in the art in

Claims

权 利 要 求 Rights request
1、 一种反向缺陷指示路径状态检测方法, 其特征在于, 所述方法包 括: A reverse defect indication path state detection method, characterized in that the method comprises:
发送端定时在反向缺陷指示路径上向接收端发送连通性检测报文; 所述接收端接收所述连通性检测报文,当所述接收端的定时时长到达 时,所述接收端未收到所述连通性检测报文,则判断反向缺陷指示路径出 现故障。  The transmitting end periodically sends a connectivity detection packet to the receiving end on the reverse defect indication path; the receiving end receives the connectivity detection packet, and when the timing of the receiving end arrives, the receiving end does not receive the packet. The connectivity detection packet determines that the reverse defect indication path is faulty.
2、 如权利要求 1所述的方法, 其特征在于, 所述发送连通性检测报 文, 具体包括:  The method according to claim 1, wherein the sending the connectivity detection packet specifically includes:
在所述发送端为所述反向缺陷指示路径设置预定的定时时长,当所述 定时时长到达时,生成所述连通性检测报文,并通过所述反向缺陷指示路 径发出所述连通性检测报文。  Setting a predetermined timing duration for the reverse defect indication path at the sending end, and when the timing duration arrives, generating the connectivity detection packet, and sending the connectivity through the reverse defect indication path Detect the message.
3、 如权利要求 1所述的方法, 其特征在于, 还包括: 在所述接收端 接收所述连通性检测 ·^艮文之前,  3. The method according to claim 1, further comprising: before the receiving end receives the connectivity detection,
在所述接收端为所述反向缺陷指示路径设定定时时长,所述接收端的 定时时长大于所述发送端相应的定时时长。  And setting, at the receiving end, a timing duration for the reverse defect indication path, where a timing duration of the receiving end is greater than a corresponding timing duration of the transmitting end.
4、 如权利要求 1至 3任一所述的方法, 其特征在于, 所述连通性检 测报文为自定义的 ^=艮文。  The method according to any one of claims 1 to 3, wherein the connectivity detection message is a custom ^=艮文.
5、 如权利要求 1至 3中任一所述的方法, 其特征在于, 所述连通性 检测报文为扩展反向缺陷指示消息。  The method according to any one of claims 1 to 3, wherein the connectivity detection message is an extended reverse defect indication message.
6、 一种路径状态检测装置, 其特征在于, 该装置包括检测报文发送 模块,  A path state detecting device, characterized in that the device comprises a detecting message sending module,
所述检测报文发送模块,用于在反向缺陷指示路径上定时向相^的接 收端发送连通性检测报文。  The detection packet sending module is configured to periodically send a connectivity detection packet to the receiving end of the phase on the reverse defect indication path.
7、 如权利要求 6所述的检测装置, 其特征在于, 所述发送模块包括 定时器模块和反向缺陷指示路径连通性检测发送子模块;  The detecting device according to claim 6, wherein the sending module comprises a timer module and a reverse defect indicating path connectivity detecting and transmitting submodule;
所述定时器模块用于对所述反向缺陷指示路径设定定时时长; 所述反向缺陷指示路径连通性检测发送子模块,用于当所述反向缺陷 指示路径的定时时长到达时,生成连通性检测报文,并通过相应的反向缺 陷指示路径发送所述连通性检测报文。 The timer module is configured to set a timing duration for the reverse defect indication path, and the reverse defect indication path connectivity detection sending submodule is configured to: when the timing duration of the reverse defect indication path arrives, Generate connectivity detection packets and pass the corresponding reverse The trap indication path sends the connectivity detection message.
8、 如权利要求 6或 7所述的检测装置, 其特征在于, 还包括检测报 文接收模块;  The detecting device according to claim 6 or 7, further comprising a detecting message receiving module;
所述检测报文接收模块,用于接收所述连通性检测报文,如果所述接 收端预定的定时时长到达时,未收到所述连通性检测 4艮文,则确定所述反 向缺陷指示路径出现故障。  The detection packet receiving module is configured to receive the connectivity detection packet, and if the predetermined timing duration of the receiving end arrives, the connectivity detection is not received, and the reverse defect is determined. Indicates that the path has failed.
 •
9、 一种路径状态检测装置, 其特征在于, 所述装置包括检测报文接 收模块; A path state detecting device, wherein the device comprises a detecting message receiving module;
所述检测报文接收模块,用于接收所述连通性检测报文,如果所述接 收端的定时时长到达时,所述接收端未收到所述连通性检测报文,则确定 所述反向缺陷指示路径出现故障。  The detection packet receiving module is configured to receive the connectivity detection packet, and if the receiving terminal does not receive the connectivity detection packet when the timing of the receiving end arrives, determine the reverse The defect indicates that the path has failed.
10、如权利要求 9所述的检测装置, 其特征在于, 所述检测报文接收 模块包括滑动定时器模块和反向缺陷指示路径连通性检测接收子模块; 所述滑动定时器模块, 用于针对所述反向缺陷指示路径设定定时时 长, 所述接收端的定时时长大于相应发送端的定时时长;  The detecting device according to claim 9, wherein the detecting message receiving module comprises a sliding timer module and a reverse defect indicating path connectivity detecting receiving submodule; Setting a timing duration for the reverse defect indication path, where a timing duration of the receiving end is greater than a timing duration of the corresponding transmitting end;
所述反向缺陷指示路径连通性检测接收子模块,用于接收所述连通性 检测报文。  The reverse defect indication path connectivity detection receiving submodule is configured to receive the connectivity detection packet.
PCT/CN2007/001243 2006-04-18 2007-04-16 Method and apparatus for detecting backward defect indication path condition WO2007118429A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200610075642.3 2006-04-18
CNA2006100756423A CN1852183A (en) 2006-04-18 2006-04-18 Method and apparatus for detecting counter defect indication-path condition

Publications (1)

Publication Number Publication Date
WO2007118429A1 true WO2007118429A1 (en) 2007-10-25

Family

ID=37133653

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/001243 WO2007118429A1 (en) 2006-04-18 2007-04-16 Method and apparatus for detecting backward defect indication path condition

Country Status (2)

Country Link
CN (1) CN1852183A (en)
WO (1) WO2007118429A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262686A (en) * 2014-07-18 2016-01-20 中兴通讯股份有限公司 Network connectivity verification method and device

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330442B (en) * 2007-06-20 2010-12-08 中兴通讯股份有限公司 Method for transferring defect indication information based on sharing reverse path
CN101197731B (en) * 2007-12-12 2012-02-01 华为技术有限公司 Path fault detection method, system and device
CN104780095A (en) * 2015-04-30 2015-07-15 杭州华三通信技术有限公司 Path detection method and device in SDN
CN110650062A (en) * 2018-06-26 2020-01-03 中国电信股份有限公司 Link performance detection method, system, device and computer readable storage medium
CN113489626B (en) * 2021-09-06 2021-12-28 网络通信与安全紫金山实验室 Method and device for detecting and notifying path fault

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1320219A2 (en) * 2001-12-17 2003-06-18 Alcatel Canada Inc. System and method for transmission of operations, administration and maintenance packets between ATM and switching networks upon failures
EP1324568A2 (en) * 2001-12-17 2003-07-02 Alcatel Canada Inc. System and method for detecting failures and re-routing connections in a communication network
US20040133368A1 (en) * 2002-10-24 2004-07-08 Tellabs Oy Method, system, and network entity for detecting a connection fault

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1320219A2 (en) * 2001-12-17 2003-06-18 Alcatel Canada Inc. System and method for transmission of operations, administration and maintenance packets between ATM and switching networks upon failures
EP1324568A2 (en) * 2001-12-17 2003-07-02 Alcatel Canada Inc. System and method for detecting failures and re-routing connections in a communication network
US20040133368A1 (en) * 2002-10-24 2004-07-08 Tellabs Oy Method, system, and network entity for detecting a connection fault

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262686A (en) * 2014-07-18 2016-01-20 中兴通讯股份有限公司 Network connectivity verification method and device
CN105262686B (en) * 2014-07-18 2020-04-24 中兴通讯股份有限公司 Network connectivity verification method and device

Also Published As

Publication number Publication date
CN1852183A (en) 2006-10-25

Similar Documents

Publication Publication Date Title
Busi et al. Operations, administration, and maintenance framework for MPLS-based transport networks
US8879384B2 (en) Fast upstream source failure detection
EP2395702B1 (en) Method and device for processing fault
US7895425B2 (en) Operation, administration and maintenance (OAM) in a service insertion architecture (SIA)
US8521896B2 (en) Method and system for negotiating the bidirectional forwarding detection session discriminator of pseudo wire
US8953456B2 (en) Ethernet OAM performance management
US7995483B1 (en) Simultaneously testing connectivity to multiple remote maintenance endpoints of the same maintenance association
US20050099954A1 (en) Ethernet OAM network topography discovery
US20050099949A1 (en) Ethernet OAM domains and ethernet OAM frame format
US20050099951A1 (en) Ethernet OAM fault detection and verification
EP2852098B1 (en) Method, node and system for detecting performance of layer three virtual private network
WO2007056929A1 (en) A method and apparatus for implementing the groups protection in mpls network
WO2013097459A1 (en) Service path detection method and device
WO2007118429A1 (en) Method and apparatus for detecting backward defect indication path condition
WO2007045156A1 (en) Method and system for controlling the continuity check of the ethernat links and the maintenance terminal thereof
EP2916489B1 (en) Oam packet processing method, device and system
WO2012155817A1 (en) Loopback testing method, device and system
WO2007082429A1 (en) Methods and devices for judging pw connection state and notifying ac connection state
WO2011015011A1 (en) Method and system for ring network fault detection and locating
US20140086040A1 (en) Network system, transmission device, and fault information delivery method
WO2011144158A1 (en) Method and system for independently implementing fault location by intermediate node
TW200901677A (en) Data driven connection fault management (DDCFM) in CFM maintenance points
WO2015120720A1 (en) Signal degradation failure processing method and system
EP2129042B1 (en) A multicast network system, node and a method for detecting a fault of a multicast network link
WO2014146541A1 (en) Cdn and network convergence system, scheduling module selection method and computer storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1