WO2018059344A1 - Method, apparatus, and system for multiplex section protection bidirectional switchover and computer storage medium - Google Patents

Method, apparatus, and system for multiplex section protection bidirectional switchover and computer storage medium Download PDF

Info

Publication number
WO2018059344A1
WO2018059344A1 PCT/CN2017/103109 CN2017103109W WO2018059344A1 WO 2018059344 A1 WO2018059344 A1 WO 2018059344A1 CN 2017103109 W CN2017103109 W CN 2017103109W WO 2018059344 A1 WO2018059344 A1 WO 2018059344A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
link
protection
alarm
rei
Prior art date
Application number
PCT/CN2017/103109
Other languages
French (fr)
Chinese (zh)
Inventor
付占亮
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018059344A1 publication Critical patent/WO2018059344A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/03Arrangements for fault recovery
    • H04B10/032Arrangements for fault recovery using working and protection systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0791Fault location on the transmission path

Definitions

  • the present invention relates to the field of optical transmission technologies, and in particular, to a multiplex section protection bidirectional switching method, device and system, and computer storage medium.
  • one-way or two-way switching can be selected.
  • the selectors at each end are completely independent.
  • bidirectional switching it tries to coordinate the two ends, so that even if a one-way failure occurs, the settings of the bridges and selectors at both ends are the same.
  • Bidirectional switching always requires an APS channel to convey APS signaling to coordinate both endpoints.
  • One-way switching protects two one-way faults in opposite directions in different entities.
  • Figure 1 shows the traditional functional model of the multiplex section protection (MSP).
  • the link protection range is the link between two nodes.
  • the protection protocol is calculated and interacts with the peer node through the K1/K2 byte information, triggering the protection switching action of the MSP protection group, and switching the traffic to the protection link, thereby realizing the bidirectional switching protection of the link between the two nodes.
  • both nodes can detect the link fault to start the protection protocol calculation and trigger the protection switching operation of the node to perform traffic switching.
  • the two nodes can perform bidirectional switching without K1/K2 byte interaction.
  • the node that detected the fault sends a K1/K2 byte notification to the opposite end node, or the opposite end node can also detect the link fault and know the link direction fault in the sending direction.
  • there is a need for cross-vendor cross-device implementation of MSP bidirectional switching because there may be differences in the understanding of the ITU-T standard details. There are more problems in K1/K2 byte interaction between different vendors' devices. There is a relatively simple technique for implementing MSP bidirectional switching.
  • the embodiment of the invention provides a multiplex section protection bidirectional switching method, device and system, and a computer storage medium, so as to at least solve the problem that the switching mode is complicated and prone to failure in the MSP bidirectional switching method of the cross-device multiplex section protection in the related art. .
  • a multiplex section protection bidirectional switching method including:
  • the first node When detecting the link alarm information generated by the fault of the working link, the first node starts the first protection switching process according to the link alarm information;
  • the first node sends an RDI (Remote Defect Indication) or REI (Remote Error Indication) alarm information to the second node, so that the second node starts the foregoing according to the RDI or REI alarm information.
  • RDI Remote Defect Indication
  • REI Remote Error Indication
  • a first protection switching process wherein the first protection switching process is to switch a link for transmitting data between the first node and the second node from the working link to a protection link, where the working link and The protection link is a link between the first node and the second node.
  • the method further includes:
  • the first node When detecting the link alarm disappearing information generated by the foregoing fault recovery of the working link, the first node starts the second protection switching process according to the link alarm disappearing information;
  • the first node sends the RDI or REI alarm disappearing information to the second node, so that the second node starts the second protection switching process according to the RDI or REI alarm disappearing information, where the second protection switching process is A link for transmitting data between the first node and the second node is switched from the protection link to the working link.
  • the link alarm information is a link SF (Signal Fail) or SD (Signal Degrade) alarm information.
  • a multiplex section protection bidirectional switching method including:
  • the second node receives the RDI or REI alarm information sent by the first node, where the RDI or REI alarm information is used to indicate that the first node detects the link alarm information generated by the fault of the working link, and starts the first Protection switching process;
  • the second node starts the first protection switching process according to the RDI or REI alarm information, where the first protection switching process is to use a link between the first node and the second node for transmitting data from the working chain.
  • the path is switched to the protection link, and the working link and the protection link are links between the first node and the second node.
  • the method further includes:
  • the second node receives the RDI or REI alarm disappearance information sent by the first node, where the RDI or REI alarm disappearance information is used to indicate that the first node detects the link alarm generated by the fault recovery of the working link. Disappearing the information and starting the second protection switching process;
  • the second node starts the second protection switching process according to the RDI or REI alarm disappearing information, wherein the second protection switching process is to use a link between the first node and the second node for transmitting data from the foregoing
  • the protection link switches to the above working link.
  • the link alarm information is link SF or SD alarm information.
  • a multiplex section protection bidirectional switching apparatus which is applied to a first node, and includes:
  • the first processing module is configured to: when detecting the link alarm information generated by the fault of the working link, start the first protection switching process according to the link alarm information;
  • the first sending module is configured to send the RDI or REI alarm information to the second node, so that the second node starts the first protection switching process according to the RDI or REI alarm information, where the first protection switching process is a link for transmitting data between the first node and the second node is switched from the working link to the protection link, where the working link and the protection link are between the first node and the second node. link.
  • the device further includes: a second processing module, configured to detect, after detecting the link alarm information generated by the fault of the working link, when detecting the fault recovery of the working link When the link alarm disappears, the first node starts the second protection switching process according to the link alarm disappearing information;
  • the second sending module is configured to send the RDI or REI alarm disappearing information to the second node, so that the second node starts the second protection switching process according to the RDI or REI alarm disappearing information, where the second protection switching process is performed.
  • the link for transmitting data between the first node and the second node is switched from the protection link to the working link.
  • a multiplex section protection bidirectional switching apparatus which is applied to a second node, and includes:
  • the first receiving module is configured to receive the RDI or REI alarm information sent by the first node, where the RDI or REI alarm information is used to indicate that the first node detects the link alarm information generated by the fault of the working link, And starting the first protection switching process;
  • the third processing module is configured to start a first protection switching process according to the foregoing RDI or REI alarm information, where the first protection switching process is to use a link between the first node and the second node for transmitting data.
  • the working link is switched to the protection link, and the working link is And the protection link is a link between the first node and the second node.
  • the device further includes:
  • the second receiving module is configured to receive, after the second node receives the RDI or REI alarm information sent by the first node, the RDI or REI alarm disappearing information sent by the first node, where the RDI or REI alarm disappearing information is used. And indicating that the first node detects the link alarm disappearing information generated by the foregoing fault recovery of the working link, and starts the second protection switching process;
  • the fourth processing module is configured to start the second protection switching process according to the foregoing RDI or REI alarm disappearing information, where the second protection switching process is a chain for transmitting data between the first node and the second node.
  • the road switches from the above protection link to the above working link.
  • a multiplex section protection bidirectional switching system including: a first node and a second node, where the first node detects a link generated by a failure of a working link When the alarm information is generated, the first protection switching process is started according to the link alarm information;
  • the first node sends the RDI or REI alarm information to the second node, so that the second node starts the first protection switching process according to the RDI or REI alarm information, where the first protection switching process is to perform the first a link between the node and the second node for transmitting data is switched from the working link to the protection link, where the working link and the protection link are links between the first node and the second node.
  • the first node after the first node detects the link alarm information generated by the fault of the working link, the first node detects that the link alarm generated by the fault recovery of the working link disappears. In the information, the first node starts the second protection switching process according to the link alarm disappearing information;
  • the first node sends the RDI or REI alarm disappearing information to the second node, so that the second node starts the second protection switching process according to the RDI or REI alarm disappearing information, where the second protection switching process is Used between the first node and the second node
  • the link transmitting the data is switched from the above protection link to the above working link.
  • a computer storage medium configured to perform the above-described multiplex section protection bidirectional switching method.
  • the first node when detecting the link alarm information generated by the fault of the working link, the first node starts the first protection switching process according to the link alarm information; the first node sends the second node to the second node. And the RDI or REI alarm information, so that the second node starts the first protection switching process according to the RDI or REI alarm information, where the first protection switching process is used between the first node and the second node.
  • the link for transmitting data is switched from the working link to the protection link, and the working link and the protection link are links between the first node and the second node, which solves the cross-device multiplexing in the related art.
  • the segment protection MSP bidirectional switching method has a complicated switching mode and is prone to failure. In this way, the K1/K2 byte interaction is not required in the MSP bidirectional switching to implement the multiplex section protection bidirectional switching, thereby reducing the complexity of the switching. Improve the efficiency of switching.
  • FIG. 1 is a schematic diagram of a linear path multiplex section protection function model in the prior art
  • FIG. 2 is a flowchart of a multiplex section protection bidirectional switching method according to an embodiment of the present invention
  • FIG. 3 is a schematic flow chart of a multiplex section protection bidirectional switching method in the case of a unidirectional link failure according to an example of the present invention
  • FIG. 4 is a flow chart of a multiplex section protection bidirectional switching method according to an example of the present invention.
  • FIG. 5 is a schematic flowchart of a multiplex section protection bidirectional switching method in a bidirectional link failure according to an embodiment of the present invention
  • FIG. 6 is a structural block diagram of a multiplex section protection bidirectional switching apparatus according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram of a multiplex section protection bidirectional switching apparatus according to an example of the present invention.
  • FIG. 8 is a structural block diagram of a multiplex section protection bidirectional switching apparatus according to another embodiment of the present invention.
  • FIG. 9 is a block diagram showing the structure of a multiplex section protection bidirectional switching system according to an example of the present invention.
  • FIG. 2 is a flowchart of a multiplex section protection bidirectional switching method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
  • Step S201 When detecting the link alarm information generated by the fault of the working link, the first node starts the first protection switching process according to the link alarm information.
  • FIG. 3 is a schematic flowchart of a multiplex section protection bidirectional switching method in a unidirectional link failure according to an example of the present invention.
  • a unidirectional link failure occurs in a link, that is, a second node (ie, a node) B
  • the link alarm information is link SF or SD Alarm information.
  • the alarm detecting unit of the first node detects the link alarm information, and reports the link alarm information to the alarm processing unit of the local node.
  • the node alarm processing unit determines that the link alarm information is the link SF or SD alarm information, first Forwarding the link alarm information to the switching control unit of the local node, and feeding back the alarm information to the second node, because the link sent by the first node to the second node is normal, and the alarm information sent to the second node is transmitted to the second node.
  • the switching control unit of the first node After receiving the link SF or SD alarm information forwarded by the alarm processing unit, the switching control unit of the first node starts the protection protocol calculation, and delivers protection switching processing to complete the traffic switching.
  • the alarm detecting unit of the first node detects the link SF or SD alarm disappearing information, and reports the link alarm disappearing information to the alarm processing unit of the local node, and the node alarm processing unit determines that the link alarm disappearing information is the link SF or
  • the link alarm disappearing information is first forwarded to the switching control unit of the local node, and the second node is fed back the RDI or REI alarm disappearing information, because the link sent by the first node to the second node is normal.
  • the RDI or REI alarm disappearance information to the second node is passed to the second node.
  • the switching control unit of the first node starts the protection protocol calculation after receiving the link SF or SD alarm disappearing information forwarded by the alarm processing unit, and sends a protection switching process to complete the traffic switching.
  • step S202 the first node sends the RDI or REI alarm information to the second node, so that the second node starts the first protection switching process according to the RDI or REI alarm information, where the first protection switching process is a link for transmitting data between the first node and the second node is switched from the working link to the protection link, where the working link and the protection link are between the first node and the second node. link.
  • the first node sends RDI or REI alarm information to the second node, and the alarm detecting unit of the second node detects the RDI or REI alarm information fed back by the first node, and then alerts the RDI or REI.
  • the information is forwarded to the alarm processing unit.
  • the alarm processing unit determines that the RDI or REI alarm information is generated
  • the RDI or REI alarm information is forwarded to the switching control unit of the second node, and the switching control unit receives the RDI forwarded by the second node alarm processing unit.
  • the protection protocol calculation is started, and the protection switching process is delivered, and the traffic switching is also completed, thereby completing the bidirectional switching of the MSP.
  • the first node feeds back the RDI or REI alarm disappearing information to the second node
  • the second node alarm detecting unit detects the RDI or REI alarm disappearing information fed back by the first node, and then the RDI or REI alarm is generated.
  • the disappearing information is forwarded to the alarm processing unit, and the alarm processing list is
  • the RDI or REI alarm disappearing information is forwarded to the switching control unit of the second node, and the switching control unit starts after receiving the RDI or REI alarm disappearing information forwarded by the second node alarm processing unit.
  • the protection protocol is calculated, and the protection switching process is delivered, and the traffic switching is also completed, thereby completing the bidirectional switching of the MSP.
  • the first protection switching process is to switch a link for transmitting data between the first node and the second node from the working link to a protection link, where the working link and the protection link are the first The link between the node and the second node described above.
  • the Chinese meaning in the English abbreviation in the drawing means A: adapter; Ap: protection adapter; TT: path terminal; TTp: protection path terminal; Trail_P: protection link; Trail_W: working link; NC_P: protection subnet connection; NC_W: working subnet connection; SD: signal degradation; SF: signal failure; RDI: remote defect indication; REI: remote error indication.
  • the method used in the embodiment of the present invention can implement the bidirectional switching of the MSP without the K1/K2 byte information interaction, and obtain the sending direction by detecting the RDI or REI alarm disappearing information fed back to the upstream node by the node receiving the link failure.
  • the link fault information starts the protection protocol calculation according to the detected RDI or REI alarm disappearance information, and performs a switching action, thereby implementing the MSP bidirectional switching, and compensating the cross-device multiplexing section in the related technology compared with the prior art.
  • the problem of the switching mode is complicated and easy to be faulty in the MSP bidirectional switching method, so that the multiplex section protection bidirectional switching can be implemented without K1/K2 byte interaction in the MSP bidirectional switching, thereby reducing the complexity of the switching and improving the complexity. Switching efficiency.
  • FIG. 4 is a flowchart of a multiplex section protection bidirectional switching method according to an example of the present invention. As shown in FIG. 4, the process includes the following steps:
  • Step S401 the second node receives the RDI or REI alarm information sent by the first node, where the RDI or REI alarm information is used to indicate that the first node detects the link alarm information generated by the fault of the working link, and Initiating a first protection switching process;
  • the link alarm information is link SF or SD alarm information.
  • the alarm detecting unit of the first node detects the link SF or SD alarm information, and reports the link alarm information to the alarm processing unit of the local node.
  • the node alarm processing unit determines that the link alarm information is the link SF or SD alarm information.
  • the link alarm information is first forwarded to the switching control unit of the local node, and the second node is fed back the RDI or REI alarm information, because the link sent by the first node to the second node is normal, and the RDI is sent to the second node. Or the REI alarm message is passed to the second node.
  • the switching control unit of the first node After receiving the link alarm information forwarded by the alarm processing unit, the switching control unit of the first node starts the protection protocol calculation, and delivers protection switching processing to complete the traffic switching. Therefore, when the second node receives the RDI or REI alarm information, it indicates that the first node has detected the link alarm information generated by the fault of the working link, and the first protection switching process has been started.
  • the first node sends the RDI or REI alarm information to the second node, and after detecting the RDI or REI alarm information sent by the first node, the alarm detecting unit of the second node forwards the alarm information to the alarm processing unit, and the alarm processing unit determines that When the RDI or REI alarm information is sent, the alarm information is forwarded to the switching control unit of the second node, and the switching control unit receives the RDI or REI alarm information forwarded by the second node alarm processing unit, starts the protection protocol calculation, and delivers the protection switching. Processing, also completes the flow switching, thereby completing the bidirectional switching of the MSP.
  • the alarm detection unit of the first node detects the link SF or SD alarm disappearance information, and reports the link alarm information to the alarm processing unit of the local node, and the local node alarm processing unit determines the link alarm information.
  • the link SF or SD alarm disappears
  • the link alarm disappearing information is first forwarded to the switching control unit of the local node, and the second node is fed back the RDI or REI alarm disappearing information, because the first node sends the second node to the second node.
  • the link is also normal, and the RDI or REI alarm disappearance message sent to the second node is transmitted to the second node.
  • the switching control unit of the first node starts the protection protocol calculation after receiving the link alarm disappearing information forwarded by the alarm processing unit, And the protection switching process is delivered to complete the traffic switching.
  • the first node sends the RDI or REI alarm disappearing information to the second node, and the alarm detecting unit of the second node detects the RDI or REI alarm disappearing information sent by the first node, and then forwards the alarm disappearing information to the alarm processing unit, and the alarm processing is performed.
  • the unit determines that the RDI or REI alarm disappears the alarm disappearance information is forwarded to the switching control unit of the second node, and the switching control unit starts the protection protocol calculation after receiving the RDI or REI alarm disappearing information forwarded by the second node alarm processing unit. And the protection switching process is delivered, and the traffic switching is also completed, thereby completing the bidirectional switching of the MSP.
  • Step S402 the second node starts a first protection switching process according to the RDI or REI alarm information, where the first protection switching process is to use a link between the first node and the second node for transmitting data.
  • the working link is switched to the protection link, and the working link and the protection link are links between the first node and the second node.
  • the first node sends RDI or REI alarm information to the second node, and the alarm detecting unit of the second node detects the RDI or REI alarm information fed back by the first node, and then alerts the RDI or REI.
  • the information is forwarded to the alarm processing unit.
  • the alarm processing unit determines that the RDI or REI alarm information is generated
  • the RDI or REI alarm information is forwarded to the switching control unit of the second node, and the switching control unit receives the forwarding of the second node B alarm processing unit.
  • the protection protocol calculation is started, and the protection switching process is delivered, and the traffic switching is also completed, thereby completing the bidirectional switching of the MSP.
  • the first node sends an RDI or REI alarm disappearing message to the second node
  • the second node alarm detecting unit detects the RDI or REI alarm disappearing information fed back by the first node, and then the RDI or REI alarm is generated.
  • the disappearing information is forwarded to the alarm processing unit.
  • the alarm processing unit determines that the RDI or REI alarm disappears
  • the RDI or REI alarm disappearing information is forwarded to the switching control unit of the second node, and the switching control unit receives the second node B alarm processing.
  • the protection protocol calculation is started, and the protection switching process is delivered, and the traffic switching is also completed, thereby completing the bidirectional switching of the MSP.
  • the second node receives the RDI or REI alarm information sent by the first node, where the RDI or REI alarm information is used to indicate that the first node detects the link alarm information generated by the fault of the working link, And the first protection switching process is started; the second node starts the first protection switching process according to the RDI or REI alarm information, and solves the problem that the switching mode of the MSP bidirectional switching method is complicated and prone to failure in the cross-device multiplex section protection in the related art.
  • the problem is that the multiplex section protection bidirectional switching can be implemented without performing K1/K2 byte interaction in the MSP bidirectional switching, thereby reducing the complexity of the switching and improving the switching efficiency.
  • FIG. 5 is a schematic flowchart of a bidirectional link failure method in a bidirectional link failure according to an embodiment of the present invention. As shown in FIG. 5, the method specifically includes the following steps:
  • the alarm detecting unit of the first node detects the link alarm information, and reports the link alarm information to the alarm processing unit of the node.
  • the alarm processing unit of the first node determines that the alarm information is link alarm information, first forwards the link alarm information to the switching control unit of the local node, and simultaneously sends the RDI or REI alarm information to the second node, because the fault is a two-way chain. In the case of a road failure, the RDI or REI alarm information sent to the second node cannot be transmitted to the second node.
  • the switching control unit of the first node starts the protection protocol calculation after receiving the link alarm information forwarded by the alarm processing unit, and sends a protection switching process to complete the traffic switching.
  • the switching control unit of the second node starts the protection protocol calculation after receiving the RDI or REI alarm information forwarded by the alarm processing unit of the node, and issues a protection switching action, and also completes the traffic switching, thereby implementing the bidirectional switching of the MSP.
  • the method used in the embodiment of the present invention can implement the bidirectional switching of the MSP without the K1/K2 byte information interaction, and the RDI fed back to the upstream node by detecting the node receiving the link failure.
  • the REI alarm information to obtain the information of the link direction fault in the sending direction, start the protection protocol calculation according to the detected RDI or REI alarm information, and perform the switching action, thereby realizing the MSP bidirectional switching, which is compensated compared with the prior art.
  • the cross-device multiplex section protects the MSP bidirectional switching method from being complicated and prone to failure, so that the multiplex section protection bidirectional switching can be implemented without performing K1/K2 byte interaction in the MSP bidirectional switching. Thereby reducing the complexity of switching and improving the switching efficiency.
  • the method according to the embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is more Good implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
  • module may implement a combination of software or hardware of a predetermined function.
  • 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. 6 is a structural block diagram of a multiplex section protection bidirectional switching apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes:
  • the first processing module 61 is configured to: when detecting the link alarm information generated by the fault of the working link, start the first protection switching process according to the link alarm information;
  • the first sending module 62 is connected to the first processing module 61 and configured to send to the second node. And the RDI or REI alarm information, so that the second node starts the first protection switching process according to the RDI or REI alarm information, where the first protection switching process is used between the first node and the second node.
  • the link for transmitting data is switched from the working link to the protection link, and the working link and the protection link are links between the first node and the second node.
  • the apparatus further includes a second processing module 63 configured to detect, after detecting the link alarm information generated by the fault of the working link, when the fault recovery of the working link is detected.
  • a second processing module 63 configured to detect, after detecting the link alarm information generated by the fault of the working link, when the fault recovery of the working link is detected.
  • the second sending module 64 is connected to the second processing module 63, and configured to send the RDI or REI alarm disappearing information to the second node, so that the second node starts the second protection switching process according to the RDI or REI alarm disappearing information.
  • the second protection switching process is to switch a link for transmitting data between the first node and the second node from the protection link to the working link.
  • the specific processing procedure of the second node and the first node is consistent with the process in the foregoing method embodiment, and details are not described herein again.
  • the embodiment of the present invention can realize the bidirectional switching of the MSP without the K1/K2 byte information interaction through the comprehensive action of the first processing module 61, the second sending module 62, the second processing module 63, and the second sending module 64.
  • the MSP bidirectional switching compensates for the problem that the switching mode of the MSP bidirectional switching method in the cross-device multiplex section protection in the related art is complicated and prone to failure, so that K1/K2 is not required in the MSP bidirectional switching.
  • the byte interaction can realize the multiplex section protection bidirectional switching, thereby reducing the complexity of the switching and improving the switching efficiency.
  • FIG. 7 is according to the present invention.
  • the structural block diagram of the multiplex section protection bidirectional switching device of the example is shown in FIG. 7, the device includes:
  • the first receiving module 71 is configured to receive the RDI or REI alarm information sent by the first node, where the RDI or REI alarm information is used to indicate that the first node detects the link alarm information generated by the fault of the working link. And starting the first protection switching process;
  • the third processing module 72 is connected to the receiving module 71, and configured to start the first protection switching process according to the RDI or REI alarm information, where the first protection switching process is used between the first node and the second node.
  • the link for transmitting data is switched from the working link to the protection link, and the working link and the protection link are links between the first node and the second node.
  • the apparatus further includes: a second receiving module 73, configured to receive, after the second node receives the RDI or REI alarm information sent by the first node, the RDI or REI alarm sent by the first node The disappearing information, wherein the RDI or REI alarm disappearing information is used to indicate that the first node detects the link alarm disappearing information generated by the fault recovery of the working link, and starts the second protection switching process;
  • the fourth processing module 74 is connected to the second receiving module 73, and configured to start the second protection switching process according to the RDI or REI alarm disappearing information, wherein the second protection switching process is to use the first node and the second The link between the nodes for transmitting data is switched from the above protection link to the above working link.
  • the specific processing procedure of the second node and the first node is consistent with the process in the foregoing method embodiment, and details are not described herein again.
  • the embodiment of the present invention can realize the bidirectional switching of the MSP without the K1/K2 byte information interaction.
  • the intra-process cross-device multiplex section protects the MSP bidirectional switching method from the complicated switching mode and is prone to failure. In this way, the multiplex section protection bidirectional switching can be realized without K1/K2 byte interaction in the MSP bidirectional switching. Reduce the complexity of switching and improve switching efficiency.
  • the multiplex section protects functions implemented by each unit in the bidirectional switching device, and may be a central processing unit (CPU) or a microprocessor located in the multiplex section protection bidirectional switching device.
  • CPU central processing unit
  • MPU Micro Processor Unit
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • FIG. 8 is a structural block diagram of a multiplex section protection bidirectional switching apparatus according to another embodiment of the present invention. As shown in FIG. 8, the apparatus includes:
  • the alarm detecting unit 81 is configured to detect link SF or SD alarm information, and forward the link SF or SD alarm information to the alarm processing unit.
  • the alarm processing unit 82 is connected to the alarm detecting unit 81 and configured to receive the link SF or SD alarm information reported by the alarm detecting unit, and then determine the switching control of the alarm to the local node if the link SF or the SD alarm information is sent. The unit simultaneously feeds back the RDI or REI alarm information to the upstream node. If it is an RDI or REI alarm message, it is directly forwarded to the switching control unit of the node.
  • the switching control unit 83 is connected to the alarm processing unit 82, and is configured to receive the link SF or SD alarm information or the RDI or REI alarm information fed back, and then start the protection protocol calculation and perform a protection switching operation.
  • the integrated action of the alarm detecting unit 81, the alarm processing unit 82, and the switching control unit 83 can realize the bidirectional switching of the MSP without the K1/K2 byte information interaction, and the upstream of the node that detects the failure of the receiving link.
  • the RDI or REI alarm information fed back by the node is used to obtain the information of the link failure in the transmission direction, and the protection protocol calculation is started according to the detected RDI or REI alarm information, and the switching operation is performed, thereby implementing the MSP bidirectional switching, and the prior art
  • the MSP bidirectional switching method has a complicated switching mode and is prone to failure, thereby enabling multiplexing in the MSP bidirectional switching without K1/K2 byte interaction. Segment protection bidirectional switching, which reduces the complexity of switching and improves the switching efficiency.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • each unit in the multiplex section protection bidirectional switching device can be implemented by a CPU, an MPU, or a DSP, or an FPGA, etc., located in the multiplex section protection bidirectional switching device.
  • FIG. 9 is a structural block diagram of a multiplex section protection bidirectional switching system according to an example of the present invention. As shown in FIG. 9, the system includes: a first node 91. And a second node 92, wherein
  • the first protection switching process is started according to the link alarm information.
  • the first node 91 sends the RDI or REI alarm information to the second node 92, so that the second node 92 starts the first protection switching process according to the RDI or REI alarm information, where the first protection switching process is
  • the link for transmitting data between the first node 91 and the second node 92 is switched from the working link to the protection link, and the working link and the protection link are the first node 91 and the second node.
  • the link between nodes 92 is
  • the system of the embodiment of the present invention can realize the bidirectional switching of the MSP without the K1/K2 byte information interaction through the combined action of the first node 91 and the second node 92, and feedback to the upstream node by detecting the node receiving the link failure.
  • the RDI or REI alarm information is used to obtain the information of the link failure in the transmission direction, and the protection protocol calculation is started according to the detected RDI or REI alarm information, and the switching operation is performed, thereby implementing the MSP bidirectional switching, which is compensated compared with the prior art.
  • the cross-device multiplex section in the technology protects the MSP bidirectional switching method from the problem that the switching mode is complicated and prone to failure, so that the multiplex section protection bidirectional switching can be realized without performing K1/K2 byte interaction in the MSP bidirectional switching. Reduce the complexity of switching and improve switching efficiency.
  • 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 technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • embodiments of the invention are not limited to any specific combination of hardware and software.
  • an embodiment of the present invention further provides a computer storage medium, wherein a computer program is configured, and the computer program is configured to perform a multiplex section protection bidirectional switching method according to an embodiment of the present invention.
  • the first node when detecting the link alarm information generated by the fault of the working link, the first node starts the first protection switching process according to the link alarm information; the first node sends the second node to the second node. And the RDI or REI alarm information, so that the second node starts the first protection switching process according to the RDI or REI alarm information, where the first protection switching process is used between the first node and the second node.
  • the link for transmitting data is switched from the working link to the protection link, and the working link and the protection link are links between the first node and the second node, which solves the cross-device multiplexing in the related art.
  • the segment protection MSP bidirectional switching method has a complicated switching mode and is prone to failure. In this way, the K1/K2 byte interaction is not required in the MSP bidirectional switching to implement the multiplex section protection bidirectional switching, thereby reducing the complexity of the switching. Improve the efficiency of switching.

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The present invention provides a method, an apparatus, and a system for multiplex section protection bidirectional switchover and a computer storage medium. The method comprises: when link alarm information generated due to a failure in a working link is detected, a first node initiating first protection switchover processing according to the link alarm information; and the first node sending RDI or REI alarm information to a second node, so that the second node initiates the first protection switchover processing according to the RDI or REI alarm information, the first protection switchover processing comprising switching a data transmission link between the first node and the second node from the working link to a protection link, and the working link and the protection link being links between the first node and the second node.

Description

复用段保护双向倒换方法、装置及系统、计算机存储介质Multiplex section protection bidirectional switching method, device and system, and computer storage medium
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201610864370.9、申请日为2016年09月29日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is filed on the basis of the Chinese Patent Application No. PCT Application No. No. No. No. No. No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No
技术领域Technical field
本发明涉及光传输技术领域,具体而言,涉及一种复用段保护双向倒换方法、装置及系统、计算机存储介质。The present invention relates to the field of optical transmission technologies, and in particular, to a multiplex section protection bidirectional switching method, device and system, and computer storage medium.
背景技术Background technique
在双向传输时,可以选择单向或双向倒换。进行单向倒换时,每一端的选择器完全独立。而进行双向倒换时,则试图协调两端,这样即使出现单向故障,两端桥接和选择器的设置也是相同的。双向倒换始终需要一个APS信道来传递APS信令协调两个端点。单向倒换能够保护不同实体中相反方向的两个单向故障。如图1所示为传统的线性路径复用段保护(MSP,Multiplex Section Protection)功能模型,链路保护范围为两节点之间的链路,当链路出现故障时,检测到故障的节点会进行保护协议计算并通过K1/K2字节信息与对端节点进行交互,触发MSP保护组的保护倒换动作,将流量切换到保护链路上,实现了对两节点间链路的双向倒换保护。In two-way transmission, one-way or two-way switching can be selected. When performing one-way switching, the selectors at each end are completely independent. When performing bidirectional switching, it tries to coordinate the two ends, so that even if a one-way failure occurs, the settings of the bridges and selectors at both ends are the same. Bidirectional switching always requires an APS channel to convey APS signaling to coordinate both endpoints. One-way switching protects two one-way faults in opposite directions in different entities. Figure 1 shows the traditional functional model of the multiplex section protection (MSP). The link protection range is the link between two nodes. When the link fails, the node that detects the fault will The protection protocol is calculated and interacts with the peer node through the K1/K2 byte information, triggering the protection switching action of the MSP protection group, and switching the traffic to the protection link, thereby realizing the bidirectional switching protection of the link between the two nodes.
双向链路故障时,两个节点都可以检测到链路故障来启动保护协议计算并触发本节点保护倒换动作,进行流量切换,两个节点间可以不用进行K1/K2字节交互实现双向倒换。而对于单链路故障,因为只有一个节点可以检测到链路故障,要让无法检测到链路故障的节点也发生保护倒换,要 么是检测到故障的节点发送K1/K2字节通知到对端节点,要么对端节点也可以检测到链路故障,知道发送方向链路故障。实际应用中出现了一些跨厂商跨设备实现MSP双向倒换的需求,因为大家对于ITU-T标准细节上的理解可能存在差异,不同厂商设备之间进行K1/K2字节交互时问题较多,需要有一种比较简单的实现MSP双向倒换的技术。When the two-way link is faulty, both nodes can detect the link fault to start the protection protocol calculation and trigger the protection switching operation of the node to perform traffic switching. The two nodes can perform bidirectional switching without K1/K2 byte interaction. For a single link failure, because only one node can detect the link failure, the node that cannot detect the link failure also has protection switching. The node that detected the fault sends a K1/K2 byte notification to the opposite end node, or the opposite end node can also detect the link fault and know the link direction fault in the sending direction. In practice, there is a need for cross-vendor cross-device implementation of MSP bidirectional switching, because there may be differences in the understanding of the ITU-T standard details. There are more problems in K1/K2 byte interaction between different vendors' devices. There is a relatively simple technique for implementing MSP bidirectional switching.
综上所述,针对跨设备复用段保护MSP双向倒换方法中倒换方式复杂且容易出现故障的问题,尚未提出有效的解决方案。In summary, for the cross-device multiplex section protection MSP bidirectional switching method, the switching method is complicated and prone to failure, and an effective solution has not been proposed.
发明内容Summary of the invention
本发明实施例提供了一种复用段保护双向倒换方法、装置及系统、计算机存储介质,以至少解决相关技术中跨设备复用段保护MSP双向倒换方法中倒换方式复杂且容易出现故障的问题。The embodiment of the invention provides a multiplex section protection bidirectional switching method, device and system, and a computer storage medium, so as to at least solve the problem that the switching mode is complicated and prone to failure in the MSP bidirectional switching method of the cross-device multiplex section protection in the related art. .
根据本发明实施例的一个方面,提供了一种复用段保护双向倒换方法,包括:According to an aspect of the embodiments of the present invention, a multiplex section protection bidirectional switching method is provided, including:
当检测到工作链路出现故障所产生的链路告警信息时,第一节点根据上述链路告警信息启动第一保护倒换处理;When detecting the link alarm information generated by the fault of the working link, the first node starts the first protection switching process according to the link alarm information;
上述第一节点向第二节点发送RDI(Remote Defect Indication,远端缺陷指示)或REI(Remote Error Indication,远端错误指示)告警信息,以使上述第二节点根据上述RDI或REI告警信息启动上述第一保护倒换处理,其中,上述第一保护倒换处理为将上述第一节点与上述第二节点之间用于传输数据的链路从上述工作链路切换到保护链路,上述工作链路和上述保护链路是上述第一节点与上述第二节点之间的链路。The first node sends an RDI (Remote Defect Indication) or REI (Remote Error Indication) alarm information to the second node, so that the second node starts the foregoing according to the RDI or REI alarm information. a first protection switching process, wherein the first protection switching process is to switch a link for transmitting data between the first node and the second node from the working link to a protection link, where the working link and The protection link is a link between the first node and the second node.
在本发明一实施方式中,在检测到工作链路出现故障产生的链路告警信息之后,上述方法还包括:In an embodiment of the present invention, after detecting the link alarm information generated by the fault of the working link, the method further includes:
当检测到上述工作链路的上述故障恢复所产生的链路告警消失信息时,上述第一节点根据上述链路告警消失信息启动第二保护倒换处理; When detecting the link alarm disappearing information generated by the foregoing fault recovery of the working link, the first node starts the second protection switching process according to the link alarm disappearing information;
上述第一节点向上述第二节点发送RDI或REI告警消失信息,以使上述第二节点根据上述RDI或REI告警消失信息启动上述第二保护倒换处理,其中,上述第二保护倒换处理为将上述第一节点与上述第二节点之间用于传输数据的链路从上述保护链路切换到上述工作链路。在本发明一实施方式中,上述链路告警信息为链路SF(Signal Fail,信号失效)或SD(Signal Degrade,信号劣化)告警信息。The first node sends the RDI or REI alarm disappearing information to the second node, so that the second node starts the second protection switching process according to the RDI or REI alarm disappearing information, where the second protection switching process is A link for transmitting data between the first node and the second node is switched from the protection link to the working link. In an embodiment of the present invention, the link alarm information is a link SF (Signal Fail) or SD (Signal Degrade) alarm information.
根据本发明实施例的另一方面,提供了一种复用段保护双向倒换方法,包括:According to another aspect of the embodiments of the present invention, a multiplex section protection bidirectional switching method is provided, including:
第二节点接收第一节点发送的RDI或REI告警信息,其中,上述RDI或REI告警信息用于表示上述第一节点检测到上述工作链路出现故障所产生的链路告警信息、且启动第一保护倒换处理;The second node receives the RDI or REI alarm information sent by the first node, where the RDI or REI alarm information is used to indicate that the first node detects the link alarm information generated by the fault of the working link, and starts the first Protection switching process;
上述第二节点根据上述RDI或REI告警信息启动第一保护倒换处理,其中,上述第一保护倒换处理为将上述第一节点与上述第二节点之间用于传输数据的链路从上述工作链路切换到保护链路,上述工作链路和上述保护链路是上述第一节点与上述第二节点之间的链路。The second node starts the first protection switching process according to the RDI or REI alarm information, where the first protection switching process is to use a link between the first node and the second node for transmitting data from the working chain. The path is switched to the protection link, and the working link and the protection link are links between the first node and the second node.
在本发明一实施方式中,在上述第二节点接收第一节点发送的RDI或REI告警信息之后,上述方法还包括:In an embodiment of the present invention, after the second node receives the RDI or REI alarm information sent by the first node, the method further includes:
上述第二节点接收上述第一节点发送的RDI或REI告警消失信息,其中,上述RDI或REI告警消失信息用于表示上述第一节点检测到上述工作链路的上述故障恢复所产生的链路告警消失信息、且启动第二保护倒换处理;The second node receives the RDI or REI alarm disappearance information sent by the first node, where the RDI or REI alarm disappearance information is used to indicate that the first node detects the link alarm generated by the fault recovery of the working link. Disappearing the information and starting the second protection switching process;
上述第二节点根据上述RDI或REI告警消失信息启动上述第二保护倒换处理,其中,上述第二保护倒换处理为将上述第一节点与上述第二节点之间用于传输数据的链路从上述保护链路切换到上述工作链路。The second node starts the second protection switching process according to the RDI or REI alarm disappearing information, wherein the second protection switching process is to use a link between the first node and the second node for transmitting data from the foregoing The protection link switches to the above working link.
在本发明一实施方式中,上述链路告警信息为链路SF或SD告警信息。 In an embodiment of the invention, the link alarm information is link SF or SD alarm information.
根据本发明实施例的一个方面,提供了一种复用段保护双向倒换装置,应用于第一节点,包括:According to an aspect of the embodiments of the present invention, a multiplex section protection bidirectional switching apparatus is provided, which is applied to a first node, and includes:
第一处理模块,配置为当检测到工作链路出现故障所产生的链路告警信息时,根据上述链路告警信息启动第一保护倒换处理;The first processing module is configured to: when detecting the link alarm information generated by the fault of the working link, start the first protection switching process according to the link alarm information;
第一发送模块,配置为向第二节点发送RDI或REI告警信息,以使上述第二节点根据上述RDI或REI告警信息启动上述第一保护倒换处理,其中,上述第一保护倒换处理为将上述第一节点与上述第二节点之间用于传输数据的链路从上述工作链路切换到保护链路,上述工作链路和上述保护链路是上述第一节点与上述第二节点之间的链路。The first sending module is configured to send the RDI or REI alarm information to the second node, so that the second node starts the first protection switching process according to the RDI or REI alarm information, where the first protection switching process is a link for transmitting data between the first node and the second node is switched from the working link to the protection link, where the working link and the protection link are between the first node and the second node. link.
在本发明一实施方式中,上述装置还包括:第二处理模块,配置为在检测到工作链路出现故障产生的链路告警信息之后,当检测到上述工作链路的上述故障恢复所产生的链路告警消失信息时,上述第一节点根据上述链路告警消失信息启动第二保护倒换处理;In an embodiment of the present invention, the device further includes: a second processing module, configured to detect, after detecting the link alarm information generated by the fault of the working link, when detecting the fault recovery of the working link When the link alarm disappears, the first node starts the second protection switching process according to the link alarm disappearing information;
第二发送模块,配置为向上述第二节点发送RDI或REI告警消失信息,以使上述第二节点根据上述RDI或REI告警消失信息启动上述第二保护倒换处理,其中,上述第二保护倒换处理为将上述第一节点与上述第二节点之间用于传输数据的链路从上述保护链路切换到上述工作链路。The second sending module is configured to send the RDI or REI alarm disappearing information to the second node, so that the second node starts the second protection switching process according to the RDI or REI alarm disappearing information, where the second protection switching process is performed. The link for transmitting data between the first node and the second node is switched from the protection link to the working link.
根据本发明实施例的一个方面,提供了一种复用段保护双向倒换装置,应用于第二节点,包括:According to an aspect of the embodiments of the present invention, a multiplex section protection bidirectional switching apparatus is provided, which is applied to a second node, and includes:
第一接收模块,配置为接收第一节点发送的RDI或REI告警信息,其中,上述RDI或REI告警信息用于表示上述第一节点检测到上述工作链路出现故障所产生的链路告警信息、且启动第一保护倒换处理;The first receiving module is configured to receive the RDI or REI alarm information sent by the first node, where the RDI or REI alarm information is used to indicate that the first node detects the link alarm information generated by the fault of the working link, And starting the first protection switching process;
第三处理模块,配置为根据上述RDI或REI告警信息启动第一保护倒换处理,其中,上述第一保护倒换处理为将上述第一节点与上述第二节点之间用于传输数据的链路从上述工作链路切换到保护链路,上述工作链路 和上述保护链路是上述第一节点与上述第二节点之间的链路。The third processing module is configured to start a first protection switching process according to the foregoing RDI or REI alarm information, where the first protection switching process is to use a link between the first node and the second node for transmitting data. The working link is switched to the protection link, and the working link is And the protection link is a link between the first node and the second node.
在本发明一实施方式中,上述装置还包括:In an embodiment of the invention, the device further includes:
第二接收模块,配置为在上述第二节点接收第一节点发送的RDI或REI告警信息之后,接收上述第一节点发送的RDI或REI告警消失信息,其中,上述RDI或REI告警消失信息用于表示上述第一节点检测到上述工作链路的上述故障恢复所产生的链路告警消失信息、且启动第二保护倒换处理;The second receiving module is configured to receive, after the second node receives the RDI or REI alarm information sent by the first node, the RDI or REI alarm disappearing information sent by the first node, where the RDI or REI alarm disappearing information is used. And indicating that the first node detects the link alarm disappearing information generated by the foregoing fault recovery of the working link, and starts the second protection switching process;
第四处理模块,配置为根据上述RDI或REI告警消失信息启动上述第二保护倒换处理,其中,上述第二保护倒换处理为将上述第一节点与上述第二节点之间用于传输数据的链路从上述保护链路切换到上述工作链路。The fourth processing module is configured to start the second protection switching process according to the foregoing RDI or REI alarm disappearing information, where the second protection switching process is a chain for transmitting data between the first node and the second node. The road switches from the above protection link to the above working link.
根据本发明实施例的一个方面,提供了一种复用段保护双向倒换系统,包括:第一节点和第二节点,其中,当上述第一节点检测到工作链路出现故障所产生的链路告警信息时,根据上述链路告警信息启动第一保护倒换处理;According to an aspect of the embodiments of the present invention, a multiplex section protection bidirectional switching system is provided, including: a first node and a second node, where the first node detects a link generated by a failure of a working link When the alarm information is generated, the first protection switching process is started according to the link alarm information;
上述第一节点向上述第二节点发送RDI或REI告警信息,以使上述第二节点根据上述RDI或REI告警信息启动上述第一保护倒换处理,其中,上述第一保护倒换处理为将上述第一节点与上述第二节点之间用于传输数据的链路从上述工作链路切换到保护链路,上述工作链路和上述保护链路是上述第一节点与上述第二节点之间的链路。The first node sends the RDI or REI alarm information to the second node, so that the second node starts the first protection switching process according to the RDI or REI alarm information, where the first protection switching process is to perform the first a link between the node and the second node for transmitting data is switched from the working link to the protection link, where the working link and the protection link are links between the first node and the second node. .
在本发明一实施方式中,在上述第一节点检测到工作链路出现故障产生的链路告警信息之后,当上述第一节点检测到上述工作链路的上述故障恢复所产生的链路告警消失信息时,上述第一节点根据上述链路告警消失信息启动第二保护倒换处理;In an embodiment of the present invention, after the first node detects the link alarm information generated by the fault of the working link, the first node detects that the link alarm generated by the fault recovery of the working link disappears. In the information, the first node starts the second protection switching process according to the link alarm disappearing information;
上述第一节点向上述第二节点发送RDI或REI告警消失信息,以使上述第二节点根据上述RDI或REI告警消失信息启动上述第二保护倒换处理,其中,上述第二保护倒换处理为将上述第一节点与上述第二节点之间用于 传输数据的链路从上述保护链路切换到上述工作链路。The first node sends the RDI or REI alarm disappearing information to the second node, so that the second node starts the second protection switching process according to the RDI or REI alarm disappearing information, where the second protection switching process is Used between the first node and the second node The link transmitting the data is switched from the above protection link to the above working link.
根据本发明实施例的一个方面,提供一种计算机存储介质,该计算机程序配置为执行上述复用段保护双向倒换方法。According to an aspect of an embodiment of the present invention, a computer storage medium configured to perform the above-described multiplex section protection bidirectional switching method is provided.
本发明实施例的技术方案,当检测到工作链路出现故障所产生的链路告警信息时,第一节点根据上述链路告警信息启动第一保护倒换处理;上述第一节点向第二节点发送RDI或REI告警信息,以使上述第二节点根据上述RDI或REI告警信息启动上述第一保护倒换处理,其中,上述第一保护倒换处理为将上述第一节点与上述第二节点之间用于传输数据的链路从上述工作链路切换到保护链路,上述工作链路和上述保护链路是上述第一节点与上述第二节点之间的链路,解决了相关技术中跨设备复用段保护MSP双向倒换方法中倒换方式复杂且容易出现故障的问题,进而使得在MSP双向倒换中不需要进行K1/K2字节交互就能实现复用段保护双向倒换,从而减少倒换的复杂度,提高倒换效率。In the technical solution of the embodiment of the present invention, when detecting the link alarm information generated by the fault of the working link, the first node starts the first protection switching process according to the link alarm information; the first node sends the second node to the second node. And the RDI or REI alarm information, so that the second node starts the first protection switching process according to the RDI or REI alarm information, where the first protection switching process is used between the first node and the second node. The link for transmitting data is switched from the working link to the protection link, and the working link and the protection link are links between the first node and the second node, which solves the cross-device multiplexing in the related art. The segment protection MSP bidirectional switching method has a complicated switching mode and is prone to failure. In this way, the K1/K2 byte interaction is not required in the MSP bidirectional switching to implement the multiplex section protection bidirectional switching, thereby reducing the complexity of the switching. Improve the efficiency of switching.
附图说明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是现有技术中线性路径复用段保护功能模型示意图;1 is a schematic diagram of a linear path multiplex section protection function model in the prior art;
图2是根据本发明实施例的复用段保护双向倒换方法的流程图;2 is a flowchart of a multiplex section protection bidirectional switching method according to an embodiment of the present invention;
图3是根据本发明示例的复用段保护双向倒换方法在单向链路故障时的流程示意图;3 is a schematic flow chart of a multiplex section protection bidirectional switching method in the case of a unidirectional link failure according to an example of the present invention;
图4是根据本发明示例的复用段保护双向倒换方法的流程图;4 is a flow chart of a multiplex section protection bidirectional switching method according to an example of the present invention;
图5是根据本发明实施例的复用段保护双向倒换方法在双向链路故障时的流程示意图;FIG. 5 is a schematic flowchart of a multiplex section protection bidirectional switching method in a bidirectional link failure according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的复用段保护双向倒换装置的结构框图; 6 is a structural block diagram of a multiplex section protection bidirectional switching apparatus according to an embodiment of the present invention;
图7是根据本发明示例的复用段保护双向倒换装置的结构框图;7 is a structural block diagram of a multiplex section protection bidirectional switching apparatus according to an example of the present invention;
图8是根据本发明另一实施例的复用段保护双向倒换装置的结构框图;FIG. 8 is a structural block diagram of a multiplex section protection bidirectional switching apparatus according to another embodiment of the present invention; FIG.
图9是根据本发明示例的复用段保护双向倒换系统的结构框图。9 is a block diagram showing the structure of a multiplex section protection bidirectional switching system according to an example 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.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种复用段保护双向倒换方法,图2是根据本发明实施例的复用段保护双向倒换方法的流程图,如图2所示,该流程包括如下步骤:In this embodiment, a multiplex section protection bidirectional switching method is provided. FIG. 2 is a flowchart of a multiplex section protection bidirectional switching method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
步骤S201,当检测到工作链路出现故障所产生的链路告警信息时,第一节点根据上述链路告警信息启动第一保护倒换处理;Step S201: When detecting the link alarm information generated by the fault of the working link, the first node starts the first protection switching process according to the link alarm information.
图3是根据本发明示例的复用段保护双向倒换方法在单向链路故障时的流程示意图,如图3所示,当链路出现单向链路故障时,即第二节点(即节点B)到第一节点(即节点A)之间的链路出现故障,但是从第一节点到第二节点的通信链路正常时,在该步骤中,链路告警信息为链路SF或SD告警信息。第一节点的告警检测单元检测到链路告警信息,并将链路告警信息上报给本节点的告警处理单元,本节点告警处理单元判断链路告警信息为链路SF或SD告警信息时,首先将链路告警信息转发给本节点的倒换控制单元,同时给第二节点反馈告警信息,因为第一节点发向第二节点的链路正常,发向第二节点的告警信息会传递到第二节点。第一节点的倒换控制单元收到告警处理单元转发的链路SF或SD告警信息后启动保护协议计算,并下发保护倒换处理,完成流量切换。 3 is a schematic flowchart of a multiplex section protection bidirectional switching method in a unidirectional link failure according to an example of the present invention. As shown in FIG. 3, when a unidirectional link failure occurs in a link, that is, a second node (ie, a node) B) When the link between the first node (ie node A) fails, but the communication link from the first node to the second node is normal, in this step, the link alarm information is link SF or SD Alarm information. The alarm detecting unit of the first node detects the link alarm information, and reports the link alarm information to the alarm processing unit of the local node. When the node alarm processing unit determines that the link alarm information is the link SF or SD alarm information, first Forwarding the link alarm information to the switching control unit of the local node, and feeding back the alarm information to the second node, because the link sent by the first node to the second node is normal, and the alarm information sent to the second node is transmitted to the second node. After receiving the link SF or SD alarm information forwarded by the alarm processing unit, the switching control unit of the first node starts the protection protocol calculation, and delivers protection switching processing to complete the traffic switching.
当链路单向链路故障恢复,链路正常时,即第二节点到第一节点之间的链路故障消失时,在该步骤中,链路告警消失信息为链路SF或SD告警消失信息。第一节点的告警检测单元检测到链路SF或SD告警消失信息,并将链路告警消失信息上报给本节点的告警处理单元,本节点告警处理单元判断链路告警消失信息为链路SF或SD告警消失信息时,首先将链路告警消失信息转发给本节点的倒换控制单元,同时给第二节点反馈RDI或REI告警消失信息,因为第一节点发向第二节点的链路正常,发向第二节点的RDI或REI告警消失信息会传递到第二节点。第一节点的倒换控制单元收到告警处理单元转发的链路SF或SD告警消失信息后启动保护协议计算,并下发保护倒换处理,完成流量切换。When the link unidirectional link is faulty and the link is normal, that is, when the link fault between the second node and the first node disappears, in this step, the link alarm disappears as the link SF or SD alarm disappears. information. The alarm detecting unit of the first node detects the link SF or SD alarm disappearing information, and reports the link alarm disappearing information to the alarm processing unit of the local node, and the node alarm processing unit determines that the link alarm disappearing information is the link SF or When the SD alarm disappears, the link alarm disappearing information is first forwarded to the switching control unit of the local node, and the second node is fed back the RDI or REI alarm disappearing information, because the link sent by the first node to the second node is normal. The RDI or REI alarm disappearance information to the second node is passed to the second node. The switching control unit of the first node starts the protection protocol calculation after receiving the link SF or SD alarm disappearing information forwarded by the alarm processing unit, and sends a protection switching process to complete the traffic switching.
步骤S202,上述第一节点向第二节点发送RDI或REI告警信息,以使上述第二节点根据上述RDI或REI告警信息启动上述第一保护倒换处理,其中,上述第一保护倒换处理为将上述第一节点与上述第二节点之间用于传输数据的链路从上述工作链路切换到保护链路,上述工作链路和上述保护链路是上述第一节点与上述第二节点之间的链路。In step S202, the first node sends the RDI or REI alarm information to the second node, so that the second node starts the first protection switching process according to the RDI or REI alarm information, where the first protection switching process is a link for transmitting data between the first node and the second node is switched from the working link to the protection link, where the working link and the protection link are between the first node and the second node. link.
在该步骤中,结合图3,第一节点向第二节点发送RDI或REI告警信息,第二节点的告警检测单元检测到第一节点反馈的RDI或REI告警信息后,会将RDI或REI告警信息转发到告警处理单元,告警处理单元判断是RDI或REI告警信息时,会将RDI或REI告警信息转发给第二节点的倒换控制单元,倒换控制单元收到第二节点告警处理单元转发的RDI或REI告警信息后启动保护协议计算,并下发保护倒换处理,也完成流量切换,从而完成MSP的双向倒换。In this step, in conjunction with FIG. 3, the first node sends RDI or REI alarm information to the second node, and the alarm detecting unit of the second node detects the RDI or REI alarm information fed back by the first node, and then alerts the RDI or REI. The information is forwarded to the alarm processing unit. When the alarm processing unit determines that the RDI or REI alarm information is generated, the RDI or REI alarm information is forwarded to the switching control unit of the second node, and the switching control unit receives the RDI forwarded by the second node alarm processing unit. After the REI alarm information is generated, the protection protocol calculation is started, and the protection switching process is delivered, and the traffic switching is also completed, thereby completing the bidirectional switching of the MSP.
当链路恢复正常时,第一节点向第二节点反馈RDI或REI告警消失信息,第二节点的告警检测单元检测到第一节点反馈的RDI或REI告警消失信息后,会将RDI或REI告警消失信息转发到告警处理单元,告警处理单 元判断是RDI或REI告警消失信息时,会将RDI或REI告警消失信息转发给第二节点的倒换控制单元,倒换控制单元收到第二节点告警处理单元转发的RDI或REI告警消失信息后启动保护协议计算,并下发保护倒换处理,也完成流量切换,从而完成MSP的双向倒换。上述第一保护倒换处理为将上述第一节点与上述第二节点之间用于传输数据的链路从上述工作链路切换到保护链路,上述工作链路和上述保护链路是上述第一节点与上述第二节点之间的链路。When the link returns to normal, the first node feeds back the RDI or REI alarm disappearing information to the second node, and the second node alarm detecting unit detects the RDI or REI alarm disappearing information fed back by the first node, and then the RDI or REI alarm is generated. The disappearing information is forwarded to the alarm processing unit, and the alarm processing list is When the element is judged to be the RDI or REI alarm disappearing information, the RDI or REI alarm disappearing information is forwarded to the switching control unit of the second node, and the switching control unit starts after receiving the RDI or REI alarm disappearing information forwarded by the second node alarm processing unit. The protection protocol is calculated, and the protection switching process is delivered, and the traffic switching is also completed, thereby completing the bidirectional switching of the MSP. The first protection switching process is to switch a link for transmitting data between the first node and the second node from the working link to a protection link, where the working link and the protection link are the first The link between the node and the second node described above.
附图中英文简称所代表的中文含义为A:适配器;Ap:保护适配器;TT:路径终端;TTp:保护路径终端;Trail_P:保护链路;Trail_W:工作链路;NC_P:保护子网连接;NC_W:工作子网连接;SD:信号劣化;SF:信号失效;RDI:远端缺陷指示;REI:远端错误指示。The Chinese meaning in the English abbreviation in the drawing means A: adapter; Ap: protection adapter; TT: path terminal; TTp: protection path terminal; Trail_P: protection link; Trail_W: working link; NC_P: protection subnet connection; NC_W: working subnet connection; SD: signal degradation; SF: signal failure; RDI: remote defect indication; REI: remote error indication.
本发明实施例所使用的方法,能够实现不通过K1/K2字节信息交互实现MSP的双向倒换,通过检测接收链路故障的节点向上游节点反馈的RDI或REI告警消失信息,来得到发送方向链路故障的信息,根据检测到的RDI或REI告警消失信息来启动保护协议计算,并进行倒换动作,从而实现MSP双向倒换,与现有技术相比,弥补了相关技术中跨设备复用段保护MSP双向倒换方法中倒换方式复杂且容易出现故障的问题,进而使得在MSP双向倒换中不需要进行K1/K2字节交互就能实现复用段保护双向倒换,从而减少倒换的复杂度,提高倒换效率。The method used in the embodiment of the present invention can implement the bidirectional switching of the MSP without the K1/K2 byte information interaction, and obtain the sending direction by detecting the RDI or REI alarm disappearing information fed back to the upstream node by the node receiving the link failure. The link fault information starts the protection protocol calculation according to the detected RDI or REI alarm disappearance information, and performs a switching action, thereby implementing the MSP bidirectional switching, and compensating the cross-device multiplexing section in the related technology compared with the prior art. The problem of the switching mode is complicated and easy to be faulty in the MSP bidirectional switching method, so that the multiplex section protection bidirectional switching can be implemented without K1/K2 byte interaction in the MSP bidirectional switching, thereby reducing the complexity of the switching and improving the complexity. Switching efficiency.
在本实施例中提供了一种复用段保护双向倒换方法,图4是根据本发明示例的复用段保护双向倒换方法的流程图,如图4所示,该流程包括如下步骤:In this embodiment, a multiplex section protection bidirectional switching method is provided. FIG. 4 is a flowchart of a multiplex section protection bidirectional switching method according to an example of the present invention. As shown in FIG. 4, the process includes the following steps:
步骤S401,第二节点接收第一节点发送的RDI或REI告警信息,其中,上述RDI或REI告警信息用于表示上述第一节点检测到上述工作链路出现故障所产生的链路告警信息、且启动第一保护倒换处理; Step S401, the second node receives the RDI or REI alarm information sent by the first node, where the RDI or REI alarm information is used to indicate that the first node detects the link alarm information generated by the fault of the working link, and Initiating a first protection switching process;
在该步骤中,结合图3,当链路出现单向链路故障时,即第二节点(即节点B)到第一节点(即节点A)之间的链路出现故障,但是从第一节点到第二节点的通信链路正常时,链路告警信息为链路SF或SD告警信息。第一节点的告警检测单元检测到链路SF或SD告警信息,并将链路告警信息上报给本节点的告警处理单元,本节点告警处理单元判断链路告警信息为链路SF或SD告警信息时,首先将链路告警信息转发给本节点的倒换控制单元,同时给第二节点反馈RDI或REI告警信息,因为第一节点发向第二节点的链路正常,发向第二节点的RDI或REI告警信息会传递到第二节点。第一节点的倒换控制单元收到告警处理单元转发的链路告警信息后启动保护协议计算,并下发保护倒换处理,完成流量切换。所以当第二节点接收到上述RDI或REI告警信息时,就说明第一节点已经检测到上述工作链路出现故障所产生的链路告警信息、且已启动第一保护倒换处理。第一节点向第二节点发送RDI或REI告警信息,第二节点的告警检测单元检测到第一节点发送的RDI或REI告警信息后,会将告警信息转发到告警处理单元,告警处理单元判断是RDI或REI告警信息时,会将告警信息转发给第二节点的倒换控制单元,倒换控制单元收到第二节点告警处理单元转发的RDI或REI告警信息后启动保护协议计算,并下发保护倒换处理,也完成流量切换,从而完成MSP的双向倒换。In this step, in conjunction with FIG. 3, when a unidirectional link failure occurs in the link, that is, the link between the second node (ie, Node B) to the first node (ie, node A) fails, but from the first When the communication link from the node to the second node is normal, the link alarm information is link SF or SD alarm information. The alarm detecting unit of the first node detects the link SF or SD alarm information, and reports the link alarm information to the alarm processing unit of the local node. The node alarm processing unit determines that the link alarm information is the link SF or SD alarm information. The link alarm information is first forwarded to the switching control unit of the local node, and the second node is fed back the RDI or REI alarm information, because the link sent by the first node to the second node is normal, and the RDI is sent to the second node. Or the REI alarm message is passed to the second node. After receiving the link alarm information forwarded by the alarm processing unit, the switching control unit of the first node starts the protection protocol calculation, and delivers protection switching processing to complete the traffic switching. Therefore, when the second node receives the RDI or REI alarm information, it indicates that the first node has detected the link alarm information generated by the fault of the working link, and the first protection switching process has been started. The first node sends the RDI or REI alarm information to the second node, and after detecting the RDI or REI alarm information sent by the first node, the alarm detecting unit of the second node forwards the alarm information to the alarm processing unit, and the alarm processing unit determines that When the RDI or REI alarm information is sent, the alarm information is forwarded to the switching control unit of the second node, and the switching control unit receives the RDI or REI alarm information forwarded by the second node alarm processing unit, starts the protection protocol calculation, and delivers the protection switching. Processing, also completes the flow switching, thereby completing the bidirectional switching of the MSP.
当链路恢复正常时,第一节点的告警检测单元检测到链路SF或SD告警消失信息,并将链路告警信息上报给本节点的告警处理单元,本节点告警处理单元判断链路告警信息为链路SF或SD告警消失信息时,首先将链路告警消失信息转发给本节点的倒换控制单元,同时给第二节点反馈RDI或REI告警消失信息,因为第一节点发向第二节点的链路也正常,发向第二节点的RDI或REI告警消失信息会传递到第二节点。第一节点的倒换控制单元收到告警处理单元转发的链路告警消失信息后启动保护协议计算, 并下发保护倒换处理,完成流量切换。第一节点向第二节点发送RDI或REI告警消失信息,第二节点的告警检测单元检测到第一节点发送的RDI或REI告警消失信息后,会将告警消失信息转发到告警处理单元,告警处理单元判断是RDI或REI告警消失信息时,会将告警消失信息转发给第二节点的倒换控制单元,倒换控制单元收到第二节点告警处理单元转发的RDI或REI告警消失信息后启动保护协议计算,并下发保护倒换处理,也完成流量切换,从而完成MSP的双向倒换。When the link is restored, the alarm detection unit of the first node detects the link SF or SD alarm disappearance information, and reports the link alarm information to the alarm processing unit of the local node, and the local node alarm processing unit determines the link alarm information. When the link SF or SD alarm disappears, the link alarm disappearing information is first forwarded to the switching control unit of the local node, and the second node is fed back the RDI or REI alarm disappearing information, because the first node sends the second node to the second node. The link is also normal, and the RDI or REI alarm disappearance message sent to the second node is transmitted to the second node. The switching control unit of the first node starts the protection protocol calculation after receiving the link alarm disappearing information forwarded by the alarm processing unit, And the protection switching process is delivered to complete the traffic switching. The first node sends the RDI or REI alarm disappearing information to the second node, and the alarm detecting unit of the second node detects the RDI or REI alarm disappearing information sent by the first node, and then forwards the alarm disappearing information to the alarm processing unit, and the alarm processing is performed. When the unit determines that the RDI or REI alarm disappears, the alarm disappearance information is forwarded to the switching control unit of the second node, and the switching control unit starts the protection protocol calculation after receiving the RDI or REI alarm disappearing information forwarded by the second node alarm processing unit. And the protection switching process is delivered, and the traffic switching is also completed, thereby completing the bidirectional switching of the MSP.
步骤S402,上述第二节点根据上述RDI或REI告警信息启动第一保护倒换处理,其中,上述第一保护倒换处理为将上述第一节点与上述第二节点之间用于传输数据的链路从上述工作链路切换到保护链路,上述工作链路和上述保护链路是上述第一节点与上述第二节点之间的链路。Step S402, the second node starts a first protection switching process according to the RDI or REI alarm information, where the first protection switching process is to use a link between the first node and the second node for transmitting data. The working link is switched to the protection link, and the working link and the protection link are links between the first node and the second node.
在该步骤中,结合图3,第一节点向第二节点发送RDI或REI告警信息,第二节点的告警检测单元检测到第一节点反馈的RDI或REI告警信息后,会将RDI或REI告警信息转发到告警处理单元,告警处理单元判断是RDI或REI告警信息时,会将RDI或REI告警信息转发给第二节点的倒换控制单元,倒换控制单元收到第二节点B告警处理单元转发的RDI或REI告警信息后启动保护协议计算,并下发保护倒换处理,也完成流量切换,从而完成MSP的双向倒换。In this step, in conjunction with FIG. 3, the first node sends RDI or REI alarm information to the second node, and the alarm detecting unit of the second node detects the RDI or REI alarm information fed back by the first node, and then alerts the RDI or REI. The information is forwarded to the alarm processing unit. When the alarm processing unit determines that the RDI or REI alarm information is generated, the RDI or REI alarm information is forwarded to the switching control unit of the second node, and the switching control unit receives the forwarding of the second node B alarm processing unit. After the RDI or REI alarm information is generated, the protection protocol calculation is started, and the protection switching process is delivered, and the traffic switching is also completed, thereby completing the bidirectional switching of the MSP.
当链路恢复正常时,第一节点向第二节点发送RDI或REI告警消失信息,第二节点的告警检测单元检测到第一节点反馈的RDI或REI告警消失信息后,会将RDI或REI告警消失信息转发到告警处理单元,告警处理单元判断是RDI或REI告警消失信息时,会将RDI或REI告警消失信息转发给第二节点的倒换控制单元,倒换控制单元收到第二节点B告警处理单元转发的RDI或REI告警消失信息后启动保护协议计算,并下发保护倒换处理,也完成流量切换,从而完成MSP的双向倒换。 When the link returns to normal, the first node sends an RDI or REI alarm disappearing message to the second node, and the second node alarm detecting unit detects the RDI or REI alarm disappearing information fed back by the first node, and then the RDI or REI alarm is generated. The disappearing information is forwarded to the alarm processing unit. When the alarm processing unit determines that the RDI or REI alarm disappears, the RDI or REI alarm disappearing information is forwarded to the switching control unit of the second node, and the switching control unit receives the second node B alarm processing. After the RDI or REI alarm disappeared by the unit, the protection protocol calculation is started, and the protection switching process is delivered, and the traffic switching is also completed, thereby completing the bidirectional switching of the MSP.
通过本发明,第二节点接收第一节点发送的RDI或REI告警信息,其中,上述RDI或REI告警信息用于表示上述第一节点检测到上述工作链路出现故障所产生的链路告警信息、且启动第一保护倒换处理;上述第二节点根据上述RDI或REI告警信息启动第一保护倒换处理,解决了相关技术中跨设备复用段保护MSP双向倒换方法中倒换方式复杂且容易出现故障的问题,进而使得在MSP双向倒换中不需要进行K1/K2字节交互就能实现复用段保护双向倒换,从而减少倒换的复杂度,提高倒换效率。According to the present invention, the second node receives the RDI or REI alarm information sent by the first node, where the RDI or REI alarm information is used to indicate that the first node detects the link alarm information generated by the fault of the working link, And the first protection switching process is started; the second node starts the first protection switching process according to the RDI or REI alarm information, and solves the problem that the switching mode of the MSP bidirectional switching method is complicated and prone to failure in the cross-device multiplex section protection in the related art. The problem is that the multiplex section protection bidirectional switching can be implemented without performing K1/K2 byte interaction in the MSP bidirectional switching, thereby reducing the complexity of the switching and improving the switching efficiency.
基于上述实施例的技术方案,以下结合一实施例对上述技术方案进行详细说明。Based on the technical solutions of the foregoing embodiments, the foregoing technical solutions are described in detail below in conjunction with an embodiment.
在本实施例中提供了一种复用段保护双向倒换方法在双向链路故障时的方法,图5是根据本发明实施例的复用段保护双向倒换方法在双向链路故障时的流程示意图,如图5所示,该方法具体包括如下步骤:In this embodiment, a method for protecting a bidirectional switching method in a bidirectional link failure is provided, and FIG. 5 is a schematic flowchart of a bidirectional link failure method in a bidirectional link failure according to an embodiment of the present invention. As shown in FIG. 5, the method specifically includes the following steps:
A:第一节点的告警检测单元检测到链路告警信息,并将链路告警信息上报给本节点的告警处理单元,A: The alarm detecting unit of the first node detects the link alarm information, and reports the link alarm information to the alarm processing unit of the node.
B:第一节点的告警处理单元判断告警信息为链路告警信息,首先将链路告警信息转发给本节点的倒换控制单元,同时给第二节点发送RDI或REI告警信息,因为故障为双向链路故障,发向第二节点的RDI或REI告警信息无法传递到第二节点。B: The alarm processing unit of the first node determines that the alarm information is link alarm information, first forwards the link alarm information to the switching control unit of the local node, and simultaneously sends the RDI or REI alarm information to the second node, because the fault is a two-way chain. In the case of a road failure, the RDI or REI alarm information sent to the second node cannot be transmitted to the second node.
C:第一节点的倒换控制单元收到告警处理单元转发的链路告警信息后启动保护协议计算,并下发保护倒换处理,完成流量切换。C: The switching control unit of the first node starts the protection protocol calculation after receiving the link alarm information forwarded by the alarm processing unit, and sends a protection switching process to complete the traffic switching.
D:第二节点的倒换控制单元收到本节点告警处理单元转发的RDI或REI告警信息后启动保护协议计算,并下发保护倒换动作,也完成流量切换,从而实现了MSP的双向倒换。D: The switching control unit of the second node starts the protection protocol calculation after receiving the RDI or REI alarm information forwarded by the alarm processing unit of the node, and issues a protection switching action, and also completes the traffic switching, thereby implementing the bidirectional switching of the MSP.
本发明实施例所使用的方法,能够实现不通过K1/K2字节信息交互实现MSP的双向倒换,通过检测接收链路故障的节点向上游节点反馈的RDI 或REI告警信息,来得到发送方向链路故障的信息,根据检测到的RDI或REI告警信息来启动保护协议计算,并进行倒换动作,从而实现MSP双向倒换,与现有技术相比,弥补了相关技术中跨设备复用段保护MSP双向倒换方法中倒换方式复杂且容易出现故障的问题,进而使得在MSP双向倒换中不需要进行K1/K2字节交互就能实现复用段保护双向倒换,从而减少倒换的复杂度,提高倒换效率。The method used in the embodiment of the present invention can implement the bidirectional switching of the MSP without the K1/K2 byte information interaction, and the RDI fed back to the upstream node by detecting the node receiving the link failure. Or the REI alarm information, to obtain the information of the link direction fault in the sending direction, start the protection protocol calculation according to the detected RDI or REI alarm information, and perform the switching action, thereby realizing the MSP bidirectional switching, which is compensated compared with the prior art. In the related art, the cross-device multiplex section protects the MSP bidirectional switching method from being complicated and prone to failure, so that the multiplex section protection bidirectional switching can be implemented without performing K1/K2 byte interaction in the MSP bidirectional switching. Thereby reducing the complexity of switching and improving the switching efficiency.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is more Good implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
以下实施例提供了一种复用段保护双向倒换装置,下述装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。The following embodiments provide a multiplex section protection bidirectional switching device. The following devices are used to implement the foregoing embodiments and preferred embodiments, and are not described again. As used below, the term "module" may implement a combination of software 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.
在本示例中还提供了一种复用段保护双向倒换装置,图6是根据本发明实施例的复用段保护双向倒换装置的结构框图,如图6所示,该装置包括:In the present example, a multiplex section protection bidirectional switching device is also provided. FIG. 6 is a structural block diagram of a multiplex section protection bidirectional switching apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes:
第一处理模块61,配置为当检测到工作链路出现故障所产生的链路告警信息时,根据上述链路告警信息启动第一保护倒换处理;The first processing module 61 is configured to: when detecting the link alarm information generated by the fault of the working link, start the first protection switching process according to the link alarm information;
第一发送模块62,与第一处理模块61相连,配置为向第二节点发送 RDI或REI告警信息,以使上述第二节点根据上述RDI或REI告警信息启动上述第一保护倒换处理,其中,上述第一保护倒换处理为将上述第一节点与上述第二节点之间用于传输数据的链路从上述工作链路切换到保护链路,上述工作链路和上述保护链路是上述第一节点与上述第二节点之间的链路。The first sending module 62 is connected to the first processing module 61 and configured to send to the second node. And the RDI or REI alarm information, so that the second node starts the first protection switching process according to the RDI or REI alarm information, where the first protection switching process is used between the first node and the second node. The link for transmitting data is switched from the working link to the protection link, and the working link and the protection link are links between the first node and the second node.
在本发明一实施方式中,上述装置还包括第二处理模块63,配置为在检测到工作链路出现故障产生的链路告警信息之后,当检测到上述工作链路的上述故障恢复所产生的链路告警消失信息时,上述第一节点根据上述链路告警消失信息启动第二保护倒换处理;In an embodiment of the present invention, the apparatus further includes a second processing module 63 configured to detect, after detecting the link alarm information generated by the fault of the working link, when the fault recovery of the working link is detected. When the link alarm disappears, the first node starts the second protection switching process according to the link alarm disappearing information;
第二发送模块64,与第二处理模块63相连,配置为向上述第二节点发送RDI或REI告警消失信息,以使上述第二节点根据上述RDI或REI告警消失信息启动上述第二保护倒换处理,其中,上述第二保护倒换处理为将上述第一节点与上述第二节点之间用于传输数据的链路从上述保护链路切换到上述工作链路。The second sending module 64 is connected to the second processing module 63, and configured to send the RDI or REI alarm disappearing information to the second node, so that the second node starts the second protection switching process according to the RDI or REI alarm disappearing information. The second protection switching process is to switch a link for transmitting data between the first node and the second node from the protection link to the working link.
本发明实施例中,第二节点和第一节点的具体处理流程与上述方法实施例中的流程一致,此处不再赘述。本发明实施例通过第一处理模块61、第二发送模块62、第二处理模块63和第二发送模块64的综合作用,能够实现不通过K1/K2字节信息交互实现MSP的双向倒换,通过检测接收链路故障的节点向上游节点反馈的RDI或REI告警信息,来得到发送方向链路故障的信息,根据检测到的RDI或REI告警信息来启动保护协议计算,并进行倒换动作,从而实现MSP双向倒换,与现有技术相比,弥补了相关技术中跨设备复用段保护MSP双向倒换方法中倒换方式复杂且容易出现故障的问题,进而使得在MSP双向倒换中不需要进行K1/K2字节交互就能实现复用段保护双向倒换,从而减少倒换的复杂度,提高倒换效率。In the embodiment of the present invention, the specific processing procedure of the second node and the first node is consistent with the process in the foregoing method embodiment, and details are not described herein again. The embodiment of the present invention can realize the bidirectional switching of the MSP without the K1/K2 byte information interaction through the comprehensive action of the first processing module 61, the second sending module 62, the second processing module 63, and the second sending module 64. Detecting the RDI or REI alarm information fed back to the upstream node by the node receiving the link fault, obtaining the information of the link direction fault in the sending direction, starting the protection protocol calculation according to the detected RDI or REI alarm information, and performing the switching action, thereby implementing Compared with the prior art, the MSP bidirectional switching compensates for the problem that the switching mode of the MSP bidirectional switching method in the cross-device multiplex section protection in the related art is complicated and prone to failure, so that K1/K2 is not required in the MSP bidirectional switching. The byte interaction can realize the multiplex section protection bidirectional switching, thereby reducing the complexity of the switching and improving the switching efficiency.
在本示例中还提供了一种复用段保护双向倒换装置,图7是根据本发 明示例的复用段保护双向倒换装置的结构框图,如图7所示,该装置包括:In this example, a multiplex section protection bidirectional switching device is also provided, and FIG. 7 is according to the present invention. The structural block diagram of the multiplex section protection bidirectional switching device of the example is shown in FIG. 7, the device includes:
第一接收模块71,配置为接收第一节点发送的RDI或REI告警信息,其中,上述RDI或REI告警信息用于表示上述第一节点检测到上述工作链路出现故障所产生的链路告警信息、且启动第一保护倒换处理;The first receiving module 71 is configured to receive the RDI or REI alarm information sent by the first node, where the RDI or REI alarm information is used to indicate that the first node detects the link alarm information generated by the fault of the working link. And starting the first protection switching process;
第三处理模块72,与接收模块71相连,配置为根据上述RDI或REI告警信息启动第一保护倒换处理,其中,上述第一保护倒换处理为将上述第一节点与上述第二节点之间用于传输数据的链路从上述工作链路切换到保护链路,上述工作链路和上述保护链路是上述第一节点与上述第二节点之间的链路。The third processing module 72 is connected to the receiving module 71, and configured to start the first protection switching process according to the RDI or REI alarm information, where the first protection switching process is used between the first node and the second node. The link for transmitting data is switched from the working link to the protection link, and the working link and the protection link are links between the first node and the second node.
在本发明一实施方式中,该装置还包括:第二接收模块73,配置为在上述第二节点接收第一节点发送的RDI或REI告警信息之后,接收上述第一节点发送的RDI或REI告警消失信息,其中,上述RDI或REI告警消失信息用于表示上述第一节点检测到上述工作链路的上述故障恢复所产生的链路告警消失信息、且启动第二保护倒换处理;In an embodiment of the present invention, the apparatus further includes: a second receiving module 73, configured to receive, after the second node receives the RDI or REI alarm information sent by the first node, the RDI or REI alarm sent by the first node The disappearing information, wherein the RDI or REI alarm disappearing information is used to indicate that the first node detects the link alarm disappearing information generated by the fault recovery of the working link, and starts the second protection switching process;
第四处理模块74,与第二接收模块73相连,配置为根据上述RDI或REI告警消失信息启动上述第二保护倒换处理,其中,上述第二保护倒换处理为将上述第一节点与上述第二节点之间用于传输数据的链路从上述保护链路切换到上述工作链路。The fourth processing module 74 is connected to the second receiving module 73, and configured to start the second protection switching process according to the RDI or REI alarm disappearing information, wherein the second protection switching process is to use the first node and the second The link between the nodes for transmitting data is switched from the above protection link to the above working link.
本发明实施例中,第二节点和第一节点的具体处理流程与上述方法实施例中的流程一致,此处不再赘述。本发明实施例通过第一接收模块71、第三处理模块72、第二接收模块73和第四处理模块74的综合作用,能够实现不通过K1/K2字节信息交互实现MSP的双向倒换,通过检测接收链路故障的节点向上游节点反馈的RDI或REI告警信息,来得到发送方向链路故障的信息,根据检测到的RDI或REI告警信息来启动保护协议计算,并进行倒换动作,从而实现MSP双向倒换,与现有技术相比,弥补了相关技 术中跨设备复用段保护MSP双向倒换方法中倒换方式复杂且容易出现故障的问题,进而使得在MSP双向倒换中不需要进行K1/K2字节交互就能实现复用段保护双向倒换,从而减少倒换的复杂度,提高倒换效率。In the embodiment of the present invention, the specific processing procedure of the second node and the first node is consistent with the process in the foregoing method embodiment, and details are not described herein again. Through the combination of the first receiving module 71, the third processing module 72, the second receiving module 73, and the fourth processing module 74, the embodiment of the present invention can realize the bidirectional switching of the MSP without the K1/K2 byte information interaction. Detecting the RDI or REI alarm information fed back to the upstream node by the node receiving the link fault, obtaining the information of the link direction fault in the sending direction, starting the protection protocol calculation according to the detected RDI or REI alarm information, and performing the switching action, thereby implementing MSP bidirectional switching, compared with the prior art, make up the relevant technology The intra-process cross-device multiplex section protects the MSP bidirectional switching method from the complicated switching mode and is prone to failure. In this way, the multiplex section protection bidirectional switching can be realized without K1/K2 byte interaction in the MSP bidirectional switching. Reduce the complexity of switching and improve switching efficiency.
在实际应用中,所述复用段保护双向倒换装置中的各个单元所实现的功能,均可由位于复用段保护双向倒换装置中的中央处理器(CPU,Central Processing Unit)、或微处理器(MPU,Micro Processor Unit)、或数字信号处理器(DSP,Digital Signal Processor)、或现场可编程门阵列(FPGA,Field Programmable Gate Array)等实现。In practical applications, the multiplex section protects functions implemented by each unit in the bidirectional switching device, and may be a central processing unit (CPU) or a microprocessor located in the multiplex section protection bidirectional switching device. (MPU, Micro Processor Unit), or digital signal processor (DSP, Digital Signal Processor), or Field Programmable Gate Array (FPGA).
在本示例中还提供了一种复用段保护双向倒换装置,图8是根据本发明另一实施例的复用段保护双向倒换装置的结构框图,如图8所示,该装置包括:In the present example, a multiplex section protection bidirectional switching device is also provided. FIG. 8 is a structural block diagram of a multiplex section protection bidirectional switching apparatus according to another embodiment of the present invention. As shown in FIG. 8, the apparatus includes:
告警检测单元81,配置为检测链路SF或SD告警信息,并将链路SF或SD告警信息转发给告警处理单元。The alarm detecting unit 81 is configured to detect link SF or SD alarm information, and forward the link SF or SD alarm information to the alarm processing unit.
告警处理单元82,与告警检测单元81相连,配置为接收到告警检测单元上报的链路SF或SD告警信息后,判断如果是链路SF或SD告警信息则将告警上报给本节点的倒换控制单元,同时向上游节点反馈RDI或REI告警信息。如果是RDI或REI告警信息则直接转发给本节点的倒换控制单元。The alarm processing unit 82 is connected to the alarm detecting unit 81 and configured to receive the link SF or SD alarm information reported by the alarm detecting unit, and then determine the switching control of the alarm to the local node if the link SF or the SD alarm information is sent. The unit simultaneously feeds back the RDI or REI alarm information to the upstream node. If it is an RDI or REI alarm message, it is directly forwarded to the switching control unit of the node.
倒换控制单元83,与告警处理单元82相连,配置为接收到链路SF或SD告警信息或者下游反馈的RDI或REI告警信息后,启动保护协议计算,并进行保护倒换动作。The switching control unit 83 is connected to the alarm processing unit 82, and is configured to receive the link SF or SD alarm information or the RDI or REI alarm information fed back, and then start the protection protocol calculation and perform a protection switching operation.
本发明实施例通过告警检测单元81、告警处理单元82和倒换控制单元83的综合作用,能够实现不通过K1/K2字节信息交互实现MSP的双向倒换,通过检测接收链路故障的节点向上游节点反馈的RDI或REI告警信息,来得到发送方向链路故障的信息,根据检测到的RDI或REI告警信息来启动保护协议计算,并进行倒换动作,从而实现MSP双向倒换,与现有技术 相比,弥补了相关技术中跨设备复用段保护MSP双向倒换方法中倒换方式复杂且容易出现故障的问题,进而使得在MSP双向倒换中不需要进行K1/K2字节交互就能实现复用段保护双向倒换,从而减少倒换的复杂度,提高倒换效率。In the embodiment of the present invention, the integrated action of the alarm detecting unit 81, the alarm processing unit 82, and the switching control unit 83 can realize the bidirectional switching of the MSP without the K1/K2 byte information interaction, and the upstream of the node that detects the failure of the receiving link. The RDI or REI alarm information fed back by the node is used to obtain the information of the link failure in the transmission direction, and the protection protocol calculation is started according to the detected RDI or REI alarm information, and the switching operation is performed, thereby implementing the MSP bidirectional switching, and the prior art Compared with the cross-device multiplex section protection in the related art, the MSP bidirectional switching method has a complicated switching mode and is prone to failure, thereby enabling multiplexing in the MSP bidirectional switching without K1/K2 byte interaction. Segment protection bidirectional switching, which reduces the complexity of switching and improves the switching efficiency.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination. The forms are located in different processors.
在实际应用中,所述复用段保护双向倒换装置中的各个单元所实现的功能,均可由位于复用段保护双向倒换装置中的CPU、或MPU、或DSP、或FPGA等实现。In practical applications, the functions implemented by each unit in the multiplex section protection bidirectional switching device can be implemented by a CPU, an MPU, or a DSP, or an FPGA, etc., located in the multiplex section protection bidirectional switching device.
在本示例中还提供了一种复用段保护双向倒换系统,图9是根据本发明示例的复用段保护双向倒换系统的结构框图,如图9所示,该系统包括:第一节点91和第二节点92,其中,In the present example, a multiplex section protection bidirectional switching system is further provided. FIG. 9 is a structural block diagram of a multiplex section protection bidirectional switching system according to an example of the present invention. As shown in FIG. 9, the system includes: a first node 91. And a second node 92, wherein
当上述第一节点91检测到工作链路出现故障所产生的链路告警信息时,根据上述链路告警信息启动第一保护倒换处理;When the first node 91 detects the link alarm information generated by the fault of the working link, the first protection switching process is started according to the link alarm information.
上述第一节点91向上述第二节点92发送RDI或REI告警信息,以使上述第二节点92根据上述RDI或REI告警信息启动上述第一保护倒换处理,其中,上述第一保护倒换处理为将上述第一节点91与上述第二节点92之间用于传输数据的链路从上述工作链路切换到保护链路,上述工作链路和上述保护链路是上述第一节点91与上述第二节点92之间的链路。The first node 91 sends the RDI or REI alarm information to the second node 92, so that the second node 92 starts the first protection switching process according to the RDI or REI alarm information, where the first protection switching process is The link for transmitting data between the first node 91 and the second node 92 is switched from the working link to the protection link, and the working link and the protection link are the first node 91 and the second node. The link between nodes 92.
本发明实施例的系统通过第一节点91和第二节点92的综合作用,能够实现不通过K1/K2字节信息交互实现MSP的双向倒换,通过检测接收链路故障的节点向上游节点反馈的RDI或REI告警信息,来得到发送方向链路故障的信息,根据检测到的RDI或REI告警信息来启动保护协议计算,并进行倒换动作,从而实现MSP双向倒换,与现有技术相比,弥补了相关 技术中跨设备复用段保护MSP双向倒换方法中倒换方式复杂且容易出现故障的问题,进而使得在MSP双向倒换中不需要进行K1/K2字节交互就能实现复用段保护双向倒换,从而减少倒换的复杂度,提高倒换效率。The system of the embodiment of the present invention can realize the bidirectional switching of the MSP without the K1/K2 byte information interaction through the combined action of the first node 91 and the second node 92, and feedback to the upstream node by detecting the node receiving the link failure. The RDI or REI alarm information is used to obtain the information of the link failure in the transmission direction, and the protection protocol calculation is started according to the detected RDI or REI alarm information, and the switching operation is performed, thereby implementing the MSP bidirectional switching, which is compensated compared with the prior art. Related The cross-device multiplex section in the technology protects the MSP bidirectional switching method from the problem that the switching mode is complicated and prone to failure, so that the multiplex section protection bidirectional switching can be realized without performing K1/K2 byte interaction in the MSP bidirectional switching. Reduce the complexity of switching and improve switching efficiency.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。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.
基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限制于任何特定的硬件和软件结合。Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention. The foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
相应地,本发明实施例还提供一种计算机存储介质,其中存储有计算机程序,该计算机程序配置为执行本发明实施例的复用段保护双向倒换方法。Correspondingly, an embodiment of the present invention further provides a computer storage medium, wherein a computer program is configured, and the computer program is configured to perform a multiplex section protection bidirectional switching method according to an embodiment of the present invention.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 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
本发明实施例的技术方案,当检测到工作链路出现故障所产生的链路告警信息时,第一节点根据上述链路告警信息启动第一保护倒换处理;上述第一节点向第二节点发送RDI或REI告警信息,以使上述第二节点根据上述RDI或REI告警信息启动上述第一保护倒换处理,其中,上述第一保护倒换处理为将上述第一节点与上述第二节点之间用于传输数据的链路从上述工作链路切换到保护链路,上述工作链路和上述保护链路是上述第一节点与上述第二节点之间的链路,解决了相关技术中跨设备复用段保护MSP双向倒换方法中倒换方式复杂且容易出现故障的问题,进而使得在MSP双向倒换中不需要进行K1/K2字节交互就能实现复用段保护双向倒换,从而减少倒换的复杂度,提高倒换效率。 In the technical solution of the embodiment of the present invention, when detecting the link alarm information generated by the fault of the working link, the first node starts the first protection switching process according to the link alarm information; the first node sends the second node to the second node. And the RDI or REI alarm information, so that the second node starts the first protection switching process according to the RDI or REI alarm information, where the first protection switching process is used between the first node and the second node. The link for transmitting data is switched from the working link to the protection link, and the working link and the protection link are links between the first node and the second node, which solves the cross-device multiplexing in the related art. The segment protection MSP bidirectional switching method has a complicated switching mode and is prone to failure. In this way, the K1/K2 byte interaction is not required in the MSP bidirectional switching to implement the multiplex section protection bidirectional switching, thereby reducing the complexity of the switching. Improve the efficiency of switching.

Claims (13)

  1. 一种复用段保护双向倒换方法,包括:A multiplex section protection bidirectional switching method includes:
    当检测到工作链路出现故障所产生的链路告警信息时,第一节点根据所述链路告警信息启动第一保护倒换处理;When detecting the link alarm information generated by the fault of the working link, the first node starts the first protection switching process according to the link alarm information;
    所述第一节点向第二节点发送远端缺陷指示RDI或远端错误指示REI告警信息,以使所述第二节点根据所述RDI或REI告警信息启动所述第一保护倒换处理,其中,所述第一保护倒换处理为将所述第一节点与所述第二节点之间用于传输数据的链路从所述工作链路切换到保护链路,所述工作链路和所述保护链路是所述第一节点与所述第二节点之间的链路。The first node sends a remote defect indication RDI or a remote error indication REI alarm information to the second node, so that the second node starts the first protection switching process according to the RDI or REI alarm information, where The first protection switching process is to switch a link for transmitting data between the first node and the second node from the working link to a protection link, the working link and the protection The link is a link between the first node and the second node.
  2. 根据权利要求1所述的方法,其中,在检测到工作链路出现故障产生的链路告警信息之后,所述方法还包括:The method of claim 1, wherein after detecting the link alarm information generated by the fault of the working link, the method further comprises:
    当检测到所述工作链路的所述故障恢复所产生的链路告警消失信息时,所述第一节点根据所述链路告警消失信息启动第二保护倒换处理;When detecting the link alarm disappearing information generated by the fault recovery of the working link, the first node starts a second protection switching process according to the link alarm disappearing information;
    所述第一节点向所述第二节点发送RDI或REI告警消失信息,以使所述第二节点根据所述RDI或REI告警消失信息启动所述第二保护倒换处理,其中,所述第二保护倒换处理为将所述第一节点与所述第二节点之间用于传输数据的链路从所述保护链路切换到所述工作链路。Sending, by the first node, RDI or REI alarm disappearing information to the second node, so that the second node starts the second protection switching process according to the RDI or REI alarm disappearing information, where the second node The protection switching process is to switch a link for transmitting data between the first node and the second node from the protection link to the working link.
  3. 根据权利要求1或2所述的方法,其中,所述链路告警信息为链路SF或SD告警信息。The method according to claim 1 or 2, wherein the link alarm information is link SF or SD alarm information.
  4. 一种复用段保护双向倒换方法,包括:A multiplex section protection bidirectional switching method includes:
    第二节点接收第一节点发送的RDI或REI告警信息,其中,所述RDI或REI告警信息用于表示所述第一节点检测到所述工作链路出现故障所产生的链路告警信息、且启动第一保护倒换处理;The second node receives the RDI or REI alarm information sent by the first node, where the RDI or REI alarm information is used to indicate that the first node detects the link alarm information generated by the fault of the working link, and Initiating a first protection switching process;
    所述第二节点根据所述RDI或REI告警信息启动第一保护倒换处理, 其中,所述第一保护倒换处理为将所述第一节点与所述第二节点之间用于传输数据的链路从所述工作链路切换到保护链路,所述工作链路和所述保护链路是所述第一节点与所述第二节点之间的链路。The second node starts the first protection switching process according to the RDI or REI alarm information, The first protection switching process is to switch a link for transmitting data between the first node and the second node from the working link to a protection link, where the working link and the The protection link is a link between the first node and the second node.
  5. 根据权利要求4所述的方法,其中,在所述第二节点接收第一节点发送的RDI或REI告警信息之后,所述方法还包括:The method according to claim 4, wherein after the second node receives the RDI or REI alarm information sent by the first node, the method further includes:
    所述第二节点接收所述第一节点发送的RDI或REI告警消失信息,其中,所述RDI或REI告警消失信息用于表示所述第一节点检测到所述工作链路的所述故障恢复所产生的链路告警消失信息、且启动第二保护倒换处理;The second node receives the RDI or REI alarm disappearance information sent by the first node, where the RDI or REI alarm disappearance information is used to indicate that the first node detects the fault recovery of the working link. The generated link alarm disappears information, and the second protection switching process is started;
    所述第二节点根据所述RDI或REI告警消失信息启动所述第二保护倒换处理,其中,所述第二保护倒换处理为将所述第一节点与所述第二节点之间用于传输数据的链路从所述保护链路切换到所述工作链路。The second node starts the second protection switching process according to the RDI or REI alarm disappearing information, where the second protection switching process is used for transmitting between the first node and the second node. A link of data is switched from the protection link to the working link.
  6. 根据权利要求4或5所述的方法,其中,所述链路告警信息为链路SF或SD告警信息。The method according to claim 4 or 5, wherein the link alarm information is link SF or SD alarm information.
  7. 一种复用段保护双向倒换装置,应用于第一节点,包括:A multiplex section protection bidirectional switching device is applied to the first node, including:
    第一处理模块,配置为当检测到工作链路出现故障所产生的链路告警信息时,根据所述链路告警信息启动第一保护倒换处理;The first processing module is configured to: when detecting the link alarm information generated by the fault of the working link, start the first protection switching process according to the link alarm information;
    第一发送模块,配置为向第二节点发送RDI或REI告警信息,以使所述第二节点根据所述RDI或REI告警信息启动所述第一保护倒换处理,其中,所述第一保护倒换处理为将所述第一节点与所述第二节点之间用于传输数据的链路从所述工作链路切换到保护链路,所述工作链路和所述保护链路是所述第一节点与所述第二节点之间的链路。The first sending module is configured to send RDI or REI alarm information to the second node, so that the second node starts the first protection switching process according to the RDI or REI alarm information, where the first protection switching Processing to switch a link for transmitting data between the first node and the second node from the working link to a protection link, where the working link and the protection link are A link between a node and the second node.
  8. 根据权利要求7所述的装置,其中,所述装置还包括:The apparatus of claim 7 wherein said apparatus further comprises:
    第二处理模块,配置为在检测到工作链路出现故障产生的链路告警信息之后,当检测到所述工作链路的所述故障恢复所产生的链路告警消 失信息时,所述第一节点根据所述链路告警消失信息启动第二保护倒换处理;a second processing module, configured to detect, after detecting the link alarm information generated by the fault of the working link, detecting the link alarm generated by the fault recovery of the working link When the information is lost, the first node starts the second protection switching process according to the link alarm disappearing information;
    第二发送模块,配置为向所述第二节点发送RDI或REI告警消失信息,以使所述第二节点根据所述RDI或REI告警消失信息启动所述第二保护倒换处理,其中,所述第二保护倒换处理为将所述第一节点与所述第二节点之间用于传输数据的链路从所述保护链路切换到所述工作链路。The second sending module is configured to send the RDI or REI alarm disappearing information to the second node, so that the second node starts the second protection switching process according to the RDI or REI alarm disappearing information, where The second protection switching process is to switch a link for transmitting data between the first node and the second node from the protection link to the working link.
  9. 一种复用段保护双向倒换装置,应用于第二节点,包括:A multiplex section protection bidirectional switching device is applied to the second node, including:
    第一接收模块,配置为接收第一节点发送的RDI或REI告警信息,其中,所述RDI或REI告警信息用于表示所述第一节点检测到所述工作链路出现故障所产生的链路告警信息、且启动第一保护倒换处理;The first receiving module is configured to receive the RDI or REI alarm information sent by the first node, where the RDI or REI alarm information is used to indicate that the first node detects that the working link is faulty. Alarm information, and the first protection switching process is started;
    第三处理模块,配置为根据所述RDI或REI告警信息启动第一保护倒换处理,其中,所述第一保护倒换处理为将所述第一节点与所述第二节点之间用于传输数据的链路从所述工作链路切换到保护链路,所述工作链路和所述保护链路是所述第一节点与所述第二节点之间的链路。a third processing module, configured to start a first protection switching process according to the RDI or REI alarm information, where the first protection switching process is used to transmit data between the first node and the second node The link is switched from the working link to the protection link, and the working link and the protection link are links between the first node and the second node.
  10. 根据权利要求9所述的装置,其中,所述装置还包括:The apparatus of claim 9 wherein said apparatus further comprises:
    第二接收模块,配置为在所述第二节点接收第一节点发送的RDI或REI告警信息之后,接收所述第一节点发送的RDI或REI告警消失信息,其中,所述RDI或REI告警消失信息用于表示所述第一节点检测到所述工作链路的所述故障恢复所产生的链路告警消失信息、且启动第二保护倒换处理;The second receiving module is configured to receive, after the second node receives the RDI or REI alarm information sent by the first node, the RDI or REI alarm disappearance information sent by the first node, where the RDI or REI alarm disappears The information is used to indicate that the first node detects the link alarm disappearing information generated by the fault recovery of the working link, and starts a second protection switching process;
    第四处理模块,配置为根据所述RDI或REI告警消失信息启动所述第二保护倒换处理,其中,所述第二保护倒换处理为将所述第一节点与所述第二节点之间用于传输数据的链路从所述保护链路切换到所述工作链路。 The fourth processing module is configured to start the second protection switching process according to the RDI or REI alarm disappearing information, where the second protection switching process is used between the first node and the second node A link for transmitting data is switched from the protection link to the working link.
  11. 一种复用段保护双向倒换系统,包括:第一节点和第二节点,其中,A multiplex section protection bidirectional switching system includes: a first node and a second node, where
    当所述第一节点检测到工作链路出现故障所产生的链路告警信息时,根据所述链路告警信息启动第一保护倒换处理;When the first node detects the link alarm information generated by the fault of the working link, the first protection switching process is started according to the link alarm information;
    所述第一节点向所述第二节点发送RDI或REI告警信息,以使所述第二节点根据所述RDI或REI告警信息启动所述第一保护倒换处理,其中,所述第一保护倒换处理为将所述第一节点与所述第二节点之间用于传输数据的链路从所述工作链路切换到保护链路,所述工作链路和所述保护链路是所述第一节点与所述第二节点之间的链路。Sending, by the first node, RDI or REI alarm information to the second node, so that the second node starts the first protection switching process according to the RDI or REI alarm information, where the first protection switching Processing to switch a link for transmitting data between the first node and the second node from the working link to a protection link, where the working link and the protection link are A link between a node and the second node.
  12. 根据权利要求11所述的系统,其中,在所述第一节点检测到工作链路出现故障产生的链路告警信息之后,当所述第一节点检测到所述工作链路的所述故障恢复所产生的链路告警消失信息时,所述第一节点根据所述链路告警消失信息启动第二保护倒换处理;The system according to claim 11, wherein said first node detects said failure recovery of said working link after said first node detects link alarm information generated by a failure of a working link When the generated link alarm disappears, the first node starts the second protection switching process according to the link alarm disappearing information;
    所述第一节点向所述第二节点发送RDI或REI告警消失信息,以使所述第二节点根据所述RDI或REI告警消失信息启动所述第二保护倒换处理,其中,所述第二保护倒换处理为将所述第一节点与所述第二节点之间用于传输数据的链路从所述保护链路切换到所述工作链路。Sending, by the first node, RDI or REI alarm disappearing information to the second node, so that the second node starts the second protection switching process according to the RDI or REI alarm disappearing information, where the second node The protection switching process is to switch a link for transmitting data between the first node and the second node from the protection link to the working link.
  13. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行权利要求1-3任一项所述的复用段保护双向倒换方法、或权利要求4-6任一项所述的复用段保护双向倒换方法。 A computer storage medium storing computer executable instructions configured to perform the multiplex section protection bidirectional switching method according to any one of claims 1-3, or claim 4 The multiplex section protection bidirectional switching method according to any one of the items -6.
PCT/CN2017/103109 2016-09-29 2017-09-25 Method, apparatus, and system for multiplex section protection bidirectional switchover and computer storage medium WO2018059344A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610864370.9 2016-09-29
CN201610864370.9A CN107888280A (en) 2016-09-29 2016-09-29 The two-way reverse method of multiplex section protection, apparatus and system

Publications (1)

Publication Number Publication Date
WO2018059344A1 true WO2018059344A1 (en) 2018-04-05

Family

ID=61763684

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/103109 WO2018059344A1 (en) 2016-09-29 2017-09-25 Method, apparatus, and system for multiplex section protection bidirectional switchover and computer storage medium

Country Status (2)

Country Link
CN (1) CN107888280A (en)
WO (1) WO2018059344A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112583650B (en) * 2019-09-27 2022-06-10 烽火通信科技股份有限公司 SR-BE tunnel link detection method and system in SPN

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801768A (en) * 2004-12-31 2006-07-12 华为技术有限公司 Multiplex section shared loop protecting method
CN101355399A (en) * 2008-08-15 2009-01-28 中兴通讯股份有限公司 Method for implementing bidirectional automatic switch of sub-network connection protection
WO2012079328A1 (en) * 2010-12-16 2012-06-21 中兴通讯股份有限公司 Switching method and system for multiplex section protection and packet transport network device
CN102752126A (en) * 2011-04-22 2012-10-24 中兴通讯股份有限公司 Automatic protection switching method, main device and standby device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1753342B (en) * 2004-09-21 2010-12-08 华为技术有限公司 Method of implementing protection switching in light network
CN101877665B (en) * 2009-04-29 2013-12-18 华为技术有限公司 Ring network protecting method, network node and ring network
CN101964718B (en) * 2009-07-23 2015-09-16 中兴通讯股份有限公司 Ethernet dual homed link protection changing method and system
CN102006222B (en) * 2010-11-16 2015-06-24 中兴通讯股份有限公司 Service link switching method and service link switching device
CN102035680A (en) * 2010-12-17 2011-04-27 中兴通讯股份有限公司 Cross-equipment link protection method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801768A (en) * 2004-12-31 2006-07-12 华为技术有限公司 Multiplex section shared loop protecting method
CN101355399A (en) * 2008-08-15 2009-01-28 中兴通讯股份有限公司 Method for implementing bidirectional automatic switch of sub-network connection protection
WO2012079328A1 (en) * 2010-12-16 2012-06-21 中兴通讯股份有限公司 Switching method and system for multiplex section protection and packet transport network device
CN102752126A (en) * 2011-04-22 2012-10-24 中兴通讯股份有限公司 Automatic protection switching method, main device and standby device

Also Published As

Publication number Publication date
CN107888280A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
WO2015131537A1 (en) Bidirectional forwarding detection method, device, and system, and computer storage medium
US7660236B2 (en) System and method of multi-nodal APS control protocol signaling
EP2632081B1 (en) Path switch-back method and apparatus in transport network
KR20120040261A (en) Method, device and system for updating ring network topology information
CN103518381A (en) Protection for fibre optic access networks
CN102882704A (en) Link protection method and apparatus in soft restart upgrade process of ISSU (in-service software upgrade)
US10033573B2 (en) Protection switching method, network, and system
WO2012065409A1 (en) Method and apparatus for packet transport network protection
CN107431655B (en) Method and apparatus for fault propagation in segment protection
US20120294603A1 (en) Method and System for Service Protection
WO2018059344A1 (en) Method, apparatus, and system for multiplex section protection bidirectional switchover and computer storage medium
CN102882779A (en) VRRP (Virtual Router Redundancy Protocol) advertisement link protection method and system
KR20130039312A (en) Method of shared mesh protection switching
WO2008095390A1 (en) An equipment for detecting the line fault of the pseudo wire emulation and a method thereof
WO2015180265A1 (en) Multi-link protection switching method and device
CN110224845B (en) Method, system and related equipment for delimiting transmission faults
WO2014113966A1 (en) Alarm inhibition method and optical network device
WO2014079010A1 (en) Service protection method, device and system
JP2005268889A (en) Transmission path switching system and operating method of the transmission path switching system
CN102487327B (en) Service switch method and device
KR102126222B1 (en) Method and appratus for interworking protection switching
JP6204397B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
JP5349229B2 (en) Method for identifying fault location in packet ring network and system for executing the method
WO2017107482A1 (en) Network protection method and device
JP5760729B2 (en) COMMUNICATION DEVICE, NETWORK, AND COMMUNICATION METHOD USED FOR THEM

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

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

Country of ref document: EP

Kind code of ref document: A1