WO2016180084A1 - 一种实现自动保护倒换的方法、本端节点和对端节点 - Google Patents

一种实现自动保护倒换的方法、本端节点和对端节点 Download PDF

Info

Publication number
WO2016180084A1
WO2016180084A1 PCT/CN2016/076891 CN2016076891W WO2016180084A1 WO 2016180084 A1 WO2016180084 A1 WO 2016180084A1 CN 2016076891 W CN2016076891 W CN 2016076891W WO 2016180084 A1 WO2016180084 A1 WO 2016180084A1
Authority
WO
WIPO (PCT)
Prior art keywords
protocol type
node
local node
protection switching
local
Prior art date
Application number
PCT/CN2016/076891
Other languages
English (en)
French (fr)
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 WO2016180084A1 publication Critical patent/WO2016180084A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability

Definitions

  • This document refers to, but is not limited to, optical network technology, especially a method for implementing Automatic Protect Switching (APS), a local node and a peer node.
  • APS Automatic Protect Switching
  • APS technology has been widely used in optical networks. Except for the protection type of 1+1 unidirectional switching, other protection types require two nodes of the protected area (A and Z, A represents the source node, and Z represents the destination node). Coordinating bridging and selection actions between different types of protection, bridging types, and selection types require different protocol types.
  • the related method for implementing the APS generally includes: after the local node confirms the trigger switching, performs protection switching with the peer node according to the preset protocol type.
  • the local node and the opposite node are two nodes of the protected area.
  • Table 1 is a table of correspondence between related protocol types, protection types, bridge types, and selection types.
  • the communication process of state-1 is Z ⁇ A
  • the communication process of state-2 is Z ⁇ A and A ⁇ Z
  • the communication process of state-3 is Z.
  • the switching time is defined in the protection switching time model proposed by the International Telecommunication Union Telecommunication Standardization Sector (ITU-T), including:
  • T1 The time interval between the occurrence of a network impairment and the detection of a signal failure (SF, Signal Fail) or signal degradation (SD, Signal Degree) triggered by the network impairment.
  • Delay Waiting Time The time interval between the detection of an SF or SD triggered by the network impairment to the condition that the detected SF or SD is confirmed to be a protection switching.
  • Protection switching operation time (T3) The time interval between the detection and transmission of the control signal necessary for the protection switching is confirmed from the condition that the detected SF or SD is required to perform the protection switching.
  • Protection switching transfer time (T4): The time interval between the processing of the control signal necessary to complete the protection switching and the operation to complete the protection switching.
  • Recovery time (T5): The time interval between the completion of the protection switching operation and the full recovery of the protected service.
  • Tr T1 + T2 + T3 + T4 + T5 from the time interval between the occurrence of network damage and the completion of recovery of the protected service.
  • T1 to T5 For the minimization of the switching time, it is necessary to satisfy Tr less than 50 milliseconds (ms), and each time T1 to T5 needs to be smaller than the corresponding maximum value, namely T1max, T2max, T3max, T4max, T5max.
  • the protection switching time T3 is greater.
  • the pre-set protocol type is state-3
  • the state-3 since the state-3 only operates the selector or the bridge after the priority of the other node of the protected area, the misconnection can be prevented.
  • three necessary message exchanges between the two terminals of the protected area are required to complete the protection switching, and the switching time is longer.
  • the pre-set protocol type is state-2
  • the switching time is shortened with respect to state-3, and the corresponding state-3 reduces the ability to prevent misconnection, and supports 1+1 and (1:1) n.
  • Protection type if the pre-set protocol type is state-1, the switching time is the shortest, and the ability to prevent misconnection is the worst, and supports 1+1 and (1:1) n protection types; however, for status - 1 and State-2, a misconnection may occur because the bridge or selector is operated before the other node of the protected area confirms the priority.
  • the embodiment of the invention provides a method for implementing automatic protection switching, a local node and a peer node, which can minimize the protection switching operation time on the basis of improving the ability to prevent misconnection.
  • the embodiment of the present invention provides a method for implementing automatic protection switching APS, and setting a protocol type in the local node and the opposite node in advance;
  • the local node After the local node confirms the triggering switchover, the local node counts its own protection switching operation time during the protection switching process between the local node and the remote node according to the current protocol type.
  • the local node When the local node determines that the protection switching operation time is greater than or equal to the maximum value of the protection switching operation time, and the current protocol type is not the lowest protocol type, the local node will be the local node.
  • the protocol type of the peer node is switched to a protocol type one level lower than the current protocol type.
  • the method further includes:
  • the local node determines that the current protocol type is not the highest-level protocol type, and switches the protocol type of the local node and the opposite node to a protocol type that is one level higher than the current protocol type;
  • the local node During the exercise of the local node or the peer node, the local node counts its own protection switching operation time, and when the local node determines that the local node or the opposite end node During the exercise of the point, when the protection switching operation time of the point is greater than or equal to the maximum value of the protection switching operation time, or when receiving the information indicating that the upgrade is not agreed from the peer node, the local node will The protocol type of the local node and the opposite node is switched to a protocol type one level lower than the current protocol type.
  • the local node statistics its own protection switching operation time includes:
  • the local node counts its own protection switching operation time including:
  • the local node records the time of the exercise of the local node, and records the time of the successful execution of the local node, and calculates the difference between the time of the successful execution of the local node and the time of confirming the exercise of the local node;
  • the local node counts its own protection switching operation time including:
  • the local node records the time when the PCC byte is received, records the processing and transmission time of the control signal necessary to complete the protection switching, calculates the processing and transmission time of the control signal necessary to complete the protection switching, and receives the exercise PCC word. The difference between the time of the section.
  • the local node switches the protocol type of the local node and the opposite node to a protocol type that is one level higher than the current protocol type, including:
  • the local node switches the protocol type of the local node to a protocol type that is one level higher than the current protocol type, and sends the upgraded protocol type to the peer node, triggering the peer node to determine After the current protocol type and the received upgraded protocol type are different, the protocol type of the switch is switched to the received upgraded protocol type.
  • the local node performs its own protection switching operation time during the protection switching process between the local node and the remote node according to the current protocol type, including:
  • the local node records the time when the triggering of the switching is confirmed, records the processing and transmission time of the control signal necessary for completing the protection switching, calculates the processing and transmission time of the control signal necessary for completing the protection switching, and the Confirm the difference between the times when the trigger is triggered.
  • the local node switches the protocol type of the local node and the opposite node to a protocol type lower than the current protocol type, including:
  • the local node switches the protocol type of the local node to be compared to the current protocol type. a protocol type of a lower level, and sending the degraded protocol type to the peer node, triggering the peer node to determine that the current protocol type and the received downgraded protocol type are different, and then The protocol type is switched to the received downgraded protocol type.
  • the embodiment of the present invention further provides a local node, including:
  • the first statistic module is configured to verify the time of the protection switching operation during the protection switching process between the peer and the peer node according to the current protocol type.
  • the first determining module is configured to determine that the protection switching operation time is greater than or equal to the maximum value of the protection switching operation time during the protection switching process, and the current protocol type is not the lowest protocol type, and sends the first to the switching module. a notification message;
  • the first switching module is configured to receive the first notification message, and switch the protocol type of the local node and the opposite node to a protocol type lower than the current protocol type;
  • the current protocol type is a preset protocol type.
  • the first determining module is further configured to:
  • the protection switching operation time of the own node is greater than or equal to the maximum value of the protection switching operation time, or receiving the representation from the opposite node Affirming the upgraded information, sending a third notification message to the switching module;
  • the first switching module is further configured to:
  • the first statistic module is further configured to:
  • the second notification message is received, and the protection switching operation time of the local node is counted during the exercise of the local node or the peer node.
  • the switching the protocol type of the local node and the opposite node to a protocol type higher than the current protocol type includes:
  • An embodiment of the present invention further provides a peer node, including:
  • the second statistic module is configured to count the protection switching operation time of the local node during the protection switching process between the local node and the peer node according to the current protocol type.
  • the second statistic module is further configured to:
  • the protection switching operation time of the self is counted.
  • it also includes:
  • the second judging module is configured to receive the upgraded protocol type from the local node, determine that the current protocol type and the received upgraded protocol type are different, and send a fourth notification message to the second switching module. ;
  • the second switching module is configured to switch its own protocol type to the received upgraded protocol type.
  • it also includes:
  • the second judging module is configured to receive the degraded protocol type from the local node, and determine that the current protocol type and the received degraded protocol type are different, and send the fifth to the second switching module. Notification message
  • the second switching module is configured to switch its own protocol type to the received degraded protocol type.
  • the embodiment of the present invention further provides a node, including: all modules of the local node and all modules of the opposite node.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
  • the embodiment of the present invention includes: after the local node confirms the trigger switching, the local node counts its own protection switching operation time during the protection switching process between the local node and the remote node according to the current protocol type.
  • the peer node collects its own protection switching operation time. When the local node or the peer node determines that the protection switching operation time is greater than or equal to the maximum value of the protection switching operation time, and the current protocol type. When the protocol type is not the lowest level, the local node or the opposite node switches the protocol type of the local node and the opposite node to a protocol type lower than the current protocol type.
  • the protocol type of the local node and the opposite node are adjusted according to the protection switching operation time of the local node and the opposite end node, and the protection switching operation time is satisfied on the basis of improving the ability to prevent misconnection as much as possible. Minimize.
  • FIG. 1 is a flowchart of a method for implementing automatic protection switching according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a method for implementing automatic protection switching according to a first embodiment of the present invention
  • FIG. 3 is a schematic diagram of a method for implementing automatic protection switching according to a second embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a method for implementing automatic protection switching according to a third embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a method for implementing automatic protection switching according to a fourth embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a structure of a local end node according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a structure of a peer node according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for implementing automatic protection switching, which sets a protocol type in a local node and a peer node in advance.
  • the protocol types set in the local node and the peer node are consistent in advance.
  • the protocol type set in the local node and the peer node in advance is the highest level of the protocol type supported by the protection type. For example, of the current three protocol types, state-1 is the lowest level and state-3 is the highest level.
  • Step 100 After the local node (or the peer node) confirms the trigger switching, the local node (or the opposite node) performs protection switching between the local node (or the opposite node) and the remote node (or the local node) according to the current protocol type.
  • the node counts its own protection switching operation time, and the peer node counts its own protection switching operation time.
  • the local node counts its own protection switching operation time, including: the local node records the time when the triggering of the switching is confirmed, and records the processing and transmission time of the control signal necessary to complete the protection switching, and calculates the time required to complete the protection switching. The difference between the processing of the control signal and the time of transmission and the time when the trigger is triggered.
  • the peer node counts its own protection switching operation time including:
  • the peer node records the time when the protected communication channel (PCC) is received, records the processing and transmission time of the control signal necessary to complete the protection switching, and calculates the processing and transmission of the control signal necessary to complete the protection switching. The difference between the time and the time the PCC byte was received.
  • PCC protected communication channel
  • Step 101 When the local node (or the opposite node) determines that the protection switching operation time is greater than or equal to the maximum value of the protection switching operation time, and the current protocol type is not the lowest protocol type, the local node (or The peer node switches the protocol type of the local node and the opposite node to a protocol type one level lower than the current protocol type.
  • the local node and the peer node determine that the protection switching operation time is less than the maximum value of the protection switching operation time during the protection switching, the local node and the remote node maintain the current protocol type. constant.
  • the local node or the opposite node determines that the current protocol type is the lowest level association.
  • the local node and the peer node keep the current protocol type unchanged.
  • the local node switches the protocol type of the local node and the opposite node to a protocol type lower than the current protocol type, including: the local node (or the opposite node)
  • the protocol type of the end node (or the peer node) is switched to a protocol type lower than the current protocol type, and the degraded protocol type is sent to the peer node (or the local node), and the peer node (or the local end)
  • the node determines that the current protocol type is different from the received degraded protocol type, and switches its own protocol type to the received degraded protocol type.
  • the peer node determines that the current protocol type is the same as the received protocol type after the downgrade, the protocol type after the downgrade is unchanged.
  • the protocol type of the local node and the opposite node are adjusted according to the protection switching operation time of the local node and the opposite node, so that the protection switching operation is satisfied on the basis of improving the ability to prevent the wrong connection as much as possible. Minimize time.
  • the method further includes:
  • the local node determines that the current protocol type is not the highest-level protocol type, and switches the protocol type of the local node and the peer node to a protocol type one level higher than the current protocol type; During the exercise of the node or the peer node, the local node counts its own protection switching operation time, and the peer node counts its own protection switching operation time.
  • the local node determines the local node or the pair During the exercise of the end node, the protection switching operation time of the end node is greater than or equal to the maximum value of the protection switching operation time, or when receiving the information indicating that the node (or the local node) does not agree to the upgrade, the local node ( Or the peer node) switches the protocol type of the local node and the opposite node to a protocol type lower than the current protocol type.
  • the manner in which the local node (or the peer node) determines that the APS protocol is in an idle state is a well-known technique of those skilled in the art, and is not intended to limit the scope of protection of the present invention, and details are not described herein again.
  • the idle state may be a NR (No Request) state or a Do Not Return (DNR) state.
  • NR No Request
  • DNR Do Not Return
  • the protection switching operation time is less than the maximum value of the protection switching operation time.
  • the peer node determines that the protection switching operation time is less than the maximum value of the protection switching operation time during the exercise of the local node or the opposite node, the information indicating that the upgrade is agreed to be sent to the local node.
  • the local node When the peer node determines that the protection switching operation time is greater than or equal to the maximum value of the protection switching operation time during the exercise of the local node or the opposite node, the local node sends information indicating that the upgrade is not agreed.
  • the local node switches the protocol type of the local node and the opposite node to a protocol type that is one level higher than the current protocol type, including: the local node (or the opposite node) will be the local node (or The protocol type of the peer node is switched to a protocol type one level higher than the current protocol type, and the upgraded protocol type is sent to the peer node (or the local node), and the peer node (or the local node) determines The current protocol type is different from the received protocol type, and the protocol type is switched to the received upgraded protocol type.
  • the peer node determines that the current protocol type is the same as the received protocol type, the extended protocol type remains unchanged.
  • the local node counts its own protection switching operation time
  • the peer node counts its own protection switching operation time including:
  • the local node records the time of the exercise of the local node, and records the time of the successful execution of the local node, and calculates the difference between the time of the successful execution of the local node and the time of confirming the exercise of the local node;
  • the peer node records the time of receiving the exercise PCC byte, records the processing and transmission time of the control signal necessary to complete the protection switching, calculates the processing and transmission time of the control signal necessary to complete the protection switching, and receives the exercise PCC word. The difference between the time of the section.
  • the local node counts its own protection switching operation time during the exercise of the peer node, and the peer node's own protection switching operation time includes:
  • the peer node records the time to confirm the exercise of the peer node, and records the successful execution of the peer node. Time, the difference between the time when the exercise of the peer node is successful and the time to confirm the exercise of the peer node;
  • the local node records the time when the PCC byte is received, records the processing and transmission time of the control signal necessary to complete the protection switching, calculates the processing and transmission time of the control signal necessary to complete the protection switching, and receives the exercise PCC word. The difference between the time of the section.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
  • the local node and the opposite node are 1+1 bidirectional return type switching.
  • the status-3 supports all protection types, since 1+1 is a permanent bridge, the highest level of the protocol type can be simplified. 2, the lowest level is state-1.
  • the protocol type of the local node and the peer node is set to state-2 in advance.
  • FIG. 2 is a schematic diagram of a method for implementing automatic protection switching in the first embodiment.
  • the APS byte used for information interaction between the local end node and the opposite end node includes three pieces of information, namely, a request status, a signal to be provided, and a bridge signal.
  • a request status namely, a request status, a signal to be provided, and a bridge signal.
  • NR 0,1 indicates no request, null signal and normal flow signal.
  • the local node switches its own protocol type to 1-phase and sends 1-phase to the opposite node.
  • the local node confirms that the SF disappears. Since the attribute is a return type, WTR 1 is sent at this time (that is, waiting for recovery), the waiting recovery time is entered, and the timer is started. When the timer expires, NR 0, 1 is sent. Run in 1-phase, operate the selector immediately, switch to work, receive NR0 of the opposite node, 1 need no operation after confirming the byte.
  • the peer node has been in the non-trigger state during the operation, passively receiving the APS byte operation selector, whether 1-phase or 2-phase, after receiving the APS byte of the local node.
  • the selector will be operated, and the T3 time is almost 0, so the T3 time statistics of the opposite node can be ignored.
  • the local node notifies the peer node of the protocol type of the lifting and lowering level is transmitted through the signaling.
  • the signaling and the PCC byte of the APS are not one channel, and the PCC is generally the overhead byte in the service frame, and the opposite end is notified.
  • the signalling of the protocol type of the node is carried out by a monitoring channel or a dedicated signaling network between the connected nodes.
  • the 1-phase of the 1+1 protection type is successfully upgraded to the 2-phase operation:
  • FIG. 3 is a schematic diagram of a method for implementing automatic protection switching in the second embodiment. As shown in Figure 3, the local node determines that the APS protocol is idle. The protocol type is 1-phase.
  • the local node switches its own protocol type to 2-phase, and sends 2-phase to the opposite node, and automatically initiates the exercise operation, issues EX 0,1, records the time T31 of EX 0,1, and responds to the peer node.
  • RR 0,1, record the time T32 when RR 0,1 is received.
  • the selector is not operated during the exercise, but the command to detect whether the APS protocol byte is normal is calculated.
  • T3 T32-T31 is calculated, which is less than T3max.
  • the peer node also switches its own protocol type to 2-phase, and automatically initiates the exercise operation, issuing EX 0,1, recording the current time T31, the left end responding to RR 0,1, recording the current time T32, and not selecting during the exercise.
  • the command is only for detecting whether the APS protocol byte is normal.
  • the local node receives the information indicating that the upgrade is agreed, and maintains the current 2-phase protocol status. At this time, both the local node and the opposite node are successfully upgraded to 2-phase.
  • the local node confirms the SF trigger switching and sends the APS byte SF 1,1. Because it is a 2-phase protocol, the selector is not operated, and the selector is received after receiving the RR 1,1 acknowledge byte sent by the peer. Switching protection, this protocol interaction process continues to calculate the T3 time, and once it is greater than T3max, it should be downgraded immediately.
  • T3 ⁇ T3max is calculated because the efficiency of the node calculation protocol and the transfer protocol is improved.
  • the reason for this phenomenon may be that the CPU utilization is increased or the PCC byte transfer efficiency of the APS is improved. Otherwise, the reason for the degradation is cpu. Reduced utilization or PCC byte transfer of APS To block.
  • the 3-phase of the 1:1 protection protocol is downgraded to a 1-phase operation.
  • the local node and the opposite node in this embodiment are 1:1 bidirectional return type switching, and the highest type of protocol type is 3-phase, and the lowest level is 1-phase.
  • the protocol type is initially 3-phase, and the APS protocol calculates NR 0,0, NR indicates the request status, 0 indicates the signal to be provided, and 0 indicates the bridge signal.
  • the local node confirms that the SF disappears. Because the attribute is a return type, WTR 1,1 is sent at this time, and the waiting recovery time is entered, and the timer is started. When the timer expires, NR 0,1 is sent. Phase, the bridge is immediately operated, and the NR 0,0 acknowledge byte is received at the opposite end after the operation is selected.
  • the peer node also calculates T3 in 3-phase. If T3 is greater than T3max, the peer node will also initiate a downgrade operation. In the present embodiment, in order to simplify the flow, it is temporarily considered that the opposite end node T3 is always smaller than T3max.
  • the 1-phase of the 1:1 protection protocol is upgraded to a 3-phase operation.
  • FIG. 5 is a schematic diagram of a method for implementing automatic protection switching in the fourth embodiment. As shown in Figure 5, the protocol type is 1-phase.
  • the peer node also temporarily upgrades the protocol, automatically initiates the drill operation, issues EX 0,1, records the time T31 when EX0,1 is issued, the local node responds to RR 0,1, records the time T32 of receiving RR0,1, and the exercise command
  • the local node receives the information indicating that the upgrade is agreed, and maintains the current 2-phase protocol status. At this time, both the local node and the opposite node are successfully upgraded to 2-phase.
  • the local node performs the protocol upgrade again temporarily, notifies the peer node to perform the protocol upgrade 2-phase, and automatically initiates the exercise operation, issuing EX 0,1, recording the time T31 of issuing EX01, and the peer node responding to RR 0,1, recording
  • the peer node also temporarily upgrades the protocol, automatically initiates the exercise, issues EX 0,1, records the time T31 when EX0.1 is issued, the local node responds to RR 0,1, records the time T32 of receiving RR0,1, and exercises the command.
  • the local node receives the information indicating that the upgrade is agreed, and maintains the current 3-phase protocol status. At this time, both the local node and the opposite node are successfully upgraded to 3-phase.
  • an embodiment of the present invention further provides a local node, including:
  • the first statistic module is configured to verify the time of the protection switching operation during the protection switching process between the peer and the peer node according to the current protocol type.
  • the first determining module is configured to determine that the protection switching operation time is greater than or equal to the maximum value of the protection switching operation time during the protection switching process, and the current protocol type is not the lowest protocol type, and sends the first to the switching module. a notification message;
  • the first switching module is configured to receive the first notification message, and the local node and the opposite node
  • the protocol type is switched to a protocol type one level lower than the current protocol type
  • the current protocol type is a preset protocol type.
  • the first determining module is further configured to:
  • the protection switching operation time of the local node is greater than or equal to the maximum value of the protection switching operation time, or the information indicating that the upgrade from the opposite node does not agree with the upgrade is received, and the switching module is received.
  • the first switching module is also set to:
  • Receiving the second notification message switching the protocol type of the local node and the opposite node to a protocol type higher than the current protocol type; receiving the third notification message, the protocol type of the local node and the opposite node Switch to a protocol type that is one level lower than the current protocol type;
  • the first statistic module is also set to:
  • the second notification message is received, and the protection switching operation time of the local node is counted during the exercise of the local node or the opposite node.
  • the time of the protection switching operation of the local node is:
  • the statistics of the protection switching operation time are:
  • switching the protocol type of the local node and the opposite node to a protocol type higher than the current protocol type includes:
  • the protocol type of the local node is switched to a protocol type one level higher than the current protocol type, and the upgraded protocol type is sent to the opposite node.
  • the statistics of the protection switching operation time include:
  • Recording confirms the time when the trigger is triggered, and records the processing and transmission time of the control signal necessary to complete the protection switching, and calculates the time between the processing and transmission of the control signal necessary to complete the protection switching and the time when the trigger switching is confirmed. Difference.
  • switching the protocol type of the local node and the opposite node to a protocol type lower than the current protocol type includes:
  • the protocol type of the local node is switched to a protocol type lower than the current protocol type, and the degraded protocol type is sent to the opposite node.
  • an embodiment of the present invention further provides a peer node, including:
  • the second statistic module is configured to count the protection switching operation time of the local node during the protection switching process between the local node and the peer node according to the current protocol type.
  • the second statistic module is further configured to:
  • the protection switching operation time of the self is counted.
  • the statistics of the protection switching operation time include:
  • the statistics of the protection switching operation time include:
  • the method further includes:
  • a second determining module configured to receive an upgraded protocol type from the local node, Determining that the current protocol type is different from the received protocol type, and sending a fourth notification message to the second switching module;
  • the second switching module is configured to switch its own protocol type to the received upgraded protocol type.
  • the statistics of the protection switching operation time of the local node includes:
  • the method further includes:
  • the second judging module is configured to receive the degraded protocol type from the local node, and determine that the current protocol type and the received degraded protocol type are different, and send the fifth to the second switching module. Notification message
  • the second switching module is configured to switch its own protocol type to the received degraded protocol type.
  • the embodiment of the present invention further provides a node, including: all modules in the local node and all modules in the peer node.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • the invention is not limited to any specific form of combination of hardware and software.
  • the above technical solution achieves minimization of the protection switching operation time on the basis of maximizing the ability to prevent misconnection.

Abstract

一种实现自动保护倒换的方法和装置,包括:本端节点确认触发倒换后,在本端节点按照当前的协议类型与对端节点进行保护倒换过程中,本端节点统计自身的保护倒换操作时间,对端节点统计自身的保护倒换操作时间;当本端节点或对端节点判断出在进行保护倒换过程中,自身的保护倒换操作时间大于或等于保护倒换操作时间的最大值,且当前的协议类型不是最低级的协议类型时,本端节点或对端节点将本端节点和对端节点的协议类型切换到比当前的协议类型低一级的协议类型。通过上述技术方案,根据本端节点和对端节点的保护倒换操作时间调整本端节点和对端节点的协议类型,实现了在尽量提高防止误连接能力的基础上满足保护倒换操作时间的最小化。

Description

一种实现自动保护倒换的方法、本端节点和对端节点 技术领域
本文涉及但不限于光网络技术,尤指一种实现自动保护倒换(APS,Automatic Protect Switching)的方法、本端节点和对端节点。
背景技术
APS技术已经广泛应用于光网络中,除了1+1单向倒换的保护类型之外,其他的保护类型都要求被保护区域的两个节点(A和Z,A表示源节点,Z表示目的节点)之间协调桥接和选择动作,不同的保护类型、桥接类型和选择类型要求不同的协议类型。
相关的实现APS的方法大致包括:本端节点确认触发倒换后,按照预先设置的协议类型与对端节点进行保护倒换。其中,本端节点和对端节点即为被保护区域的两个节点。表1为相关协议类型、保护类型、桥接类型和选择类型之间的对应关系表。
Figure PCTCN2016076891-appb-000001
表1
如表1所示,包含有三种协议类型,分别为状态-1(1-phase)、状态-2(2-phase)和状态-3(3-phase)。其中,在实现保护倒换时,状态-1的通信过程为Z→A,状态-2的通信过程为Z→A和A→Z,状态-3的通信过程为Z →A,A→Z和Z→A。
通常,对一种协议类型有两个基本要求,防止误连接和倒换时间最小化。
其中,国际电信联盟远程通信标准化(ITU-T,International Telecommunication Union Telecommunication Standardization Sector)建议的保护倒换时间模型中对倒换时间进行了定义,包括:
检测时间(T1):从发生网络损伤到检测到由该网络损伤而触发的一个信号失效(SF,Signal Fail)或信号劣化(SD,Signal Degree)之间的时间间隔。
拖延等待时间(T2):从检测到由该网络损伤而触发的一个SF或SD到检测到的SF或SD被确认是一个需要进行保护倒换的条件之间的时间间隔。
保护倒换操作时间(T3):从检测到的SF或SD被确认是一个需要进行保护倒换的条件到完成保护倒换所必需的控制信号的处理和传递之间的时间间隔。
保护倒换传递时间(T4):从完成保护倒换所必需的控制信号的处理和传递到完成保护倒换的操作之间的时间间隔。
恢复时间(T5):从完成保护倒换的操作到被保护的业务全部恢复之间的时间间隔。
被保护业务的恢复时间(Tr):从发生网络损伤到被保护的业务完成恢复之间的时间间隔,Tr=T1+T2+T3+T4+T5。
对应倒换时间的最小化,需要满足Tr小于50毫秒(ms),并且T1到T5每一个时间也需要小于对应的最大值,即T1max,T2max,T3max,T4max,T5max。
其中,对于不同的协议类型,影响较大的是保护倒换操作时间T3。
相关的实现APS的方法中,如果预先设置的协议类型为状态-3,则由于状态-3只在与被护区域的另一节点优先权后,才操作选择器或桥接,可以防止发生误连接;然而,需要被保护区域的两个终端之间进行三次必要的消息交换才能完成保护倒换,倒换时间较长。如果预先设置的协议类型为状态-2,则相对于状态-3缩短了倒换时间,并且相对应状态-3降低了防止误连接的能 力,且支持1+1和(1:1)n两种保护类型;如果预先设置的协议类型为状态-1,则倒换时间最短,并且防止误连接的能力最差,且支持1+1和(1:1)n两种保护类型;然而,对于状态-1和状态-2,由于在被保护区域的另一个节点确认优先级之前,就操作桥接或选择器,可能会发生误连接。
也就是说,相关的实现APS的方法中,无论选择哪种协议类型,均无法同时满足两个基本要求。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提出了一种实现自动保护倒换的方法、本端节点和对端节点,能够在尽量提高防止误连接能力的基础上满足保护倒换操作时间的最小化。
本发明实施例提出了一种实现自动保护倒换APS的方法,预先在本端节点和对端节点中设置协议类型;包括:
本端节点确认触发倒换后,在本端节点按照当前的协议类型与对端节点进行保护倒换过程中,本端节点统计自身的保护倒换操作时间;
当本端节点判断出在进行保护倒换过程中,自身的保护倒换操作时间大于或等于保护倒换操作时间的最大值,且当前的协议类型不是最低级的协议类型时,本端节点将本端节点和对端节点的协议类型切换到比当前的协议类型低一级的协议类型。
可选地,当所述本端节点判断出自动保护倒换处于空闲状态时,该方法还包括:
所述本端节点判断出当前的协议类型不是最高级的协议类型,将所述本端节点和所述对端节点的协议类型切换为比所述当前的协议类型高一级的协议类型;
在所述本端节点或所述对端节点的演习过程中,所述本端节点统计自身的保护倒换操作时间,当所述本端节点判断出在所述本端节点或所述对端节 点的演习过程中,自身的保护倒换操作时间大于或等于所述保护倒换操作时间的最大值,或接收到来自所述对端节点的表示不同意升级的信息时,所述本端节点将所述本端节点和所述对端节点的协议类型切换到比当前的协议类型低一级的协议类型。
可选地,所述在本端节点或对端节点的演习过程中,本端节点统计自身的保护倒换操作时间包括:
在本端节点的演习过程中,本端节点统计自身的保护倒换操作时间包括:
本端节点记录确认本端节点的演习的时间,并记录本端节点的演习成功的时间,计算本端节点的演习成功的时间和确认本端节点的演习的时间之间的差值;
在对端节点的演习过程中,本端节点统计自身的保护倒换操作时间包括:
本端节点记录接收到演习PCC字节的时间,记录完成保护倒换所必须的控制信号的处理和传递的时间,计算完成保护倒换所必须的控制信号的处理和传递的时间和接收到演习PCC字节的时间之间的差值。
可选地,所述本端节点将本端节点和对端节点的协议类型切换到比当前的协议类型高一级的协议类型包括:
所述本端节点将所述本端节点的协议类型切换到比当前的协议类型高一级的协议类型,并向所述对端节点发送升级后的协议类型,触发所述对端节点判断出当前的协议类型和接收到的升级后的协议类型不相同后,将自身的协议类型切换到所述接收到的升级后的协议类型。
可选地,所述在本端节点按照当前的协议类型与对端节点进行保护倒换过程中,本端节点统计自身的保护倒换操作时间包括:
所述本端节点记录确认触发倒换时的时间,并记录完成保护倒换所必需的控制信号的处理和传递的时间,计算所述完成保护倒换所必需的控制信号的处理和传递的时间和所述确认触发倒换时的时间之间的差值。
可选地,所述本端节点将本端节点和对端节点的协议类型切换到比当前的协议类型低一级的协议类型包括:
所述本端节点将所述本端节点的协议类型切换到比所述当前的协议类型 低一级的协议类型,并向所述对端节点发送降级后的协议类型,触发所述对端节点判断出所述当前的协议类型和接收到的降级后的协议类型不相同后,将自身的协议类型切换到所述接收到的降级后的协议类型。
本发明实施例还提出了一种本端节点,包括:
第一统计模块,设置为确认触发倒换后,在按照当前的协议类型与对端节点进行保护倒换过程中,统计自身的保护倒换操作时间;
第一判断模块,设置为判断出在进行保护倒换过程中,自身的保护倒换操作时间大于或等于保护倒换操作时间的最大值,且当前的协议类型不是最低级的协议类型,向切换模块发送第一通知消息;
第一切换模块,设置为接收到第一通知消息,将本端节点和对端节点的协议类型切换到比当前的协议类型低一级的协议类型;
其中,当前的协议类型为预先设置的协议类型。
可选地,所述第一判断模块还设置为:
判断出自动保护倒换APS处于空闲状态;判断出当前的协议类型不是最高级的协议类型,向所述切换模块和所述统计模块发送第二通知消息;以及
判断出在所述本端节点或所述对端节点的演习过程中,自身的保护倒换操作时间大于或等于所述保护倒换操作时间的最大值,或接收到来自所述对端节点的表示不同意升级的信息,向所述切换模块发送第三通知消息;
所述第一切换模块还设置为:
接收到第二通知消息,将所述本端节点和所述对端节点的协议类型切换为比所述当前的协议类型高一级的协议类型;以及接收到第三通知消息,将所述本端节点和所述对端节点的协议类型切换到比当前的协议类型低一级的协议类型;
所述第一统计模块还设置为:
接收到所述第二通知消息,在所述本端节点或所述对端节点的演习过程中,统计自身的保护倒换操作时间。
可选地,所述将本端节点和对端节点的协议类型切换到比当前的协议类型高一级的协议类型包括:
将所述本端节点的协议类型切换到比当前的协议类型高一级的协议类型,并向所述对端节点发送升级后的协议类型。
本发明实施例还提出了一种对端节点,包括:
第二统计模块,设置为在本端节点按照当前的协议类型与对端节点进行保护倒换过程中,统计自身的保护倒换操作时间。
可选地,所述第二统计模块还设置为:
在所述本端节点或所述对端节点的演习过程中,统计自身的保护倒换操作时间。
可选地,还包括:
第二判断模块,设置为接收到来自所述本端节点的升级后的协议类型,判断出当前的协议类型和接收到的升级后的协议类型不相同,向第二切换模块发送第四通知消息;
第二切换模块,设置为将自身的协议类型切换到所述接收到的升级后的协议类型。
可选地,还包括:
第二判断模块,设置为接收到来自所述本端节点的降级后的协议类型,判断出所述当前的协议类型和接收到的降级后的协议类型不相同,向第二切换模块发送第五通知消息;
第二切换模块,设置为将自身的协议类型切换到所述接收到的降级后的协议类型。
本发明实施例还提出了一种节点,包括:本端节点的所有模块和对端节点的所有模块。
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。
与相关技术相比,本发明实施例包括:本端节点确认触发倒换后,在本端节点按照当前的协议类型与对端节点进行保护倒换过程中,本端节点统计自身的保护倒换操作时间,对端节点统计自身的保护倒换操作时间;当本端节点或对端节点判断出在进行保护倒换过程中,自身的保护倒换操作时间大于或等于保护倒换操作时间的最大值,且当前的协议类型不是最低级的协议类型时,本端节点或对端节点将本端节点和对端节点的协议类型切换到比当前的协议类型低一级的协议类型。通过本发明实施例的方案,根据本端节点和对端节点的保护倒换操作时间调整本端节点和对端节点的协议类型,实现了在尽量提高防止误连接能力的基础上满足保护倒换操作时间的最小化。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为本发明实施例实现自动保护倒换的方法的流程图;
图2为本发明第一实施例实现自动保护倒换的方法的示意图;
图3为本发明第二实施例实现自动保护倒换的方法的示意图;
图4为本发明第三实施例实现自动保护倒换的方法的示意图;
图5为本发明第四实施例实现自动保护倒换的方法的示意图;
图6为本发明实施例本端节点的结构组成示意图;
图7为本发明实施例对端节点的结构组成示意图。
本发明的实施方式
为了便于本领域技术人员的理解,下面结合附图对本发明作进一步的描述,并不能用来限制本发明的保护范围。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的各种方式可以相互组合。
参见图1,本发明实施例提出了一种实现自动保护倒换的方法,预先在本端节点和对端节点中设置协议类型。
其中,预先在本端节点和对端节点中设置的协议类型保持一致。
其中,预先在本端节点和对端节点中设置的协议类型为保护类型所支持的协议类型的最高级。例如,目前的三种协议类型中,状态-1为最低级,状态-3为最高级。
还包括:
步骤100、本端节点(或对端节点)确认触发倒换后,在本端节点(或对端节点)按照当前的协议类型与对端节点(或本端节点)进行保护倒换过程中,本端节点统计自身的保护倒换操作时间,对端节点统计自身的保护倒换操作时间。
本步骤中,本端节点统计自身的保护倒换操作时间包括:本端节点记录确认触发倒换时的时间,并记录完成保护倒换所必需的控制信号的处理和传递的时间,计算完成保护倒换所必需的控制信号的处理和传递的时间和确认触发倒换时的时间之间的差值。
本步骤中,对端节点统计自身的保护倒换操作时间包括:
对端节点记录接收到保护通信信道(PCC,Protected Communication Channel)字节的时间,记录完成保护倒换所必须的控制信号的处理和传递的时间,计算完成保护倒换所必须的控制信号的处理和传递的时间和接收到PCC字节的时间之间的差值。
步骤101、当本端节点(或对端节点)判断出自身的保护倒换操作时间大于或等于保护倒换操作时间的最大值,且当前的协议类型不是最低级的协议类型时,本端节点(或对端节点)将本端节点和对端节点的协议类型切换到比当前的协议类型低一级的协议类型。
本步骤中,当本端节点和对端节点判断出在进行保护倒换过程中,自身的保护倒换操作时间均小于保护倒换操作时间的最大值时,本端节点和对端节点保持当前的协议类型不变。
本步骤中,当本端节点或对端节点判断出当前的协议类型为最低级的协 议类型时,本端节点和对端节点保持当前的协议类型不变。
本步骤中,本端节点(或对端节点)将本端节点和对端节点的协议类型切换到比当前的协议类型低一级的协议类型包括:本端节点(或对端节点)将本端节点(或对端节点)的协议类型切换到比当前的协议类型低一级的协议类型,并向对端节点(或本端节点)发送降级后的协议类型,对端节点(或本端节点)判断出当前的协议类型和接收到的降级后的协议类型不相同,将自身的协议类型切换到接收到的降级后的协议类型。
其中,当对端节点(或本端节点)判断出当前的协议类型和接收到的降级后的协议类型相同时,保持降级后的协议类型不变。
通过本发明实施例的方案,由于根据本端节点和对端节点的保护倒换操作时间调整本端节点和对端节点的协议类型,实现了在尽量提高防止误连接能力的基础上满足保护倒换操作时间的最小化。
当本端节点(或对端节点)判断出APS协议处于空闲状态时,该方法还包括:
本端节点(或对端节点)判断出当前的协议类型不是最高级的协议类型,将本端节点和对端节点的协议类型切换为比当前的协议类型高一级的协议类型;在本端节点或对端节点的演习过程中,本端节点统计自身的保护倒换操作时间,对端节点统计自身的保护倒换操作时间,当本端节点(或对端节点)判断出在本端节点或对端节点的演习过程中,自身的保护倒换操作时间大于或等于保护倒换操作时间的最大值,或接收到来自对端节点(或本端节点)的表示不同意升级的信息时,本端节点(或对端节点)将本端节点和对端节点的协议类型切换到比当前的协议类型低一级的协议类型。
其中,本端节点(或对端节点)如何判断出APS协议处于空闲状态属于本领域技术人员的公知技术,并不用于限定本发明的保护范围,这里不再赘述。
其中,空闲状态可以是无请求(NR,No Request)状态或请勿返回(DNR,Do Not Return)状态。
其中,当本端节点判断出在本端节点或对端节点的演习过程中,自身的 保护倒换操作时间均小于保护倒换操作时间的最大值,且接收到来自对端节点的表示同意升级的信息时,本端节点和对端节点保持升级后的协议类型不变。
其中,当对端节点判断出在本端节点或对端节点的演习过程中,自身的保护倒换操作时间均小于保护倒换操作时间的最大值时,向本端节点发送表示同意升级的信息。
当对端节点判断出在本端节点或对端节点的演习过程中,自身的保护倒换操作时间大于或等于保护倒换操作时间的最大值时,向本端节点发送表示不同意升级的信息。
本端节点(或对端节点)将本端节点和对端节点的协议类型切换到比当前的协议类型高一级的协议类型包括:本端节点(或对端节点)将本端节点(或对端节点)的协议类型切换到比当前的协议类型高一级的协议类型,并向对端节点(或本端节点)发送升级后的协议类型,对端节点(或本端节点)判断出当前的协议类型和接收到的升级后的协议类型不相同,将自身的协议类型切换到接收到的升级后的协议类型。
其中,当对端节点(或本端节点)判断出当前的协议类型和接收到的升级后的协议类型相同时,保持升级后的协议类型不变。
其中,在本端节点的演习过程中,本端节点统计自身的保护倒换操作时间,对端节点统计自身的保护倒换操作时间包括:
本端节点记录确认本端节点的演习的时间,并记录本端节点的演习成功的时间,计算本端节点的演习成功的时间和确认本端节点的演习的时间之间的差值;
对端节点记录接收到演习PCC字节的时间,记录完成保护倒换所必须的控制信号的处理和传递的时间,计算完成保护倒换所必须的控制信号的处理和传递的时间和接收到演习PCC字节的时间之间的差值。
其中,在对端节点的演习过程中,本端节点统计自身的保护倒换操作时间,对端节点统计自身的保护倒换操作时间包括:
对端节点记录确认对端节点的演习的时间,并记录对端节点的演习成功 的时间,计算对端节点的演习成功的时间和确认对端节点的演习的时间之间的差值;
本端节点记录接收到演习PCC字节的时间,记录完成保护倒换所必须的控制信号的处理和传递的时间,计算完成保护倒换所必须的控制信号的处理和传递的时间和接收到演习PCC字节的时间之间的差值。
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。
下面通过具体实施例详细说明本发明的方法。
第一实施例,本端节点和对端节点为1+1双向返回式倒换,虽然状态-3支持所有的保护类型,但由于1+1是永久桥接,可以简化协议类型的最高级为状态-2,最低级为状态-1。预先设置本端节点和对端节点的协议类型为状态-2。
图2为第一实施例实现自动保护倒换的方法的示意图。如图2所示,用于本端节点和对端节点之间的信息交互的APS字节包括三个信息,即请求状态、要求提供的信号和桥接信号。例如,NR 0,1表示无请求,空信号和正常流量信号。
本端节点确认SF触发倒换,发出APS字节SF 1,1(即信号失效,正常流量信号和正常流量信号),由于是2-phase,不操作选择器,并记录确认SF触发倒换的时间T31,接收到对端节点发过来的RR 1,1确认字节后才操作选择器,进行倒换保护,记录接收到RR 1,1的时间T32,计算T3=T32-T31,判断出T3大于T3max,本端节点将自身的协议类型切换为1-phase,并向对端节点发送1-phase。
本端节点确认SF消失,由于属性是返回式,此时发送WTR 1,1(即等待复原),进入等待恢复时间,并启动定时器,定时器超时时,发送NR 0,1,此时已经运行在1-phase,立即操作选择器,倒换到工作,接收到对端节点的NR0,1确认字节后无需操作。
由图2可看到,对端节点在操作过程中一直处于非触发状态,被动接收APS字节操作选择器,无论是1-phase还是2-phase,在收到本端节点的APS字节后都会操作选择器,T3时间几乎为0,所以可以忽略对端节点的T3时间统计。
本端节点通知对端节点进行协议类型的升降级是通过信令传递的,一般这个信令和APS的PCC字节不是一个通道,PCC一般是在业务帧中的开销字节,而通知对端节点进行协议类型的升降级的信令是在连接节点间的监控通道或专用信令网传递。
第二实施例,1+1保护类型的1-phase成功升级为2-phase的操作:
图3为第二实施例实现自动保护倒换的方法的示意图。如图3所示,本端节点判断出APS协议处于空闲状态,此时的协议类型为1-phase。
本端节点将自身的协议类型切换为2-phase,并向对端节点发送2-phase,并自动发起演习操作,发出EX 0,1,记录发出EX 0,1的时间T31,对端节点回应RR 0,1,记录接收到RR 0,1的时间T32,演习过程中不操作选择器,只是探测APS协议字节是否正常的命令,计算T3=T32-T31,小于T3max了。
对端节点也将自身的协议类型切换为2-phase,并自动发起演习操作,发出EX 0,1,记录当前时间T31,左端回应RR 0,1,记录当前时间T32,演习过程中不操作选择器,只是探测APS协议字节是否正常的命令,计算T3=T32-T31,小于T3max,对端节点向本端节点发送表示同意升级的信息。
本端节点接收到表示同意升级的信息,保持当前2-phase的协议状态,此时本端节点和对端节点都成功升级到2-phase。
本端节点确认SF触发倒换,发出APS字节SF 1,1,由于是2-phase协议,不操作选择器,接收到对端发过来的RR 1,1确认字节后才操作选择器,进行倒换保护,这个协议交互过程继续要计算T3时间,一旦大于T3max要立即进行降级。
临时升级后计算T3<T3max了,是由于节点计算协议和传递协议的效率提高了,造成这种现象的原因可能是cpu利用率提高或者APS的PCC字节传递效率提高,反之降级的原因是cpu利用率降低或者APS的PCC字节传递遇 到阻塞。
临时升级后如果T3>=T3max,表明升级失败,还是会降到原来的协议状态。
第三实施例,1:1保护协议的3-phase降级为1-phase的操作。
本实施例的本端节点和对端节点为1:1双向返回式倒换,设协议类型最高级为3-phase,最低级为1-phase。
图4为第三实施例实现自动保护倒换的方法的示意图。如图4所示,协议类型初始为3-phase,且APS协议计算结果为NR 0,0,NR指示请求状态,0指示要求提供的信号,0指示桥接信号。
本端节点确认SF触发倒换,发出APS字节SF 1,0,由于是3-phase协议,不操作桥接和选择器,并确认SF触发倒换的时间T31,接收到对端节点发过来的RR 1,1确认字节后才操作桥接和选择器,记录接收到RR1,1的时间T32,计算T3=T32-T31,大于了T3max,左端节点主动进行协议降级,切换为2-phase,并通过信令告知对端节点也进行协议降级为2-phase。
本端节点确认SF消失,由于属性是返回式,此时发送WTR 1,1,进入等待恢复时间,并启动定时器,待定时器超时时,发送NR 0,1,此时已经运行在2-phase,立即操作桥接,接收到对端的NR 0,0确认字节后在操作选择。
本端节点再次确认SF触发倒换,发出APS字节SF 1,0,由于是2-phase协议,操作桥接,并记录确认SF触发倒换的时间T31,接收到对端节点发过来的RR 1,1确认字节后才操作选择器,接收到RR1,1的时间T32,计算T3=T32-T31,大于了T3max,左端节点主动进行协议降级,切换为1-phase,并通过信令告知对端节点也进行协议降级为1-phase。
对端节点在3-phase时也要计算T3,如果T3大于了T3max,对端节点也会主动发起降级操作。在本实施例中为了简化流程,暂且认为对端节点T3总小于T3max的。
第四实施例,1:1保护协议的1-phase升级为3-phase的操作。
图5为第四实施例实现自动保护倒换的方法的示意图。如图5所示,此时协议类型为1-phase。
本端节点临时进行协议升级,通知对端节点也进行协议升级2-phase,并自动发起演习操作,发出EX 0,1,记录发出EX0,1的时间T31,对端节点回应RR 0,1,记录接收到RR0,1的时间T32,演习命令不操作选择器,只是探测APS协议字节是否正常的命令,计算T3=T32-T31,小于T3max了。
对端节点也临时进行协议升级,自动发起演习操作,发出EX 0,1,记录发出EX0,1的时间T31,本端节点回应RR 0,1,记录接收到RR0,1的时间T32,演习命令不操作选择器,只是探测APS协议字节是否正常的命令,计算T3=T32-T31,小于T3max了,对端节点发出表示同意升级的信息。
本端节点接收到表示同意升级的信息,保持当前2-phase协议状态,此时本端节点和对端节点都成功升级到2-phase。
本端节点再次临时进行协议升级,通知对端节点也进行协议升级2-phase,并自动发起演习操作,发出EX 0,1,记录发出EX01的时间T31,对端节点回应RR 0,1,记录接收到RR0,1的时间T32,计算T3=T32-T31,再次小于T3max了。
对端节点也临时进行协议升级,自动发起演习操作,发出EX 0,1,记录发出EX0.1的时间T31,本端节点回应RR 0,1,记录接收到RR0,1的时间T32,演习命令不操作选择器,只是探测APS协议字节是否正常的命令,计算T3=T32-T31,小于T3max了,对端节点发出表示同意升级的信息。
本端节点收到表示同意升级的信息,保持当前3-phase协议状态,此时本端节点和对端节点都成功升级到3-phase。
参见图6,本发明实施例还提出了一种本端节点,包括:
第一统计模块,设置为确认触发倒换后,在按照当前的协议类型与对端节点进行保护倒换过程中,统计自身的保护倒换操作时间;
第一判断模块,设置为判断出在进行保护倒换过程中,自身的保护倒换操作时间大于或等于保护倒换操作时间的最大值,且当前的协议类型不是最低级的协议类型,向切换模块发送第一通知消息;
第一切换模块,设置为接收到第一通知消息,将本端节点和对端节点的 协议类型切换到比当前的协议类型低一级的协议类型;
其中,当前的协议类型为预先设置的协议类型。
本发明实施例的本端节点中,第一判断模块还设置为:
判断出自动保护倒换APS处于空闲状态;判断出当前的协议类型不是最高级的协议类型,向切换模块和统计模块发送第二通知消息;
判断出在本端节点或对端节点的演习过程中,自身的保护倒换操作时间大于或等于保护倒换操作时间的最大值,或接收到来自对端节点的表示不同意升级的信息,向切换模块发送第三通知消息;
第一切换模块还设置为:
接收到第二通知消息,将本端节点和对端节点的协议类型切换为比当前的协议类型高一级的协议类型;接收到第三通知消息,将本端节点和对端节点的协议类型切换到比当前的协议类型低一级的协议类型;
第一统计模块还设置为:
接收到第二通知消息,在本端节点或对端节点的演习过程中,统计自身的保护倒换操作时间。
本发明实施例的本端节点中,在本端节点的演习过程中,统计自身的保护倒换操作时间为:
记录确认本端节点的演习的时间,并记录本端节点的演习成功的时间,计算本端节点的演习成功的时间和确认本端节点的演习的时间之间的差值;
在对端节点的演习过程中,统计自身的保护倒换操作时间为:
记录接收到演习PCC字节的时间,记录完成保护倒换所必须的控制信号的处理和传递的时间,计算所述完成保护倒换所必须的控制信号的处理和传递的时间和接收到演习PCC字节的时间之间的差值。
本发明实施例的本端节点中,将本端节点和对端节点的协议类型切换到比当前的协议类型高一级的协议类型包括:
将本端节点的协议类型切换到比当前的协议类型高一级的协议类型,并向对端节点发送升级后的协议类型。
本发明实施例的本端节点中,按照当前的协议类型与对端节点进行保护倒换过程中,统计自身的保护倒换操作时间包括:
记录确认触发倒换时的时间,并记录完成保护倒换所必需的控制信号的处理和传递的时间,计算完成保护倒换所必需的控制信号的处理和传递的时间和确认触发倒换时的时间之间的差值。
本发明实施例的本端节点中,将本端节点和对端节点的协议类型切换到比当前的协议类型低一级的协议类型包括:
将本端节点的协议类型切换到比当前的协议类型低一级的协议类型,并向对端节点发送降级后的协议类型。
参见图7,本发明实施例还提出了一种对端节点,包括:
第二统计模块,设置为在本端节点按照当前的协议类型与对端节点进行保护倒换过程中,统计自身的保护倒换操作时间。
本发明实施例的对端节点中,所述第二统计模块还设置为:
在所述本端节点或所述对端节点的演习过程中,统计自身的保护倒换操作时间。
本发明实施例的对端节点中,所述在本端节点的演习过程中,统计自身的保护倒换操作时间包括:
记录接收到演习PCC字节的时间,记录完成保护倒换所必须的控制信号的处理和传递的时间,计算所述完成保护倒换所必须的控制信号的处理和传递的时间和所述接收到演习PCC字节的时间之间的差值;
所述在对端节点的演习过程中,统计自身的保护倒换操作时间包括:
记录确认所述对端节点的演习的时间,并记录所述对端节点的演习成功的时间,计算所述对端节点的演习成功的时间和确认所述对端节点的演习的时间之间的差值。
本发明实施例的对端节点中,还包括:
第二判断模块,设置为接收到来自所述本端节点的升级后的协议类型, 判断出当前的协议类型和接收到的升级后的协议类型不相同,向第二切换模块发送第四通知消息;
第二切换模块,设置为将自身的协议类型切换到所述接收到的升级后的协议类型。
本发明实施例的对端节点中,所述在本端节点进行保护倒换过程中,统计自身的保护倒换操作时间包括:
记录接收到保护通信信道PCC字节的时间,记录完成保护倒换所必须的控制信号的处理和传递的时间,计算所述完成保护倒换所必须的控制信号的处理和传递的时间和接收到所述PCC字节的时间之间的差值。
本发明实施例的对端节点中,还包括:
第二判断模块,设置为接收到来自所述本端节点的降级后的协议类型,判断出所述当前的协议类型和接收到的降级后的协议类型不相同,向第二切换模块发送第五通知消息;
第二切换模块,设置为将自身的协议类型切换到所述接收到的降级后的协议类型。
本发明实施例还提出了一种节点,包括:本端节点中的所有模块和对端节点中的所有模块。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件的结合。
需要说明的是,以上所述的实施例仅是为了便于本领域的技术人员理解 而已,并不用于限制本发明的保护范围,在不脱离本发明的发明构思的前提下,本领域技术人员对本发明所做出的任何显而易见的替换和改进等均在本发明的保护范围之内。
工业实用性
上述技术方案实现了在尽量提高防止误连接能力的基础上满足保护倒换操作时间的最小化。

Claims (15)

  1. 一种实现自动保护倒换APS的方法,包括:
    本端节点确认触发倒换后,在本端节点按照当前的协议类型与对端节点进行保护倒换过程中,本端节点统计自身的保护倒换操作时间;
    当本端节点判断出在进行保护倒换过程中,自身的保护倒换操作时间大于或等于保护倒换操作时间的最大值,且当前的协议类型不是最低级的协议类型时,本端节点将本端节点和对端节点的协议类型切换到比当前的协议类型低一级的协议类型。
  2. 根据权利要求1所述的方法,该方法还包括:
    当所述本端节点判断出自动保护倒换处于空闲状态时,所述本端节点判断出当前的协议类型不是最高级的协议类型,将所述本端节点和所述对端节点的协议类型切换为比所述当前的协议类型高一级的协议类型;
    在所述本端节点或所述对端节点的演习过程中,所述本端节点统计自身的保护倒换操作时间,当所述本端节点判断出在所述本端节点或所述对端节点的演习过程中,自身的保护倒换操作时间大于或等于所述保护倒换操作时间的最大值,或接收到来自所述对端节点的表示不同意升级的信息时,所述本端节点将所述本端节点和所述对端节点的协议类型切换到比当前的协议类型低一级的协议类型。
  3. 根据权利要求2所述的方法,其中,所述在本端节点或对端节点的演习过程中,本端节点统计自身的保护倒换操作时间包括:
    在本端节点的演习过程中,本端节点统计自身的保护倒换操作时间包括:
    本端节点记录确认本端节点的演习的时间,并记录本端节点的演习成功的时间,计算本端节点的演习成功的时间和确认本端节点的演习的时间之间的差值;
    在对端节点的演习过程中,本端节点统计自身的保护倒换操作时间包括:
    本端节点记录接收到演习保护通信通道PCC字节的时间,记录完成保护倒换所必须的控制信号的处理和传递的时间,计算完成保护倒换所必须的控 制信号的处理和传递的时间和接收到演习PCC字节的时间之间的差值。
  4. 根据权利要求2所述的方法,其中,所述本端节点将本端节点和对端节点的协议类型切换到比当前的协议类型高一级的协议类型包括:
    所述本端节点将所述本端节点的协议类型切换到比当前的协议类型高一级的协议类型,并向所述对端节点发送升级后的协议类型,触发所述对端节点判断出当前的协议类型和接收到的升级后的协议类型不相同后,将自身的协议类型切换到所述接收到的升级后的协议类型。
  5. 根据权利要求1或2所述的方法,其中,所述在本端节点按照当前的协议类型与对端节点进行保护倒换过程中,本端节点统计自身的保护倒换操作时间包括:
    所述本端节点记录确认触发倒换时的时间,并记录完成保护倒换所必需的控制信号的处理和传递的时间,计算所述完成保护倒换所必需的控制信号的处理和传递的时间和所述确认触发倒换时的时间之间的差值。
  6. 根据权利要求1或2所述的方法,其中,所述本端节点或将本端节点和对端节点的协议类型切换到比当前的协议类型低一级的协议类型包括:
    所述本端节点将所述本端节点的协议类型切换到比所述当前的协议类型低一级的协议类型,并向所述对端节点发送降级后的协议类型,触发所述对端节点判断出所述当前的协议类型和接收到的降级后的协议类型不相同后,将自身的协议类型切换到所述接收到的降级后的协议类型。
  7. 一种本端节点,包括:
    第一统计模块,设置为确认触发倒换后,在按照当前的协议类型与对端节点进行保护倒换过程中,统计自身的保护倒换操作时间;
    第一判断模块,设置为判断出在进行保护倒换过程中,自身的保护倒换操作时间大于或等于保护倒换操作时间的最大值,且当前的协议类型不是最低级的协议类型,向切换模块发送第一通知消息;
    第一切换模块,设置为接收到第一通知消息,将本端节点和对端节点的协议类型切换到比当前的协议类型低一级的协议类型;
    其中,当前的协议类型为预先设置的协议类型。
  8. 根据权利要求7所述的本端节点,
    所述第一判断模块还设置为,判断出自动保护倒换APS处于空闲状态;判断出当前的协议类型不是最高级的协议类型,向所述切换模块和所述统计模块发送第二通知消息;以及
    判断出在所述本端节点或所述对端节点的演习过程中,自身的保护倒换操作时间大于或等于所述保护倒换操作时间的最大值,或接收到来自所述对端节点的表示不同意升级的信息,向所述切换模块发送第三通知消息;
    所述第一切换模块还设置为,接收到第二通知消息,将所述本端节点和所述对端节点的协议类型切换为比所述当前的协议类型高一级的协议类型;以及接收到第三通知消息,将所述本端节点和所述对端节点的协议类型切换到比当前的协议类型低一级的协议类型;
    所述第一统计模块还设置为,接收到所述第二通知消息,在所述本端节点或所述对端节点的演习过程中,统计自身的保护倒换操作时间。
  9. 根据权利要求8所述的本端节点,其中,所述将本端节点和对端节点的协议类型切换到比当前的协议类型高一级的协议类型包括:
    将所述本端节点的协议类型切换到比当前的协议类型高一级的协议类型,并向所述对端节点发送升级后的协议类型。
  10. 一种对端节点,包括:
    第二统计模块,设置为在本端节点按照当前的协议类型与对端节点进行保护倒换过程中,统计自身的保护倒换操作时间。
  11. 根据权利要求10所述的对端节点,
    所述第二统计模块还设置为,在所述本端节点或所述对端节点的演习过程中,统计自身的保护倒换操作时间。
  12. 根据权利要求11所述的对端节点,还包括:
    第二判断模块,设置为接收到来自所述本端节点的升级后的协议类型,判断出当前的协议类型和接收到的升级后的协议类型不相同,向第二切换模块发送第四通知消息;
    第二切换模块,设置为将自身的协议类型切换到所述接收到的升级后的协议类型。
  13. 根据权利要求10或11所述的对端节点,还包括:
    第二判断模块,设置为接收到来自所述本端节点的降级后的协议类型,判断出所述当前的协议类型和接收到的降级后的协议类型不相同,向第二切换模块发送第五通知消息;
    第二切换模块,设置为将自身的协议类型切换到所述接收到的降级后的协议类型。
  14. 一种节点,包括:
    权利要求7~9任意一项所述的所有模块和权利要求10~13任意一项所述的所有模块。
  15. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1~6中任一项所述的方法。
PCT/CN2016/076891 2015-05-13 2016-03-21 一种实现自动保护倒换的方法、本端节点和对端节点 WO2016180084A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510243733.2 2015-05-13
CN201510243733.2A CN106301537A (zh) 2015-05-13 2015-05-13 一种实现自动保护倒换的方法、本端节点和对端节点

Publications (1)

Publication Number Publication Date
WO2016180084A1 true WO2016180084A1 (zh) 2016-11-17

Family

ID=57247728

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/076891 WO2016180084A1 (zh) 2015-05-13 2016-03-21 一种实现自动保护倒换的方法、本端节点和对端节点

Country Status (2)

Country Link
CN (1) CN106301537A (zh)
WO (1) WO2016180084A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639549B (zh) * 2017-10-09 2021-11-05 中兴通讯股份有限公司 一种环网保护的实现方法和环网保护系统
CN110995336B (zh) * 2019-11-15 2021-05-11 武汉光迅信息技术有限公司 一种olp传输链路的切换方法、装置、存储介质及olp

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030058790A1 (en) * 2001-09-21 2003-03-27 Kazuaki Nagamine Ring switching method and node apparatus using the same
CN101064566A (zh) * 2006-04-26 2007-10-31 中兴通讯股份有限公司 光传输系统保护倒换功能的自动检测装置和方法
CN103281244A (zh) * 2013-06-17 2013-09-04 瑞斯康达科技发展股份有限公司 一种多协议标签交换网络的业务承载方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030058790A1 (en) * 2001-09-21 2003-03-27 Kazuaki Nagamine Ring switching method and node apparatus using the same
CN101064566A (zh) * 2006-04-26 2007-10-31 中兴通讯股份有限公司 光传输系统保护倒换功能的自动检测装置和方法
CN103281244A (zh) * 2013-06-17 2013-09-04 瑞斯康达科技发展股份有限公司 一种多协议标签交换网络的业务承载方法及装置

Also Published As

Publication number Publication date
CN106301537A (zh) 2017-01-04

Similar Documents

Publication Publication Date Title
US11496355B2 (en) Method for processing forwarding device fault, device, and controller
US8305882B2 (en) Methods, systems, and computer program products for detecting and/or correcting faults in a multiprotocol label switching network by using redundant paths between nodes
EP3537670A1 (en) Protection switching method, network device, and system
US10911295B2 (en) Server apparatus, cluster system, cluster control method and program
WO2017124791A1 (zh) 链路检测方法及装置
EP1592173B1 (en) Protection switching methods and systems for electronic devices
WO2009124499A1 (zh) 信令传送的保护方法、装置及通信系统
JP5170001B2 (ja) ノード装置、処理ユニット及び制御フレーム処理方法
WO2011113378A2 (zh) 一种用户面缓冲器内存的恢复方法及装置
EP1921797A1 (en) Recovery method and apparatus for optical network lsp occuring abnormal delete
US8775869B2 (en) Device and method for coordinating automatic protection switching operation and recovery operation
WO2015039574A1 (zh) 网络故障恢复方法、控制服务器及交换机
JP2007180891A (ja) 通信装置及びそれに用いるパケット送信制御方法並びにそのプログラム
WO2016180084A1 (zh) 一种实现自动保护倒换的方法、本端节点和对端节点
CN105516252A (zh) Tcp连接的切换方法、装置和系统
US20160036622A1 (en) Protection switching method, network, and system
JP3587250B2 (ja) 自動障害回復を行う通信装置及び自動障害回復方法
KR101397299B1 (ko) Hsr 프로토콜이 적용된 링 네트워크에서 프레임 송수신 제어 방법 및 장치
WO2006092097A1 (fr) Méthode d’implémentation de la suppression d’un participant par le côté collecte de lcas et machine d’état côté collecte de ceci
JP2004080240A (ja) 二重化ネットワーク計算機システム及び計算機システムのネットワーク二重化方法
WO2018010614A1 (zh) Bfd会话连接建立
CN109039728B (zh) 基于bfd的流量拥塞检测方法及系统
JP2005197971A (ja) 輻輳制御装置、ルータ装置、輻輳制御システム、及び輻輳制御方法
WO2009036697A1 (fr) Procédé pour rapporter une information d&#39;anormalité de liaison
JP6403210B2 (ja) 通信制御装置、通信制御プログラム及びpppセッションの復旧方法

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

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

Country of ref document: EP

Kind code of ref document: A1