WO2015109734A1 - Pseudo wire protection method, device and node - Google Patents

Pseudo wire protection method, device and node Download PDF

Info

Publication number
WO2015109734A1
WO2015109734A1 PCT/CN2014/079784 CN2014079784W WO2015109734A1 WO 2015109734 A1 WO2015109734 A1 WO 2015109734A1 CN 2014079784 W CN2014079784 W CN 2014079784W WO 2015109734 A1 WO2015109734 A1 WO 2015109734A1
Authority
WO
WIPO (PCT)
Prior art keywords
pseudowire
path
node
main
head node
Prior art date
Application number
PCT/CN2014/079784
Other languages
French (fr)
Chinese (zh)
Inventor
李旭
何忠勇
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015109734A1 publication Critical patent/WO2015109734A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/68Pseudowire emulation, e.g. IETF WG PWE3
    • 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

Definitions

  • a Pseudo Wire (PW) protection supports PW hierarchical protection of homologous different sinks or homologous and homogeneous sinks, based on work and protection of PW.
  • Status detection to initiate a switching action. In the current mode, the status of the PW is detected based on the Operation Administration and Maintenance (OAM) or the Bidirectional Forwarding Detection (BFD).
  • OAM Operation Administration and Maintenance
  • BFD Bidirectional Forwarding Detection
  • the main technical problem to be solved by the embodiments of the present invention is to provide a pseudowire protection method, device, and node, which solves the problem that the existing pseudowire switching protection mechanism has a long detection time and needs to occupy additional resources of the system.
  • the embodiment of the present invention provides a pseudowire protection method, including: monitoring a pseudowire packet receiving condition of a head node on a main pseudowire path, where the main pseudowire path is a current working pseudowire path According to the monitoring result, it is judged whether the active/standby switching operation of the pseudowire is performed.
  • determining whether to perform the active/standby switching operation of the pseudowire according to the monitoring result includes: when the monitoring result is that the head node does not receive the pseudowire packet within the preset time threshold, Perform an active/standby switchover of the pseudowire.
  • determining whether to perform the active/standby switching operation of the pseudowire according to the monitoring result includes: When the monitoring result is that the head node receives a pseudowire packet within a preset time threshold, and determines, according to the pseudowire packet, the tail node access side on the main pseudowire path and/or from the header When the pseudowire path of the node to the tail node is faulty, the active/standby switchover operation of the pseudowire is performed.
  • the tail line access side on the main pseudowire path and the pseudo line from the head node to the tail node are determined according to the control word in the pseudowire message. Whether the path is faulty.
  • the tail node access side on the main pseudowire path and the direction from the head node to the tail node are respectively determined according to L and R bit values of the control word.
  • the present invention further provides a pseudowire protection device, including a detection module and a pseudowire protection switching module: the detection module is configured to monitor a pseudowire message reception condition of a head node on a main pseudowire path, The main pseudowire path is a current working pseudowire path.
  • the pseudowire protection switching module is configured to determine whether to perform an active/standby switching operation of the pseudowire according to the monitoring result of the detection module.
  • the detecting module includes a pseudowire packet detecting submodule; the pseudowire packet detecting submodule is configured to detect whether the head node receives a pseudowire within a preset time threshold.
  • the pseudowire protection switching module includes the determining submodule and the switching execution submodule, and the determining When the sub-module determines that the monitoring result is that the head node does not receive the pseudo-line message within the preset time threshold, the sub-module notifies the switching execution sub-module to perform the active/standby switching operation of the pseudo line.
  • the detecting module includes a fault detecting submodule, and the fault detecting submodule is configured to: when the head node receives a pseudowire packet within a preset time threshold, according to the pseudo Line message judges the Whether the tail node access side on the main pseudowire path and/or the pseudowire path from the head node to the tail node direction is faulty, and a judgment result is obtained;
  • the pseudowire protection switching module includes a judgment submodule and a switching execution a submodule, the determining submodule notifying when the judgment result is that the tail node access side on the main pseudowire path and/or the pseudowire path from the head node to the tail node is faulty
  • the switching execution submodule performs an active/standby switching operation of the pseudowire.
  • the fault detection sub-module includes a control word value acquisition unit and a determination unit, and the control word value acquisition unit is configured to acquire a control word in the pseudo-line message;
  • the unit is configured to determine, according to the control word acquired by the control word value acquiring unit, whether the pseudowire path in the direction of the tail node access side on the main pseudowire path and from the head node to the tail node is faulty.
  • an embodiment of the present invention further provides a node, where the node is a head node, and includes a memory and a processor, where the memory is used to store at least a program module, and the processor is configured to use according to at least one program module.
  • the following steps are performed: monitoring the receiving of the pseudowire packet on the main pseudowire path of the node, where the main pseudowire path is the current working pseudowire path; determining whether to perform the active/standby switching operation of the pseudowire according to the monitoring result.
  • the beneficial effects of the embodiments of the present invention are: the pseudowire protection method, device and node provided by the embodiment of the present invention directly monitor the receiving condition of the pseudowire packet on the main pseudowire path of the head node, and the main pseudowire path is the current work.
  • the pseudowire path is directly determined based on the monitoring result to determine whether the active/standby switching operation of the pseudowire is required. It is not necessary to perform state detection of the pseudowire based on OAM or BFD.
  • FIG. 1 is a schematic diagram of a format of a non-structured simulation mode control word provided in Embodiment 1 of the present invention
  • FIG. 2 is a schematic diagram of a format of a structured simulation mode control word provided in Embodiment 1 of the present invention
  • a schematic diagram of a pseudo-line protection method provided in Example 1 4 is a schematic diagram of a pseudowire protection device provided in Embodiment 2 of the present invention
  • FIG. 5 is a schematic structural diagram 1 of the detection module in FIG. 4
  • FIG. 6 is a schematic structural diagram of a pseudowire protection switching module in FIG. FIG.
  • FIG. 8 is a schematic diagram of a failure of a tail node access side according to Embodiment 3 of the present invention
  • FIG. 9 is a schematic diagram of a tail node failure according to Embodiment 3 of the present invention
  • FIG. 11 is a schematic diagram of a fault in the direction of the head node to the tail node of the network according to the third embodiment of the present invention
  • FIG. 12 is a schematic diagram of the network in the direction of the head node to the tail node of the network according to Embodiment 3 of the present invention
  • FIG. 13 is a schematic diagram of the fault in the direction of the tail node to the head node in the network according to the third embodiment of the present invention
  • Embodiment 14 is a schematic diagram of the internal fault in the network according to the third embodiment of the present invention.
  • 15 is another schematic diagram of a dual-directional internal fault in the network provided by Embodiment 3 of the present invention.
  • IETF RFC4553 and IETF RFC5086 respectively define a method of encapsulating unstructured and structured time division multiplexed signals into a packet switched network of pseudowires; and the definition of each bit of the control word is defined in detail in the specification.
  • Figure 1 shows the unstructured simulation mode control word format
  • Figure 2 shows the structured simulation mode control word format.
  • IETF RFC4553 and IETF RFC5086 stipulate that when the access side of the service path tail node fails, the current service path tail node sets the pseudowire message payload to all 1 when performing pseudowire encapsulation, and the control word is inside The L-bit position is 1 after the transmission head node; when the pseudo-line path in the direction from the head node to the tail node fails, IETF RFC4553 and IETF RFC5086 specify that the R-bit position of the control word is 1 after the current service path tail node performs the pseudo-line encapsulation. Sent to the head node.
  • the head node may at least know the current status of the pseudowire path in the direction from the tail node or the head node to the tail node. Therefore, in this embodiment, it is possible to directly use the tail node to send a pseudowire message to the head node to determine whether to perform the pseudowire main backup.
  • the protection operation is replaced, and the state detection of the pseudowire is not required based on OAM or BFD, so the detection time required for the switching protection mechanism can be reduced, and the system resources are not separately occupied. Further explanation will be given below in conjunction with a specific process. As shown in FIG.
  • the method for protecting the pseudowire according to the embodiment includes: Step 301: The pseudowire packet receiving condition of the head node on the main pseudowire path is monitored.
  • the main pseudowire path in this embodiment is the current working.
  • the pseudo-line path that is, the current service path;
  • Step 302 Determine whether the active/standby switching operation of the pseudowire needs to be performed according to the monitoring result; the step includes: when the monitoring result is that the head node does not receive the pseudo-line report within the preset time threshold In this case, the active/standby switching operation of the pseudowire is performed; otherwise, whether the active/standby switching operation of the pseudowire needs to be performed is determined according to the specific state of the relevant control word in the received pseudowire message.
  • the monitoring result is that the head node receives the pseudowire packet within the preset time threshold, and determines, according to the pseudowire packet, the tail node access side and/or the slave node to the tail node on the main pseudowire path.
  • the pseudowire path of the direction is faulty, the active/standby switchover operation of the pseudowire is performed.
  • the fault may be a fault of the tail node on the main pseudowire path, a pseudowire path fault from the tail node to the head node, Or a pseudowire path failure from the head node to the tail node and a pseudowire path failure from the tail node to the head node.
  • the pseudowire packet received by the head node determines that the tail node access side on the main pseudowire path and/or the pseudowire path in the direction from the head node to the tail node is faulty
  • the state of the control word in the text is judged; preferably, it is possible to determine whether the pseudowire path in the direction of the tail node access side and the slave node to the tail node on the main pseudowire path is faulty by the L and R bit values in the control word.
  • the other bits in the control word or the state of the corresponding bit may be selected as the corresponding judgment basis, and details are not described herein again.
  • the L and R bit values in the control word are used to determine whether the pseudowire path in the direction of the tail node access side and the slave node to the tail node on the main pseudowire path is faulty: Determining the received pseudowire message Whether the value of the L bit of the control word is the first preset value, and if so, determining that the tail node access side is faulty; IETF RFC4553 and IETF RFC5086 specify that the value of the L bit at this time is 1, so in this embodiment The first preset value is 1; determining whether the value of the R bit of the control word in the received pseudowire message is the second preset value, and if so, the shell 1J determines the pseudowire path fault from the head node to the tail node direction.
  • IETF RFC4553 and IETF RFC5086 stipulate that the value of the R bit at this time is also 1, so the second preset value in this embodiment is also 1. It should be understood that the first preset value and the second preset value in this embodiment are not only selectable 1. According to the related protocol and the update of the specification, the value may also be changed correspondingly. And the values of the two are not limited to being the same. It can be seen that the solution provided in this embodiment does not need to additionally use OAM or BFD to perform state detection of the PW, and only needs to use the receiving condition of the pseudowire message and the control word in the pseudowire message to determine whether the pseudowire master is to be performed. Backup protection operation.
  • Embodiment 2 This embodiment provides a pseudowire protection device.
  • the detection module and the pseudowire protection switching module are provided.
  • the detection module is configured to monitor the pseudowire of the head node on the main pseudowire path.
  • the main pseudowire path in this embodiment is the current working pseudowire path, that is, the current service path.
  • the pseudowire protection switching module is configured to determine whether to perform an active/standby switching operation of the pseudowire according to the monitoring result of the detection module.
  • the detection module in this embodiment includes a pseudo-line packet detection sub-module; the pseudo-line protection switching module includes a judging sub-module and a switching execution sub-module; The sub-module is configured to detect whether the head node receives the pseudo-line message within the preset time threshold. If no, the monitoring result is that the head node does not receive the pseudo-line message within the preset time threshold. The judging sub-module of the pseudo-line protection switching module notifies the switching execution sub-module to perform the active/standby switching operation of the pseudo-line when the monitoring result is that the head node does not receive the pseudo-line message within the preset time threshold.
  • the fault when the head node does not receive the pseudowire packet within the preset time threshold, the fault may be a fault of the tail node on the main pseudowire path, a pseudowire path fault from the tail node to the head node, Or a pseudowire path failure from the head node to the tail node and a pseudowire path failure from the tail node to the head node.
  • the detection module in this embodiment further includes a fault detection submodule.
  • the fault detection submodule is configured to detect that the head node receives the pseudowire packet within a preset time threshold after detecting the pseudowire packet detection submodule.
  • the judging sub-module of the pseudo-line protection switching module is further configured to notify the switching when determining that the judging result is a fault of the tail node access side and/or the slave node to the tail node in the direction of the tail node. The submodule performs the active/standby switchover operation of the pseudowire.
  • the fault detection sub-module in this embodiment includes a control word value acquisition unit and a determination unit, and the control word value acquisition unit is configured to acquire a control word in the received pseudowire message; the determination unit is configured to acquire according to the control word value acquisition unit.
  • the control word determines whether the tail node access side on the main pseudowire path and the pseudowire path from the head node to the tail node are faulty.
  • the preferred control word value acquisition unit may select whether the pseudowire path in the direction of the tail node access side and the slave node to the tail node on the main pseudowire path is faulty by the L and R bit values in the control word.
  • the other bits in the control word or the state of the corresponding bit may be selected as the corresponding judgment basis, and details are not described herein again.
  • the following is only to determine whether the pseudowire path in the direction of the tail node access side and the slave node to the tail node on the main pseudowire path is faulty by the L and R bit values in the control word:
  • the judging unit judges the control word value obtaining unit Whether the value of the acquired L bit is the first preset value, and if yes, determining that the tail node access side is faulty; IETF RFC4553 and IETF RFC5086 specify that the value of the L bit at this time is 1, so the first in this embodiment
  • a preset value may be set to 1; the determining unit determines whether the value of the R bit obtained by the control word value acquiring unit is the second preset value, and if so, determines a pseudowire path fault from the head node to the tail node direction.
  • IETF RFC4553 and IETF RFC5086 stipulate that the value of the R bit at this time is also 1, so the second preset value in this embodiment is also 1. It should be understood that the first preset value and the second preset value in this embodiment are not only selectable 1. According to the related protocol and the update of the specification, the value may also be changed correspondingly. And the values of the two are not limited to being the same.
  • Embodiment 3 The embodiment of the present invention further provides a node, where the node is a head node, and is specifically a dual homing node, which includes a memory and a processor, where the memory is used to store at least one program module, and the processor is configured to use at least one
  • the program module performs the following steps: monitoring the receiving condition of the pseudowire packet on the main pseudowire path, and the main pseudowire path is the current working pseudowire path; determining whether to perform the active/standby switching operation of the pseudowire according to the monitoring result, The steps include: performing an active/standby switching operation of the pseudowire when the monitoring result is that the head node does not receive the pseudowire packet within the preset time threshold; otherwise, according to the specific control word in the received pseudowire packet The status determines whether the active/standby switchover of the pseudowire is required.
  • the fault may be a fault of the tail node on the main pseudowire path, a pseudowire path fault from the tail node to the head node, Or a pseudowire path failure from the head node to the tail node and a pseudowire path failure from the tail node to the head node.
  • the pseudowire packet received by the head node determines that the tail node access side on the main pseudowire path and/or the pseudowire path in the direction from the head node to the tail node is faulty
  • the state of the control word in the text is judged; preferably, it is possible to determine whether the pseudowire path in the direction of the tail node access side and the slave node to the tail node on the main pseudowire path is faulty by the L and R bit values in the control word.
  • the other bits in the control word or the state of the corresponding bit may be selected as the corresponding judgment basis, and details are not described herein again.
  • Embodiment 4 The solution provided by the embodiment of the present invention is further described below in combination with several specific fault scenarios. Referring to Figure 8, the figure shows the fault of the tail node access side.
  • the specific operation process at this time includes:
  • the dual-homing node E1 detects the situation in which the current service path (that is, the main pseudo-line path) receives the pseudo-line message from the tail node; in Figure 8, the current service path tail node access side fails.
  • the current service path tail node E2 when the current service path tail node E2 performs the pseudowire packet encapsulation, the pseudowire message payload is set to all 1, and the Lbit in the control word is set to 1 and sent to the head node;
  • the dual-homing node E1 normally receives the pseudo-line message fed back by the tail node within a preset time threshold;
  • the dual-homing node E1 obtains the state of the corresponding control word from the received pseudo-line message, and determines whether to perform the active/standby switching according to the obtained control word status. In this case, the dual-homed node E1 obtains the Lbit of the control word from the pseudowire message received by it. The dual-homing node E1 considers that the current primary pseudowire path is unavailable according to the value of Lbit, and triggers a pseudowire switching operation. Please refer to FIG. 9 , which shows the fault of the tail node.
  • the specific operation process at this time includes: Bl: The dual-homed node El detects the situation in which the current service path (that is, the main pseudo-line path) receives the pseudo-line message from the tail node; in FIG. 9, the current service path tail node E2 fails, and cannot go to the dual-homing node. E1 sends a pseudo-line message, so in step B1, the dual-homing node NE1 does not receive the pseudo-line message fed back by the tail node within a preset time threshold;
  • B2 The dual-homing node E1 does not receive the pseudowire packet sent by the tail node E2 within the preset time. In this case, it is considered that the current main pseudowire path is unavailable, triggering the pseudowire switching operation.
  • FIG. 10 and FIG. 11 the figure shows a pseudo-line path fault from the head node to the tail node.
  • the specific operation process at this time includes: C1: The dual-homing node E1 detects the path of the current service (That is, the case where the pseudo-line message is received from the tail node on the main pseudo-line path; in FIG. 10 and FIG. 11, the internal dual-homing node E1 to the tail node E2 in the network are faulty.
  • the dual-homing node NE1 normally receives the pseudowire message fed back by the tail node within a preset time threshold
  • Dual-homed node E1 obtains the status of the corresponding control word from the received pseudo-line message, and judges whether to perform the active/standby switching according to the obtained control word status.
  • the dual-homed node E1 obtains the R bit of the control word from the pseudowire message received by it.
  • the dual-homing node E1 considers that the current primary pseudowire path is unavailable according to the value of the R bit, triggering a pseudowire switching operation. Referring to Figure 12 and Figure 13, the figure shows the fault of the pseudowire path from the tail node to the head node.
  • the specific operation process at this time includes:
  • D1 The dual-homing node E1 detects the situation of the pseudowire line from the tail node on the path where the current service is located (that is, the main pseudowire path); in FIG. 12 and FIG. 13, the pseudowire from the tail node E2 to the head node E1 If the path is faulty, the pseudo-line message cannot be sent to the dual-homing node NE1. Therefore, in step D1, the dual-homing node NE1 does not receive the pseudo-line message fed back by the tail node within the preset time threshold.
  • D2 The dual-homing node E1 does not receive the pseudowire packet sent by the tail node E2 within a preset time.
  • the specific operation process at this time includes:
  • the dual-homing node E1 detects the situation in which the line of the current service (that is, the main pseudo-line path) receives the pseudo-line message from the tail node; in FIG. 14 and FIG. 15, the pseudo between the tail node E2 and the head node E1 If the line path is bidirectional, the tail node E2 cannot send a pseudowire packet to the dual homing node NE1. Therefore, in step E1, the dual homing node NE1 does not receive the pseudowire packet fed back by the tail node within a preset time threshold.
  • the dual-homing node E1 does not receive the pseudowire packet sent by the tail node E2 within the preset time. In this case, it is considered that the current main pseudowire path is unavailable, triggering the pseudowire switching operation. It can be seen that the solution provided by the embodiment of the present invention does not need to additionally use OAM or BFD to perform state detection of the pseudowire PW, and only needs to use the reception condition of the pseudowire message and the control word in the pseudowire message to determine whether to perform. Protection operation of the pseudowire active/standby switchover.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Disclosed are a pseudo wire (PW) protection method, device and node, the method comprising: monitoring a head node receiving PW packets on a master PW path, the master PW path being a current working PW path; and directly determining whether it is necessary to perform a master/slave PW switchover operation according to the monitoring result. The present invention can detect the PW status without being based on OAM and BFD, thus reducing the detection time required for the switchover protection mechanism, and does not require additional use of system resources, thus improving resource utilization.

Description

伪线保护方法、 装置及节点 技术领域 本发明涉及一种伪线保护方法、 装置及节点。 背景技术 在分组传送网(Packet Transport Network,简称为 PTN)网络中,伪线(Pseudo Wire, 简称为 PW) 保护支持同源不同宿或者同源同宿的 PW层次保护, 基于对工作、 保护 PW 的状态检测来启动倒换动作。 目前已有的方式, 都需要基于操作维护管理 ( Operation Administration and Maintenance, 简称为 OAM ) 或者前向转发检测 (Bidirectional Forwarding Detection, 简称为 BFD)来进行 PW的状态检测, 为了保证 检测可靠性, 根据 ITU-T Y.1731标准和 BFD技术白皮书里的定义, 至少需要在 3.5个 检测周期之后才能确定。 对于系统来说, 需要占用额外的资源来处理 OAM或者 BFD 报文, 并且对于倒换的性能也有影响。 可见, 现有的 PW保倒换保护机制所需的检测 时间较长, 且需占用系统额外的资源。 发明内容 本发明实施例要解决的主要技术问题是, 提供一种伪线保护方法、 装置及节点, 解决现有伪线倒换保护机制检测时间长、 需占用系统额外资源的问题。 为了解决上述问题, 本发明实施例提供了一种伪线保护方法, 包括: 监测头节点在主伪线路径上的伪线报文接收情况, 所述主伪线路径为当前的工作 伪线路径; 根据监测结果判断是否进行伪线的主备倒换操作。 在本发明的一种实施例中,根据监测结果判断是否进行伪线的主备倒换操作包括: 当所述监测结果为所述头节点在预设时间阈值内未收到伪线报文时, 进行伪线的 主备倒换操作。 在本发明的一种实施例中,根据监测结果判断是否进行伪线的主备倒换操作包括: 当所述监测结果为所述头节点在预设时间阈值内收到伪线报文, 且根据该伪线报 文判断该主伪线路径上的尾节点接入侧和 /或从所述头节点到所述尾节点方向的伪线 路径故障时, 进行伪线的主备倒换操作。 在本发明的一种实施例中, 根据所述伪线报文中的控制字判断所述主伪线路径上 的尾节点接入侧、 从所述头节点到所述尾节点方向的伪线路径是否故障。 在本发明的一种实施例中, 分别根据所述控制字中的 L和 R比特位值判断所述主 伪线路径上的尾节点接入侧、 从所述头节点到所述尾节点方向的伪线路径是否故障。 在本发明的一种实施例中,根据所述控制字的 L和 R比特位值分别判断所述主伪 线路径上的尾节点接入侧、从所述头节点到所述尾节点方向的伪线路径是否故障包括: 判断所述控制字的 L比特位的值是否为第一预设值, 如是, 则判定所述尾节点接 入侧故障; 判断所述控制字的 R比特位的值是否为第二预设值, 如是, 则判定从所述头节点 到所述尾节点方向的伪线路径故障。 为了解决上述问题, 本发明还提供了一种伪线保护装置, 包括检测模块和伪线保 护倒换模块: 所述检测模块设置为监测头节点在主伪线路径上的伪线报文接收情况, 所述主伪 线路径为当前的工作伪线路径; 所述伪线保护倒换模块设置为根据所述检测模块的监测结果判断是否进行伪线的 主备倒换操作。 在本发明的一种实施例中, 所述检测模块包括伪线报文检测子模块; 所述伪线报 文检测子模块设置为检测所述头节点在预设时间阈值内是否收到伪线报文, 如否, 则 所述监测结果为所述头节点在预设时间阈值内未收到伪线报文; 所述伪线保护倒换模块包括判断子模块和倒换执行子模块, 所述判断子模块在判 断所述监测结果为所述头节点在预设时间阈值内未收到伪线报文时, 通知所述倒换执 行子模块进行伪线的主备倒换操作。 在本发明的一种实施例中, 所述检测模块包括故障检测子模块; 所述故障检测子 模块设置为在所述头节点在预设时间阈值内收到伪线报文时, 根据该伪线报文判断该 主伪线路径上的尾节点接入侧和 /或从所述头节点到所述尾节点方向的伪线路径是否 故障, 得到判断结果; 所述伪线保护倒换模块包括判断子模块和倒换执行子模块, 所述判断子模块在判 断所述判断结果为所述主伪线路径上的尾节点接入侧和 /或从所述头节点到所述尾节 点方向的伪线路径故障时, 通知所述倒换执行子模块进行伪线的主备倒换操作。 在本发明的一种实施例中, 所述故障检测子模块包括控制字值获取单元和判断单 元, 所述控制字值获取单元设置为获取所述伪线报文中的控制字; 所述判断单元设置 为根据所述控制字值获取单元获取的控制字判断所述主伪线路径上的尾节点接入侧、 从所述头节点到所述尾节点方向的伪线路径是否故障。 为了解决上述问题, 本发明实施例还提供了一种节点, 该节点作为头节点, 包括 存储器和处理器, 所述存储器用于存储至少程序模块, 所述处理器用于根据至少一个所述程序模块 执行以下步骤: 监测所述节点在主伪线路径上的伪线报文接收情况, 所述主伪线路径为当前的工 作伪线路径; 根据监测结果判断是否进行伪线的主备倒换操作。 本发明实施例的有益效果是: 本发明实施例提供的伪线保护方法、 装置及节点, 直接监测头节点在主伪线路径 上的伪线报文接收情况, 主伪线路径为当前的工作伪线路径, 并直接根据该监测结果 判断是否需要进行伪线的主备倒换操作。并不需要基于 OAM或者 BFD来进行伪线的 状态检测, 因此可以减少倒换保护机制所需的检测时间, 且不需要单独额外占用系统 资源, 更利于提高资源利用率。 附图说明 图 1为本发明实施例一中提供的非结构化仿真方式控制字格式示意图; 图 2为本发明实施例一中提供的结构化仿真方式控制字格式示意图; 图 3为本发明实施例一中提供的伪线保护方法流程示意图; 图 4为本发明实施例二中提供的伪线保护装置示意图; 图 5为图 4中的检测模块的结构示意图一; 图 6为图 4中的伪线保护倒换模块的结构示意图; 图 7为图 4中的检测模块的结构示意图二; 图 8是本发明实施例三提供的尾节点接入侧故障示意图; 图 9是本发明实施例三提供的尾节点故障示意图; 图 10是本发明实施例三提供的网络内部头节点到尾节点方向故障示意图; 图 11是本发明实施例三提供的网络内部头节点到尾节点方向故障的另一示意图; 图 12是本发明实施例三提供的网络内部尾节点到头节点方向故障示意图; 图 13是本发明实施例三提供的网络内部尾节点到头节点方向故障的另一示意图; 图 14是本发明实施例三提供的网络内部双方向故障示意图; 图 15是本发明实施例三提供的网络内部双方向故障的另一示意图。 具体实施方式 下面通过具体实施方式结合附图对本发明作进一步详细说明。 实施例一: TECHNICAL FIELD The present invention relates to a pseudowire protection method, apparatus, and node. BACKGROUND In a packet transport network (PTN) network, a Pseudo Wire (PW) protection supports PW hierarchical protection of homologous different sinks or homologous and homogeneous sinks, based on work and protection of PW. Status detection to initiate a switching action. In the current mode, the status of the PW is detected based on the Operation Administration and Maintenance (OAM) or the Bidirectional Forwarding Detection (BFD). To ensure the reliability of the detection, The definitions in the ITU-T Y.1731 standard and the BFD technical white paper need to be determined at least after 3.5 test cycles. For the system, additional resources are required to process OAM or BFD packets, and the performance of the switching is also affected. It can be seen that the existing PW protection switching mechanism requires a longer detection time and requires additional resources of the system. SUMMARY OF THE INVENTION The main technical problem to be solved by the embodiments of the present invention is to provide a pseudowire protection method, device, and node, which solves the problem that the existing pseudowire switching protection mechanism has a long detection time and needs to occupy additional resources of the system. In order to solve the above problem, the embodiment of the present invention provides a pseudowire protection method, including: monitoring a pseudowire packet receiving condition of a head node on a main pseudowire path, where the main pseudowire path is a current working pseudowire path According to the monitoring result, it is judged whether the active/standby switching operation of the pseudowire is performed. In an embodiment of the present invention, determining whether to perform the active/standby switching operation of the pseudowire according to the monitoring result includes: when the monitoring result is that the head node does not receive the pseudowire packet within the preset time threshold, Perform an active/standby switchover of the pseudowire. In an embodiment of the present invention, determining whether to perform the active/standby switching operation of the pseudowire according to the monitoring result includes: When the monitoring result is that the head node receives a pseudowire packet within a preset time threshold, and determines, according to the pseudowire packet, the tail node access side on the main pseudowire path and/or from the header When the pseudowire path of the node to the tail node is faulty, the active/standby switchover operation of the pseudowire is performed. In an embodiment of the present invention, the tail line access side on the main pseudowire path and the pseudo line from the head node to the tail node are determined according to the control word in the pseudowire message. Whether the path is faulty. In an embodiment of the present invention, determining, according to the L and R bit values in the control word, a tail node access side on the primary pseudowire path, and a direction from the head node to the tail node Whether the pseudowire path is faulty. In an embodiment of the present invention, the tail node access side on the main pseudowire path and the direction from the head node to the tail node are respectively determined according to L and R bit values of the control word. Whether the fault of the pseudowire path is: determining whether the value of the L bit of the control word is a first preset value, and if yes, determining that the tail node access side is faulty; determining the value of the R bit of the control word Whether it is a second preset value, and if so, determines a pseudowire path failure from the head node to the tail node direction. In order to solve the above problem, the present invention further provides a pseudowire protection device, including a detection module and a pseudowire protection switching module: the detection module is configured to monitor a pseudowire message reception condition of a head node on a main pseudowire path, The main pseudowire path is a current working pseudowire path. The pseudowire protection switching module is configured to determine whether to perform an active/standby switching operation of the pseudowire according to the monitoring result of the detection module. In an embodiment of the present invention, the detecting module includes a pseudowire packet detecting submodule; the pseudowire packet detecting submodule is configured to detect whether the head node receives a pseudowire within a preset time threshold. If the packet is not, the monitoring result is that the head node does not receive the pseudowire packet within the preset time threshold; the pseudowire protection switching module includes the determining submodule and the switching execution submodule, and the determining When the sub-module determines that the monitoring result is that the head node does not receive the pseudo-line message within the preset time threshold, the sub-module notifies the switching execution sub-module to perform the active/standby switching operation of the pseudo line. In an embodiment of the present invention, the detecting module includes a fault detecting submodule, and the fault detecting submodule is configured to: when the head node receives a pseudowire packet within a preset time threshold, according to the pseudo Line message judges the Whether the tail node access side on the main pseudowire path and/or the pseudowire path from the head node to the tail node direction is faulty, and a judgment result is obtained; the pseudowire protection switching module includes a judgment submodule and a switching execution a submodule, the determining submodule notifying when the judgment result is that the tail node access side on the main pseudowire path and/or the pseudowire path from the head node to the tail node is faulty The switching execution submodule performs an active/standby switching operation of the pseudowire. In an embodiment of the present invention, the fault detection sub-module includes a control word value acquisition unit and a determination unit, and the control word value acquisition unit is configured to acquire a control word in the pseudo-line message; The unit is configured to determine, according to the control word acquired by the control word value acquiring unit, whether the pseudowire path in the direction of the tail node access side on the main pseudowire path and from the head node to the tail node is faulty. In order to solve the above problem, an embodiment of the present invention further provides a node, where the node is a head node, and includes a memory and a processor, where the memory is used to store at least a program module, and the processor is configured to use according to at least one program module. The following steps are performed: monitoring the receiving of the pseudowire packet on the main pseudowire path of the node, where the main pseudowire path is the current working pseudowire path; determining whether to perform the active/standby switching operation of the pseudowire according to the monitoring result. The beneficial effects of the embodiments of the present invention are: the pseudowire protection method, device and node provided by the embodiment of the present invention directly monitor the receiving condition of the pseudowire packet on the main pseudowire path of the head node, and the main pseudowire path is the current work. The pseudowire path is directly determined based on the monitoring result to determine whether the active/standby switching operation of the pseudowire is required. It is not necessary to perform state detection of the pseudowire based on OAM or BFD. Therefore, the detection time required for the switching protection mechanism can be reduced, and the system resources are not separately occupied, which is more conducive to improving resource utilization. 1 is a schematic diagram of a format of a non-structured simulation mode control word provided in Embodiment 1 of the present invention; FIG. 2 is a schematic diagram of a format of a structured simulation mode control word provided in Embodiment 1 of the present invention; A schematic diagram of a pseudo-line protection method provided in Example 1; 4 is a schematic diagram of a pseudowire protection device provided in Embodiment 2 of the present invention; FIG. 5 is a schematic structural diagram 1 of the detection module in FIG. 4; FIG. 6 is a schematic structural diagram of a pseudowire protection switching module in FIG. FIG. 8 is a schematic diagram of a failure of a tail node access side according to Embodiment 3 of the present invention; FIG. 9 is a schematic diagram of a tail node failure according to Embodiment 3 of the present invention; FIG. 11 is a schematic diagram of a fault in the direction of the head node to the tail node of the network according to the third embodiment of the present invention; FIG. 12 is a schematic diagram of the network in the direction of the head node to the tail node of the network according to Embodiment 3 of the present invention; FIG. 13 is a schematic diagram of the fault in the direction of the tail node to the head node in the network according to the third embodiment of the present invention; FIG. 14 is a schematic diagram of the internal fault in the network according to the third embodiment of the present invention; 15 is another schematic diagram of a dual-directional internal fault in the network provided by Embodiment 3 of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be further described in detail by way of specific embodiments with reference to the accompanying drawings. Embodiment 1:
IETF RFC4553和 IETF RFC5086分别定义了将非结构化和结构化的时分复用信号 封装到伪线的包交换网的方法; 且该规范中详细定义了控制字各 bit位的定义。 如图 1 和图 2所示: 图 1所示非结构化仿真方式控制字格式, 图 2所示是结构化仿真方式控 制字格式。 其中, IETF RFC4553和 IETF RFC5086规定, 当业务路径尾节点接入侧故 障时, 当前业务路径尾节点在进行伪线封装时, 将伪线报文净荷置为全 1, 并将控制 字里面的 L比特位置为 1后发送头节点; 当头节点到尾节点方向的伪线路径故障时, IETF RFC4553和 IETF RFC5086规定当前业务路径尾节点在进行伪线封装时, 控制字 的 R比特位置为 1后发送给头节点。 因此, 头节点在收到尾节点发送的伪线报文后, 可以该报文中至少可获知尾节点或头节点到尾节点方向的伪线路径的当前状况。因此, 本实施例可直接利用尾节点向头节点发送伪线报文的情况判断是否要进行伪线主备倒 换的保护操作, 而不需要基于 OAM或者 BFD来进行伪线的状态检测, 因此可以减少 倒换保护机制所需的检测时间, 且不需要单独额外占用系统资源。 下面结合具体的流 程进行进一步的说明。 请参见图 3所示, 本实施例提供的伪线保护方法包括: 步骤 301 : 监测头节点在主伪线路径上的伪线报文接收情况; 本实施例中的主伪 线路径为当前工作伪线路径, 也即当前业务路径; 步骤 302: 根据监测结果判断是否需要进行伪线的主备倒换操作; 该步骤包括: 当监测结果为头节点在预设时间阈值内未收到伪线报文时, 进行伪线的主备倒换 操作; 否则, 根据接收到的伪线报文中的相关控制字的具体状态判断是否需要进行伪 线的主备倒换操作。 优选地, 当监测结果为头节点在预设时间阈值内收到伪线报文, 且根据该伪线报文判断该主伪线路径上的尾节点接入侧和 /或从头节点到尾节点方向 的伪线路径故障时, 进行伪线的主备倒换操作。 在本实施例中, 头节点在预设时间阈值内未收到伪线报文时, 出现的故障可能是 主伪线路径上的尾节点故障、 从尾节点到头节点方向的伪线路径故障、 或从头节点到 尾节点方向的伪线路径故障且从尾节点到头节点方向的伪线路径故障。 本实施例中, 根据头节点接收到的伪线报文判断该主伪线路径上的尾节点接入侧 和 /或从头节点到尾节点方向的伪线路径故障时, 具体根据该伪线报文中的控制字的状 态进行判断; 优选的可选择通过控制字中的 L和 R比特位值判断主伪线路径上的尾节 点接入侧、 从头节点到尾节点方向的伪线路径是否故障。 当然, 根据具体应用场景, 可以选择控制字中的其他比特位或扩展相应的比特位的状态作为相应的判断依据, 在 此不再赘述。下面仅以通过控制字中的 L和 R比特位值判断主伪线路径上的尾节点接 入侧、 从头节点到尾节点方向的伪线路径是否故障进行说明: 判断接收到的伪线报文中控制字的 L比特位的值是否为第一预设值, 如是, 则判 定尾节点接入侧故障; IETF RFC4553和 IETF RFC5086规定此时的 L比特位的值为 1, 因此本实施例中的第一预设值为 1 ; 判断接收到的伪线报文中控制字的 R比特位的值是否为第二预设值, 如是, 贝 1J判 定从头节点到尾节点方向的伪线路径故障。 IETF RFC4553和 IETF RFC5086规定此时 的 R比特位的值也为 1, 因此本实施例中的第二预设值也为 1。 应当理解的是, 本实施例中的第一预设值和第二预设值并非只能选择 1, 根据相 关协议以及规范的更新, 其取值也可进行对应的变更。 且二者的取值也并不限于必须 相同。 可见,本实施例提供的方案不需要额外利用 OAM或者 BFD来进行 PW的状态检 测, 只需要利用伪线报文的接收情况以及伪线报文中的控制字即可判断是否要进行伪 线主备倒换的保护操作。 IETF RFC4553 and IETF RFC5086 respectively define a method of encapsulating unstructured and structured time division multiplexed signals into a packet switched network of pseudowires; and the definition of each bit of the control word is defined in detail in the specification. As shown in Figure 1 and Figure 2: Figure 1 shows the unstructured simulation mode control word format, and Figure 2 shows the structured simulation mode control word format. Among them, IETF RFC4553 and IETF RFC5086 stipulate that when the access side of the service path tail node fails, the current service path tail node sets the pseudowire message payload to all 1 when performing pseudowire encapsulation, and the control word is inside The L-bit position is 1 after the transmission head node; when the pseudo-line path in the direction from the head node to the tail node fails, IETF RFC4553 and IETF RFC5086 specify that the R-bit position of the control word is 1 after the current service path tail node performs the pseudo-line encapsulation. Sent to the head node. Therefore, after receiving the pseudowire packet sent by the tail node, the head node may at least know the current status of the pseudowire path in the direction from the tail node or the head node to the tail node. Therefore, in this embodiment, it is possible to directly use the tail node to send a pseudowire message to the head node to determine whether to perform the pseudowire main backup. The protection operation is replaced, and the state detection of the pseudowire is not required based on OAM or BFD, so the detection time required for the switching protection mechanism can be reduced, and the system resources are not separately occupied. Further explanation will be given below in conjunction with a specific process. As shown in FIG. 3, the method for protecting the pseudowire according to the embodiment includes: Step 301: The pseudowire packet receiving condition of the head node on the main pseudowire path is monitored. The main pseudowire path in this embodiment is the current working. The pseudo-line path, that is, the current service path; Step 302: Determine whether the active/standby switching operation of the pseudowire needs to be performed according to the monitoring result; the step includes: when the monitoring result is that the head node does not receive the pseudo-line report within the preset time threshold In this case, the active/standby switching operation of the pseudowire is performed; otherwise, whether the active/standby switching operation of the pseudowire needs to be performed is determined according to the specific state of the relevant control word in the received pseudowire message. Preferably, when the monitoring result is that the head node receives the pseudowire packet within the preset time threshold, and determines, according to the pseudowire packet, the tail node access side and/or the slave node to the tail node on the main pseudowire path. When the pseudowire path of the direction is faulty, the active/standby switchover operation of the pseudowire is performed. In this embodiment, when the head node does not receive the pseudowire packet within the preset time threshold, the fault may be a fault of the tail node on the main pseudowire path, a pseudowire path fault from the tail node to the head node, Or a pseudowire path failure from the head node to the tail node and a pseudowire path failure from the tail node to the head node. In this embodiment, when the pseudowire packet received by the head node determines that the tail node access side on the main pseudowire path and/or the pseudowire path in the direction from the head node to the tail node is faulty, according to the pseudowire report The state of the control word in the text is judged; preferably, it is possible to determine whether the pseudowire path in the direction of the tail node access side and the slave node to the tail node on the main pseudowire path is faulty by the L and R bit values in the control word. . Of course, according to the specific application scenario, the other bits in the control word or the state of the corresponding bit may be selected as the corresponding judgment basis, and details are not described herein again. In the following, only the L and R bit values in the control word are used to determine whether the pseudowire path in the direction of the tail node access side and the slave node to the tail node on the main pseudowire path is faulty: Determining the received pseudowire message Whether the value of the L bit of the control word is the first preset value, and if so, determining that the tail node access side is faulty; IETF RFC4553 and IETF RFC5086 specify that the value of the L bit at this time is 1, so in this embodiment The first preset value is 1; determining whether the value of the R bit of the control word in the received pseudowire message is the second preset value, and if so, the shell 1J determines the pseudowire path fault from the head node to the tail node direction. . IETF RFC4553 and IETF RFC5086 stipulate that the value of the R bit at this time is also 1, so the second preset value in this embodiment is also 1. It should be understood that the first preset value and the second preset value in this embodiment are not only selectable 1. According to the related protocol and the update of the specification, the value may also be changed correspondingly. And the values of the two are not limited to being the same. It can be seen that the solution provided in this embodiment does not need to additionally use OAM or BFD to perform state detection of the PW, and only needs to use the receiving condition of the pseudowire message and the control word in the pseudowire message to determine whether the pseudowire master is to be performed. Backup protection operation.
实施例二: 本实施例提供了一种伪线保护装置, 请参见图 4所示, 包括检测模块和伪线保护 倒换模块: 检测模块设置为监测头节点在主伪线路径上的伪线报文接收情况, 本实施例中的 主伪线路径为当前的工作伪线路径, 也即当前业务路径。 伪线保护倒换模块设置为根据检测模块的监测结果判断是否进行伪线的主备倒换 操作。 优选地, 请分别参见图 5和图 6所示, 本实施例中的检测模块包括伪线报文检测 子模块; 伪线保护倒换模块包括判断子模块和倒换执行子模块; 伪线报文检测子模块 设置为检测头节点在预设时间阈值内是否收到伪线报文, 如否, 则监测结果为头节点 在预设时间阈值内未收到伪线报文。 伪线保护倒换模块的判断子模块在判断监测结果 为头节点在预设时间阈值内未收到伪线报文时, 通知倒换执行子模块进行伪线的主备 倒换操作。 在本实施例中, 头节点在预设时间阈值内未收到伪线报文时, 出现的故障可能是 主伪线路径上的尾节点故障、 从尾节点到头节点方向的伪线路径故障、 或从头节点到 尾节点方向的伪线路径故障且从尾节点到头节点方向的伪线路径故障。 请参见图 7所示, 本实施例中的检测模块还包括故障检测子模块; 故障检测子模 块设置为在伪线报文检测子模块检测到头节点在预设时间阈值内收到伪线报文时, 根 据该伪线报文判断该主伪线路径上的尾节点接入侧和 /或从所述头节点到所述尾节点 方向的伪线路径是否故障, 得到判断结果。 伪线保护倒换模块的判断子模块还设置为 在判断所述判断结果为主伪线路径上的尾节点接入侧和 /或从头节点到所述尾节点方 向的伪线路径故障时, 通知倒换执行子模块进行伪线的主备倒换操作。 本实施例中的故障检测子模块包括控制字值获取单元和判断单元, 控制字值获取 单元设置为获取接收到的伪线报文中的控制字; 判断单元设置为根据控制字值获取单 元获取的控制字判断主伪线路径上的尾节点接入侧以及从头节点到尾节点方向的伪线 路径是否故障。优选的控制字值获取单元可选择通过控制字中的 L和 R比特位值判断 主伪线路径上的尾节点接入侧、 从头节点到尾节点方向的伪线路径是否故障。 当然, 根据具体应用场景, 可以选择控制字中的其他比特位或扩展相应的比特位的状态作为 相应的判断依据, 在此不再赘述。 下面仅以通过控制字中的 L和 R比特位值判断主伪 线路径上的尾节点接入侧、 从头节点到尾节点方向的伪线路径是否故障进行说明: 判断单元判断控制字值获取单元获取的 L比特位的值是否为第一预设值, 如是, 则判定尾节点接入侧故障; IETF RFC4553和 IETF RFC5086规定此时的 L比特位的值 为 1, 因此本实施例中的第一预设值可设为 1 ; 判断单元判断控制字值获取单元获取的 R比特位的值是否为第二预设值, 如是, 则判定从头节点到尾节点方向的伪线路径故障。 IETF RFC4553和 IETF RFC5086规定 此时的 R比特位的值也为 1, 因此本实施例中的第二预设值也为 1。 应当理解的是, 本实施例中的第一预设值和第二预设值并非只能选择 1, 根据相 关协议以及规范的更新, 其取值也可进行对应的变更。 且二者的取值也并不限于必须 相同。 Embodiment 2: This embodiment provides a pseudowire protection device. Referring to FIG. 4, the detection module and the pseudowire protection switching module are provided. The detection module is configured to monitor the pseudowire of the head node on the main pseudowire path. In the case of the text receiving, the main pseudowire path in this embodiment is the current working pseudowire path, that is, the current service path. The pseudowire protection switching module is configured to determine whether to perform an active/standby switching operation of the pseudowire according to the monitoring result of the detection module. Preferably, as shown in FIG. 5 and FIG. 6 respectively, the detection module in this embodiment includes a pseudo-line packet detection sub-module; the pseudo-line protection switching module includes a judging sub-module and a switching execution sub-module; The sub-module is configured to detect whether the head node receives the pseudo-line message within the preset time threshold. If no, the monitoring result is that the head node does not receive the pseudo-line message within the preset time threshold. The judging sub-module of the pseudo-line protection switching module notifies the switching execution sub-module to perform the active/standby switching operation of the pseudo-line when the monitoring result is that the head node does not receive the pseudo-line message within the preset time threshold. In this embodiment, when the head node does not receive the pseudowire packet within the preset time threshold, the fault may be a fault of the tail node on the main pseudowire path, a pseudowire path fault from the tail node to the head node, Or a pseudowire path failure from the head node to the tail node and a pseudowire path failure from the tail node to the head node. Referring to FIG. 7, the detection module in this embodiment further includes a fault detection submodule. The fault detection submodule is configured to detect that the head node receives the pseudowire packet within a preset time threshold after detecting the pseudowire packet detection submodule. And determining, according to the pseudowire message, whether the tail node access side on the primary pseudowire path and/or the pseudowire path from the head node to the tail node direction is faulty, and obtaining a determination result. The judging sub-module of the pseudo-line protection switching module is further configured to notify the switching when determining that the judging result is a fault of the tail node access side and/or the slave node to the tail node in the direction of the tail node The submodule performs the active/standby switchover operation of the pseudowire. The fault detection sub-module in this embodiment includes a control word value acquisition unit and a determination unit, and the control word value acquisition unit is configured to acquire a control word in the received pseudowire message; the determination unit is configured to acquire according to the control word value acquisition unit. The control word determines whether the tail node access side on the main pseudowire path and the pseudowire path from the head node to the tail node are faulty. The preferred control word value acquisition unit may select whether the pseudowire path in the direction of the tail node access side and the slave node to the tail node on the main pseudowire path is faulty by the L and R bit values in the control word. Of course, according to the specific application scenario, the other bits in the control word or the state of the corresponding bit may be selected as the corresponding judgment basis, and details are not described herein again. The following is only to determine whether the pseudowire path in the direction of the tail node access side and the slave node to the tail node on the main pseudowire path is faulty by the L and R bit values in the control word: The judging unit judges the control word value obtaining unit Whether the value of the acquired L bit is the first preset value, and if yes, determining that the tail node access side is faulty; IETF RFC4553 and IETF RFC5086 specify that the value of the L bit at this time is 1, so the first in this embodiment A preset value may be set to 1; the determining unit determines whether the value of the R bit obtained by the control word value acquiring unit is the second preset value, and if so, determines a pseudowire path fault from the head node to the tail node direction. IETF RFC4553 and IETF RFC5086 stipulate that the value of the R bit at this time is also 1, so the second preset value in this embodiment is also 1. It should be understood that the first preset value and the second preset value in this embodiment are not only selectable 1. According to the related protocol and the update of the specification, the value may also be changed correspondingly. And the values of the two are not limited to being the same.
实施例三 本发明实施例还提供了一种节点, 该节点作为头节点, 且具体为双归头节点, 其 包括存储器和处理器, 存储器用于存储至少程序模块, 处理器用于根据至少一个所述 程序模块执行以下步骤: 监测节点在主伪线路径上的伪线报文接收情况, 主伪线路径为当前的工作伪线路 径; 根据监测结果判断是否进行伪线的主备倒换操作, 该步骤包括: 当监测结果为头节点在预设时间阈值内未收到伪线报文时, 进行伪线的主备倒换 操作; 否则, 根据接收到的伪线报文中的相关控制字的具体状态判断是否需要进行伪 线的主备倒换操作。 优选地, 当监测结果为头节点在预设时间阈值内收到伪线报文, 且根据该伪线报文判断该主伪线路径上的尾节点接入侧和 /或从头节点到尾节点方向 的伪线路径故障时, 进行伪线的主备倒换操作。 在本实施例中, 头节点在预设时间阈值内未收到伪线报文时, 出现的故障可能是 主伪线路径上的尾节点故障、 从尾节点到头节点方向的伪线路径故障、 或从头节点到 尾节点方向的伪线路径故障且从尾节点到头节点方向的伪线路径故障。 本实施例中, 根据头节点接收到的伪线报文判断该主伪线路径上的尾节点接入侧 和 /或从头节点到尾节点方向的伪线路径故障时, 具体根据该伪线报文中的控制字的状 态进行判断; 优选的可选择通过控制字中的 L和 R比特位值判断主伪线路径上的尾节 点接入侧、 从头节点到尾节点方向的伪线路径是否故障。 当然, 根据具体应用场景, 可以选择控制字中的其他比特位或扩展相应的比特位的状态作为相应的判断依据, 在 此不再赘述。 Embodiment 3 The embodiment of the present invention further provides a node, where the node is a head node, and is specifically a dual homing node, which includes a memory and a processor, where the memory is used to store at least one program module, and the processor is configured to use at least one The program module performs the following steps: monitoring the receiving condition of the pseudowire packet on the main pseudowire path, and the main pseudowire path is the current working pseudowire path; determining whether to perform the active/standby switching operation of the pseudowire according to the monitoring result, The steps include: performing an active/standby switching operation of the pseudowire when the monitoring result is that the head node does not receive the pseudowire packet within the preset time threshold; otherwise, according to the specific control word in the received pseudowire packet The status determines whether the active/standby switchover of the pseudowire is required. Preferably, when the monitoring result is that the head node receives the pseudowire message within the preset time threshold, And determining, according to the pseudowire packet, the active/standby switching operation of the pseudowire when determining that the tail node access side and/or the pseudowire path in the direction from the head node to the tail node are faulty on the main pseudowire path. In this embodiment, when the head node does not receive the pseudowire packet within the preset time threshold, the fault may be a fault of the tail node on the main pseudowire path, a pseudowire path fault from the tail node to the head node, Or a pseudowire path failure from the head node to the tail node and a pseudowire path failure from the tail node to the head node. In this embodiment, when the pseudowire packet received by the head node determines that the tail node access side on the main pseudowire path and/or the pseudowire path in the direction from the head node to the tail node is faulty, according to the pseudowire report The state of the control word in the text is judged; preferably, it is possible to determine whether the pseudowire path in the direction of the tail node access side and the slave node to the tail node on the main pseudowire path is faulty by the L and R bit values in the control word. . Of course, according to the specific application scenario, the other bits in the control word or the state of the corresponding bit may be selected as the corresponding judgment basis, and details are not described herein again.
实施例四: 下面结合几种具体的故障情景, 对本发明实施例提供的方案进行进一步的说明。 请参见图 8所示, 该图所示为尾节点接入侧故障的情况, 此时的具体操作过程包 括: Embodiment 4: The solution provided by the embodiment of the present invention is further described below in combination with several specific fault scenarios. Referring to Figure 8, the figure shows the fault of the tail node access side. The specific operation process at this time includes:
A1 : 双归头节点 E1检测当前业务所在路径(也即主伪线路径)上从尾节点收伪 线报文的情况; 图 8中, 当前业务路径尾节点接入侧故障。 根据 RFC4553和 RFC5086规定, 当 前业务路径尾节点 E2在进行伪线报文封装时, 将伪线报文净荷置为全 1, 并将控制 字里的 Lbit置为 1, 发往头节点; 因此在步骤 A1中双归头节点 E1在预设的时间阈 值内正常收到尾节点反馈的伪线报文; A1: The dual-homing node E1 detects the situation in which the current service path (that is, the main pseudo-line path) receives the pseudo-line message from the tail node; in Figure 8, the current service path tail node access side fails. According to RFC4553 and RFC5086, when the current service path tail node E2 performs the pseudowire packet encapsulation, the pseudowire message payload is set to all 1, and the Lbit in the control word is set to 1 and sent to the head node; In step A1, the dual-homing node E1 normally receives the pseudo-line message fed back by the tail node within a preset time threshold;
A2:双归头节点 E1从收到的伪线报文中获取相应控制字的状态,根据获取的控 制字状态判断是否要进行主备倒换切换。 在该情况下,双归头节点 E1从其接收到的伪线报文中获取到控制字的 Lbit为 1。 双归头节点 E1根据 Lbit的值认为当前主伪线路径不可用, 触发伪线倒换操作。 请参见图 9所示, 该图所示为尾节点故障的情况, 此时的具体操作过程包括: Bl: 双归头节点 El检测当前业务所在路径(也即主伪线路径)上从尾节点收伪 线报文的情况; 图 9中, 当前业务路径尾节点 E2故障, 无法向双归头节点 E1发送伪线报文, 因此在步骤 B1中双归头节点 NE1在预设的时间阈值内没有收到尾节点反馈的伪线报 文; A2: The dual-homing node E1 obtains the state of the corresponding control word from the received pseudo-line message, and determines whether to perform the active/standby switching according to the obtained control word status. In this case, the dual-homed node E1 obtains the Lbit of the control word from the pseudowire message received by it. The dual-homing node E1 considers that the current primary pseudowire path is unavailable according to the value of Lbit, and triggers a pseudowire switching operation. Please refer to FIG. 9 , which shows the fault of the tail node. The specific operation process at this time includes: Bl: The dual-homed node El detects the situation in which the current service path (that is, the main pseudo-line path) receives the pseudo-line message from the tail node; in FIG. 9, the current service path tail node E2 fails, and cannot go to the dual-homing node. E1 sends a pseudo-line message, so in step B1, the dual-homing node NE1 does not receive the pseudo-line message fed back by the tail node within a preset time threshold;
B2: 双归头节点 E1在预设的时间内没有收到尾节点 E2发送的伪线报文, 在该情况下, 认为当前主伪线路径不可用, 触发伪线倒换操作。 请参见图 10和图 11所示, 该图所示为从头节点到尾节点方向的伪线路径故障的 情况, 此时的具体操作过程包括: C1: 双归头节点 E1检测当前业务所在路径(也即主伪线路径)上从尾节点收伪 线报文的情况; 图 10和图 11中, 所示网络内部双归头节点 E1到尾节点 E2方向故障。 根据 RFC4553和 RFC5086规定, 当前业务路径尾节点 E2在进行伪线报文封装时, 将伪 线控制字里的 R比特位置为 1, 发往头节点 E1。 因此在步骤 C1中双归头节点 NE1 在预设的时间阈值内正常收到尾节点反馈的伪线报文; B2: The dual-homing node E1 does not receive the pseudowire packet sent by the tail node E2 within the preset time. In this case, it is considered that the current main pseudowire path is unavailable, triggering the pseudowire switching operation. Referring to FIG. 10 and FIG. 11 , the figure shows a pseudo-line path fault from the head node to the tail node. The specific operation process at this time includes: C1: The dual-homing node E1 detects the path of the current service ( That is, the case where the pseudo-line message is received from the tail node on the main pseudo-line path; in FIG. 10 and FIG. 11, the internal dual-homing node E1 to the tail node E2 in the network are faulty. According to RFC4553 and RFC5086, when the current service path tail node E2 performs the pseudowire packet encapsulation, the R bit position in the pseudowire control word is set to 1, and is sent to the head node E1. Therefore, in step C1, the dual-homing node NE1 normally receives the pseudowire message fed back by the tail node within a preset time threshold;
C2: 双归头节点 E1从收到的伪线报文中获取相应控制字的状态,根据获取的控 制字状态判断是否要进行主备倒换切换。 在该情况下,双归头节点 E1从其接收到的伪线报文中获取到控制字的 R比特位 为 1。 双归头节点 E1根据 R比特位的值认为当前主伪线路径不可用, 触发伪线倒换 操作。 请参见图 12和图 13所示, 该图所示为从尾节点到头节点方向的伪线路径故障的 情况, 此时的具体操作过程包括: C2: Dual-homed node E1 obtains the status of the corresponding control word from the received pseudo-line message, and judges whether to perform the active/standby switching according to the obtained control word status. In this case, the dual-homed node E1 obtains the R bit of the control word from the pseudowire message received by it. The dual-homing node E1 considers that the current primary pseudowire path is unavailable according to the value of the R bit, triggering a pseudowire switching operation. Referring to Figure 12 and Figure 13, the figure shows the fault of the pseudowire path from the tail node to the head node. The specific operation process at this time includes:
D1: 双归头节点 E1检测当前业务所在路径(也即主伪线路径)上从尾节点收伪 线报文的情况; 图 12和图 13中, 从尾节点 E2到头节点 E1方向的伪线路径故障, 无法向双 归头节点 NE1发送伪线报文,因此在步骤 D1中双归头节点 NE1在预设的时间阈值内 没有收到尾节点反馈的伪线报文; D2: 双归头节点 E1在预设的时间内没有收到尾节点 E2发送的伪线报文, 在该情况下, 认为当前主伪线路径不可用, 触发伪线倒换操作。 请参见图 14和图 15所示, 该图所示为从尾节点到头节点方向的伪线路径、 以及 从头节点到尾节点方向的伪线路径故障的情况, 此时的具体操作过程包括: D1: The dual-homing node E1 detects the situation of the pseudowire line from the tail node on the path where the current service is located (that is, the main pseudowire path); in FIG. 12 and FIG. 13, the pseudowire from the tail node E2 to the head node E1 If the path is faulty, the pseudo-line message cannot be sent to the dual-homing node NE1. Therefore, in step D1, the dual-homing node NE1 does not receive the pseudo-line message fed back by the tail node within the preset time threshold. D2: The dual-homing node E1 does not receive the pseudowire packet sent by the tail node E2 within a preset time. In this case, it is considered that the current main pseudowire path is unavailable, and the pseudowire switching operation is triggered. Referring to FIG. 14 and FIG. 15, the figure shows the pseudowire path from the tail node to the head node and the pseudowire path fault from the head node to the tail node. The specific operation process at this time includes:
E1 : 双归头节点 E1检测当前业务所在路径(也即主伪线路径)上从尾节点收伪 线报文的情况; 图 14和图 15中, 从尾节点 E2到头节点 E1之间的伪线路径双向故障, 尾节 点 E2无法向双归头节点 NE1发送伪线报文, 因此在步骤 E1中双归头节点 NE1在 预设的时间阈值内没有收到尾节点反馈的伪线报文; E1: The dual-homing node E1 detects the situation in which the line of the current service (that is, the main pseudo-line path) receives the pseudo-line message from the tail node; in FIG. 14 and FIG. 15, the pseudo between the tail node E2 and the head node E1 If the line path is bidirectional, the tail node E2 cannot send a pseudowire packet to the dual homing node NE1. Therefore, in step E1, the dual homing node NE1 does not receive the pseudowire packet fed back by the tail node within a preset time threshold.
E2: 双归头节点 E1在预设的时间内没有收到尾节点 E2发送的伪线报文, 在该情况下, 认为当前主伪线路径不可用, 触发伪线倒换操作。 可见, 本发明实施例提供的方案不需要额外利用 OAM或者 BFD来进行伪线 PW 的状态检测, 只需要利用伪线报文的接收情况以及伪线报文中的控制字即可判断是否 要进行伪线主备倒换的保护操作。 E2: The dual-homing node E1 does not receive the pseudowire packet sent by the tail node E2 within the preset time. In this case, it is considered that the current main pseudowire path is unavailable, triggering the pseudowire switching operation. It can be seen that the solution provided by the embodiment of the present invention does not need to additionally use OAM or BFD to perform state detection of the pseudowire PW, and only needs to use the reception condition of the pseudowire message and the control word in the pseudowire message to determine whether to perform. Protection operation of the pseudowire active/standby switchover.
以上内容是结合具体的实施方式对本发明所作的进一步详细说明, 不能认定本发 明的具体实施只局限于这些说明。 对于本发明所属技术领域的普通技术人员来说, 在 不脱离本发明构思的前提下, 还可以做出若干简单推演或替换, 都应当视为属于本发 明的保护范围。 工业实用性 本发明实施例提供的技术方案可以应用于伪线领域, 减少倒换保护机制所需的检 测时间, 且不需要单独额外占用系统资源, 更利于提高资源利用率。 The above is a further detailed description of the present invention in conjunction with the specific embodiments. It is not intended that the specific embodiments of the invention are limited to the description. It will be apparent to those skilled in the art that the present invention may be practiced without departing from the spirit and scope of the invention. Industrial Applicability The technical solution provided by the embodiments of the present invention can be applied to the field of pseudowires, and the detection time required for the switching protection mechanism is reduced, and the system resources are not separately occupied, which is more conducive to improving resource utilization.

Claims

权 利 要 求 书 Claim
1. 一种伪线保护方法, 包括: A pseudowire protection method, comprising:
监测头节点在主伪线路径上的伪线报文接收情况, 所述主伪线路径为当前 的工作伪线路径;  Monitoring, by the head node, a pseudowire packet receiving condition on the main pseudowire path, where the main pseudowire path is a current working pseudowire path;
根据监测结果判断是否进行伪线的主备倒换操作。  According to the monitoring result, it is judged whether the active/standby switching operation of the pseudowire is performed.
2. 如权利要求 1所述的伪线保护方法, 其中, 根据监测结果判断是否进行伪线的 主备倒换操作包括: 2. The method of claim 1, wherein determining whether to perform the active/standby switching operation of the pseudowire according to the monitoring result comprises:
当所述监测结果为所述头节点在预设时间阈值内未收到伪线报文时, 进行 伪线的主备倒换操作。  When the monitoring result is that the head node does not receive the pseudowire packet within the preset time threshold, the active/standby switching operation of the pseudowire is performed.
3. 如权利要求 1或 2所述的伪线保护方法, 其中, 根据监测结果判断是否进行伪 线的主备倒换操作包括: The method for protecting the pseudowire according to claim 1 or 2, wherein determining whether to perform the active/standby switching operation of the pseudowire according to the monitoring result includes:
当所述监测结果为所述头节点在预设时间阈值内收到伪线报文, 且根据该 伪线报文判断该主伪线路径上的尾节点接入侧和 /或从所述头节点到所述尾节 点方向的伪线路径故障时, 进行伪线的主备倒换操作。  When the monitoring result is that the head node receives a pseudowire packet within a preset time threshold, and determines, according to the pseudowire packet, the tail node access side on the main pseudowire path and/or from the header When the pseudowire path of the node to the tail node is faulty, the active/standby switchover operation of the pseudowire is performed.
4. 如权利要求 3所述的伪线保护方法, 其中, 根据所述伪线报文中的控制字判断 所述主伪线路径上的尾节点接入侧、 从所述头节点到所述尾节点方向的伪线路 径是否故障。 The pseudowire protection method according to claim 3, wherein the tail node access side on the main pseudowire path is determined according to a control word in the pseudowire message, from the head node to the Whether the pseudowire path in the direction of the tail node is faulty.
5. 如权利要求 4所述的伪线保护方法, 其中, 分别根据所述控制字中的 L和 R比 特位值判断所述主伪线路径上的尾节点接入侧、 从所述头节点到所述尾节点方 向的伪线路径是否故障。 The pseudowire protection method according to claim 4, wherein the tail node access side on the main pseudowire path is judged from the head node according to L and R bit values in the control word, respectively Whether the pseudowire path to the tail node direction is faulty.
6. 如权利要求 5所述的伪线保护方法, 其中, 分别根据所述控制字的 L和 R比特 位值判断所述主伪线路径上的尾节点接入侧、 从所述头节点到所述尾节点方向 的伪线路径是否故障包括: The pseudowire protection method according to claim 5, wherein the tail node access side on the main pseudowire path is determined from the head node to the L and R bit values of the control word, respectively Whether the pseudowire path in the direction of the tail node is faulty includes:
判断所述控制字的 L比特位的值是否为第一预设值, 如是, 则判定所述尾 节点接入侧故障;  Determining whether the value of the L bit of the control word is a first preset value, and if yes, determining that the tail node access side is faulty;
判断所述控制字的 R比特位的值是否为第二预设值, 如是, 则判定从所述 头节点到所述尾节点方向的伪线路径故障。 Determining whether the value of the R bit of the control word is a second preset value, and if so, determining a pseudowire path failure from the head node to the tail node direction.
7. 一种伪线保护装置, 包括检测模块和伪线保护倒换模块: 所述检测模块设置为监测头节点在主伪线路径上的伪线报文接收情况, 所 述主伪线路径为当前的工作伪线路径; 所述伪线保护倒换模块设置为根据所述检测模块的监测结果判断是否进行 伪线的主备倒换操作。 A pseudowire protection device, comprising: a detection module and a pseudowire protection switching module: the detection module is configured to monitor a pseudowire packet reception condition of the head node on a main pseudowire path, where the main pseudowire path is current The pseudowire protection switching module is configured to determine whether to perform an active/standby switching operation of the pseudowire according to the monitoring result of the detection module.
8. 如权利要求 7所述的伪线保护装置, 其中, 所述检测模块包括伪线报文检测子 模块; 所述伪线报文检测子模块设置为检测所述头节点在预设时间阈值内是否 收到伪线报文, 如否, 则所述监测结果为所述头节点在预设时间阈值内未收到 伪线报文; 所述伪线保护倒换模块包括判断子模块和倒换执行子模块, 所述判断子模 块在判断所述监测结果为所述头节点在预设时间阈值内未收到伪线报文时, 通 知所述倒换执行子模块进行伪线的主备倒换操作。 The pseudowire protection device according to claim 7, wherein the detection module comprises a pseudowire packet detection submodule; the pseudowire packet detection submodule is configured to detect that the head node is at a preset time threshold Whether the pseudo-line message is received, if not, the monitoring result is that the head node does not receive the pseudo-line message within the preset time threshold; the pseudo-line protection switching module includes the determining sub-module and the switching execution The sub-module, the determining sub-module notifying the switching execution sub-module to perform an active/standby switching operation of the pseudowire when determining that the monitoring result is that the head node does not receive the pseudowire packet within the preset time threshold.
9. 如权利要求 7或 8所述的伪线保护装置, 其中, 所述检测模块包括故障检测子 模块; 所述故障检测子模块设置为在所述头节点在预设时间阈值内收到伪线报 文时,根据该伪线报文判断该主伪线路径上的尾节点接入侧和 /或从所述头节点 到所述尾节点方向的伪线路径是否故障, 得到判断结果; The pseudowire protection device according to claim 7 or 8, wherein the detection module comprises a fault detection submodule; the fault detection submodule is configured to receive a pseudo at the head node within a preset time threshold Determining, according to the pseudowire message, whether the tail node access side on the main pseudowire path and/or the pseudowire path from the head node to the tail node direction is faulty, and obtaining a judgment result;
所述伪线保护倒换模块包括判断子模块和倒换执行子模块, 所述判断子模 块在判断所述判断结果为所述主伪线路径上的尾节点接入侧和 /或从所述头节 点到所述尾节点方向的伪线路径故障时, 通知所述倒换执行子模块进行伪线的 主备倒换操作。  The pseudowire protection switching module includes a judging submodule and a switching execution submodule, and the judging submodule determines that the judging result is a tail node access side on the main pseudowire path and/or from the head node When the pseudowire path to the tail node is faulty, the switching execution submodule is notified to perform an active/standby switching operation of the pseudowire.
10. 如权利要求 9所述的伪线保护装置, 其中, 所述故障检测子模块包括控制字值 获取单元和判断单元, 所述控制字值获取单元设置为获取所述伪线报文中的控 制字; 所述判断单元设置为根据所述控制字值获取单元获取的控制字判断所述 主伪线路径上的尾节点接入侧、 从所述头节点到所述尾节点方向的伪线路径是 否故障。 The pseudowire protection device according to claim 9, wherein the fault detection submodule includes a control word value acquisition unit and a determination unit, and the control word value acquisition unit is configured to acquire the pseudowire message a control unit; the determining unit is configured to determine, according to the control word acquired by the control word value acquiring unit, a tail line access side on the main pseudowire path, and a pseudo line from the head node to the tail node direction Whether the path is faulty.
11. 一种节点, 该节点作为头节点, 包括存储器和处理器, 所述存储器用于存储至 少程序模块, 所述处理器用于根据至少一个所述程序模块执行以下步骤: 监测所述节点在主伪线路径上的伪线报文接收情况, 所述主伪线路径为当 前的工作伪线路径; 11. A node as a head node, comprising a memory and a processor, the memory for storing at least a program module, the processor for performing the following steps according to at least one of the program modules: monitoring the node at the main a pseudowire message receiving situation on the pseudowire path, where the main pseudowire path is a current working pseudowire path;
根据监测结果判断是否进行伪线的主备倒换操作。  According to the monitoring result, it is judged whether the active/standby switching operation of the pseudowire is performed.
PCT/CN2014/079784 2014-01-24 2014-06-12 Pseudo wire protection method, device and node WO2015109734A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410035574.2A CN104811324A (en) 2014-01-24 2014-01-24 Pseudo wire protection method, pseudo wire protection device and node
CN201410035574.2 2014-01-24

Publications (1)

Publication Number Publication Date
WO2015109734A1 true WO2015109734A1 (en) 2015-07-30

Family

ID=53680739

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/079784 WO2015109734A1 (en) 2014-01-24 2014-06-12 Pseudo wire protection method, device and node

Country Status (2)

Country Link
CN (1) CN104811324A (en)
WO (1) WO2015109734A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911571A (en) * 2017-02-28 2017-06-30 烽火通信科技股份有限公司 A kind of distal end PW BFD descriptors learning methods and system based on network processing unit
CN110740094A (en) * 2019-10-28 2020-01-31 新华三信息安全技术有限公司 network equipment, BFD message transmission method and device

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241206B (en) * 2016-03-29 2022-02-18 中兴通讯股份有限公司 Method, device and storage medium for judging service state
WO2019222995A1 (en) * 2018-05-25 2019-11-28 Telefonaktiebolaget Lm Ericsson (Publ) Dynamic backup amf determination and publication
CN111181876A (en) * 2018-11-12 2020-05-19 南京机电职业技术学院 Pseudo wire PW dual-homing protection switching method
CN115801552A (en) * 2021-09-10 2023-03-14 华为技术有限公司 Protection switching method and network equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102264088A (en) * 2011-06-08 2011-11-30 中兴通讯股份有限公司 Method and device for implementing pseudo wire protection switching

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997747B (en) * 2009-08-21 2014-12-10 中兴通讯股份有限公司 Method and device for announcing fault LSP information
CN105704029B (en) * 2010-01-15 2020-06-26 华为技术有限公司 Pseudo wire establishing method, system and equipment
CN102739529A (en) * 2012-06-18 2012-10-17 中兴通讯股份有限公司 Method and device for protecting pseudo wire protection group

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102264088A (en) * 2011-06-08 2011-11-30 中兴通讯股份有限公司 Method and device for implementing pseudo wire protection switching

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911571A (en) * 2017-02-28 2017-06-30 烽火通信科技股份有限公司 A kind of distal end PW BFD descriptors learning methods and system based on network processing unit
CN106911571B (en) * 2017-02-28 2019-08-13 烽火通信科技股份有限公司 A kind of distal end PW BFD descriptor learning method and system based on network processing unit
CN110740094A (en) * 2019-10-28 2020-01-31 新华三信息安全技术有限公司 network equipment, BFD message transmission method and device
CN110740094B (en) * 2019-10-28 2021-09-21 新华三信息安全技术有限公司 Network equipment, BFD message transmission method and device

Also Published As

Publication number Publication date
CN104811324A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
WO2015109734A1 (en) Pseudo wire protection method, device and node
US9722917B2 (en) Traffic recovery in openflow networks
JP5913635B2 (en) Redundant network connection
US20170155577A1 (en) Virtual Router Redundancy Protocol Fault Detection Method and Routing Device
WO2017152681A1 (en) Method, apparatus and device for detecting forwarding table
CN106936613B (en) Method and system for rapidly switching main and standby Openflow switch
CN111817881B (en) Fault processing method and related device
WO2012068996A1 (en) Method and device for detecting link state
EP3029883B1 (en) Network protection method and apparatus, next-ring node, and system
US20170222864A1 (en) Method and Apparatus for Implementing Operation, Administration, and Maintenance Function
WO2015196676A1 (en) Networking protection method and device, and main convergence network element in networking
CN105656776B (en) Pseudo wire dual-homing protection switching system, method and device
US20150312139A1 (en) Method and Device for Bidirectional Forwarding Detection under Condition of Parameter Update
JP5678678B2 (en) Provider network and provider edge device
WO2014146541A1 (en) Cdn and network convergence system, scheduling module selection method and computer storage medium
US9923759B2 (en) Control method and device for self-loopback of network data
US20080267080A1 (en) Fault Verification for an Unpaired Unidirectional Switched-Path
WO2015139534A1 (en) System, method and apparatus for achieving link-state pass through function based on ptn
CN114244736A (en) Multi-master detection method, equipment and medium based on stacking environment
CN107465527B (en) Network element, protection switching method and system thereof
CN112104548A (en) Communication method and device
WO2011144124A2 (en) Interface unit of base station control system and detection method thereof
WO2017166932A1 (en) Method and apparatus for determining service state
WO2015180277A1 (en) Pw dual-homing protection switching method and system
WO2015120581A1 (en) Traffic loop detection in a communication network

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

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

Country of ref document: EP

Kind code of ref document: A1