WO2015184727A1 - Automatic protection switching state processing method, device and aps node - Google Patents

Automatic protection switching state processing method, device and aps node Download PDF

Info

Publication number
WO2015184727A1
WO2015184727A1 PCT/CN2014/089493 CN2014089493W WO2015184727A1 WO 2015184727 A1 WO2015184727 A1 WO 2015184727A1 CN 2014089493 W CN2014089493 W CN 2014089493W WO 2015184727 A1 WO2015184727 A1 WO 2015184727A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
aps
code
aps node
reverse request
Prior art date
Application number
PCT/CN2014/089493
Other languages
French (fr)
Chinese (zh)
Inventor
李克军
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to KR1020177002727A priority Critical patent/KR102000128B1/en
Priority to JP2017500008A priority patent/JP2017521943A/en
Publication of WO2015184727A1 publication Critical patent/WO2015184727A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery

Definitions

  • the present invention relates to the field of communications, and in particular, to an automatic protection switching APS state processing method and apparatus, and an APS node.
  • the Packet Transfer Network supports a variety of bidirectional point-to-point connection channels based on packet switching services. It has the ability to adapt to various granular services and end-to-end networking capabilities, and provides transmissions more suitable for IP service characteristics. pipeline.
  • the protection feature is a major feature of the PTN. It has a rich protection mode. When a network failure occurs, it can implement a 50-ms carrier-class service protection switching to achieve service level protection and recovery at the transmission level.
  • FIG. 1 is a topological structural diagram of transitions between states of an APS state machine in the related art. As shown in FIG. 1, the topology diagram is as follows: A (westward) - (eastward) B (westward) - (eastward) C (westward) - (eastward) A.
  • Step 1 in the west of A, the protection is blocked; the eastward of B is forced to switch.
  • the APS protocol request at point A is LP (protection blocking); the APS protocol request above B is LP (protection blocking).
  • Step 2 After the state is stable, the west and east directions of A should send a request code for protection blocking, B responds to the RR in the east direction (reverse request), and sends the LP request code to the west long path.
  • Step 3 At a certain moment, the APS byte of point B is just sent out, and the message has not been delivered to A; at this time, the user at point A cancels the LP setting and issues NR (no request).
  • step 4 B receives the no-request code sent by A.
  • the configured FS forced switching
  • A receives the RR code in the west direction, receives the LP in the east direction, and enters the LP again.
  • step 5 A sends an RR code to the west, and LP to the east; B sends FS to the east and FS to the west.
  • Step 6 After receiving the APS sent by the other party, A sends an RR code to the west, and sends an FS to the east to enter the switching state. B sends the RR to the east and LP to the west to enter the protection lock state.
  • Step 7 after the AB receives the APS sent by the other party again, the RR code is issued in the west direction, and the LP is sent in the east direction; the RR is issued in the east direction and the FS is issued in the west direction.
  • the APS state of the node is switched back and forth between the protection lock LP and the forced switching FS, resulting in packet loss and affecting service stability.
  • the APS state of the node is in a state of switching back and forth between the protection latching LP and the forced switching FS, resulting in packet loss of the service and affecting the stability of the service.
  • the present invention provides an automatic protection switching APS state processing method and device, and an automatic protection switching APS node, so as to at least solve the related art, the node APS state exists in a state of switching back and forth between the protection blocking LP and the forced switching FS, resulting in Business packet loss affects the stability of the business.
  • an automatic protection switching APS state processing method including: an automatic protection switching APS node determines that a node state of an automatic protection switching APS node is at least one of the following: the APS node issues a reverse request RR a code, and receiving a reverse request code of the non-signal failure SF and the non-signal degraded SD and an RR code sent by other nodes than the APS node; the APS node issues a reverse request RR code, and upon receiving After the reverse request code of the signal failure SF and the signal degradation SD and the RR code sent by other nodes than the APS node, the recovery waits for the WTR time and exceeds the WTR time; the switching state of the APS node is revoked .
  • the node request status is a reverse request RR code for the APS node, and a reverse request code for receiving a non-signal failure SF and a non-signal degradation SD and a node issued by a node other than the APS node
  • the method further includes: determining that no segment fault is detected at the APS node and/or no manual switching operation command is received.
  • the RR code sent by the node includes: determining that the APS node receives an RR code sent by a node other than the APS node on a short path, and receives a non-SF and non-SD reverse request code on a long path.
  • the reversing the switching state of the APS node comprises: switching the switching state of the APS node to an idle state.
  • an automatic protection switching APS state processing apparatus including: a first determining module, configured to determine that a node state of an automatic protection switching APS node is at least one of: the APS node sends an inverse Requesting an RR code, and receiving a reverse request code of a non-signal failure SF and a non-signal degraded SD and an RR code sent by a node other than the APS node; the APS node issues a reverse request RR code, and After receiving the reverse request code of the signal failure SF and the signal degradation SD and the RR code sent by other nodes than the APS node, entering the recovery waiting WTR time and exceeding the WTR time; the undo module is set to The switching state of the APS node is revoked.
  • the APS state processing device further comprises: a second determining module, configured to determine that no segment fault is detected at the APS node and/or no manual switching operation command is received.
  • the first determining module includes: a first determining unit, configured to determine that the APS node receives an RR code sent by a node other than the APS node on a short path, and receives the RR code on a long path.
  • a first determining unit configured to determine that the APS node receives an RR code sent by a node other than the APS node on a short path, and receives the RR code on a long path.
  • the first determining module includes: a second determining unit, configured to determine that the APS node receives an RR code sent by a node other than the APS node on a short path, and receives the long code The reverse request code of the SF and the SD.
  • a second determining unit configured to determine that the APS node receives an RR code sent by a node other than the APS node on a short path, and receives the long code The reverse request code of the SF and the SD.
  • the undo module comprises: a switching unit configured to switch the switching state of the APS node to an idle state.
  • an automatic protection switching APS node comprising the apparatus of any of the above.
  • the automatic protection switching APS node is used to determine that the node state of the automatic protection switching APS node is at least one of the following: the APS node sends a reverse request RR code, and receives a non-signal failure SF and a non-signal degradation SD a request code and an RR code issued by a node other than the APS node; the APS node issues a reverse request RR code, and receives a reverse request code for the signal failure SF and the signal degradation SD and After the RR code sent by other nodes other than the APS node, the recovery waits for the WTR time.
  • FIG. 1 is a topological structural diagram of transitions between states of an APS state machine in the related art
  • FIG. 2 is a flowchart of an automatic protection switching APS state processing method according to an embodiment of the present invention
  • FIG. 3 is a structural block diagram of an automatic protection switching APS state processing apparatus according to an embodiment of the present invention.
  • FIG. 4 is a block diagram showing a preferred structure of an automatic protection switching APS state processing apparatus according to an embodiment of the present invention
  • FIG. 5 is a block diagram 1 of a preferred structure of the first determining module 32 in the automatic protection switching APS state processing apparatus according to an embodiment of the present invention
  • FIG. 6 is a block diagram 2 of a preferred structure of the first determining module 32 in the automatic protection switching APS state processing apparatus according to an embodiment of the present invention
  • FIG. 7 is a block diagram showing a preferred structure of an undo module 34 in an automatic protection switching APS state processing apparatus according to an embodiment of the present invention.
  • FIG. 8 is a structural block diagram of an automatic protection switching APS node according to an embodiment of the present invention.
  • FIG. 9 is a flow diagram of a switch state to idle state transition in accordance with a preferred embodiment of the present invention.
  • FIG. 2 is a flowchart of an automatic protection switching APS state processing method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
  • Step S202 determining that the node status of the automatic protection switching APS node is at least one of the following: the APS node sends a reverse request RR code, and receives a reverse request code of the non-signal failed SF and the non-signal degraded SD and the APS node RR code sent by other nodes; the APS node sends a reverse request RR code, and after receiving the reverse request code of the signal failure SF and the signal degradation SD and the RR code sent by other nodes than the APS node, Entering recovery waits for WTR time and exceeds the WTR time;
  • step S204 the switching state of the APS node is revoked.
  • the APS node is in an infinite loop state according to the state of the node, that is, whether the node state satisfies a predetermined condition, when the APS node issues a reverse request RR code, and receives non-signal failure SF and non-signal degradation.
  • the reverse request code of the SD and the RR code sent by other nodes than the APS node or the reverse request code that the APS node issues the reverse request RR code and receives the signal failure SF and the signal degradation SD
  • the recovery waits for the WTR time, and when the WTR time is exceeded, it may be determined that the APS node needs to perform the change process of the switching state, and then the switching state of the APS node is cancelled.
  • the node is always in a loop of switching back and forth, resulting in packet loss of the service.
  • the above processing not only effectively solves the above problems in the related art, but also saves the processing time of the protection switching to a certain extent, and improves the stability of the service.
  • the node status is a reverse request RR code for the APS node
  • the reverse request code of the non-signal failure SF and the non-signal degraded SD and the RR code sent by other nodes than the APS node are received, Whether the APS node detects a segment layer fault and/or receives a manual switching operation command, and determines that the node state satisfies the predetermined condition after the APS node does not detect the segment layer fault and/or does not receive the manual switching operation command.
  • the node status is a reverse request RR code for the APS node
  • the non-SF and non-SD reverse request code and the RR code sent by other nodes than the APS node are received, it is determined that the node status is satisfied.
  • the condition is predetermined, the following can be determined: it is determined that the APS node receives the reverse request code on the short path, and receives the non-SF and non-SD reverse request code on the long path.
  • the node status is a reverse request RR code for the APS node
  • the reverse request code of the SF and the SD and the RR code sent by the other node except the APS node are received, determining that the node status satisfies the predetermined condition At this time, the following can be determined: it is determined that the APS node receives the reverse request code on the short path, and receives the reverse request code of the SF and the SD on the long path.
  • the undoing state of the APS node may be to switch the switching state of the APS node to the idle state.
  • an automatic protection switching APS state processing device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 3 is a block diagram showing the structure of an automatic protection switching APS state processing apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes a first determining module 32 and an undoing module 34, which will be described below.
  • the first determining module 32 is configured to determine that the node status of the automatic protection switching APS node is at least one of the following: the APS node sends a reverse request RR code, and receives a reverse request code of the non-signal failure SF and the non-signal degradation SD.
  • the recovery waits for the WTR time and exceeds the WTR time; the undo module 34 is connected to the first determining module 32, and is set to undo the switching state of the APS node.
  • FIG. 4 is a block diagram of a preferred structure of an automatic protection switching APS state processing apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes a second determining module 42 in addition to the module shown in FIG. The second determining module 42 is described.
  • the second determining module 42 is connected to the first determining module 32 and the undoing module 34, and is configured to issue a reverse request RR code for the APS node in the node state, and receive a reverse request of the non-signal failure SF and the non-signal degradation SD. After the code and the RR code sent by other nodes than the APS node, it is determined that no segment fault is detected at the APS node and/or no manual switching operation command is received.
  • FIG. 5 is a block diagram of a preferred structure of the first determining module 32 in the automatic protection switching APS state processing apparatus according to the embodiment of the present invention. As shown in FIG. 5, the first determining module 32 includes a first determining unit 52. The first determining unit 52 is explained.
  • the first determining unit 52 is configured to determine that the APS node receives the RR code sent by other nodes than the APS node on the short path, and receives the non-SF and non-SD reverse request codes on the long path.
  • FIG. 6 is a block diagram of a preferred structure of the first determining module 32 in the automatic protection switching APS state processing apparatus according to the embodiment of the present invention. As shown in FIG. 6, the first determining module 32 includes a second determining unit 62. This second determination 62 is described.
  • the second determining unit 62 is configured to determine that the APS node receives the RR code sent by other nodes than the APS node on the short path, and receives the reverse request code of the SF and the SD on the long path.
  • FIG. 7 is a block diagram showing a preferred structure of the undo module 34 in the automatic protection switching APS state processing apparatus according to the embodiment of the present invention.
  • the undo module 34 includes: a switching unit 72, and the switching unit 72 is described below. .
  • the switching unit 72 is configured to switch the switching state of the APS node to the idle state.
  • FIG. 8 is a structural block diagram of an automatic protection switching APS node according to an embodiment of the present invention. As shown in FIG. 8, the APS node 80 includes any one of the APS state processing devices 82 described above.
  • the main contents of the program include:
  • the node receives the reverse request code of non-SF and SD, and also sends the reverse request code itself, the original switching state of the node is cancelled.
  • the node If the node receives the reverse request code of SF and SD, and also sends the reverse request code itself, it should enter the WTR time and cancel the switching state of the node after the WTR time ends.
  • the method for improving the ring network protection state stability includes the following steps:
  • the topology map is as follows: A (westward) - (eastward) B (westward) - (eastward) C (westward) - (eastward) A.
  • the protection is blocked in the west of A; the forced downward switching is performed in the east of B.
  • the APS protocol status at point A is protection blocking; the APS protocol status on B is protection blocking.
  • the west and east directions of A should send a request code for protection lockout.
  • B responds to the RR in the east direction and sends the LP request code to the west long path.
  • the third step at some point, the protection point A of the point B is just sent out, the message has not been delivered to A; at this time, the user at point A cancels the LP setting and issues a no-request code.
  • the A receives the RR code in the west direction, receives the LP code in the east direction, and enters the protection lock state again.
  • B receives the no-request code sent by A.
  • the FS priority is the highest and the forced switching state is entered.
  • A sends the RR code to the west and LP to the east; B sends the FS to the east and FS to the west.
  • the A node receives the RR code in the west direction and receives the FS code in the east direction.
  • the protection lock state is revoked and the non-switching state is entered;
  • B receives the RR code in the east direction and receives the LP code in the west direction.
  • the switching state is recalculated and the forced switching state is still maintained.
  • the A node sends the RR code to the west and the FS to the east; B sends the FS to the east and FS to the west.
  • the ring network switching state is stable to the forced switching state.
  • the above embodiments and the preferred embodiments not only solve the problem that the node protection state is switched back and forth, but also save the protection switching time and improve the stability of the service.
  • FIG. 9 is a flow chart of a transition state to an idle state transition according to a preferred embodiment of the present invention. As shown in FIG. 9, the flow includes the following steps:
  • step S902 it is determined whether the WTR is timed out. If the WTR times out, the bridge and the switchover should be abandoned, the transition to the idle state, and the NR request code be sent to the east-west direction.
  • step S904 it is judged whether the externally initiated manual switching command is clear. If the externally initiated manual switching command is cleared, the bridge and the switching should be abandoned, the transition to the idle state, and the NR request code be sent to the east-west direction.
  • step S906 it is determined whether the NR request is received in the east-west direction. If the NR request is received in the east-west direction, the bridge and the switchover should be abandoned, the transition to the idle state, and the NR request code be sent to the east-west direction.
  • step S908 it is determined whether the APS request sent by itself is received, and if the APS request sent by itself is received in the east or west direction, it is determined whether another APS request has been received at the same time.
  • Step S910 if no other APS request is received at the same time, it should immediately migrate to the idle state and issue an NR request code to the east-west direction.
  • Step S912 if another APS request is received, the action is performed according to the highest received APS request currently received.
  • Step S914 the node receives the RR code on the short path, and receives the non-SF/SD switching code in the long path. If the node does not detect the segment layer fault at this time, and does not receive the external manual operation command, then the node enters the idle state. Status, issued NR code.
  • step S916 if the RR code is received on the short path and the SF/SD switching code is received in the long path, the switching should not be cancelled, but the WTR state is entered.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the foregoing embodiments and the preferred embodiments are provided to solve the problem that the APS state of the node in the related art is switched back and forth in different switching states, causing service packet loss and affecting service stability, thereby achieving protection.
  • the processing time of the switching improves the stability of the business.

Landscapes

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

Abstract

Provided are an automatic protection switching (APS) state processing method, device and APS node, the method comprising: determining that the status of an APS node is at least one of the following: the APS node issues a reverse request (RR) code, and receives a reverse request code of a non-signal failure (SF) and a non-signal degradation (SD) and RR codes issued by other nodes except the APS node; the APS node issues an RR code, enters wait to restore (WTR) time after receiving the reverse request code of a signal failure (SF) and a signal degradation (SD) and the RR codes issued by other nodes except the APS node, and exceeds the WTR time; and revoking the switching state of the APS node. The present invention solves the problem in the relevant art of service packet loss caused by frequent switching of the APS state of a node between different switching states, shortens the processing time of protection switching, and improves service stability.

Description

自动保护倒换APS状态处理方法、装置及APS节点Automatic protection switching APS state processing method, device and APS node 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种自动保护倒换APS状态处理方法、装置及APS节点。The present invention relates to the field of communications, and in particular, to an automatic protection switching APS state processing method and apparatus, and an APS node.
背景技术Background technique
分组传送网(Packet Transfer Network,简称为PTN)支持多种基于分组交换业务的双向点对点连接通道,具有适合各种粗细颗粒业务、端到端的组网能力,提供了更加适合于IP业务特性的传输管道。保护特性是PTN的一大特色,具备丰富的保护方式,遇到网络故障时能够实现基于50ms的电信级业务保护倒换,实现传输级别的业务保护和恢复。The Packet Transfer Network (PTN) supports a variety of bidirectional point-to-point connection channels based on packet switching services. It has the ability to adapt to various granular services and end-to-end networking capabilities, and provides transmissions more suitable for IP service characteristics. pipeline. The protection feature is a major feature of the PTN. It has a rich protection mode. When a network failure occurs, it can implement a 50-ms carrier-class service protection switching to achieve service level protection and recovery at the transmission level.
PTN设备需要遵从《分组传送网(PTN)设备技术要求》的相关说明,在10.3.7.2一节中,详细描述了环网节点APS(自动保护倒换)协议状态和状态机的具体方案。已有的APS协议的实现中,存在如下的隐患(以保护锁定和强制倒换为例)。图1是相关技术中APS状态机各个状态间迁移的拓扑结构图,如图1所示,该拓扑图简单如下:A(西向)——(东向)B(西向)——(东向)C(西向)——(东向)A。The PTN equipment needs to comply with the relevant instructions of the Packet Transport Network (PTN) Equipment Technical Requirements. In Section 10.3.7.2, the specific scheme of the ring node APS (Automatic Protection Switching) protocol status and state machine is described in detail. In the implementation of the existing APS protocol, the following hidden dangers exist (taking protection lock and forced switching as an example). 1 is a topological structural diagram of transitions between states of an APS state machine in the related art. As shown in FIG. 1, the topology diagram is as follows: A (westward) - (eastward) B (westward) - (eastward) C (westward) - (eastward) A.
步骤1,在A的西向下发保护闭锁;B的东向下发强制倒换。 Step 1, in the west of A, the protection is blocked; the eastward of B is forced to switch.
由于保护闭锁优先级高,所以此时A点上APS协议请求为LP(保护闭锁);B上面APS协议请求为LP(保护闭锁)。Because the protection blocking priority is high, the APS protocol request at point A is LP (protection blocking); the APS protocol request above B is LP (protection blocking).
步骤2,状态稳定后,此时A的西向和东向都应该发送保护闭锁的请求码,B在东向短径应答RR(反向请求),西向长径发送LP请求码。Step 2: After the state is stable, the west and east directions of A should send a request code for protection blocking, B responds to the RR in the east direction (reverse request), and sends the LP request code to the west long path.
步骤3,某个时刻,B点的APS字节刚好送出,报文尚未送达A;此时A点用户取消LP设置,发出NR(无请求)。 Step 3. At a certain moment, the APS byte of point B is just sent out, and the message has not been delivered to A; at this time, the user at point A cancels the LP setting and issues NR (no request).
步骤4,B收到A送过来的无请求码,此时配置的FS(强制倒换)优先级最高,进入倒换状态;A西向收到RR码,东向收到LP,再次进入LP。In step 4, B receives the no-request code sent by A. At this time, the configured FS (forced switching) has the highest priority and enters the switching state; A receives the RR code in the west direction, receives the LP in the east direction, and enters the LP again.
步骤5,A西向发出RR码,东向发出LP;B东向发出FS,西向发出FS。 In step 5, A sends an RR code to the west, and LP to the east; B sends FS to the east and FS to the west.
步骤6,A收到对方发出的APS之后,西向发出RR码,东向发出FS,进入倒换状态;B的东向发出RR,西向发出LP,进入保护锁定状态。Step 6: After receiving the APS sent by the other party, A sends an RR code to the west, and sends an FS to the east to enter the switching state. B sends the RR to the east and LP to the west to enter the protection lock state.
步骤7,AB再次收到对方发出的APS之后,西向发出RR码,东向发出LP;B的东向发出RR,西向发出FS。Step 7, after the AB receives the APS sent by the other party again, the RR code is issued in the west direction, and the LP is sent in the east direction; the RR is issued in the east direction and the FS is issued in the west direction.
之后就一直在步骤6和7之间循环,最终节点的APS状态就会一直在保护锁定LP和强制倒换FS之间来回切换,导致业务丢包,影响业务的稳定。After that, the APS state of the node is switched back and forth between the protection lock LP and the forced switching FS, resulting in packet loss and affecting service stability.
因此,在相关技术中,节点的APS状态存在在保护闭锁LP和强制倒换FS之间来回切换的状态,导致业务丢包,影响到业务稳定的问题。Therefore, in the related art, the APS state of the node is in a state of switching back and forth between the protection latching LP and the forced switching FS, resulting in packet loss of the service and affecting the stability of the service.
发明内容Summary of the invention
本发明提供了一种自动保护倒换APS状态处理方法、装置及自动保护倒换APS节点,以至少解决相关技术中,节点的APS状态存在在保护闭锁LP和强制倒换FS之间来回切换的状态,导致业务丢包,影响到业务稳定的问题。The present invention provides an automatic protection switching APS state processing method and device, and an automatic protection switching APS node, so as to at least solve the related art, the node APS state exists in a state of switching back and forth between the protection blocking LP and the forced switching FS, resulting in Business packet loss affects the stability of the business.
根据本发明的一方面,提供了一种自动保护倒换APS状态处理方法,包括:自动保护倒换APS节点确定自动保护倒换APS节点的节点状态为以下至少之一:所述APS节点发出反向请求RR码,并且接收到非信号失效SF和非信号劣化SD的反向请求码和除所述APS节点之外的其他节点发出的RR码;所述APS节点发出反向请求RR码,并且在接收到信号失效SF和信号劣化SD的反向请求码和除所述APS节点之外的其他节点发出的RR码之后,进入恢复等待WTR时间,且超过所述WTR时间;撤消所述APS节点的倒换状态。According to an aspect of the present invention, an automatic protection switching APS state processing method is provided, including: an automatic protection switching APS node determines that a node state of an automatic protection switching APS node is at least one of the following: the APS node issues a reverse request RR a code, and receiving a reverse request code of the non-signal failure SF and the non-signal degraded SD and an RR code sent by other nodes than the APS node; the APS node issues a reverse request RR code, and upon receiving After the reverse request code of the signal failure SF and the signal degradation SD and the RR code sent by other nodes than the APS node, the recovery waits for the WTR time and exceeds the WTR time; the switching state of the APS node is revoked .
优选地,在所述节点状态为所述APS节点发出反向请求RR码,并且接收到非信号失效SF和非信号劣化SD的反向请求码和除所述APS节点之外的其他节点发出的RR码之后,还包括:确定在所述APS节点没有检测到段层故障和/或没有接收到人工倒换操作命令。Preferably, the node request status is a reverse request RR code for the APS node, and a reverse request code for receiving a non-signal failure SF and a non-signal degradation SD and a node issued by a node other than the APS node After the RR code, the method further includes: determining that no segment fault is detected at the APS node and/or no manual switching operation command is received.
优选地,确定所述APS节点的节点状态为所述APS节点发出反向请求RR码,并且接收到所述非SF和所述非SD的反向请求码和除所述APS节点之外的其他节点发出的RR码包括:确定所述APS节点在短径上接收到除所述APS节点之外的其他节点发出的RR码,在长径上接收到非SF和非SD的反向请求码。Preferably, determining a node status of the APS node to send a reverse request RR code to the APS node, and receiving the non-SF and the non-SD reverse request code and other than the APS node The RR code sent by the node includes: determining that the APS node receives an RR code sent by a node other than the APS node on a short path, and receives a non-SF and non-SD reverse request code on a long path.
优选地,确定所述APS节点的节点状态为所述APS节点发出反向请求RR码,并且在接收到所述SF和所述SD的反向请求码和除所述APS节点之外的其他节点发出 的RR码之后,进入恢复等待WTR时间,且超过所述WTR时间包括:确定所述APS节点在短径上接收到除所述APS节点之外的其他节点发出的RR码,在长径上接收到所述SF和所述SD的反向请求码。Preferably, determining a node status of the APS node is a reverse request RR code sent by the APS node, and receiving a reverse request code of the SF and the SD and other nodes except the APS node Issue After the RR code, entering the recovery waiting WTR time, and exceeding the WTR time includes: determining that the APS node receives the RR code sent by other nodes than the APS node on the short path, and receives the long path. Reverse request code to the SF and the SD.
优选地,撤消所述APS节点的倒换状态包括:将所述APS节点的倒换状态切换到空闲状态。Preferably, the reversing the switching state of the APS node comprises: switching the switching state of the APS node to an idle state.
根据本发明的还一方面,提供了一种自动保护倒换APS状态处理装置,包括:第一确定模块,设置为确定自动保护倒换APS节点的节点状态为以下至少之一:所述APS节点发出反向请求RR码,并且接收到非信号失效SF和非信号劣化SD的反向请求码和除所述APS节点之外的其他节点发出的RR码;所述APS节点发出反向请求RR码,并且在接收到信号失效SF和信号劣化SD的反向请求码和除所述APS节点之外的其他节点发出的RR码之后,进入恢复等待WTR时间,且超过所述WTR时间;撤消模块,设置为撤消所述APS节点的倒换状态。According to still another aspect of the present invention, there is provided an automatic protection switching APS state processing apparatus, including: a first determining module, configured to determine that a node state of an automatic protection switching APS node is at least one of: the APS node sends an inverse Requesting an RR code, and receiving a reverse request code of a non-signal failure SF and a non-signal degraded SD and an RR code sent by a node other than the APS node; the APS node issues a reverse request RR code, and After receiving the reverse request code of the signal failure SF and the signal degradation SD and the RR code sent by other nodes than the APS node, entering the recovery waiting WTR time and exceeding the WTR time; the undo module is set to The switching state of the APS node is revoked.
优选地,所述APS状态处理装置还包括:第二确定模块,设置为确定在所述APS节点没有检测到段层故障和/或没有接收到人工倒换操作命令。Preferably, the APS state processing device further comprises: a second determining module, configured to determine that no segment fault is detected at the APS node and/or no manual switching operation command is received.
优选地,所述第一确定模块包括:第一确定单元,设置为确定所述APS节点在短径上接收到除所述APS节点之外的其他节点发出的RR码,在长径上接收到非SF和非SD的反向请求码。Preferably, the first determining module includes: a first determining unit, configured to determine that the APS node receives an RR code sent by a node other than the APS node on a short path, and receives the RR code on a long path. Non-SF and non-SD reverse request codes.
优选地,所述第一确定模块包括:第二确定单元,设置为确定所述APS节点在短径上接收到除所述APS节点之外的其他节点发出的RR码,在长径上接收到所述SF和所述SD的反向请求码。Preferably, the first determining module includes: a second determining unit, configured to determine that the APS node receives an RR code sent by a node other than the APS node on a short path, and receives the long code The reverse request code of the SF and the SD.
优选地,所述撤消模块包括:切换单元,设置为将所述APS节点的倒换状态切换到空闲状态。Preferably, the undo module comprises: a switching unit configured to switch the switching state of the APS node to an idle state.
根据本发明的再一方面,提供了一种自动保护倒换APS节点,包括上述任一项所述的装置。According to still another aspect of the present invention, there is provided an automatic protection switching APS node, comprising the apparatus of any of the above.
通过本发明,采用自动保护倒换APS节点确定自动保护倒换APS节点的节点状态为以下至少之一:所述APS节点发出反向请求RR码,并且接收到非信号失效SF和非信号劣化SD的反向请求码和除所述APS节点之外的其他节点发出的RR码;所述APS节点发出反向请求RR码,并且在接收到信号失效SF和信号劣化SD的反向请求码和除所述APS节点之外的其他节点发出的RR码之后,进入恢复等待WTR时间, 且超过所述WTR时间;撤消所述APS节点的倒换状态,解决了相关技术中存在的节点的APS状态在不同倒换状态中来回切换,导致业务丢包,影响到业务稳定的问题,进而达到了节省了保护倒换的处理时间,提高了业务的稳定性的效果。According to the present invention, the automatic protection switching APS node is used to determine that the node state of the automatic protection switching APS node is at least one of the following: the APS node sends a reverse request RR code, and receives a non-signal failure SF and a non-signal degradation SD a request code and an RR code issued by a node other than the APS node; the APS node issues a reverse request RR code, and receives a reverse request code for the signal failure SF and the signal degradation SD and After the RR code sent by other nodes other than the APS node, the recovery waits for the WTR time. And the WTR time is exceeded; the switching state of the APS node is cancelled, and the APS state of the node in the related technology is switched back and forth in different switching states, causing service packet loss and affecting service stability, thereby achieving the problem. It saves the processing time of protection switching and improves the stability of the business.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是相关技术中APS状态机各个状态间迁移的拓扑结构图;1 is a topological structural diagram of transitions between states of an APS state machine in the related art;
图2是根据本发明实施例的自动保护倒换APS状态处理方法的流程图;2 is a flowchart of an automatic protection switching APS state processing method according to an embodiment of the present invention;
图3是根据本发明实施例的自动保护倒换APS状态处理装置的结构框图;3 is a structural block diagram of an automatic protection switching APS state processing apparatus according to an embodiment of the present invention;
图4是根据本发明实施例的自动保护倒换APS状态处理装置的优选结构框图;4 is a block diagram showing a preferred structure of an automatic protection switching APS state processing apparatus according to an embodiment of the present invention;
图5是根据本发明实施例的自动保护倒换APS状态处理装置中第一确定模块32的优选结构框图一;5 is a block diagram 1 of a preferred structure of the first determining module 32 in the automatic protection switching APS state processing apparatus according to an embodiment of the present invention;
图6是根据本发明实施例的自动保护倒换APS状态处理装置中第一确定模块32的优选结构框图二;6 is a block diagram 2 of a preferred structure of the first determining module 32 in the automatic protection switching APS state processing apparatus according to an embodiment of the present invention;
图7是根据本发明实施例的自动保护倒换APS状态处理装置中撤消模块34的优选结构框图;7 is a block diagram showing a preferred structure of an undo module 34 in an automatic protection switching APS state processing apparatus according to an embodiment of the present invention;
图8是根据本发明实施例的自动保护倒换APS节点的结构框图;8 is a structural block diagram of an automatic protection switching APS node according to an embodiment of the present invention;
图9是根据本发明优选实施方式的倒换状态到空闲状态迁移的流程图。9 is a flow diagram of a switch state to idle state transition in accordance with a preferred embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在本实施例中提供了一种自动保护倒换APS状态处理方法,图2是根据本发明实施例的自动保护倒换APS状态处理方法的流程图,如图2所示,该流程包括如下步骤: In this embodiment, an automatic protection switching APS state processing method is provided. FIG. 2 is a flowchart of an automatic protection switching APS state processing method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
步骤S202,确定自动保护倒换APS节点的节点状态为以下至少之一:APS节点发出反向请求RR码,并且接收到非信号失效SF和非信号劣化SD的反向请求码和除该APS节点之外的其他节点发出的RR码;APS节点发出反向请求RR码,并且在接收到信号失效SF和信号劣化SD的反向请求码和除该APS节点之外的其他节点发出的RR码之后,进入恢复等待WTR时间,且超过该WTR时间;Step S202, determining that the node status of the automatic protection switching APS node is at least one of the following: the APS node sends a reverse request RR code, and receives a reverse request code of the non-signal failed SF and the non-signal degraded SD and the APS node RR code sent by other nodes; the APS node sends a reverse request RR code, and after receiving the reverse request code of the signal failure SF and the signal degradation SD and the RR code sent by other nodes than the APS node, Entering recovery waits for WTR time and exceeds the WTR time;
步骤S204,撤消APS节点的倒换状态。In step S204, the switching state of the APS node is revoked.
通过上述步骤,依据节点状态判断APS节点是否处于死循环的需要撤消的状态,即判断节点状态是否满足预定条件,当APS节点发出反向请求RR码,并且接收到非信号失效SF和非信号劣化SD的反向请求码和除该APS节点之外的其他节点发出的RR码,或者确定了该APS节点发出反向请求RR码,并且在接收到信号失效SF和信号劣化SD的反向请求码和除该APS节点之外的其他节点发出的RR码之后,进入恢复等待WTR时间,且超过该WTR时间时,可以确定需要对APS节点执行倒换状态的变更处理,之后撤销该APS节点的倒换状态,相对于相关技术中,节点一直处于来回切换的循环,导致业务丢包。采用上述处理,不仅有效地解决了相关技术中的上述问题,而且在一定程度上节省了保护倒换的处理时间,提高了业务的稳定性的效果。Through the above steps, it is determined whether the APS node is in an infinite loop state according to the state of the node, that is, whether the node state satisfies a predetermined condition, when the APS node issues a reverse request RR code, and receives non-signal failure SF and non-signal degradation. The reverse request code of the SD and the RR code sent by other nodes than the APS node, or the reverse request code that the APS node issues the reverse request RR code and receives the signal failure SF and the signal degradation SD And after the RR code sent by the other node except the APS node, the recovery waits for the WTR time, and when the WTR time is exceeded, it may be determined that the APS node needs to perform the change process of the switching state, and then the switching state of the APS node is cancelled. Compared with the related art, the node is always in a loop of switching back and forth, resulting in packet loss of the service. The above processing not only effectively solves the above problems in the related art, but also saves the processing time of the protection switching to a certain extent, and improves the stability of the service.
优选地,在节点状态为APS节点发出反向请求RR码,并且接收到非信号失效SF和非信号劣化SD的反向请求码和除该APS节点之外的其他节点发出的RR码之后,还可以对APS节点是否检测到段层故障和/或接收到人工倒换操作命令,在该APS节点没有检测到段层故障和/或没有接收到人工倒换操作命令,才确定节点状态满足预定条件。Preferably, after the node status is a reverse request RR code for the APS node, and the reverse request code of the non-signal failure SF and the non-signal degraded SD and the RR code sent by other nodes than the APS node are received, Whether the APS node detects a segment layer fault and/or receives a manual switching operation command, and determines that the node state satisfies the predetermined condition after the APS node does not detect the segment layer fault and/or does not receive the manual switching operation command.
另外,在节点状态为APS节点发出反向请求RR码,并且接收到非SF和非SD的反向请求码和除该APS节点之外的其他节点发出的RR码的情况下,确定节点状态满足预定条件时,可以确定以下内容:确定APS节点在短径上接收到反向请求码,在长径上接收到非SF和非SD的反向请求码。In addition, when the node status is a reverse request RR code for the APS node, and the non-SF and non-SD reverse request code and the RR code sent by other nodes than the APS node are received, it is determined that the node status is satisfied. When the condition is predetermined, the following can be determined: it is determined that the APS node receives the reverse request code on the short path, and receives the non-SF and non-SD reverse request code on the long path.
以及,在节点状态为APS节点发出反向请求RR码,并且接收到SF和SD的反向请求码和除该APS节点之外的其他节点发出的RR码的情况下,确定节点状态满足预定条件时,可以确定以下内容:确定APS节点在短径上接收到反向请求码,在长径上接收到SF和SD的反向请求码。And, when the node status is a reverse request RR code for the APS node, and the reverse request code of the SF and the SD and the RR code sent by the other node except the APS node are received, determining that the node status satisfies the predetermined condition At this time, the following can be determined: it is determined that the APS node receives the reverse request code on the short path, and receives the reverse request code of the SF and the SD on the long path.
撤消APS节点的倒换状态可以是将APS节点的倒换状态切换到空闲状态。 The undoing state of the APS node may be to switch the switching state of the APS node to the idle state.
在本实施例中还提供了一种自动保护倒换APS状态处理装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, an automatic protection switching APS state processing device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图3是根据本发明实施例的自动保护倒换APS状态处理装置的结构框图,如图3所示,该装置包括第一确定模块32和撤消模块34,下面对该装置进行说明。3 is a block diagram showing the structure of an automatic protection switching APS state processing apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes a first determining module 32 and an undoing module 34, which will be described below.
第一确定模块32,设置为确定自动保护倒换APS节点的节点状态为以下至少之一:APS节点发出反向请求RR码,并且接收到非信号失效SF和非信号劣化SD的反向请求码和除该APS节点之外的其他节点发出的RR码;APS节点发出反向请求RR码,并且在接收到信号失效SF和信号劣化SD的反向请求码和除该APS节点之外的其他节点发出的RR码之后,进入恢复等待WTR时间,且超过该WTR时间;撤消模块34,连接至上述第一确定模块32,设置为撤消APS节点的倒换状态。The first determining module 32 is configured to determine that the node status of the automatic protection switching APS node is at least one of the following: the APS node sends a reverse request RR code, and receives a reverse request code of the non-signal failure SF and the non-signal degradation SD. An RR code sent by a node other than the APS node; the APS node issues a reverse request RR code, and a reverse request code that receives the signal failure SF and the signal degradation SD and other nodes other than the APS node After the RR code, the recovery waits for the WTR time and exceeds the WTR time; the undo module 34 is connected to the first determining module 32, and is set to undo the switching state of the APS node.
图4是根据本发明实施例的自动保护倒换APS状态处理装置的优选结构框图,如图4所示,该装置除包括图3所示的模块外,还包括第二确定模块42,下面对该第二确定模块42进行说明。4 is a block diagram of a preferred structure of an automatic protection switching APS state processing apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes a second determining module 42 in addition to the module shown in FIG. The second determining module 42 is described.
第二确定模块42,连接至上述第一确定模块32和撤销模块34,设置为在节点状态为APS节点发出反向请求RR码,并且接收到非信号失效SF和非信号劣化SD的反向请求码和除该APS节点之外的其他节点发出的RR码之后,确定在APS节点没有检测到段层故障和/或没有接收到人工倒换操作命令。The second determining module 42 is connected to the first determining module 32 and the undoing module 34, and is configured to issue a reverse request RR code for the APS node in the node state, and receive a reverse request of the non-signal failure SF and the non-signal degradation SD. After the code and the RR code sent by other nodes than the APS node, it is determined that no segment fault is detected at the APS node and/or no manual switching operation command is received.
图5是根据本发明实施例的自动保护倒换APS状态处理装置中第一确定模块32的优选结构框图一,如图5所示,该第一确定模块32包括第一确定单元52,下面对该第一确定单元52进行说明。FIG. 5 is a block diagram of a preferred structure of the first determining module 32 in the automatic protection switching APS state processing apparatus according to the embodiment of the present invention. As shown in FIG. 5, the first determining module 32 includes a first determining unit 52. The first determining unit 52 is explained.
第一确定单元52,设置为确定APS节点在短径上接收到除该APS节点之外的其他节点发出的RR码,在长径上接收到非SF和非SD的反向请求码。The first determining unit 52 is configured to determine that the APS node receives the RR code sent by other nodes than the APS node on the short path, and receives the non-SF and non-SD reverse request codes on the long path.
图6是根据本发明实施例的自动保护倒换APS状态处理装置中第一确定模块32的优选结构框图二,如图6所示,该第一确定模块32包括第二确定单元62,下面对该第二确定62进行说明。FIG. 6 is a block diagram of a preferred structure of the first determining module 32 in the automatic protection switching APS state processing apparatus according to the embodiment of the present invention. As shown in FIG. 6, the first determining module 32 includes a second determining unit 62. This second determination 62 is described.
第二确定单元62,设置为确定APS节点在短径上接收到除该APS节点之外的其他节点发出的RR码,在长径上接收到SF和SD的反向请求码。 The second determining unit 62 is configured to determine that the APS node receives the RR code sent by other nodes than the APS node on the short path, and receives the reverse request code of the SF and the SD on the long path.
图7是根据本发明实施例的自动保护倒换APS状态处理装置中撤消模块34的优选结构框图,如图7所示,该撤消模块34包括:切换单元72,下面对该切换单元72进行说明。FIG. 7 is a block diagram showing a preferred structure of the undo module 34 in the automatic protection switching APS state processing apparatus according to the embodiment of the present invention. As shown in FIG. 7, the undo module 34 includes: a switching unit 72, and the switching unit 72 is described below. .
切换单元72,设置为将APS节点的倒换状态切换到空闲状态。The switching unit 72 is configured to switch the switching state of the APS node to the idle state.
图8是根据本发明实施例的自动保护倒换APS节点的结构框图,如图8所示,该APS节点80包括上述任一项APS状态处理装置82。FIG. 8 is a structural block diagram of an automatic protection switching APS node according to an embodiment of the present invention. As shown in FIG. 8, the APS node 80 includes any one of the APS state processing devices 82 described above.
针对相关技术中,节点的APS状态不稳定导致的倒换状态来回切换的问题,提出一种提高环网保护状态稳定性方案。该方案的主要内容包括:Aiming at the problem that the switching state of the node is switched back and forth caused by the unstable APS state of the node in the related art, a scheme for improving the stability of the ring network protection state is proposed. The main contents of the program include:
1,《分组传送网(PTN)设备技术要求》所描述的环网保护倒换APS状态机的描述。1. Description of the ring network protection switching APS state machine described in "Technical Requirements for Packet Transport Network (PTN) Equipment".
2,如果节点收到非SF和SD的反向请求码,并且本身也同时发出反向请求码,则撤销本节点的原来的倒换状态。2. If the node receives the reverse request code of non-SF and SD, and also sends the reverse request code itself, the original switching state of the node is cancelled.
3,如果节点收到SF和SD的反向请求码,并且本身也同时发出反向请求码,则应该进入WTR时间,并在WTR时间结束后撤销本节点的倒换状态。3. If the node receives the reverse request code of SF and SD, and also sends the reverse request code itself, it should enter the WTR time and cancel the switching state of the node after the WTR time ends.
下面结合实例进行说明。The following description will be made with reference to examples.
该提高环网保护状态稳定方案包括以下步骤:The method for improving the ring network protection state stability includes the following steps:
拓扑图简单如下:A(西向)——(东向)B(西向)——(东向)C(西向)——(东向)A。The topology map is as follows: A (westward) - (eastward) B (westward) - (eastward) C (westward) - (eastward) A.
第一步,在A的西向下发保护闭锁;B的东向下发强制倒换。In the first step, the protection is blocked in the west of A; the forced downward switching is performed in the east of B.
由于保护闭锁优先级高,所以此时A点上APS协议状态为保护闭锁;B上面APS协议状态为保护闭锁。Because the protection blocking priority is high, the APS protocol status at point A is protection blocking; the APS protocol status on B is protection blocking.
第二步,状态稳定后,此时A的西向和东向都应该发送保护闭锁的请求码,B在东向短径应答RR,西向长径发送LP请求码。In the second step, after the state is stable, the west and east directions of A should send a request code for protection lockout. B responds to the RR in the east direction and sends the LP request code to the west long path.
第三步,某个时刻,B点的保护锁定APS字节刚好送出,报文尚未送达A;此时A点用户取消LP设置,发出无请求码。 The third step, at some point, the protection point A of the point B is just sent out, the message has not been delivered to A; at this time, the user at point A cancels the LP setting and issues a no-request code.
第四步,A西向收到RR码,东向收到LP码,再次进入保护锁定状态;B收到A送过来的无请求码,此时配置的FS优先级最高,进入强制倒换状态。In the fourth step, the A receives the RR code in the west direction, receives the LP code in the east direction, and enters the protection lock state again. B receives the no-request code sent by A. The FS priority is the highest and the forced switching state is entered.
第五步,A西向发出RR码,东向发出LP;B东向发出FS,西向发出FS。In the fifth step, A sends the RR code to the west and LP to the east; B sends the FS to the east and FS to the west.
第六步,A节点西向收到RR码,东向收到FS码,此时根据模块2,撤销保护锁定状态,进入无倒换状态;B此时东向收到RR码,西向收到LP码,此时重新计算倒换状态,依然保持强制倒换状态。In the sixth step, the A node receives the RR code in the west direction and receives the FS code in the east direction. At this time, according to the module 2, the protection lock state is revoked and the non-switching state is entered; B receives the RR code in the east direction and receives the LP code in the west direction. At this time, the switching state is recalculated and the forced switching state is still maintained.
第七步,AB再次收到对方发出的APS之后,A节点西向发出RR码,东向发出FS;B的东向发出FS,西向发出FS。In the seventh step, after AB receives the APS sent by the other party again, the A node sends the RR code to the west and the FS to the east; B sends the FS to the east and FS to the west.
至此,环网倒换状态稳定为强制倒换状态。At this point, the ring network switching state is stable to the forced switching state.
通过上述实施例及优选实施方式,不仅解决了节点保护状态来回切换的问题,而且节省了保护倒换处理的时间,提高了业务的稳定性。The above embodiments and the preferred embodiments not only solve the problem that the node protection state is switched back and forth, but also save the protection switching time and improve the stability of the service.
下面附图对本发明优选实施方式进行说明。The following drawings illustrate preferred embodiments of the invention.
图9是根据本发明优选实施方式的倒换状态到空闲状态迁移的流程图,如图9所示,该流程包括如下步骤:9 is a flow chart of a transition state to an idle state transition according to a preferred embodiment of the present invention. As shown in FIG. 9, the flow includes the following steps:
步骤S902,判断WTR是否超时,如果WTR超时,应该放弃桥接和倒换,迁移到空闲态,并向东西向发出NR请求码。In step S902, it is determined whether the WTR is timed out. If the WTR times out, the bridge and the switchover should be abandoned, the transition to the idle state, and the NR request code be sent to the east-west direction.
步骤S904,判断外部发起的人工倒换命令是否被清楚,如果外部发起的人工倒换命令被清除,应该放弃桥接和倒换,迁移到空闲态,并向东西向发出NR请求码。In step S904, it is judged whether the externally initiated manual switching command is clear. If the externally initiated manual switching command is cleared, the bridge and the switching should be abandoned, the transition to the idle state, and the NR request code be sent to the east-west direction.
步骤S906,判断在东西向是否都收到NR请求,如果在东西向都收到NR请求,应该放弃桥接和倒换,迁移到空闲态,并向东西向发出NR请求码。In step S906, it is determined whether the NR request is received in the east-west direction. If the NR request is received in the east-west direction, the bridge and the switchover should be abandoned, the transition to the idle state, and the NR request code be sent to the east-west direction.
步骤S908,判断是否收到自己发出的APS请求,如果在东向或西向收到自己发出的APS请求,并判断同时有没有收到其他的APS请求。In step S908, it is determined whether the APS request sent by itself is received, and if the APS request sent by itself is received in the east or west direction, it is determined whether another APS request has been received at the same time.
步骤S910,如果同时没有收到其它的APS请求时,应该立刻迁移到空闲态,并且向东西向发出NR请求码。Step S910, if no other APS request is received at the same time, it should immediately migrate to the idle state and issue an NR request code to the east-west direction.
步骤S912,如果收到其他APS请求,根据当前收到的最高的APS请求来动作。 Step S912, if another APS request is received, the action is performed according to the highest received APS request currently received.
步骤S914,节点在短径上收到RR码,长径收到非SF/SD的倒换码,如果此时节点没有检测到段层故障,也没有收到外部的人工操作命令,那么进入到空闲状态,发出NR码。Step S914, the node receives the RR code on the short path, and receives the non-SF/SD switching code in the long path. If the node does not detect the segment layer fault at this time, and does not receive the external manual operation command, then the node enters the idle state. Status, issued NR code.
步骤S916,如果在短径上收到RR码,长径收到SF/SD的倒换码,则不应该撤销倒换,而是进入到WTR状态。In step S916, if the RR code is received on the short path and the SF/SD switching code is received in the long path, the switching should not be cancelled, but the WTR state is entered.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,通过上述实施例及优选实施方式,解决了相关技术中存在的节点的APS状态在不同倒换状态中来回切换,导致业务丢包,影响到业务稳定的问题,进而达到了节省了保护倒换的处理时间,提高了业务的稳定性的效果。 As described above, the foregoing embodiments and the preferred embodiments are provided to solve the problem that the APS state of the node in the related art is switched back and forth in different switching states, causing service packet loss and affecting service stability, thereby achieving protection. The processing time of the switching improves the stability of the business.

Claims (11)

  1. 一种自动保护倒换APS状态处理方法,包括:An automatic protection switching APS state processing method includes:
    确定自动保护倒换APS节点的节点状态为以下至少之一:所述APS节点发出反向请求RR码,并且接收到非信号失效SF和非信号劣化SD的反向请求码和除所述APS节点之外的其他节点发出的RR码;所述APS节点发出反向请求RR码,并且在接收到信号失效SF和信号劣化SD的反向请求码和除所述APS节点之外的其他节点发出的RR码之后,进入恢复等待WTR时间,且超过所述WTR时间;Determining a node state of the automatic protection switching APS node as at least one of: the APS node issuing a reverse request RR code, and receiving a reverse request code of the non-signal failure SF and the non-signal degradation SD and the APS node RR code sent by other nodes; the APS node sends a reverse request RR code, and receives the reverse request code of the signal failure SF and the signal degradation SD and the RR sent by other nodes than the APS node After the code, enter the recovery wait WTR time, and exceed the WTR time;
    撤消所述APS节点的倒换状态。The switching state of the APS node is revoked.
  2. 根据权利要求1所述的方法,其中,在所述节点状态为所述APS节点发出反向请求RR码,并且接收到非信号失效SF和非信号劣化SD的反向请求码和除所述APS节点之外的其他节点发出的RR码之后,还包括:The method according to claim 1, wherein a reverse request RR code is issued in the node state for the APS node, and a reverse request code of a non-signal failure SF and a non-signal degradation SD is received and the APS is received After the RR code sent by other nodes other than the node, it also includes:
    确定在所述APS节点没有检测到段层故障和/或没有接收到人工倒换操作命令。It is determined that no segment fault has been detected at the APS node and/or no manual switching operation command has been received.
  3. 根据权利要求1所述的方法,其中,确定所述APS节点的节点状态为所述APS节点发出反向请求RR码,并且接收到所述非SF和所述非SD的反向请求码和除所述APS节点之外的其他节点发出的RR码包括:The method of claim 1, wherein determining a node status of the APS node is a reverse request RR code for the APS node, and receiving the non-SF and the non-SD reverse request code and The RR code sent by other nodes except the APS node includes:
    确定所述APS节点在短径上接收到除所述APS节点之外的其他节点发出的RR码,在长径上接收到非SF和非SD的反向请求码。Determining that the APS node receives an RR code sent by a node other than the APS node on a short path, and receives a non-SF and non-SD reverse request code on a long path.
  4. 根据权利要求1所述的方法,其中,确定所述APS节点的节点状态为所述APS节点发出反向请求RR码,并且在接收到所述SF和所述SD的反向请求码和除所述APS节点之外的其他节点发出的RR码之后,进入恢复等待WTR时间,且超过所述WTR时间包括:The method of claim 1, wherein determining a node status of the APS node is a reverse request RR code for the APS node, and receiving a reverse request code and a de-assertion of the SF and the SD After the RR code sent by other nodes than the APS node, the recovery waits for the WTR time, and the time exceeding the WTR includes:
    确定所述APS节点在短径上接收到除所述APS节点之外的其他节点发出的RR码,在长径上接收到所述SF和所述SD的反向请求码。Determining that the APS node receives an RR code sent by a node other than the APS node on a short path, and receives a reverse request code of the SF and the SD on a long path.
  5. 根据权利要求1所述的方法,其中,撤消所述APS节点的倒换状态包括:The method of claim 1, wherein the undoing the switching state of the APS node comprises:
    将所述APS节点的倒换状态切换到空闲状态。 Switching the switching state of the APS node to an idle state.
  6. 一种自动保护倒换APS状态处理装置,包括:An automatic protection switching APS state processing device includes:
    第一确定模块,设置为确定自动保护倒换APS节点的节点状态为以下至少之一:所述APS节点发出反向请求RR码,并且接收到非信号失效SF和非信号劣化SD的反向请求码和除所述APS节点之外的其他节点发出的RR码;所述APS节点发出反向请求RR码,并且在接收到信号失效SF和信号劣化SD的反向请求码和除所述APS节点之外的其他节点发出的RR码之后,进入恢复等待WTR时间,且超过所述WTR时间;The first determining module is configured to determine that the node status of the automatic protection switching APS node is at least one of the following: the APS node sends a reverse request RR code, and receives a reverse request code of the non-signal invalid SF and the non-signal degraded SD And an RR code sent by a node other than the APS node; the APS node issues a reverse request RR code, and receives a reverse request code of the signal invalidation SF and the signal degradation SD and the APS node After the RR code sent by other nodes, the recovery waits for the WTR time and exceeds the WTR time;
    撤消模块,设置为撤消所述APS节点的倒换状态。The undo module is set to undo the switching state of the APS node.
  7. 根据权利要求6所述的装置,其中,还包括:The apparatus of claim 6 further comprising:
    第二确定模块,设置为确定在所述APS节点没有检测到段层故障和/或没有接收到人工倒换操作命令。The second determining module is configured to determine that no segment fault is detected at the APS node and/or no manual switching operation command is received.
  8. 根据权利要求6所述的装置,其中,所述第一确定模块包括:The apparatus of claim 6, wherein the first determining module comprises:
    第一确定单元,设置为确定所述APS节点在短径上接收到除所述APS节点之外的其他节点发出的RR码,在长径上接收到非SF和非SD的反向请求码。The first determining unit is configured to determine that the APS node receives an RR code sent by a node other than the APS node on a short path, and receives a non-SF and non-SD reverse request code on a long path.
  9. 根据权利要求6所述的装置,其中,所述第一确定模块包括:The apparatus of claim 6, wherein the first determining module comprises:
    第二确定单元,设置为确定所述APS节点在短径上接收到除所述APS节点之外的其他节点发出的RR码,在长径上接收到所述SF和所述SD的反向请求码。a second determining unit, configured to determine that the APS node receives an RR code sent by a node other than the APS node on a short path, and receives a reverse request of the SF and the SD on a long path code.
  10. 根据权利要求6所述的装置,其中,所述撤消模块包括:The apparatus of claim 6 wherein said undo module comprises:
    切换单元,设置为将所述APS节点的倒换状态切换到空闲状态。The switching unit is configured to switch the switching state of the APS node to an idle state.
  11. 一种自动保护倒换APS节点,包括权利要求6至10中任一项所述的装置。 An automatic protection switching APS node, comprising the apparatus of any one of claims 6 to 10.
PCT/CN2014/089493 2014-07-02 2014-10-24 Automatic protection switching state processing method, device and aps node WO2015184727A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020177002727A KR102000128B1 (en) 2014-07-02 2014-10-24 Automatic protection switching state processing method, device and aps node
JP2017500008A JP2017521943A (en) 2014-07-02 2014-10-24 Method, apparatus and APS node for automatic protection switching APS state processing

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410313001.1 2014-07-02
CN201410313001.1A CN105227339B (en) 2014-07-02 2014-07-02 Automatic protection switching APS condition processing method, device and APS node

Publications (1)

Publication Number Publication Date
WO2015184727A1 true WO2015184727A1 (en) 2015-12-10

Family

ID=54766005

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/089493 WO2015184727A1 (en) 2014-07-02 2014-10-24 Automatic protection switching state processing method, device and aps node

Country Status (4)

Country Link
JP (1) JP2017521943A (en)
KR (1) KR102000128B1 (en)
CN (1) CN105227339B (en)
WO (1) WO2015184727A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017107482A1 (en) * 2015-12-26 2017-06-29 华为技术有限公司 Network protection method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111901169B (en) * 2020-07-28 2022-09-09 烽火通信科技股份有限公司 Method and device for realizing distributed ring network protection state machine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141211A (en) * 2007-02-27 2008-03-12 中兴通讯股份有限公司 Device and method for guaranteeing multiplex section rearrangement consistency
CN101621347A (en) * 2008-06-30 2010-01-06 华为技术有限公司 Reverse treatment method and device
CN102006188A (en) * 2010-11-19 2011-04-06 中兴通讯股份有限公司 Path back switching method and device in transport network
CN102420753A (en) * 2011-11-28 2012-04-18 中兴通讯股份有限公司 Automatic protection switching (APS) protocol state transition method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3507709B2 (en) * 1998-08-20 2004-03-15 株式会社東芝 Control method of ring network system
JP2002111693A (en) * 2000-09-29 2002-04-12 Fujitsu Ltd Bilateral direction ring switching control method
CN101001123B (en) * 2006-12-31 2011-04-13 华为技术有限公司 Inversion method and device for optical transmission
JP4798074B2 (en) * 2007-06-26 2011-10-19 日本電気株式会社 Interface switching method and apparatus
CN102474429B (en) * 2009-08-17 2015-08-19 上海贝尔股份有限公司 For the method and apparatus of the state-transition that Ethernet cable protection is switched
WO2011080829A1 (en) * 2009-12-28 2011-07-07 富士通株式会社 Switching method of optical transport ring network and node device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141211A (en) * 2007-02-27 2008-03-12 中兴通讯股份有限公司 Device and method for guaranteeing multiplex section rearrangement consistency
CN101621347A (en) * 2008-06-30 2010-01-06 华为技术有限公司 Reverse treatment method and device
CN102006188A (en) * 2010-11-19 2011-04-06 中兴通讯股份有限公司 Path back switching method and device in transport network
CN102420753A (en) * 2011-11-28 2012-04-18 中兴通讯股份有限公司 Automatic protection switching (APS) protocol state transition method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017107482A1 (en) * 2015-12-26 2017-06-29 华为技术有限公司 Network protection method and device

Also Published As

Publication number Publication date
CN105227339B (en) 2019-11-12
KR20170028954A (en) 2017-03-14
JP2017521943A (en) 2017-08-03
CN105227339A (en) 2016-01-06
KR102000128B1 (en) 2019-07-15

Similar Documents

Publication Publication Date Title
US11570036B2 (en) System and method for resilient wireless packet communications
KR101336691B1 (en) Method and means for state transition of ethernet linear protection switching
CN102340434B (en) Multihoming access-based loop avoidance method and edge devices
WO2016165463A1 (en) Software defined network-based link failure reporting method and forwarding device
KR20150051107A (en) Method for fast flow path setup and failure recovery
CN102136940A (en) Network recovery method and device
CN108337144A (en) The metropolitan areas TD-LTE return network, path protecting method
WO2010028560A1 (en) Method for realizing permanent ring network protection in mesh network
WO2015184727A1 (en) Automatic protection switching state processing method, device and aps node
CN105763483A (en) Message sending method and message sending device
JP4467500B2 (en) Network relay device
WO2012037754A1 (en) Method and node device for realizing bidirectional linear protection switching for multiplex section
CN101170516B (en) Status self-adapted method and device for non RPF interface
WO2009062351A1 (en) Method for stacking system merging
CN102857423A (en) Service flow transferring method and node in distributed link polymerization system
CN104579736B (en) A kind of loop data transmission method and node device
WO2011000184A1 (en) Method and system for refreshing the single ring address in an ethernet ring
CN102916886B (en) Root information aging method and equipment
US20160261419A1 (en) Multicast forwarding method and apparatus in transparent interconnection of lots of link network and routing bridge
CN111585854B (en) Network system, protection method, device and storage medium for data network load scheduling
CN105871716A (en) VRRP (virtual router redundancy protocol) based link monitoring method and system
JP2011234141A (en) Network apparatus, redundant network and loop avoidance method thereof
CN101136830B (en) Loop prevention method after RPR bridge fault recovery
CN103179042B (en) Improve the method for CSNP message broadcasting efficiency in Intermediate System-Intermediate System
JP2014143707A (en) Method and means for state transition of ethernet(r) linear protection switching

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017500008

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20177002727

Country of ref document: KR

Kind code of ref document: A

122 Ep: pct application non-entry in european phase

Ref document number: 14894179

Country of ref document: EP

Kind code of ref document: A1