WO2012079313A1 - 一种链路保护方法及系统 - Google Patents
一种链路保护方法及系统 Download PDFInfo
- Publication number
- WO2012079313A1 WO2012079313A1 PCT/CN2011/071734 CN2011071734W WO2012079313A1 WO 2012079313 A1 WO2012079313 A1 WO 2012079313A1 CN 2011071734 W CN2011071734 W CN 2011071734W WO 2012079313 A1 WO2012079313 A1 WO 2012079313A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- switching
- link
- decision
- standby
- protection
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0663—Performing the actions predefined by failover planning, e.g. switching to standby network elements
Definitions
- the present invention relates to the field of multiplex section protection switching technologies, and in particular, to a link protection method and system.
- Synchronous Digital Hierarchy (SDH) technology can achieve rapid development, is widely used, and can be used as a middle layer protocol by an optical transmission system.
- SDH Synchronous Digital Hierarchy
- MSP Multiplex Section Protection
- ITU-T International Telecommunication Union-Telecommunication Standardization Sector
- the multiplex section protection switching can be divided into linear and circular according to the networking form. Linear multiplex section protection switching is a widely used networking form, which is a dedicated or shared protection group mechanism.
- the linear multiplex section protection switching protection multiplex section layer is applied to the point-to-point physical topology.
- a protection multiplex section can be applied to protect normal traffic signals in N working multiplex sections, but it cannot protect node faults.
- Linear multiplex section protection switching works in both unidirectional and bidirectional switching, and delivers additional traffic through the protection multiplex section in bidirectional mode.
- linear multiplex section protection is mainly used for protection of a single device.
- the linear multiplex section protection networking of a single device consists of nodes S1 and S2 to protect the SDH links (Link) 1 and Link 2.
- Port 1 and Port 2 are connected to node S1, and port 2 is configured as a working port.
- Portl To protect the port.
- p 0 rt3 and Port 4 are connected to node S2, and port 4 is configured as a working port, and port 3 is a protected port. Therefore, Linkl is confirmed as the working link and Link2 is confirmed as the protection link.
- the linear multiplex section protection group supports 1+1 unidirectional, 1+1 bidirectional, and 1:1. Under normal circumstances, the service works in Linkl.
- S1 and S2 detect a link failure, and generate a Signal Fail on Working (SF-W), according to the current configuration and status.
- SF-W Signal Fail on Working
- S1 and S2 detect that the link fault disappears, and the working link signal failure disappears alarm. If the current configuration is reverse mode, the switch is switched to the working link according to the decision.
- the MSPs currently implemented are protected by a single device, and the three-network environment of the networking cannot function as a link protection. As shown in FIG. 2, the networking is composed of nodes S1, S2, and S3, and S2 to S1, S3 to S1 are SDH links. At this time, Portl and Port2 are not on the same device. The traditional point-to-point MSP protocol cannot protect the link Link2 of the protection link. Similarly, in the context of a four-network element network, traditional multiplex section protection cannot function as a link protection.
- the technical problem to be solved by the present invention is to provide a link protection method and system, which implements protection of an SDH link when a three-network element or a four-network element is deployed.
- the present invention provides a link protection system, where the system includes: a protection group consisting of a primary device where the working link is located and a standby device where the protection link is located, where: the primary device is configured And sending the switching decision information to the standby device; the standby device is configured to: perform a decision according to the received switching decision information, and send a synchronization notification to the primary device according to the switched result of the decision.
- the master device includes: a primary local state module configured to: receive and save local link state information; and, And detecting, when the link status changes, receiving the fault alarm information, and/or receiving the switching command, sending, by the primary communication module, the switching decision information to the standby device; the primary communication module is configured to Transmitting the received switching decision information to the standby device; and receiving a synchronization notification sent by the standby device; and a main execution module, configured to: update the local chain according to the synchronization notification sent by the standby device Road status.
- the standby device includes: a standby local state module configured to: receive and save local link state information; and, upon detecting that a link state changes, receiving the fault alert information, and/or receiving the The switching communication module sends the switching decision information to the decision module through the standby communication module; the standby communication module is configured to: send the received switching decision information sent by the master device and the standby local state module to the a decision module; and, sending a synchronization notification to the master device; a decision module, configured to: make a decision according to the received switching decision information; and a standby execution module, configured to: switch according to the decision of the decision module As a result, a switching is performed, and a synchronization notification is sent to the master device through the standby communication module according to the result of the switching of the decision.
- a standby local state module configured to: receive and save local link state information; and, upon detecting that a link state changes, receiving the fault alert information, and/or receiving the The switching communication module sends the switching decision information to the decision module
- the standby execution module is configured to send a synchronization notification to the master device as follows: As a result of the switching, when at least one of the protection group status and the valid path changes, the synchronization notification is sent to the primary device.
- the standby execution module is further configured to: after performing the switching according to the switching result, converting the switching result to a K value, and notifying the remote device of the standby device by using the standby communication module. among them,
- the standby communication module is further configured to: receive a K value sent by another device; the standby execution module is further configured to: update the local link state according to the received K value sent by the other device.
- the present invention further provides a link protection method, where the method includes: the primary device where the working link is located sends the switching decision information to the standby device where the protection link is located; and the standby device receives the The switching decision information obtained is determined, and a synchronization notification is sent to the master device according to the switching result of the decision. among them,
- the master device where the working link is located sends the switching decision information to the standby device where the protection link is located, when the master device detects the change of the link state, receives the switching command, and/or the fault alarm information, And sending the switching decision information to the standby device, where the fault alarm information includes a working link channel failure alarm or a working link channel failure disappearance alarm.
- the step of performing the decision according to the switching decision information includes: a protection group status and an effective path; and the step of the standby device sending a synchronization notification to the primary device includes: the standby device And according to the switching result, when at least one of the protection group state and the valid path changes, the synchronization notification is sent to the primary device.
- the method further includes: the primary device updating the local link status according to the received synchronization notification sent by the standby device.
- the method further includes: The standby device determines, according to the link state change information, the switch command, and/or the fault alarm information, when the link state changes, the switch command, and/or the fault alarm information is detected; wherein the fault is
- the alarm information includes a protection link channel failure alarm or a protection link channel failure disappearance alarm.
- the master device and the standby device detect whether the link state changes by comparing the received link state information with the locally saved link state information.
- the method further includes: after performing the switching according to the switching result, converting the switching result to a K value, and notifying the remote device of the standby device.
- the method further includes: when receiving the K value sent by the other device, the standby device updates the local link status according to the received K value.
- the method further includes: performing synchronization between the primary device and the standby device by periodically sending a communication packet.
- the present invention further provides a backup device of a link protection system, which is configured to: receive switching decision information sent by a primary device where a working link is located; and perform, according to the received switching decision information The decision is made, and a synchronization notification is sent to the master device according to the result of the switching of the decision.
- the standby device includes: a standby local state module, configured to: receive and save local link state information; and, after detecting that the link state changes, receiving the fault alert information, and/or receiving During the switching command, the switching decision information is sent to the decision module through the standby communication module; a communication module, configured to: send the received switching decision information sent by the master device and the standby local state module to the decision module; and send a synchronization notification to the master device; And the setting is: performing the decision according to the received switching decision information; and preparing an execution module, configured to: perform switching according to the switching result determined by the decision module, and pass the standby communication module according to the switching result of the decision Sending a synchronization notification to the master device. among them,
- the result of the decision switching includes a protection group status and an effective path;
- the standby execution module is configured to send a synchronization notification to the primary device as follows: according to the switching As a result, when at least one of the protection group status and the valid path changes, the synchronization notification is sent to the primary device. among them,
- the standby execution module is further configured to: after performing the switching according to the switching result, converting the conversion result to a K value, and notifying the remote device of the standby device by using the standby communication module. among them,
- the standby communication module is further configured to: receive a K value sent by another device; the standby execution module is further configured to: update the local link state according to the received K value sent by the other device.
- the present invention provides a cross-device multiplex section protection switching implementation method, and the multiplex section protection of the three network elements and the four network elements can be protected by the multiplex section of the device.
- the link protects the working link.
- FIG. 1 is a schematic diagram of a multiplex section protection of a single device
- FIG. 2 is a schematic diagram of a three-network element networking
- FIG. 3 is a schematic diagram of a cross-device link protection system according to an embodiment of the present invention
- 4 is a schematic diagram of a fault of a working link when a cross-device multiplex section protection network consisting of three network elements is configured
- FIG. 5 is a flowchart of processing of a cross-device link protection method according to an embodiment of the present invention
- a conventional multiplex section protection group working port and a protection port are both in the same device, so that the state of two ports can be simultaneously obtained for decision.
- the main object of the present invention is to provide a cross-device link protection solution, that is, a cross-device multiplex section protection group needs to be established between two devices, so the communication is performed, and the status of the working port and the protection port are acquired at the same time. , and then carry out the switching decision.
- the present invention provides a link protection method, which is a cross-device link protection method, and specifically uses the following technical solution: The primary device where the working link is located sends the switching decision information to the protection chain.
- the standby device is configured to perform a decision according to the received switching decision information, and send a synchronization notification to the primary device according to the switched result of the decision.
- the master device sends the switching decision information to the standby device when detecting a link state change, receiving a switch command, and/or fault alarm information, where the fault alarm information includes a working link. Channel failure alarm or working link channel failure disappearance alarm.
- the switching result of the decision includes the protection group status and the effective path; in the step of the standby device sending the synchronization notification to the active device, the standby device is according to the As a result of the switching, when at least one of the protection group status and the valid path changes, the synchronization notification is sent to the primary device.
- the method further includes: the primary device updating the local link status according to the received synchronization notification sent by the standby device.
- the method further includes: when detecting the change of the link state, receiving the switching command, and/or the fault alarm information, determining, by the standby device, the decision according to the link state change information, the switching command, and/or the fault alarm information;
- the fault alarm information includes a protection link channel failure alarm or a protection link channel failure disappearance alarm.
- the master device and the standby device detect whether the link state changes by comparing the received link state information with the locally saved link state information.
- the method further includes: after performing the switching according to the switching result, converting the switching result to a K value, and notifying the remote device of the standby device.
- the method further includes: when receiving the K value sent by the other device, the standby device updates the local link state according to the received K value.
- Embodiment 1 A link protection system provided in this embodiment is a cross-device link protection system, where the system consists of The two NEs are composed: the master device where the working link resides, and the standby device where the protection link resides. The primary device and the standby device together form a protection group.
- the device where the working link is located is defined as the master device, the link-connected port is the master port, and the protection link is located.
- a device is defined as a standby device, and a link-connected port is a standby port.
- the master device of this embodiment includes the following modules: a primary local state module, which is configured to: receive and save local link state information; Transmitting, by the primary communication module, the switching decision information to the standby device when detecting that the link state changes, receiving the fault alarm information, and/or receiving the switching command; the primary communication module And the setting is: sending the received switching decision information to the standby device; and receiving a synchronization notification sent by the standby device; and a main execution module, configured to: synchronize according to the standby device Notification updates the local link status.
- the standby device of the embodiment includes the following modules: a standby local state module, which is configured to: save state information of the local protection group, and detect whether the state information or the request information changes, and notify the decision module to make a decision when the change occurs;
- the communication module is mainly responsible for communication between network elements: on one hand, receiving a request message and a status message of another network element in the protection group, and notifying the decision module as one of triggering conditions for the switching decision, or receiving the switching result message and notifying
- the execution module performs the switching execution; on the other hand, the message is sent, the decision result of the decision module is notified to another network element of the protection group, or the command and alarm status of the network element are notified to the decision;
- a decision module which is set to: form the final switching result.
- the main functions of the active and standby local status modules include four aspects: (1) Save the configuration information and status of the local protection group.
- the protection group configuration information includes one or more of protection mode, protection type, waiting time, communication port, etc.
- the status of the protection group includes current status information and a valid port.
- the valid port is whether the current link is a working port or is protected. The port is valid; (2) receiving the link alarm information of the alarm detection module (the alarm detection module is independent of the protection module of the present invention), and notifying the decision module; (3) receiving the user-configured switching command, and Notifying the decision module; (4)
- the communication module of the standby device also needs to receive the K1 and K2 byte information sent by the remote device.
- the primary and secondary communication modules are responsible for the communication between the primary device and the standby device, and the following are: (1) Since the standby device is a decision device, the link state of the master device and the user-configured switchover command need to be notified by the communication module to the standby device; 2) The switching result of the standby device, that is, the decision device, needs to be sent to the master device through the communication module for state synchronization; (3) The communication packet is sent periodically to perform state synchronization and configuration check.
- the decision module mainly makes protocol decisions. (1) First, the alarm status is compared, and the low-priority alarm is not processed. (2) The priority of the user-configured switching command is compared, and the low-priority switching command is not processed. (3) According to the current highest priority alarm.
- the main and standby execution modules mainly perform: (1) converting the switching result into K1 and K2 bytes, and transmitting to the peer device and the node S1 through the backup link; (2) notifying the communication module to the master device for the status of the switching. Synchronize.
- the multiplex section protection networking across devices is shown in Figure 4.
- node S2 is the master device
- port 2 is the working port
- node S3 is the standby device
- portl is the protection port.
- the standby device is a decision device and needs to make state decisions.
- the master device does not make decisions and only synchronizes states.
- the active link is the working link, Linkl.
- Linkl fails, the node S2 first notifies the local status module after detecting the fault; the local status module compares the priority of the alarm, and does not directly deal with the low priority. When the priority is high, the current device is determined as the main device. In addition, the alarm status is notified to the communication module; finally, the communication module sends a message notification node S3.
- the communication module of the node S3 After receiving the alarm, the communication module of the node S3 notifies the decision module; then, the decision module compares the current state of the network element with the received alarm information according to the G.841 protocol, and calculates that the switching result is valid for the protection link, that is, the switching To Link2; Finally, the communication module of the node S3 notifies the node SI of the switching result, and after receiving the switching result, the S1 notifies the local state module of the status update, and the S3 will switch the result by the K value (K1 and K2 bytes). Notify node S1. At the same time, because the link is down (bidirectional down), the node SI can also detect the fault of Linkl, and can also switch to the protection tunnel Link2 by itself.
- the node SI also runs the protection of a single node, and also makes decisions; and the K value is also received, but the decision results of the two are consistent.
- S1 will not be aware of it.
- the S value is triggered by the K value, which ensures that the link Link2 service is valid.
- the fault recovery is first detected by S2, and the local state module is notified; then, after the local state module is compared with the current alarm, the information that the alarm disappears is sent to the opposite node S3 through the communication module. After receiving the information that the alarm disappears, the node S3 notifies the decision module.
- the switch returns to the working link. If the mode of the current protection group is reversed, the switch returns to the working link. If the mode of the current protection group is non-inverted, the protection chain remains in the protection chain. Finally, the communication module notifies the node S2 of the switching result for status update, and notifies the node S1 of the switching result through the K1 and K2 bytes. At the same time, the SI will also detect the Linkl fault recovery, and the protection group module of S1 is the same as the cross-device protection mode. The two protection groups will work on the protection link or the working link at the same time. Currently, the configuration command is used to enable the service to work on the protection link.
- Link2 fails.
- node S3 detects the fault and notifies the local status module. Then the local status module notifies the decision module to compare the priorities of the alarms. The high priority is processed. Because S3 is the standby device, the decision module directly performs logic. The result is a switch to the working tunnel; finally, the communication module notifies the node S2 of the switching result for state synchronization, and the node S3 notifies the node S1 of the switching result by the K1 and K2 bytes.
- Step S501 The cross-device link protection system receives an event trigger condition, such as the link failure shown in FIG.
- Step S502 After receiving the various events, the decision module first compares the event priorities, and the events of the same priority or low priority are directly processed without processing, otherwise the high priority proceeds to the next step.
- step S508 If the new alarm is Signal Fail on protection (SF-P), which is higher than the current alarm priority, then the process proceeds to step S503.
- step S503 it is determined whether the current device is a standby device, because the protocol calculation of the cross-device multiplex section protection of the present invention is only performed on the standby device, and the master device only updates the state and the effective path by directly receiving the switching result sent by the standby device.
- Step S504 the current device is the master device, and after receiving the high priority event, notifying the communication module to send the communication message to the standby device, and then proceeding to step S505; the communication message may be filled with different parameters according to different events, for example When the communication packet is sent as an alarm packet, the alarm information of the primary link is carried, and when the command is triggered, the command information configured by the user is carried.
- Step S505 After receiving the communication packet, the standby device performs the analysis, and performs corresponding processing on the different packets, for example, updating the primary link alarm information of the alarm message, and parsing and updating the command parameter for the command trigger message. Then, the information is passed to the switching decision module for decision, that is, the process proceeds to step S506.
- Step S506 the decision module of the standby device performs a decision operation according to the current latest parameter information according to the G.841 protocol, and obtains a new switching result, and proceeds to step S507.
- Step S507 comparing whether the newly generated protection group state and the effective path change, and when the state and the valid path have not changed, proceeding to process S509; otherwise, if any one changes, the process proceeds to step S508.
- Step S508 when the state of the protection group or the effective link changes, the result needs to be notified to the master device for status update, and in the case of the networking shown in FIG. 4, the switching result is also notified by K1 and K2 bytes.
- the remote device ie, the node S1 performs processing to ensure that the multiplex section protection group across the device and the protection group running on the node S1 are in the same state.
- step S509 the processing flow ends.
- the application of the present invention can effectively solve the protection problem of the SDH link of the three-network element network, and can support the user configuration switching command in the case of cross-device.
- Embodiment 3 In another embodiment of the present invention, as shown in FIG. 6, the network is composed of nodes Sl, S2, S3, and S4, and Link1 and Link2 are SDH links.
- a multiplex section protection group across devices is established on nodes SI and S2, nodes S3 and S4, respectively, and an Ethernet communication link is established between S1 and S2, and between S3 and S4.
- Linkl is set as the working link
- Linkl fails, the nodes S1 and S3 detect the link fault and notify the local state module.
- the nodes S2 and S4 Since they are all the master devices, they send alarm packets to the standby device, that is, node S2 and After receiving the alarms, the nodes S2 and S4 respectively enter the decision module for processing, and generate a new protection group status and an effective path, that is, switch to the protection path Link2; finally, the communication modules of the nodes S2 and S4 respectively notify them of the protection.
- the master devices in the group, S1 and S3, synchronize the status. Through this process, the protection link Link2 protects the working link Link1, and the multiplex section protection in the case of the four-network element networking is realized.
- the embodiment further provides a backup device of the link protection system, which is configured to: Receiving the switching decision information sent by the primary device where the working link is located; and performing the determining according to the received switching decision information, and sending a synchronization notification to the primary device according to the switching result of the decision.
- the standby device includes: a standby local state module, configured to: receive and save local link state information; and, after detecting that the link state changes, receiving the fault alert information, and/or receiving
- the switching communication module sends the switching decision information to the decision module through the standby communication module;
- the standby communication module is configured to: send the received switching decision information sent by the master device and the standby local state module to And the determining module, configured to: perform a decision according to the received switching decision information; and prepare an execution module, configured to: determine according to the decision module
- the switching result performs a switching, and sends a synchronization notification to the master device through the standby communication module according to the result of the switching of the decision.
- the standby execution module is configured to send a synchronization notification to the master device as follows: As a result of the switching, when at least one of the protection group status and the valid path changes, the synchronization notification is sent to the primary device.
- the standby execution module is further configured to: after performing the switching according to the switching result, converting the switching result to a K value, and notifying the remote device of the standby device by using the standby communication module.
- the standby communication module is further configured to: receive a K value sent by another device; the standby execution module is further configured to: update the local link state according to the received K value sent by the other device.
- the present invention can protect the multiplex section of the device between the three network elements and the four network elements to protect the working link.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Description
一种链路保护方法及系统
技术领域 本发明涉及复用段保护倒换技术领域, 尤其涉及一种链路保护方法及系 统。
背景技术 同步数字系列 (Synchronous Digital Hierarchy, 简称为 SDH )技术能够 取得飞速发展, 被广泛应用, 并且能被光传输系统釆用作为中层协议, 其中 一个重要的原因就是它的自愈保护功能。 而在各种组网保护中复用段保护 ( Multiplex Section Protection, 简称为 MSP )是一种高效的保护手段, 也是 当今光传输系统中最重要的保护手段之一。 国 际 电信联盟 电信标准 ( International Telecommunication Union-Telecommunication Standardization Sector, 简称为 ITU-T )在其 G.841 建议中, 明确定义了传输设备的复用段保护倒换协议自动保护倒换(Auto Protection Switching, 简称为 APS ) 。 协议规定, 复用段保护倒换是通过 K1 和 K2字节传递来实现的,其中 K1字节前 4位表示请求类型,后 4位指示业 务信号或所请求的复用段编号, 而 K2字节的比特 1-5表示 MSP倒换中的桥 接状态, 6-8比特用于指示倒换模式。 复用段保护倒换按照组网形式可分为线性和环形。 线性复用段保护倒换 是一种应用比较广泛的组网形式, 它是专用或者共享保护组机制。 线性复用 段保护倒换保护复用段层, 应用于点到点的物理拓朴中。 一个保护复用段能 被应用于保护 N个工作复用段中的正常业务信号, 但它不能保护节点故障。 线性复用段保护倒换可工作于单向和双向倒换, 并在双向模式下通过保护复 用段传送额外业务。 目前线性复用段保护主要用于单设备的保护。 如图 1所示, 单设备的线 性复用段保护组网由节点 S1和 S2组成,实现对 SDH链路( Link ) 1和 Link2 的保护。端口( Port ) 1和 Port2接入节点 S1 ,且配置 Port2为工作端口, Portl
为保护端口。 p0rt3和 Port4接入节点 S2, 且配置 Port4为工作端口, Port3 为保护端口。 因此, Linkl确认为工作链路, Link2确认为保护链路。 在节点 S1和 S2上分别创建线性复用段保护组, 配置工作端口、 保护端口、 保护模 式和类型等, 并运行 G.841协议从而实现 Link2对 Linkl的保护。 线性复用 段保护组支持 1+1单向、 1+1双向和 1 :1。 正常情况下, 业务工作在 Linkl , 当 Linkl发生故障时, S1和 S2检测到链路故障, 产生工作链路信号失效告 警(Signal Fail on Working, 简称为 SF-W ) , 根据当前的配置和状态进行协 议运算, 倒换到保护链路, 即 Link2。 当 Linkl故障恢复时, S1和 S2检测到 链路故障消失, 产生工作链路信号失效消失告警, 若当前配置为反转模式, 则根据决策倒换到工作链路, 若当前配置为非反转模式, 则根据决策保持在 保护链路。 这样就实现了对链路 Linkl的保护。 现有技术中主要存在如下问题: 目前实现的 MSP都是单设备的保护,针 对组网的三网元环境, 则无法起到链路保护的作用。 如图 2所示, 该组网由 节点 Sl、 S2和 S3组成, S2到 Sl、 S3到 S1为 SDH链路。 此时, Portl和 Port2不在同一个设备上, 应用传统的点到点的 MSP协议就没法实现保护链 路 Link2对工作链路 Linkl的保护。 同理, 在四网元组网的环境下, 传统的 复用段保护也不能起到链路保护的作用。
发明内容 本发明解决的技术问题是提供一种链路保护方法及系统, 实现三网元、 四网元组网时对 SDH链路的保护。 为解决上述技术问题,本发明提供了一种链路保护系统,所述系统包括: 由工作链路所在的主设备和保护链路所在的备设备组成的保护组, 其中: 所述主设备设置为: 发送倒换决策信息至所述备设备; 所述备设备设置为: 根据收到的所述倒换决策信息进行决策, 并根据决 策的倒换结果向所述主设备发送同步通知。 所述主设备包括: 主本地状态模块, 其设置为: 接收并保存本地链路状态信息; 以及, 在
检测到链路状态发生变化、 收到所述故障告警信息、 和 /或收到所述倒换命令 时, 通过主通信模块向所述备设备发送所述倒换决策信息; 主通信模块,其设置为:将收到的所述倒换决策信息发送至所述备设备; 以及, 接收所述备设备发送的同步通知; 以及 主执行模块, 其设置为: 根据所述备设备发送的同步通知更新本地链路 状态。 所述备设备包括: 备本地状态模块, 其设置为: 接收并保存本地链路状态信息; 以及, 在 检测到链路状态发生变化、 收到所述故障告警信息、 和 /或收到所述倒换命令 时, 通过备通信模块向决策模块发送倒换决策信息; 备通信模块, 其设置为: 将接收到的所述主设备及所述备本地状态模块 发送的所述倒换决策信息发送给所述决策模块; 以及, 向所述主设备发送同 步通知; 决策模块, 其设置为: 根据收到的所述倒换决策信息进行决策; 以及 备执行模块, 其设置为: 根据所述决策模块决策的倒换结果执行倒换, 并根据决策的倒换结果通过所述备通信模块向所述主设备发送同步通知。 其中, 所述决策模块根据所述倒换决策信息进行决策时, 决策的倒换结果包括 保护组状态和有效路径; 所述备执行模块是设置为按如下方式向所述主设备发送同步通知: 根据 所述倒换结果, 当所述保护组状态和有效路径中有至少一个发生变化时, 向 所述主设备发送所述同步通知。 其中, 所述备执行模块还设置为: 在根据所述倒换结果执行倒换后, 将所述倒 换结果转换为 K值, 通过所述备通信模块通知所述备设备的远端设备。 其中,
所述备通信模块还设置为: 接收其他设备发送的 K值; 所述备执行模块还设置为: 根据收到的其他设备发送的 K值, 更新本地 链路状态。
为解决上述技术问题, 本发明还提供了一种链路保护方法, 所述方法包 括: 工作链路所在的主设备发送倒换决策信息至保护链路所在的备设备; 以 及 所述备设备根据收到的所述倒换决策信息进行决策, 并根据决策的倒换 结果向所述主设备发送同步通知。 其中,
工作链路所在的主设备发送倒换决策信息至保护链路所在的备设备的步 骤中, 所述主设备是在检测到链路状态发生变化、 收到倒换命令、 和 /或故障 告警信息时, 向所述备设备发送所述倒换决策信息; 其中, 所述故障告警信息包括工作链路信道失效告警或工作链路信道失 效消失告警。 其中, 所述备设备根据所述倒换决策信息进行决策的步骤中, 决策的倒换结果 包括保护组状态和有效路径; 所述备设备向所述主设备发送同步通知的步骤包括: 所述备设备根据所 述倒换结果, 当所述保护组状态和有效路径中有至少一个发生变化时, 向所 述主设备发送所述同步通知。 所述方法还包括: 所述主设备根据收到的所述备设备发送的同步通知更新本地链路状态。 所述方法还包括:
所述备设备在检测到链路状态发生变化、 收到倒换命令、 和 /或故障告警 信息时, 根据链路状态变化信息、 倒换命令、 和 /或故障告警信息进行决策; 其中, 所述故障告警信息包括保护链路信道失效告警或保护链路信道失 效消失告警。
其中, 所述主设备和所述备设备是通过比较接收到的链路状态信息与本地保存 的链路状态信息, 检测链路状态是否发生变化。 所述方法还包括: 所述备设备在根据所述倒换结果执行倒换后, 还将所述倒换结果转换为 K值, 通知所述备设备的远端设备。 所述方法还包括: 所述备设备在接收到其他设备发送的 K值时,根据接收到的所述 K值更 新本地链路状态。 所述方法还包括: 所述主设备和所述备设备之间通过定期发送通信报文, 进行状态同步。
为解决上述技术问题, 本发明还提供了一种链路保护系统的备设备, 其 设置为: 接收工作链路所在的主设备发送的倒换决策信息; 以及 根据收到的所述倒换决策信息进行决策, 并根据决策的倒换结果向所述 主设备发送同步通知。 其中, 所述备设备包括: 备本地状态模块, 其设置为: 接收并保存本地链路状态信息; 以及, 在 检测到链路状态发生变化、 收到所述故障告警信息、 和 /或收到所述倒换命令 时, 通过备通信模块向决策模块发送倒换决策信息;
备通信模块, 其设置为: 将接收到的所述主设备及所述备本地状态模块 发送的所述倒换决策信息发送给所述决策模块; 以及, 向所述主设备发送同 步通知; 决策模块, 其设置为: 根据收到的所述倒换决策信息进行决策; 以及 备执行模块, 其设置为: 根据所述决策模块决策的倒换结果执行倒换, 并根据决策的倒换结果通过所述备通信模块向所述主设备发送同步通知。 其中,
所述决策模块根据所述倒换决策信息进行决策时, 决策的倒换结果包括 保护组状态和有效路径; 所述备执行模块是设置为按如下方式向所述主设备发送同步通知: 根据 所述倒换结果, 当所述保护组状态和有效路径中有至少一个发生变化时, 向 所述主设备发送所述同步通知。 其中,
所述备执行模块还设置为: 在根据所述倒换结果执行倒换后, 将所述倒 换结果转换为 K值, 通过所述备通信模块通知所述备设备的远端设备。 其中,
所述备通信模块还设置为: 接收其他设备发送的 K值; 所述备执行模块还设置为: 根据收到的其他设备发送的 K值, 更新本地 链路状态。
与现有技术相比, 本发明提出一种跨设备的复用段保护倒换实现方法, 通过本发明, 可以对三网元和四网元的组网进行跨设备的复用段保护, 实现 保护链路对工作链路的保护。
附图概述 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部
分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1是单设备的复用段保护组网图; 图 2是三网元组网时的示意图; 图 3是依据本发明实施例的跨设备链路保护系统的组成示意图; 图 4是由三网元组成的跨设备复用段保护组网时, 工作链路出现故障的 示意图; 图 5是依据本发明实施例的跨设备链路保护方法的处理流程图; 图 6是依据本发明实施例的四网元组网时的示意图。
本发明的较佳实施方式 传统的复用段保护组工作端口和保护端口都在同一设备, 因而可以同时 获取两个端口的状态进行决策。 本发明的主要目的是提供一种跨设备链路保 护的解决方案, 即需要在两个设备间建立跨设备的复用段保护组, 因此, 本 进行通信, 同时获取工作端口和保护端口的状态, 进而进行倒换决策。 基于上述思想, 本发明提供一种链路保护方法, 该链路保护方法为一种 跨设备链路保护方法, 具体釆用如下技术方案: 工作链路所在的主设备发送倒换决策信息至保护链路所在的备设备; 以 及 所述备设备根据收到的所述倒换决策信息进行决策, 并根据决策的倒换 结果向所述主设备发送同步通知。 其中, 所述主设备在检测到链路状态发生变化、 收到倒换命令、 和 /或故 障告警信息时, 向所述备设备发送所述倒换决策信息; 其中所述故障告警信息包括工作链路信道失效告警或工作链路信道失效 消失告警。
所述备设备根据所述倒换决策信息进行决策的步骤中, 决策的倒换结果 包括保护组状态和有效路径; 备设备向所述主用设备发送同步通知的步骤中, 所述备设备根据所述倒 换结果, 当所述保护组状态和有效路径中有至少一个发生变化时, 向所述主 设备发送所述同步通知。 该方法还包括: 所述主设备根据收到的所述备设备发送的同步通知更新 本地链路状态。 该方法还包括: 所述备设备在检测到链路状态发生变化、 收到倒换命令、 和 /或故障告警 信息时, 根据链路状态变化信息、 倒换命令、 和 /或故障告警信息进行决策; 其中, 所述故障告警信息包括保护链路信道失效告警或保护链路信道失 效消失告警。 所述主设备和所述备设备通过比较接收到的链路状态信息与本地保存的 链路状态信息, 检测链路状态是否发生变化。 所述方法还包括: 所述备设备在根据所述倒换结果执行倒换后, 还将所述倒换结果转换为 K值, 通知所述备设备的远端设备。 所述方法还包括: 所述备设备在接收到其他设备发送的 K值时,根据接收到的所述 K值更 新本地链路状态。
以下将结合附图及具体实施例对本发明技术方案的实施作进一步详细描 述。 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特 征可以相互任意组合。 实施例一 本实施例提供的链路保护系统为一种跨设备的链路保护系统, 该系统由
两个网元组成: 工作链路所在的主设备, 和保护链路所在的备设备。 主设备 和备设备共同构成一个保护组。 由于本发明的跨设备的复用段保护, 工作链路和保护链路不在同一个设 备上, 因此工作链路所在的设备定义为主设备, 链路相连端口为主端口, 保 护链路所在的设备定义为备设备, 链路相连端口为备端口。 下面以单网元为例说明本实施例的系统框架, 如图 3所示, 本实施例的 主设备包括以下模块: 主本地状态模块, 其设置为: 接收并保存本地链路状态信息; 以及, 在 检测到链路状态发生变化、 收到所述故障告警信息、 和 /或收到所述倒换命令 时, 通过所述主通信模块向所述备设备发送所述倒换决策信息; 主通信模块,其设置为:将收到的所述倒换决策信息发送至所述备设备; 以及, 接收所述备设备发送的同步通知; 以及 主执行模块, 其设置为: 根据所述备设备发送的同步通知更新本地链路 状态。 本实施例的备设备包括以下模块: 备本地状态模块, 其设置为: 保存本地保护组的状态信息, 并检测状态 信息或请求信息是否发生变化, 当发生变化时, 通知决策模块进行决策; 备通信模块, 主要负责网元间的通信: 一方面, 接收保护组中另一网元 的请求消息和状态消息并通知给决策模块作为倒换决策的触发条件之一, 或 是接收倒换结果消息并通知给执行模块, 进行倒换执行; 另一方面, 进行报 文发送, 将决策模块的决策结果通知给保护组的另一个网元, 或是将本网元 的命令、 告警状态通知给它进行决策; 决策模块, 其设置为: 形成最终的倒换结果。 接收通信模块发送来的其 它网元的请求信息、状态信息和本地状态模块发送来的请求信息和状态信息, 并综合以上所有信息进行优先级比较及逻辑运算, 决策出最后的倒换结果, 同时, 在倒换结果发生变化时将结果通知到备执行模块; 备执行模块, 其设置为: 完成倒换结果的实际执行, 并将倒换结果通知
其他保护组, 进行联动, 实现各个保护组的状态统一。 下面将进一步说明各个模块的具体作用和流程。
主、备本地状态模块主要的功能包括四个方面: ( 1 )保存本地保护组的 配置信息和状态。 保护组的配置信息包括保护模式、 保护类型、 等待时间、 通信端口等中的一个或多个,保护组的状态包括当前的状态信息和有效端口, 有效端口就是当前链路是工作端口有效还是保护端口有效; ( 2 )接收告警检 测模块(该告警检测模块与本发明的保护组是独立的功能模块) 的链路告警 信息, 并通知到决策模块; (3 )接收用户配置的倒换命令, 并通知到决策模 块; ( 4 )备设备的通信模块还需接收远端设备发送过来的 K1和 K2字节信 息。 主、备通信模块负责主设备和备设备的通信, 主要包括: ( 1 )由于备设 备为决策设备, 因此主设备的链路状态和用户配置的倒换命令需要由通信模 块通知给备设备; ( 2 )备设备即决策设备的倒换结果需要通过通信模块发送 到主设备进行状态同步; ( 3 )定时发送通信报文,进行状态同步与配置检查。 决策模块主要进行协议决策。 (1 )首先进行告警状态的比较,低优先级 告警不处理; ( 2 )进行用户配置的倒换命令的优先级比较, 低优先级的倒换 命令不作处理; (3 )根据当期最高优先级的告警信息、 配置命令信息和当前 生效的状态信息进行决策。 ( 4 )将决策结果通知执行模块。 主、 备执行模块主要进行: ( 1 )将倒换结果转化为 K1和 K2字节, 通 过备链路发送到对端设备及节点 S1 ; ( 2 )将倒换结果通知通信模块发送到 主设备进行状态同步。 三网元组网时, 跨设备的复用段保护组网如图 4所示。 在图 4中, 节点 S2为主设备, port2为工作端口, 节点 S3为备设备, portl为保护端口。 在 主、 备设备组成的保护组中, 备设备为决策设备, 需要进行状态决策; 而主 设备不进行决策, 只进行状态的同步。 当一切正常时, 有效链路为工作链路, 即 Linkl。 当 Linkl发生故障时 , 首先节点 S2检测到故障后, 通知给本地状态模块; 本地状态模块进行告警 的优先级比较, 低优先级时直接不处理, 高优先级时, 判断当前设备为主设
备, 则将告警状态通知通信模块; 最后由通信模块发送报文通知节点 S3。 节 点 S3的通信模块接收到告警后, 通知决策模块; 接着, 决策模块根据 G.841 协议, 比较本网元的当前状态和接收到的告警信息, 计算出倒换结果为保护 链路有效, 即倒换到 Link2; 最后, 节点 S3的通信模块将倒换结果通知给节 点 SI , S1接收到倒换结果后, 通知给本地状态模块进行状态更新, 且 S3会 通过 K值( K1和 K2字节)将倒换结果通知节点 S1。 同时, 因为链路 down (双向 down ) , 节点 SI也可以检测到 Linkl的故障, 也可以自己进行倒换 到保护隧道 Link2。 例如节点 SI也会运行单节点的保护, 也会进行决策; 而 K值也会接收, 但两者的决策结果是一致的。 但如果在 S2或是 S3配置命令 或是单通情况, 则 S1就感知不到了, 这时就要通过 K值触发 S1进行倒换, 这样就保证了链路 Link2的业务有效。 当 Linkl故障恢复后,首先也是 S2检测到故障恢复, 并通知给本地状态 模块; 接着本地状态模块与当前告警比较后, 将告警消失的信息通过通信模 块发送到对端节点 S3。 节点 S3接收到告警消失的信息后, 通知给决策模块, 如果当前保护组的模式为反转式, 则倒换回工作链路, 若当前保护组的模式 为非反转式则保持在保护链路; 最后由通信模块将倒换结果通知给节点 S2 进行状态更新, 并且将倒换结果通过 K1和 K2字节通知节点 Sl。 同时 SI也 会检测到 Linkl故障恢复,且 S1的保护组模块与跨设备保护的模式相同,则 两个保护组会同时工作在保护链路或是工作链路。 当前已经通过配置命令使业务工作在保护链路, 若此时保护链路即
Link2出现故障, 首先节点 S3检测到故障产生, 通知本地状态模块; 接着本 地状态模块通知给决策模块进行告警的优先级比较, 高优先级进行处理, 因 为 S3为备设备, 因此决策模块直接进行逻辑运算, 结果为倒换到工作隧道; 最后由通信模块将倒换结果通知给节点 S2进行状态同步, 同时节点 S3通过 K1和 K2字节将倒换结果通知节点 S1。 保护链路 Link2故障恢复后, 同样 S3检测到后通知本地状态模块;接着 本地状态模块通知给决策模块,根据 G.841协议计算后仍然保持在工作链路, 但此时状态发生了变化; 最后同样由通信模块通知节点 S2,且通过 K1和 K2 字节将倒换结果通知节点 Sl。
实施例二 如图 5所示,为本发明实施例的跨设备链路保护方法的处理流程示意图。 具体的流程描述如下: 步骤 S501 ,跨设备链路保护系统接收到事件触发条件, 例如图 4所示的 链路故障或是用户配置的手动命令或是收到图 4中节点 S1的 K1和 K2字节 ( K字节只会在保护链路上收到, 因此, 在收到 K值信息后, 直接在备设备 进行决策, 产生倒换结果后通知到主设备进行同步) , 此时, 都会触发跨设 备复用段保护的流程, 接着进入步骤 S502。 步骤 S502, 决策模块接收到各种事件后, 首先进行事件优先级的比较, 相同优先级或是低优先级的事件不作处理直接结束, 否则高优先级时进入下 一步处理。 例如该事件为链路故障, 当前告警为 SF-W, 新告警为信号降级 ( signal degrade, 简称为 sd ) 时, 新告警的优先级低于当前的有效告警, 因 此不作处理直接结束,进入步骤 S508; 若新告警为信号失效保护(Signal Fail on protecting, 简称为 SF-P ) , 比当前告警优先级高, 此时就进入步骤 S503。 步骤 S503 , 判断当前设备是否为备设备, 因为本发明的跨设备复用段保 护的协议计算只在备设备运行, 而主设备只是接收备设备发送过来的倒换结 果直接进行状态和有效路径的更新, 因此, 若当前设备不是备设备, 则进入 步骤 S504; 若当前设备为备设备, 进入步骤 S506。 步骤 S504, 当前设备为主设备, 当接收到高优先级的事件后, 通知通信 模块发送通信报文到备设备, 接着进入步骤 S505; 通信报文可以根据不同的事件进行不同参数的填充, 例如当发送通信报 文为告警报文时携带主链路的告警信息, 发送命令触发报文时携带用户配置 的命令信息。 步骤 S505 ,备设备收到通信报文后进行解析, 并对不同报文进行相应的 处理, 例如对告警报文进行主链路告警信息更新, 对命令触发报文则进行命 令参数的解析、 更新, 接着将这些信息传递给倒换决策模块进行决策, 即进 入步骤 S506。
步骤 S506,备设备的决策模块根据当前的最新参数信息根据 G.841协议 进行决策运算, 得到新的倒换结果, 进入步骤 S507。 步骤 S507 , 比较新产生的保护组状态和有效路径是否发生变化, 当状态 和有效路径都没有变化时, 进入流程 S509; 否则, 只要有一个发生变化都进 入步骤 S508。 步骤 S508, 保护组的状态或是有效链路发生变化时, 需要将结果通知给 主设备进行状态更新, 同时在图 4所示组网情况下,还要将倒换结果通过 K1 和 K2字节通知远端设备 (即节点 S1 )进行处理, 以保证跨设备的复用段保 护组和节点 S1上运行的保护组状态一致。 步骤 S509, 处理流程结束。 根据以上描述,应用本发明可以有效的解决三网元组网的 SDH链路的保 护问题, 并且可以实现跨设备情况下支持用户配置倒换命令。
实施例三 本发明的另一个实施例中, 如图 6所示, 网络由节点 Sl、 S2、 S3和 S4 组成, Linkl和 Link2为 SDH链路。 在节点 SI和 S2、 节点 S3和 S4上分别 建立跨设备的复用段保护组, 并在 S1和 S2间、 S3和 S4间建立以太通信链 路。 设定 Linkl为工作链路, 则当 Linkl出现故障时, 节点 S1和 S3检测到 链路故障, 通知本地状态模块, 由于都为主设备, 因此分别发送告警报文到 备设备, 即节点 S2和 S4; 接着节点 S2和 S4收到告警后, 分别进入决策模 块进行处理, 产生新的保护组状态和有效路径, 即倒换到保护路径 Link2; 最后再由节点 S2和 S4的通信模块分别通知他们保护组内的主设备即 S1和 S3 ,进行状态的同步。通过此过程就完成了保护链路 Link2对工作链路 Linkl 的保护, 实现了四网元组网情况下的复用段保护。
本实施例还提供了一种链路保护系统的备设备, 其设置为:
接收工作链路所在的主设备发送的倒换决策信息; 以及 根据收到的所述倒换决策信息进行决策, 并根据决策的倒换结果向所述 主设备发送同步通知。 其中, 所述备设备包括: 备本地状态模块, 其设置为: 接收并保存本地链路状态信息; 以及, 在 检测到链路状态发生变化、 收到所述故障告警信息、 和 /或收到所述倒换命令 时, 通过备通信模块向决策模块发送倒换决策信息; 备通信模块, 其设置为: 将接收到的所述主设备及所述备本地状态模块 发送的所述倒换决策信息发送给所述决策模块; 以及, 向所述主设备发送同 步通知; 决策模块, 其设置为: 根据收到的所述倒换决策信息进行决策; 以及 备执行模块, 其设置为: 根据所述决策模块决策的倒换结果执行倒换, 并根据决策的倒换结果通过所述备通信模块向所述主设备发送同步通知。 其中, 所述决策模块根据所述倒换决策信息进行决策时, 决策的倒换结果包括 保护组状态和有效路径; 所述备执行模块是设置为按如下方式向所述主设备发送同步通知: 根据 所述倒换结果, 当所述保护组状态和有效路径中有至少一个发生变化时, 向 所述主设备发送所述同步通知。 其中, 所述备执行模块还设置为: 在根据所述倒换结果执行倒换后, 将所述倒 换结果转换为 K值, 通过所述备通信模块通知所述备设备的远端设备。 其中, 所述备通信模块还设置为: 接收其他设备发送的 K值; 所述备执行模块还设置为: 根据收到的其他设备发送的 K值, 更新本地 链路状态。
以上仅为本发明的优选实施案例而已, 并不用于限制本发明, 本发明还 可有其他多种实施例, 在不背离本发明精神及其实质的情况下, 熟悉本领域 的技术人员可根据本发明做出各种相应的改变和变形, 但这些相应的改变和 变形都应属于本发明所附的权利要求的保护范围。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并 且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤, 或者 将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作 成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件 结合。
工业实用性 本发明可以对三网元和四网元的组网进行跨设备的复用段保护, 实现保 护链路对工作链路的保护。
Claims
1、一种链路保护系统, 所述系统包括: 由工作链路所在的主设备和保护 链路所在的备设备组成的保护组, 其中: 所述主设备设置为: 发送倒换决策信息至所述备设备; 所述备设备设置为: 根据收到的所述倒换决策信息进行决策, 并根据决 策的倒换结果向所述主设备发送同步通知。
2、 如权利要求 1所述的系统, 其中, 所述主设备包括: 主本地状态模块, 其设置为: 接收并保存本地链路状态信息; 以及, 在 检测到链路状态发生变化、 收到所述故障告警信息、 和 /或收到所述倒换命令 时, 通过主通信模块向所述备设备发送所述倒换决策信息; 主通信模块,其设置为:将收到的所述倒换决策信息发送至所述备设备; 以及, 接收所述备设备发送的同步通知; 以及 主执行模块, 其设置为: 根据所述备设备发送的同步通知更新本地链路 状态。
3、 如权利要求 1或 2所述的系统, 其中, 所述备设备包括: 备本地状态模块, 其设置为: 接收并保存本地链路状态信息; 以及, 在 检测到链路状态发生变化、 收到所述故障告警信息、 和 /或收到所述倒换命令 时, 通过备通信模块向决策模块发送倒换决策信息; 备通信模块, 其设置为: 将接收到的所述主设备及所述备本地状态模块 发送的所述倒换决策信息发送给所述决策模块; 以及, 向所述主设备发送同 步通知; 决策模块, 其设置为: 根据收到的所述倒换决策信息进行决策; 以及 备执行模块, 其设置为: 根据所述决策模块决策的倒换结果执行倒换, 并根据决策的倒换结果通过所述备通信模块向所述主设备发送同步通知。
4、 如权利要求 3所述的系统, 其中, 所述决策模块根据所述倒换决策信息进行决策时, 决策的倒换结果包括 保护组状态和有效路径; 所述备执行模块是设置为按如下方式向所述主设备发送同步通知: 根据 所述倒换结果, 当所述保护组状态和有效路径中有至少一个发生变化时, 向 所述主设备发送所述同步通知。
5、 如权利要求 3所述的系统, 其中, 所述备执行模块还设置为: 在根据所述倒换结果执行倒换后, 将所述倒 换结果转换为 K值, 通过所述备通信模块通知所述备设备的远端设备。
6、 如权利要求 5所述的系统, 其中, 所述备通信模块还设置为: 接收其他设备发送的 K值; 所述备执行模块还设置为: 根据收到的其他设备发送的 K值, 更新本地 链路状态。
7、 一种链路保护方法, 所述方法包括: 工作链路所在的主设备发送倒换决策信息至保护链路所在的备设备; 以 及 所述备设备根据收到的所述倒换决策信息进行决策, 并根据决策的倒换 结果向所述主设备发送同步通知。
8、 如权利要求 7所述的方法, 其中, 工作链路所在的主设备发送倒换决策信息至保护链路所在的备设备的步 骤中, 所述主设备是在检测到链路状态发生变化、 收到倒换命令、 和 /或故障 告警信息时, 向所述备设备发送所述倒换决策信息; 其中, 所述故障告警信息包括工作链路信道失效告警或工作链路信道失 效消失告警。
9、 如权利要求 7所述的方法, 其中, 所述备设备根据所述倒换决策信息进行决策的步骤中, 决策的倒换结果 包括保护组状态和有效路径; 所述备设备向所述主设备发送同步通知的步骤包括: 所述备设备根据所 述倒换结果, 当所述保护组状态和有效路径中有至少一个发生变化时, 向所 述主设备发送所述同步通知。
10、 如权利要求 7或 9所述的方法, 所述方法还包括: 所述主设备根据收到的所述备设备发送的同步通知更新本地链路状态。
11、 如权利要求 7所述的方法, 所述方法还包括: 所述备设备在检测到链路状态发生变化、 收到倒换命令、 和 /或故障告警 信息时, 根据链路状态变化信息、 倒换命令、 和 /或故障告警信息进行决策; 其中, 所述故障告警信息包括保护链路信道失效告警或保护链路信道失 效消失告警。
12、如权利要求 8或 11所述的方法, 其中, 所述主设备和所述备设备是 通过比较接收到的链路状态信息与本地保存的链路状态信息, 检测链路状态 是否发生变化。
13、 如权利要求 7、 8或 9所述的方法, 所述方法还包括: 所述备设备在 根据所述倒换结果执行倒换后, 还将所述倒换结果转换为 K值, 通知所述备 设备的远端设备。
14、如权利要求 13所述的方法, 所述方法还包括: 所述备设备在接收到 其他设备发送的 K值时, 根据接收到的所述 K值更新本地链路状态。
15、 如权利要求 7、 8、 9或 11所述的方法, 所述方法还包括: 所述主设备和所述备设备之间通过定期发送通信报文, 进行状态同步。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010594035.4 | 2010-12-17 | ||
CN2010105940354A CN102035680A (zh) | 2010-12-17 | 2010-12-17 | 一种跨设备链路保护方法及系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012079313A1 true WO2012079313A1 (zh) | 2012-06-21 |
Family
ID=43888047
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2011/071734 WO2012079313A1 (zh) | 2010-12-17 | 2011-03-11 | 一种链路保护方法及系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102035680A (zh) |
WO (1) | WO2012079313A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102857420A (zh) * | 2012-08-24 | 2013-01-02 | 中兴通讯股份有限公司 | 跨线卡保护方法、相关装置及线卡业务接入ptn的方法及系统 |
CN113965452A (zh) * | 2021-11-02 | 2022-01-21 | 烽火通信科技股份有限公司 | 一种设备倒换状态获取方法及装置 |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102801466B (zh) * | 2012-08-17 | 2017-05-17 | 中兴通讯股份有限公司 | 一种单光纤故障处理方法及装置 |
CN102891767B (zh) * | 2012-09-27 | 2016-03-30 | 华为技术有限公司 | 一种链路保护方法、网元及系统 |
CN103052106B (zh) * | 2012-12-20 | 2016-03-09 | 华为技术有限公司 | 跨设备的线性复用段保护方法、网关及控制器 |
CN106941414A (zh) * | 2016-01-04 | 2017-07-11 | 中兴通讯股份有限公司 | 链路保护决策结果的同步方法和装置及链路保护系统 |
CN107888280A (zh) * | 2016-09-29 | 2018-04-06 | 中兴通讯股份有限公司 | 复用段保护双向倒换方法、装置及系统 |
CN109787895B (zh) * | 2019-03-29 | 2020-10-27 | 烽火通信科技股份有限公司 | 一种双归保护方法、接入节点、设备及通信网络 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101001123A (zh) * | 2006-12-31 | 2007-07-18 | 华为技术有限公司 | 用于光传输网络的倒换方法和装置 |
US20100166419A1 (en) * | 2008-12-30 | 2010-07-01 | Broadlight, Ltd. | Techniques for protecting passive optical networks |
CN101834687A (zh) * | 2009-03-11 | 2010-09-15 | 华为技术有限公司 | 光接入网络的主备倒换方法、系统和设备 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101854255B (zh) * | 2010-05-14 | 2014-03-12 | 中兴通讯股份有限公司 | 分组传送网中复用段保护的方法及系统 |
-
2010
- 2010-12-17 CN CN2010105940354A patent/CN102035680A/zh active Pending
-
2011
- 2011-03-11 WO PCT/CN2011/071734 patent/WO2012079313A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101001123A (zh) * | 2006-12-31 | 2007-07-18 | 华为技术有限公司 | 用于光传输网络的倒换方法和装置 |
US20100166419A1 (en) * | 2008-12-30 | 2010-07-01 | Broadlight, Ltd. | Techniques for protecting passive optical networks |
CN101834687A (zh) * | 2009-03-11 | 2010-09-15 | 华为技术有限公司 | 光接入网络的主备倒换方法、系统和设备 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102857420A (zh) * | 2012-08-24 | 2013-01-02 | 中兴通讯股份有限公司 | 跨线卡保护方法、相关装置及线卡业务接入ptn的方法及系统 |
CN102857420B (zh) * | 2012-08-24 | 2016-01-20 | 中兴通讯股份有限公司 | 跨线卡保护方法、相关装置及线卡业务接入ptn的方法及系统 |
CN113965452A (zh) * | 2021-11-02 | 2022-01-21 | 烽火通信科技股份有限公司 | 一种设备倒换状态获取方法及装置 |
CN113965452B (zh) * | 2021-11-02 | 2023-11-03 | 烽火通信科技股份有限公司 | 一种设备倒换状态获取方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN102035680A (zh) | 2011-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11916722B2 (en) | System and method for resilient wireless packet communications | |
WO2012079313A1 (zh) | 一种链路保护方法及系统 | |
EP1575221B1 (en) | Ethernet automatic protection switching | |
US8179788B2 (en) | Protection switching method and apparatus for use in ring network | |
EP2458797B1 (en) | Method, device and system for updating ring network topology information | |
EP2569904B1 (en) | A ring node, an ethernet ring and methods for loop protection in an ethernet ring | |
US7924707B2 (en) | Method for realizing many to many protection switching of ring network | |
JP5471240B2 (ja) | スイッチ装置、リングネットワークシステム、通信制御方法、および装置のプログラム | |
US20030214962A1 (en) | Method and apparatus for bandwidth optimization in network ring topology | |
CN100450036C (zh) | 一种rrpp与局部stp组网故障恢复时防止环路的方法和装置 | |
WO2010045832A1 (zh) | 用于以太环网的链路聚合组的保护方法及装置 | |
JPH1098489A (ja) | 複合リング形ネットワークシステムにおけるパス切替方法及び装置 | |
US7606240B1 (en) | Ethernet automatic protection switching | |
WO2012142870A1 (zh) | 一种自动保护倒换方法、主设备及设备 | |
WO2012167667A1 (zh) | 一种信号劣化处理方法、装置及节点设备 | |
WO2010060284A1 (zh) | 多环以太网的保护方法和装置 | |
JP2007174119A (ja) | レイヤ2ネットワーク | |
CN101436975B (zh) | 一种在环网中实现快速收敛的方法、装置及系统 | |
WO2012079418A1 (zh) | 一种相交相切环网保护方法及系统 | |
US20180351686A1 (en) | Fault propagation in segmented protection | |
WO2006079286A1 (fr) | Procede d'enclenchement d'un reroutage de service | |
JP5004758B2 (ja) | レイヤ2ネットワークおよびネットワーク接続装置 | |
JP2011223172A (ja) | リング型ネットワークシステム、通信装置および障害検出方法 | |
WO2008064585A1 (fr) | Procédé, système et périphérique d'anneau de paquets résilients qui permettent d'éviter l'apparence d'une boucle après reprise après défaillance | |
WO2013067883A1 (zh) | 一种自动切换的方法和系统 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11849502 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: 11849502 Country of ref document: EP Kind code of ref document: A1 |