WO2016127806A1 - Path protection method and system - Google Patents

Path protection method and system Download PDF

Info

Publication number
WO2016127806A1
WO2016127806A1 PCT/CN2016/072310 CN2016072310W WO2016127806A1 WO 2016127806 A1 WO2016127806 A1 WO 2016127806A1 CN 2016072310 W CN2016072310 W CN 2016072310W WO 2016127806 A1 WO2016127806 A1 WO 2016127806A1
Authority
WO
WIPO (PCT)
Prior art keywords
protection
path
protection group
nth
group
Prior art date
Application number
PCT/CN2016/072310
Other languages
French (fr)
Chinese (zh)
Inventor
卢鸿飞
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to MYPI2017001098A priority Critical patent/MY185661A/en
Publication of WO2016127806A1 publication Critical patent/WO2016127806A1/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

Definitions

  • This application relates to, but is not limited to, the field of network technology.
  • the related art 1+1 linear protection technology provides protection against a path failure according to the work and protection line status.
  • the industry uses the control plane, namely ASON (Automatically Switched Optical Network).
  • the control plane implements service protection against multiple path failures.
  • SPC software permanent connection
  • SC software connection
  • PC permanent connection
  • This paper provides a path protection method and system to solve the problem of PC business against multiple path failures.
  • a path protection method comprising:
  • the working path and the N protection paths are grouped into N protection groups, and the nth protection group includes a path nested with the n-1th protection group and one that has not been added to any other protection group. Protection path, 2 ⁇ n ⁇ N-1;
  • n values from low to high, set the holdoff time corresponding to each protection group from small to large;
  • the holdoff time count of the nth protection group is started;
  • the path from the nested n-1th protection group to the protection path is performed in the nth protection group.
  • the method further includes:
  • the holdoff time count of the nth protection group is started, and an alarm signal is sent, where the current working path is nested n-1 The path of the protection group or the protection path of the nth protection group;
  • the nth protection group After the countdown expires, the nth protection group performs switching within the protection group.
  • the method further includes:
  • the logical relay Constructing a logical relay for each protection group, the logical relay including a sending port and a receiving port;
  • the logically transmitted transmit port and the receive port are looped back in sequence such that the information sent by the logically transited transmit port of any protection group is received by the logically transited receive port of the other protection group.
  • the method further includes:
  • the method further includes:
  • the working path and a protection path are combined into the first protection group
  • the path of the N-1th protection group and one protection path are formed into an Nth protection group.
  • the method further includes:
  • the first protection group When the working path fails, the first protection group sends an alarm signal and starts a holdoff time countdown corresponding to the first protection group;
  • the switching from the working path to the protection path is performed in the first protection group.
  • the method further includes:
  • the Nth protection group When detecting an alarm signal sent by a path of the N-1th protection group or a failure of the protection path in the Nth protection group, the Nth protection group starts a corresponding holdoff time countdown;
  • the Nth protection group detects the path of the nested N-1 protection group or the protection path of the Nth protection group after the countdown expires, and the fault occurs when the fault still exists. Switching within N protection groups.
  • the method further includes:
  • the working path and the path of the nested N-1 protection group are formed into the Nth protection group.
  • the method further includes:
  • the first protection group sends an alarm signal and starts a holdoff time countdown of the first protection group
  • the first protection group performs switching in the first protection group after the corresponding holdoff time counts down.
  • the method further includes:
  • the Nth protection group starts a corresponding holdoff time countdown
  • the Nth protection group After the countdown of the corresponding holdoff time expires, the Nth protection group performs switching of the path from the working path to the nested N-1 protection group in the Nth protection group.
  • a path protection system comprising:
  • the nested structure building module is configured to form a working path and N protection paths into N protection groups in the ODUK layer, and the nth protection group includes a path nested in the n-1th protection group and one has not been added to any other Protection path of the protection group, 2 ⁇ n ⁇ N-1;
  • the holdoff time management module is configured to set a holdoff time corresponding to each protection group from small to large according to the order of n values from low to high;
  • the timing module is configured to: when the nth protection group detects the alarm signal sent by any of the first to n-1th protection groups, start the holdoff time countdown of the nth protection group;
  • the fault confirmation module is configured to: after the countdown expires, detect whether the alarm signal still exists;
  • the switching module is configured to perform switching of the path from the nested n-1th protection group to the protection path in the nth protection group when the alarm signal can still be detected.
  • the timing module is further configured to: when the nth protection group detects that the current working path in the protection group is faulty, start a holdoff time countdown of the nth protection group, and send an alarm signal.
  • the current working path is a path of the nested n-1 protection group or a protection path of the nth protection group;
  • the switching module is further configured to perform switching in the nth protection group after the countdown expires.
  • system further includes:
  • the logical relay maintenance module is configured to: construct a logical relay for each protection group, where the logical relay includes a sending port and a receiving port;
  • the information loopback module is configured to: loop back each of the logically transited transmit ports and the receive ports in sequence, so that the information sent by the logically transited transmit ports of any protection group is received by the logically transited receive ports of the other protection groups.
  • the nested structure building module is further configured to: form a working path and a protection path to form a first protection group,
  • the path of the N-1th protection group and one protection path are formed into an Nth protection group.
  • the timing module is further configured to: when the working path fails, control the first protection group to send an alarm signal and start a holdoff time countdown corresponding to the first protection group;
  • the switching module is further configured to perform switching from the working path to the protection path in the first protection group after the countdown of the first protection group is counted down.
  • the timing module is further configured to: when detecting an alarm signal sent by a path of the N-1th protection group or a failure of the protection path in the Nth protection group, start the foregoing Countdown of the corresponding holdoff time of the N protection groups;
  • the switching module is further configured to: detect, after the countdown expires, the path of the nested N-1 protection group that has failed or the state of the protection path in the Nth protection group, when the fault still exists Perform the switching within the Nth protection group.
  • the nested structure building module is further configured to: form two protection paths into the first protection group,
  • the working path and the path of the nested N-1 protection group are formed into the Nth protection group.
  • the timing module is further configured to: when any one of the protection paths in the first protection group fails, control the first protection group to send an alarm signal and start the first protection group. Countdown of the holdoff time;
  • the switching module is further configured to perform switching in the first protection group after the first protection group counts down at the corresponding holdoff time.
  • the timing module is further configured to: when the working path fails, start a countoff time corresponding to the Nth protection group;
  • the switching module is further configured to: perform switching of the path from the working path to the nested N-1 protection group in the Nth protection group after the corresponding holdoff time counts down.
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • a path protection method and system which divides a working path and N protection paths into N protection groups in an optical channel data unit (ODUK) layer, and the nth protection group includes an n-1th protection group and one has not yet joined other
  • the holdoff time count of the nth protection group is started, and after the countdown expires, it is detected whether the alarm signal still exists, and when the alarm signal can still be detected, at the nth
  • the protection of the path from the nested n-1th protection group to the protection path is performed within the protection group.
  • the high reliability nesting protection is realized, which solves the problem that the PC service is resistant to multiple path failures.
  • FIG. 1 is a schematic diagram of a protection group division manner according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic diagram of a protection group division manner according to Embodiment 2 of the present invention.
  • FIG. 3 is a schematic diagram of a protection network constructed according to the protection group division manner shown in FIG. 1 according to Embodiment 3 of the present invention
  • FIG. 4 is a schematic diagram of a protection network constructed according to the protection group division manner shown in FIG. 2 according to Embodiment 3 of the present invention
  • FIG. 5 is a flowchart of a path protection method according to Embodiment 4 of the present invention.
  • FIG. 6 is a schematic structural diagram of a path protection system according to Embodiment 5 of the present invention.
  • the related art 1+1 linear protection technology provides protection against a path failure according to the work and protection line status.
  • ASON control plane approach
  • the control plane implements the service protection against multiple path faults.
  • the SPC/SC service must be established before the protection of the PC service against multiple path faults.
  • the method is implemented; on the other hand, the protection realized by rerouting cannot meet the demand of large-capacity services in the switching time.
  • the embodiment of the invention provides a path protection method, which implements anti-multiple path protection by forming a logical transition of the working path and the final selection of all protection paths to form an ODUK1+1 protection group.
  • the protection group configuration and the logical transit configuration are required, as shown in Figure 1. After the configuration is complete, as long as there is no fault in any of the working path W and N+1 protection paths, the service can achieve lossless transmission.
  • the first protection path P1 and the second protection path P2 form an ODUK1+1 protection group PG1 at the ODUK layer, and the selector is set to logically transit (in the device, the logic is transferred to a part of the ODUK resource on the board) L1, the receiving port of the logical transit L1 resource is R1, and the sending port is S1. Therefore, the point selected by the selector of PG1 is R1 (the selected point is the last output position after the selector selects the service).
  • the third protection path P3 and the transmission point S1 of the logical relay L1 form an ODUK 1+1 group PG2 at the ODUK layer
  • the selector is set in the logical transit L2
  • the logical transit L2 resource receiving port is R2
  • the sending port is S2, therefore, the point of selection of the selector of PG2 is R2.
  • step N the N+1 protection path PN+1 and the logical transit LN-1 transmission point SN-1 form an ODUK 1+1 group PGN at the ODUK layer, and the selector is set in a logical transit LN, and the logical transit LN resource
  • the receiving port is the RN
  • the sending port is the SN. Therefore, the point selected by the PGN selector is the RN.
  • step N+1 the working path W and the transmission point SN of the logical relay LN form an ODUK 1+1 group PGN+1 at the ODUK layer, and the selector is set in the service downlink unit to implement the service downlink.
  • step N+2 the logical forwarding L1 to the LN receiving port and the sending port are sequentially looped back to implement alarm transmission of the receiving port and the sending port.
  • step N+3 the holdoff (delay) time of the PG2 to PGN+1 protection group is set to T in turn to implement protection nesting.
  • the protection group of the inner layer (that is, the numbered earlier) has a shorter holdoff time
  • the protection group of the outer layer (that is, the number is later) has a longer holdoff time.
  • step N+4 after the protection group and the logical relay are configured according to the above steps, the fault of the anti-N+1 path can be implemented. As long as any path of the W and PN+1 paths has no fault, the service can be protected.
  • the embodiment of the invention provides a path protection method, which implements an anti-multiple path protection by sequentially forming an ODUK1+1 protection group with each protection path through a working path.
  • the protection group configuration and the logical transit configuration are required. As shown in Figure 2, when the above content is configured properly, as long as the working path is W and N+1 protection If there is no fault in any path, the service can achieve lossless transmission.
  • the first work W and the first protection path P1 form an ODUK1+1 protection group PG1 at the ODUK layer
  • the selector is set in a logical transit L1
  • the logical transit L1 resource receiving port is R1
  • the sending port is S1. Therefore, the point at which the selector of PG1 is selected is R1.
  • the transmission point S1 of the logical relay L1 and the second protection path P2 form an ODUK 1+1 group PG2 in the ODUK layer
  • the selector is set in the logical transit L2
  • the receiving port of the logical transit L2 resource is R2
  • the sending port is S2, therefore, the point of selection of the selector of PG2 is R2.
  • step N the transmission point SN-1 of the logical relay LN-1 and the Nth protection path PN form an ODUK 1+1 group PGN at the ODUK layer, and the selector is set in the logical transit LN, and the logical transit LN resource
  • the receiving port is the RN
  • the sending port is the SN. Therefore, the point selected by the PGN selector is the RN.
  • step N+1 the transmission point SN of the logical transit LN and the N+1 protection path PN+1 are formed into an ODUK 1+1 group PGN+1 at the ODUK layer, and the selector is set in the service downlink unit to implement the service. road.
  • step N+2 the logical forwarding L1 to the LN receiving port and the sending port are sequentially looped back to implement alarm transmission of the receiving port and the sending port.
  • step N+3 the holdoff time of the PG2 to PGN+1 protection group is set to T in turn to implement protection nesting.
  • step N+4 after the protection group and the logical relay are configured according to the above steps, the fault of the anti-N+1 path can be implemented. As long as any path of the W and PN+1 paths has no fault, the service can be protected.
  • the following is an example of implementing a method for implementing two path failures with three routes.
  • the line-side board that is received by the working path is named W.
  • the line-side board received by protection path 1 is named P1
  • the line-side board received by protection path 2 is named P2
  • the cross-unit is named DXC.
  • the logical model is the same cross-unit in physical form.
  • the service downlink unit is the client-side board named C
  • the logical transit unit is named L1.
  • the logical relay can be any ODUK resource on the service board, and the L1 transmission point S1.
  • the L1 receiving point R1 corresponds to the ODUK scheduling sending port.
  • P1 and P2 are formed into ODUK1+1 protection group PG1, the selector is set in logical transit L1, the receiving port of logical transit L1 resource is R1, and the sending port is S1. Therefore, the point of selection of PG1 selector is R1. .
  • W and the transmission point S1 of the logical relay L1 form an ODUK1+1 protection group PG2, and the selector is set in the downlink unit C, and the service performs the downlink.
  • the third step is to set the loopback of the sending port S1 and the receiving port R1 of the logical transit L1, and loopback.
  • the ODU information received by the S1 can be synchronously transmitted to the R1 port, and the message is sent to the cross-unit DXC. If the message received by the S1 is alarmed, the R1 port can detect the same alarm and report it to the R1 port.
  • the controller of PG2 is used to trigger the protection group switching of PG2.
  • the fourth step is to set the holdoff time of protection group PG1 to 0, the holdoff time of PG2 to T, and the value of T to PG1 protection switching time. It is recommended to take 20ms to avoid PG2 switching when PG1 switching.
  • Step 5 When the working path, protection path 1, and protection path 2 are faulty on any two paths, the service traffic can be guaranteed to be intact. For example, if the working path fails first, the alarm is detected and reported to the controller of PG2. Since the holdoff time of PG2 is T (20ms), PG2 does not switch. After waiting for T (20ms), the fault of W is still detected. There is a PG2 switchover and a crossover to S1. At this time, the PG1 crossover remains at P1, so the entire service traffic is switched to the protection path 1. When the protection path 1 fails again, both P1 and S1 detect the fault and The alarms are reported to the controllers of PG1 and PG2 respectively.
  • the PG1 controller After the PG1 controller receives the alarm, the PG1 directly performs the switching because the holdoff time of PG1 is 0. The PG1 crosses the switch to P2. After the PG2 controller receives the alarm, The holdoff time of PG2 is T (20ms), so PG2 does not switch. After waiting for T (20ms), it detects that the fault of S1 has disappeared (because PG1 has been switched), PG2 does not switch, so the entire service traffic is switched to the protection path. 2.
  • W and P1 form the ODUK1+1 protection group PG1
  • the selector is set in the logical transit L1
  • the logical transit L1 resource receiving port is R1
  • the sending port is S1. Therefore, the PG1 selector selects the point as R1. .
  • the transmission points S1 and P2 of the logical relay L1 form an ODUK1+1 protection group PG2, and the selector is set in the downlink unit C, and the service performs the downlink.
  • the third step is to set the loopback of the sending port S1 and the receiving port R1 of the logical transit L1.
  • the ODU information received by the S1 can be synchronously transmitted to the R1 port and sent to the cross unit DXC, and if the S1 receives If the packet has an alarm, the R1 port can detect the same.
  • the alarm is reported to the controller of PG2, which is used to trigger the protection group switching of PG2.
  • the fourth step is to set the holdoff time of protection group PG1 to 0, the holdoff time of PG2 to T, and the value of T to PG1 protection switching time. It is recommended to take 20ms to avoid PG2 switching when PG1 switching.
  • Step 5 When the working path, protection path 1, and protection path 2 are faulty on any two paths, the service traffic can be guaranteed to be intact. For example, if the working path fails first, both W and S1 detect the alarm and report it to the controllers of PG1 and PG2 respectively. Since the holdoff time of PG1 is 0, PG1 is switched, and the crossover of PG1 is switched to P1. The holdoff time is T (20ms). After the PG2 controller receives the alarm, it does not switch.
  • the embodiment of the present invention provides a path protection method.
  • the process of using the method to complete multiple path protection is as shown in FIG. 5, and includes:
  • Step 501 Divide multiple protection groups to form a nested structure.
  • the working path and the N protection paths are divided into N protection groups in the optical channel data unit ODUK layer, and the nth protection group includes the n-1th protection group and a protection path that has not been added to any other protection group. , 2 ⁇ n ⁇ N-1.
  • the N-1 protection group and one protection path are divided into the Nth protection group.
  • the working path and the N-1th protection group are the Nth protection group.
  • a logical relay is constructed for each protection group, and the logical relay includes a sending port and a receiving port; and sequentially, each logically transmitted sending port and receiving port are looped back, so that any protection is performed.
  • the information sent by the sending port of the logical relay of the group is received by the receiving port of the logical relay of the other protection group.
  • the holdoff time corresponding to each protection group is set from small to large in order of n value from low to high. In this way, if the holdoff time of the outer layer (the larger n value) is longer, the outer layer can start detecting the working state after the inner layer switching completion alarm is cleared. Since the inner layer switching has been cancelled, the outer layer detection is performed. If the alarm is not reached, multiple switching will not occur, causing system confusion.
  • Step 502 When the n-1th protection group detects that the current working path in the protection group is faulty, start the holdoff time countdown of the n-1th protection group, and send an alarm signal;
  • the current working path is a path of the nested n-1 protection group or a protection path of the nth protection group.
  • Step 503 When the nth protection group detects the alarm signal sent by the n-1th protection group, start the holdoff time countdown of the nth protection group.
  • Step 504 After the countoff time of the n-1th protection group is counted down, the n-1th protection group performs switching in the protection group.
  • Step 505 After the countdown time of the nth protection group is counted down, it is detected whether the alarm signal still exists.
  • the nth to Nth protection groups can continue to detect the alarm signal to determine whether it is necessary to perform switching within the group.
  • the path to the switchover is fault-free, and the service data can be transmitted normally.
  • the n-1th protection group does not continue to send alarm signals.
  • Step 506 When the alarm signal is no longer detected, the original working state is maintained in the nth protection group.
  • Step 507 When the alarm signal can still be detected, the path of the nested n-1th protection group is switched to the protection path in the nth protection group.
  • the first protection group when the working path fails, the first protection group sends an alarm signal and starts the holdoff time corresponding to the first protection group;
  • the switching from the working path to the protection path is performed in the first protection group.
  • the Nth protection group When detecting an alarm signal sent by a path of the N-1th protection group or a failure of the protection path in the Nth protection group, the Nth protection group starts a corresponding holdoff time countdown;
  • the Nth protection group detects the path of the nested N-1 protection group or the protection path of the Nth protection group after the countdown expires, and the fault occurs when the fault still exists. Switching within N protection groups.
  • the first protection group performs switching in the first protection group after the corresponding holdoff time counts down.
  • the Nth protection group starts a corresponding holdoff time countdown
  • the Nth protection group After the countdown of the corresponding holdoff time expires, the Nth protection group performs switching of the path from the working path to the nested N-1 protection group in the Nth protection group.
  • the embodiment of the invention provides a path protection system.
  • the structure of the system is as shown in FIG. 6 and includes:
  • the nested structure construction module 601 is configured to: form a working path and N protection paths into N protection groups in the ODUK layer, and the nth protection group includes a path of the n-1th protection group nested and one has not been added to the other The protection path of any protection group, 2 ⁇ n ⁇ N-1;
  • the holdoff time management module 602 is configured to: set the holdoff time corresponding to each protection group from small to large according to the order of n values from low to high;
  • the timing module 603 is configured to: when the nth protection group detects the alarm signal sent by any of the first to n-1th protection groups, start the holdoff time countdown of the nth protection group;
  • the fault confirmation module 604 is configured to: after the countdown expires, detect whether the alarm signal still exists;
  • the switching module 605 is configured to perform switching of the path from the nested n-1th protection group to the protection path in the nth protection group when the alarm signal can still be detected.
  • the timing module 603 is further configured to: when the nth protection group detects that the current working path in the protection group is faulty, start a holdoff time countdown of the nth protection group, and send an alarm signal.
  • the current working path is a path of the nested n-1 protection group or a protection path of the nth protection group;
  • the switching module 605 is further configured to perform switching in the nth protection group after the countdown expires.
  • system further includes:
  • the logical relay maintenance module 606 is configured to: construct a logical relay for each protection group, where the logical relay includes a sending port and a receiving port;
  • the information loopback module 607 is configured to: loop back each of the logically transited transmit ports and the receive ports in sequence, so that the information sent by the logically transited transmit ports of any protection group is received by the logically transited receive ports of other protection groups. .
  • the nested structure building module 601 is further configured to: form a working path and a protection path into a first protection group,
  • the path of the N-1th protection group and one protection path are formed into an Nth protection group.
  • the timing module 603 is further configured to: when the working path fails, control the first protection group to send an alarm signal and start a holdoff time countdown corresponding to the first protection group;
  • the switching module 605 is further configured to perform switching from the working path to the protection path in the first protection group after the countdown of the first protection group is counted down.
  • the timing module 603 is further configured to: when detecting an alarm signal sent by a path of the N-1th protection group or a failure of the protection path in the Nth protection group, start the The corresponding holdoff time countdown of the Nth protection group;
  • the switching module 605 is further configured to: detect, after the countdown expires, the path of the nested N-1 protection group that has failed or the status of the protection path in the Nth protection group, when the fault still exists The Nth protection group performs switching.
  • the nested structure construction module 601 is further configured to: form two protection paths into the first protection group,
  • the working path and the path of the nested N-1 protection group are formed into the Nth protection group.
  • the timing module 603 is further configured to: when any one of the protection paths in the first protection group fails, control the first protection group to send an alarm signal and start the first protection. Countdown of the group's holdoff time;
  • the switching module 605 is further configured to perform switching in the first protection group after the first protection group counts down at the corresponding holdoff time.
  • the timing module 603 is further configured to: when the working path fails, start a holdoff time countdown corresponding to the Nth protection group;
  • the switching module 605 is further configured to perform switching of the path from the working path to the nested N-1 protection group in the Nth protection group after the corresponding holdoff time counts down.
  • the above path protection system can be integrated into the transmission device, and the transmission device performs the corresponding function.
  • the embodiment of the invention provides a path protection method and system.
  • the working path and the N protection paths are divided into N protection groups in the ODUK layer, and the nth protection group includes the n-1th protection group and one has not yet joined other
  • the holdoff time count of the nth protection group is started, and after the countdown expires, it is detected whether the alarm signal still exists, and when the alarm signal can still be detected, at the nth
  • the protection of the path from the nested n-1th protection group to the protection path is performed within the protection group.
  • the high reliability nesting protection is realized, which solves the problem that the PC service is resistant to multiple path failures.
  • the WASON can only ensure that the SC/SPC service is resistant to multiple path faults, and the embodiment of the present invention can implement the PC service to resist multiple path effects;
  • the method of the present invention is to use the re-routing method to implement the recovery, that is, to calculate a new protection service path when the service is faulty, and perform the conversion after the calculation, and the embodiment of the present invention is pre-configured before the service failure.
  • the protection path when the service fails, the service directly switches to the protection path, which reduces the service interruption time.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/function unit in the above embodiment is implemented in the form of a software function module and When sold or used as a stand-alone product, it can be stored on a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the embodiment of the invention achieves high reliability nesting protection and solves the problem that the PC service is resistant to multiple path failures. Moreover, the embodiment of the present invention pre-configures the protection path before the service failure. When the service fails, the service directly switches to the protection path, which reduces the service interruption time and can meet the requirements of the large-capacity service.

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Refuge Islands, Traffic Blockers, Or Guard Fence (AREA)

Abstract

Disclosed are a path protection method and system. The method comprises: constituting N protection group at an ODUK layer with a working path and N protection paths, wherein the nth protection group contains a path nesting an (n-1)th protection group and a protection path without any other protection group joining in, 2≤n≤N-1; according to a sequence of the values of n from small to large, setting a holdoff time corresponding to each protection group from small to large; when the nth protection group detects an alarm signal sent out by any one of the first to the (n-1)th protection groups, starting countdown of the holdoff time of the nth protection group; after the countdown is finished, detecting whether the alarm signal still exists; and when the alarm signal can still be detected, performing switching from the path nesting the (n-1)th protection group to the protection path in the nth protection group.

Description

路径保护方法和系统Path protection method and system 技术领域Technical field
本申请涉及但不限于网络技术领域。This application relates to, but is not limited to, the field of network technology.
背景技术Background technique
随着网络业务对带宽的需求越来越大,运营商和系统制造商一直在不断地考虑改进业务传送技术的问题。数字传送网的演化也从最初的基于T1/E1的第一代数字传送网,经历了基于SONET(Synchronous Optical Network,同步光纤网络)/SDH(Synchronous Digital Hierarchy,同步数字体系)的第二代数字传送网,发展到了目前以OTN(OpticalTransportNetwork,光传送网)为基础的第三代数字传送网。作为下一代传送网,OTN所面临的网络环境更加复杂,其网络的生存性是OTN的一个很重要的问题。As the demand for bandwidth in network services grows, operators and system manufacturers are constantly considering the issue of improving service delivery technologies. The evolution of digital transport network has also experienced the second generation of digital based on SONET (Synchronous Optical Network)/SDH (Synchronous Digital Hierarchy) based on the original T1/E1 based first generation digital transmission network. The transmission network has developed into a third-generation digital transmission network based on OTN (Optical Transport Network). As a next-generation transport network, the network environment faced by OTN is more complicated, and the survivability of its network is a very important issue for OTN.
相关技术的1+1线性保护技术根据工作、保护线路状态,提供抗一条路径故障的保护。对于抗多条路径故障的线性保护,业界使用的是控制平面的方式,即ASON(Automatically Switched Optical Network,自动交换光网络)。The related art 1+1 linear protection technology provides protection against a path failure according to the work and protection line status. For the linear protection against multiple path faults, the industry uses the control plane, namely ASON (Automatically Switched Optical Network).
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
控制平面的方式实现抗多条路径故障的业务保护,一方面必须建立SPC(软件永久连接)/SC(软件连接)业务才可以进行,而对于PC(永久连接)/业务抗多条路径故障的保护则没有办法实现;另一方面通过重路由实现的保护在倒换时间上也不能满足大容量业务的需求。The control plane implements service protection against multiple path failures. On the one hand, SPC (software permanent connection)/SC (software connection) service must be established, and PC (permanent connection)/service is resistant to multiple path failures. There is no way to protect it; on the other hand, the protection realized by rerouting cannot meet the demand of large-capacity services in the switching time.
本文提供了一种路径保护方法和系统,解决了PC业务抗多条路径故障的问题。 This paper provides a path protection method and system to solve the problem of PC business against multiple path failures.
一种路径保护方法,包括:A path protection method comprising:
在光通道数据单元(ODUK)层将工作路径与N条保护路径组成N个保护组,第n个保护组包含一条嵌套第n-1个保护组的路径和一条尚未加入其他任何保护组的保护路径,2≤n≤N-1;In the optical channel data unit (ODUK) layer, the working path and the N protection paths are grouped into N protection groups, and the nth protection group includes a path nested with the n-1th protection group and one that has not been added to any other protection group. Protection path, 2≤n≤N-1;
按照n值从低到高的顺序,从小到大的设置每个保护组对应的holdoff(延迟)时间;According to the order of n values from low to high, set the holdoff time corresponding to each protection group from small to large;
在第n个保护组检测到第1至第n-1个保护组中任一发出的告警信号时,启动该第n个保护组的holdoff时间倒计时;When the nth protection group detects any one of the first to n-1th protection groups, the holdoff time count of the nth protection group is started;
在倒计时到时后,检测所述告警信号是否仍存在;After the countdown expires, it is detected whether the alarm signal still exists;
当仍能检测到告警信号时,在该第n个保护组内进行由嵌套第n-1个保护组的路径向保护路径的倒换。When the alarm signal can still be detected, the path from the nested n-1th protection group to the protection path is performed in the nth protection group.
可选的,该方法还包括:Optionally, the method further includes:
在第n个保护组检测到该保护组内当前的工作路径发生故障时,启动该第n个保护组的holdoff时间倒计时,并发出告警信号,所述当前的工作路径为嵌套第n-1保护组的路径或该第n个保护组的保护路径;When the nth protection group detects that the current working path in the protection group is faulty, the holdoff time count of the nth protection group is started, and an alarm signal is sent, where the current working path is nested n-1 The path of the protection group or the protection path of the nth protection group;
在倒计时到时后,所述第n个保护组在该保护组内进行倒换。After the countdown expires, the nth protection group performs switching within the protection group.
可选的,该方法还包括:Optionally, the method further includes:
为每个保护组构建一个逻辑中转,所述逻辑中转包含一发送端口和一接收端口;Constructing a logical relay for each protection group, the logical relay including a sending port and a receiving port;
依次将每个逻辑中转的发送端口和接收端口环回,以使得任一保护组的逻辑中转的发送端口发送的信息被其他保护组的逻辑中转的接收端口接收。The logically transmitted transmit port and the receive port are looped back in sequence such that the information sent by the logically transited transmit port of any protection group is received by the logically transited receive port of the other protection group.
可选的,在倒计时到时后,检测所述告警信号是否仍存在的步骤之后,还包括:Optionally, after the step of detecting that the alarm signal still exists after the countdown expires, the method further includes:
当不再检测到所述告警信号时,所述第n个保护组内维持原有工作状态。When the alarm signal is no longer detected, the original working state is maintained in the nth protection group.
可选的,该方法还包括: Optionally, the method further includes:
将工作路径和一条保护路径组成第1个保护组;The working path and a protection path are combined into the first protection group;
将嵌套第N-1个保护组的路径和一条保护路径组成第N个保护组。The path of the N-1th protection group and one protection path are formed into an Nth protection group.
可选的,该方法还包括:Optionally, the method further includes:
当所述工作路径发生故障时,所述第1个保护组发出告警信号并启动该第1个保护组对应的holdoff时间倒计时;When the working path fails, the first protection group sends an alarm signal and starts a holdoff time countdown corresponding to the first protection group;
在所述第1个保护组对应的holdoff时间倒计时到时后,所述第1个保护组内进行由工作路径向保护路径的倒换。After the countdown of the holdoff time corresponding to the first protection group expires, the switching from the working path to the protection path is performed in the first protection group.
可选的,该方法还包括:Optionally, the method further includes:
当检测到嵌套第N-1个保护组的路径发出的告警信号或该第N个保护组内的保护路径发生故障时,所述第N个保护组启动相应的holdoff时间倒计时;When detecting an alarm signal sent by a path of the N-1th protection group or a failure of the protection path in the Nth protection group, the Nth protection group starts a corresponding holdoff time countdown;
所述第N个保护组在倒计时到时后检测发生故障的嵌套第N-1个保护组的路径或该第N个保护组内的保护路径的状态,在故障仍存在时在所述第N个保护组内进行倒换。The Nth protection group detects the path of the nested N-1 protection group or the protection path of the Nth protection group after the countdown expires, and the fault occurs when the fault still exists. Switching within N protection groups.
可选的,该方法还包括:Optionally, the method further includes:
将两条保护路径组成第1个保护组;Combine two protection paths into the first protection group;
将工作路径和嵌套第N-1个保护组的路径组成第N个保护组。The working path and the path of the nested N-1 protection group are formed into the Nth protection group.
可选的,该方法还包括:Optionally, the method further includes:
当所述第1个保护组中的任一保护路径发生故障时,所述第1个保护组发出告警信号并启动该第1个保护组的holdoff时间倒计时;When any protection path in the first protection group fails, the first protection group sends an alarm signal and starts a holdoff time countdown of the first protection group;
所述第1个保护组在对应的holdoff时间倒计时到时后,在该第1个保护组内进行倒换。The first protection group performs switching in the first protection group after the corresponding holdoff time counts down.
可选的,该方法还包括:Optionally, the method further includes:
当所述工作路径发生故障时,所述第N个保护组启动对应的holdoff时间倒计时;When the working path fails, the Nth protection group starts a corresponding holdoff time countdown;
所述第N个保护组在对应的holdoff时间倒计时到时后,在所述第N个保护组内进行由所述工作路径向嵌套第N-1个保护组的路径的倒换。 After the countdown of the corresponding holdoff time expires, the Nth protection group performs switching of the path from the working path to the nested N-1 protection group in the Nth protection group.
一种路径保护系统,包括:A path protection system comprising:
嵌套结构构建模块,设置为:在ODUK层将工作路径与N条保护路径组成N个保护组,第n个保护组包含一条嵌套第n-1个保护组的路径和一条尚未加入其他任何保护组的保护路径,2≤n≤N-1;The nested structure building module is configured to form a working path and N protection paths into N protection groups in the ODUK layer, and the nth protection group includes a path nested in the n-1th protection group and one has not been added to any other Protection path of the protection group, 2≤n≤N-1;
holdoff时间管理模块,设置为:按照n值从低到高的顺序,从小到大的设置每个保护组对应的holdoff时间;The holdoff time management module is configured to set a holdoff time corresponding to each protection group from small to large according to the order of n values from low to high;
计时模块,设置为:在第n个保护组检测到第1至第n-1个保护组中任一发出的告警信号时,启动该第n个保护组的holdoff时间倒计时;The timing module is configured to: when the nth protection group detects the alarm signal sent by any of the first to n-1th protection groups, start the holdoff time countdown of the nth protection group;
故障确认模块,设置为:在倒计时到时后,检测所述告警信号是否仍存在;The fault confirmation module is configured to: after the countdown expires, detect whether the alarm signal still exists;
倒换模块,设置为:当仍能检测到告警信号时,在该第n个保护组内进行由嵌套第n-1个保护组的路径向保护路径的倒换。The switching module is configured to perform switching of the path from the nested n-1th protection group to the protection path in the nth protection group when the alarm signal can still be detected.
可选的,所述计时模块,还设置为:在第n个保护组检测到该保护组内当前的工作路径发生故障时,启动该第n个保护组的holdoff时间倒计时,并发出告警信号,所述当前的工作路径为嵌套第n-1保护组的路径或该第n个保护组的保护路径;Optionally, the timing module is further configured to: when the nth protection group detects that the current working path in the protection group is faulty, start a holdoff time countdown of the nth protection group, and send an alarm signal. The current working path is a path of the nested n-1 protection group or a protection path of the nth protection group;
所述倒换模块,还设置为:在倒计时到时后,在所述第n个保护组内进行倒换。The switching module is further configured to perform switching in the nth protection group after the countdown expires.
可选的,该系统还包括:Optionally, the system further includes:
逻辑中转维护模块,设置为:为每个保护组构建一个逻辑中转,所述逻辑中转包含一发送端口和一接收端口;The logical relay maintenance module is configured to: construct a logical relay for each protection group, where the logical relay includes a sending port and a receiving port;
信息环回模块,设置为:依次将每个逻辑中转的发送端口和接收端口环回,以使得任一保护组的逻辑中转的发送端口发送的信息被其他保护组的逻辑中转的接收端口接收。The information loopback module is configured to: loop back each of the logically transited transmit ports and the receive ports in sequence, so that the information sent by the logically transited transmit ports of any protection group is received by the logically transited receive ports of the other protection groups.
可选的,所述嵌套结构构建模块,还设置为:将工作路径和一条保护路径组成第1个保护组,Optionally, the nested structure building module is further configured to: form a working path and a protection path to form a first protection group,
将嵌套第N-1个保护组的路径和一条保护路径组成第N个保护组。 The path of the N-1th protection group and one protection path are formed into an Nth protection group.
可选的,所述计时模块,还设置为:当所述工作路径发生故障时,控制所述第1个保护组发出告警信号并启动该第1个保护组对应的holdoff时间倒计时;Optionally, the timing module is further configured to: when the working path fails, control the first protection group to send an alarm signal and start a holdoff time countdown corresponding to the first protection group;
所述倒换模块,还设置为:在所述第1个保护组对应的holdoff时间倒计时到时后,在所述第1个保护组内进行由工作路径向保护路径的倒换。The switching module is further configured to perform switching from the working path to the protection path in the first protection group after the countdown of the first protection group is counted down.
可选的,所述计时模块,还设置为:当检测到嵌套第N-1个保护组的路径发出的告警信号或该第N个保护组内的保护路径发生故障时,启动所述第N个保护组相应的holdoff时间倒计时;Optionally, the timing module is further configured to: when detecting an alarm signal sent by a path of the N-1th protection group or a failure of the protection path in the Nth protection group, start the foregoing Countdown of the corresponding holdoff time of the N protection groups;
所述倒换模块,还设置为:在倒计时到时后检测发生故障的嵌套第N-1个保护组的路径或该第N个保护组内的保护路径的状态,在故障仍存在时在所述第N个保护组内进行倒换。The switching module is further configured to: detect, after the countdown expires, the path of the nested N-1 protection group that has failed or the state of the protection path in the Nth protection group, when the fault still exists Perform the switching within the Nth protection group.
可选的,所述嵌套结构构建模块,还设置为:将两条保护路径组成第1个保护组,Optionally, the nested structure building module is further configured to: form two protection paths into the first protection group,
将工作路径和嵌套第N-1个保护组的路径组成第N个保护组。The working path and the path of the nested N-1 protection group are formed into the Nth protection group.
可选的,所述计时模块,还设置为:当所述第1个保护组中的任一保护路径发生故障时,控制所述第1个保护组发出告警信号并启动该第1个保护组的holdoff时间倒计时;Optionally, the timing module is further configured to: when any one of the protection paths in the first protection group fails, control the first protection group to send an alarm signal and start the first protection group. Countdown of the holdoff time;
所述倒换模块,还设置为:在所述第1个保护组在对应的holdoff时间倒计时到时后,在该第1个保护组内进行倒换。The switching module is further configured to perform switching in the first protection group after the first protection group counts down at the corresponding holdoff time.
可选的,所述计时模块,还设置为:当所述工作路径发生故障时,启动所述第N个保护组对应的holdoff时间倒计时;Optionally, the timing module is further configured to: when the working path fails, start a countoff time corresponding to the Nth protection group;
所述倒换模块,还设置为:在对应的holdoff时间倒计时到时后,在所述第N个保护组内进行由所述工作路径向嵌套第N-1个保护组的路径的倒换。The switching module is further configured to: perform switching of the path from the working path to the nested N-1 protection group in the Nth protection group after the corresponding holdoff time counts down.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of the above.
一种路径保护方法和系统,在光通道数据单元(ODUK)层将工作路径与N条保护路径划分为N个保护组,第n个保护组包含第n-1个保护组和一条尚未加入其他任何保护组的保护路径,2≤n≤N-1,按照n值从低到高的顺序,从小到大的设置每个保护组对应的holdoff时间,在第n个保护组检测到第n-1个保护组发出的告警信号时,启动该第n个保护组的holdoff时间倒计时,在倒计时到时后,检测所述告警信号是否仍存在,当仍能检测到告警信号时,在该第n个保护组内进行由嵌套第n-1个保护组的路径向保护路径的倒换。实现了高可靠性的嵌套保护,解决了PC业务抗多条路径故障的问题。A path protection method and system, which divides a working path and N protection paths into N protection groups in an optical channel data unit (ODUK) layer, and the nth protection group includes an n-1th protection group and one has not yet joined other The protection path of any protection group, 2 ≤ n ≤ N-1, in the order of n from low to high, from small to large, set the holdoff time corresponding to each protection group, and the nth in the nth protection group. When an alarm signal is sent by a protection group, the holdoff time count of the nth protection group is started, and after the countdown expires, it is detected whether the alarm signal still exists, and when the alarm signal can still be detected, at the nth The protection of the path from the nested n-1th protection group to the protection path is performed within the protection group. The high reliability nesting protection is realized, which solves the problem that the PC service is resistant to multiple path failures.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明的实施例一提供的一种保护组划分方式示意图;1 is a schematic diagram of a protection group division manner according to Embodiment 1 of the present invention;
图2为本发明的实施例二提供的一种保护组划分方式示意图;2 is a schematic diagram of a protection group division manner according to Embodiment 2 of the present invention;
图3为本发明的实施例三中按照图1所示的保护组划分方式构建的保护网络示意图;3 is a schematic diagram of a protection network constructed according to the protection group division manner shown in FIG. 1 according to Embodiment 3 of the present invention;
图4为本发明的实施例三中按照图2所示的保护组划分方式构建的保护网络示意图;4 is a schematic diagram of a protection network constructed according to the protection group division manner shown in FIG. 2 according to Embodiment 3 of the present invention;
图5为本发明的实施例四提供的一种路径保护方法的流程图;FIG. 5 is a flowchart of a path protection method according to Embodiment 4 of the present invention; FIG.
图6为本发明的实施例五提供的一种路径保护系统的结构示意图。FIG. 6 is a schematic structural diagram of a path protection system according to Embodiment 5 of the present invention.
本发明的实施方式Embodiments of the invention
相关技术的1+1线性保护技术根据工作、保护线路状态,提供抗一条路径故障的保护。对于抗多条路径故障的线性保护,业界使用的是控制平面的方式,即ASON。The related art 1+1 linear protection technology provides protection against a path failure according to the work and protection line status. For linear protection against multiple path failures, the industry uses a control plane approach, ASON.
控制平面的方式实现抗多条路径故障的业务保护,一方面必须建立SPC/SC业务才可以进行,而对于PC业务抗多条路径故障的保护则没有办 法实现;另一方面通过重路由实现的保护在倒换时间上也不能满足大容量业务的需求。The control plane implements the service protection against multiple path faults. On the one hand, the SPC/SC service must be established before the protection of the PC service against multiple path faults. The method is implemented; on the other hand, the protection realized by rerouting cannot meet the demand of large-capacity services in the switching time.
为了解决上述问题,本发明的实施例提供了一种路径保护方法和系统。下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to solve the above problems, embodiments of the present invention provide a path protection method and system. Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
首先结合附图,对本发明的实施例一进行说明。First, the first embodiment of the present invention will be described with reference to the accompanying drawings.
本发明实施例提供了一种路径保护方法,通过工作路径与所有保护路径最终选收的逻辑中转组成ODUK1+1保护组实现抗多条路径保护。The embodiment of the invention provides a path protection method, which implements anti-multiple path protection by forming a logical transition of the working path and the final selection of all protection paths to form an ODUK1+1 protection group.
在存在一条工作路径W和N+1(N值可根据实际需要配置,如N=3)条保护路径的情况下,需进行保护组配置及逻辑中转配置,如图1所示,当上述内容配置完好后,只要工作路径W和N+1条保护路径存在任意一条路径没有故障,业务即可实现无损传输。In the case that there is a working path W and N+1 (the value of N can be configured according to the actual needs, such as N=3), the protection group configuration and the logical transit configuration are required, as shown in Figure 1. After the configuration is complete, as long as there is no fault in any of the working path W and N+1 protection paths, the service can achieve lossless transmission.
本发明实施例提供的路径保护方法包括以下步骤:The path protection method provided by the embodiment of the present invention includes the following steps:
第一步将第一条保护路径P1与第二条保护路径P2在ODUK层组成ODUK1+1保护组PG1,选择器设置在逻辑中转(在设备中,逻辑中转为单板上的一部分ODUK资源)L1,逻辑中转L1资源的接收端口为R1,发送端口为S1,因此,PG1的选择器选收的点为R1(选收的点即为选择器选择业务后最后输出的位置)。In the first step, the first protection path P1 and the second protection path P2 form an ODUK1+1 protection group PG1 at the ODUK layer, and the selector is set to logically transit (in the device, the logic is transferred to a part of the ODUK resource on the board) L1, the receiving port of the logical transit L1 resource is R1, and the sending port is S1. Therefore, the point selected by the selector of PG1 is R1 (the selected point is the last output position after the selector selects the service).
第二步将第三条保护路径P3与逻辑中转L1的发送点S1在ODUK层组成ODUK 1+1组PG2,选择器设置在逻辑中转L2,逻辑中转L2资源的接收端口为R2,发送端口为S2,因此,PG2的选择器选收的点为R2。In the second step, the third protection path P3 and the transmission point S1 of the logical relay L1 form an ODUK 1+1 group PG2 at the ODUK layer, the selector is set in the logical transit L2, and the logical transit L2 resource receiving port is R2, and the sending port is S2, therefore, the point of selection of the selector of PG2 is R2.
……......
第N步将第N+1条保护路径PN+1与逻辑中转LN-1的发送点SN-1在ODUK层组成ODUK 1+1组PGN,选择器设置在逻辑中转LN,逻辑中转LN资源的接收端口为RN,发送端口为SN,因此,PGN的选择器选收的点为RN。 In step N, the N+1 protection path PN+1 and the logical transit LN-1 transmission point SN-1 form an ODUK 1+1 group PGN at the ODUK layer, and the selector is set in a logical transit LN, and the logical transit LN resource The receiving port is the RN, and the sending port is the SN. Therefore, the point selected by the PGN selector is the RN.
第N+1步将工作路径W与逻辑中转LN的发送点SN在ODUK层组成ODUK 1+1组PGN+1,选择器设置在业务下路单元,实现业务下路。In step N+1, the working path W and the transmission point SN of the logical relay LN form an ODUK 1+1 group PGN+1 at the ODUK layer, and the selector is set in the service downlink unit to implement the service downlink.
第N+2步,依次将逻辑中转L1到LN的接收端口和发送端口环回,实现接收端口和发送端口告警传递。In step N+2, the logical forwarding L1 to the LN receiving port and the sending port are sequentially looped back to implement alarm transmission of the receiving port and the sending port.
第N+3步,依次设置PG2到PGN+1保护组的holdoff(延迟)时间为T,实现保护嵌套。较里层(即编号较靠前)的保护组的holdoff时间较短,较外层(即编号较靠后)的保护组的holdoff时间较长。In step N+3, the holdoff (delay) time of the PG2 to PGN+1 protection group is set to T in turn to implement protection nesting. The protection group of the inner layer (that is, the numbered earlier) has a shorter holdoff time, and the protection group of the outer layer (that is, the number is later) has a longer holdoff time.
第N+4步,保护组和逻辑中转按照上述步骤配置好之后,可以实现抗N+1条路径的故障,只要W和PN+1条路径任意一条路径没有故障,业务就可以实现保护。In step N+4, after the protection group and the logical relay are configured according to the above steps, the fault of the anti-N+1 path can be implemented. As long as any path of the W and PN+1 paths has no fault, the service can be protected.
下面结合附图,对本发明的实施例二进行说明。Embodiment 2 of the present invention will be described below with reference to the accompanying drawings.
本发明实施例提供了一种路径保护方法,通过工作路径依次与每条保护路径组成ODUK1+1保护组实现抗多条路径保护。The embodiment of the invention provides a path protection method, which implements an anti-multiple path protection by sequentially forming an ODUK1+1 protection group with each protection path through a working path.
在存在一条工作路径W和N+1条保护路径的情况下,需进行保护组配置及逻辑中转配置,如图2所示,当上述内容配置完好后,只要工作路径W和N+1条保护路径存在任意一条路径没有故障,业务即可实现无损传输。In the case that there is a working path W and N+1 protection paths, the protection group configuration and the logical transit configuration are required. As shown in Figure 2, when the above content is configured properly, as long as the working path is W and N+1 protection If there is no fault in any path, the service can achieve lossless transmission.
本发明实施例提供的路径保护方法包括以下步骤:The path protection method provided by the embodiment of the present invention includes the following steps:
第一步将第一条工作W与第一条保护路径P1在ODUK层组成ODUK1+1保护组PG1,选择器设置在逻辑中转L1,逻辑中转L1资源的接收端口为R1,发送端口为S1,因此,PG1的选择器选收的点为R1。In the first step, the first work W and the first protection path P1 form an ODUK1+1 protection group PG1 at the ODUK layer, the selector is set in a logical transit L1, the logical transit L1 resource receiving port is R1, and the sending port is S1. Therefore, the point at which the selector of PG1 is selected is R1.
第二步将逻辑中转L1的发送点S1与第2条保护路径P2在ODUK层组成ODUK 1+1组PG2,选择器设置在逻辑中转L2,逻辑中转L2资源的接收端口为R2,发送端口为S2,因此,PG2的选择器选收的点为R2。In the second step, the transmission point S1 of the logical relay L1 and the second protection path P2 form an ODUK 1+1 group PG2 in the ODUK layer, the selector is set in the logical transit L2, and the receiving port of the logical transit L2 resource is R2, and the sending port is S2, therefore, the point of selection of the selector of PG2 is R2.
……......
第N步将逻辑中转LN-1的发送点SN-1与第N条保护路径PN在ODUK层组成ODUK 1+1组PGN,选择器设置在逻辑中转LN,逻辑中转LN资源 的接收端口为RN,发送端口为SN,因此,PGN的选择器选收的点为RN。In step N, the transmission point SN-1 of the logical relay LN-1 and the Nth protection path PN form an ODUK 1+1 group PGN at the ODUK layer, and the selector is set in the logical transit LN, and the logical transit LN resource The receiving port is the RN, and the sending port is the SN. Therefore, the point selected by the PGN selector is the RN.
第N+1步将将逻辑中转LN的发送点SN与第N+1条保护路径PN+1在ODUK层组成ODUK 1+1组PGN+1,选择器设置在业务下路单元,实现业务下路。In step N+1, the transmission point SN of the logical transit LN and the N+1 protection path PN+1 are formed into an ODUK 1+1 group PGN+1 at the ODUK layer, and the selector is set in the service downlink unit to implement the service. road.
第N+2步,依次将逻辑中转L1到LN的接收端口和发送端口环回,实现接收端口和发送端口告警传递。In step N+2, the logical forwarding L1 to the LN receiving port and the sending port are sequentially looped back to implement alarm transmission of the receiving port and the sending port.
第N+3步,依次设置PG2到PGN+1保护组的holdoff时间为T,实现保护嵌套。In step N+3, the holdoff time of the PG2 to PGN+1 protection group is set to T in turn to implement protection nesting.
第N+4步,保护组和逻辑中转按照上述步骤配置好之后,可以实现抗N+1条路径的故障,只要W和PN+1条路径任意一条路径没有故障,业务就可以实现保护。In step N+4, after the protection group and the logical relay are configured according to the above steps, the fault of the anti-N+1 path can be implemented. As long as any path of the W and PN+1 paths has no fault, the service can be protected.
下面结合附图,对本发明的实施例三进行说明。Embodiment 3 of the present invention will be described below with reference to the accompanying drawings.
下面以3条路由实现抗2条路径故障的方法为例进行介绍。将工作路径接收的线路侧单板命名为W,保护路径1接收的线路侧单板命名为P1,保护路径2接收的线路侧单板命名为P2,交叉单元命名为DXC,图中两个DXC逻辑模型在物理形态上是同一个交叉单元,业务下路单元即客户侧单板命名为C,逻辑中转单元命名为L1,该逻辑中转可以是任意一块业务板上的ODUK资源,L1发送点S1对应ODUK调度接收口,L1接收点R1对应ODUK调度发送口。The following is an example of implementing a method for implementing two path failures with three routes. Name the line-side board that is received by the working path as W. The line-side board received by protection path 1 is named P1, the line-side board received by protection path 2 is named P2, and the cross-unit is named DXC. The logical model is the same cross-unit in physical form. The service downlink unit is the client-side board named C, and the logical transit unit is named L1. The logical relay can be any ODUK resource on the service board, and the L1 transmission point S1. Corresponding to the ODUK scheduling receiving port, the L1 receiving point R1 corresponds to the ODUK scheduling sending port.
方法一:如图3所示。Method 1: As shown in Figure 3.
第一步将P1与P2组成ODUK1+1保护组PG1,选择器设置在逻辑中转L1,逻辑中转L1资源的接收端口为R1,发送端口为S1,因此,PG1的选择器选收的点为R1。In the first step, P1 and P2 are formed into ODUK1+1 protection group PG1, the selector is set in logical transit L1, the receiving port of logical transit L1 resource is R1, and the sending port is S1. Therefore, the point of selection of PG1 selector is R1. .
第二步将W与逻辑中转L1的发送点S1组成ODUK1+1保护组PG2,选择器设置在下路单元C,业务进行下路。In the second step, W and the transmission point S1 of the logical relay L1 form an ODUK1+1 protection group PG2, and the selector is set in the downlink unit C, and the service performs the downlink.
第三步将逻辑中转L1的发送端口S1和接收端口R1设置环回,环回 后,S1接收到的ODU信息可以同步传递到R1端口,并将报文发送到交叉单元DXC上,同时如果S1接收到的报文有告警的话,R1端口可以检测到同样的告警,并上报到PG2的控制器,用于触发PG2的保护组倒换。The third step is to set the loopback of the sending port S1 and the receiving port R1 of the logical transit L1, and loopback. After that, the ODU information received by the S1 can be synchronously transmitted to the R1 port, and the message is sent to the cross-unit DXC. If the message received by the S1 is alarmed, the R1 port can detect the same alarm and report it to the R1 port. The controller of PG2 is used to trigger the protection group switching of PG2.
第四步设置保护组PG1的holdoff时间为0,PG2的holdoff时间为T,T的取值标准为PG1保护倒换时间,建议取值20ms,从而避免PG1倒换时触发PG2进行倒换。The fourth step is to set the holdoff time of protection group PG1 to 0, the holdoff time of PG2 to T, and the value of T to PG1 protection switching time. It is recommended to take 20ms to avoid PG2 switching when PG1 switching.
第五步当工作路径、保护路径1,保护路径2任意两条路径故障的情况下,业务流量都可以保证不受损。例如工作路径先发生故障,此时W检测到告警并上报给PG2的控制器,由于PG2的holdoff时间为T(20ms),因此PG2不发生倒换,等待T(20ms)后,检测W的故障仍然存在,此时PG2发生倒换,交叉切换到S1,此时PG1的交叉仍保留在P1,因此整个业务流量切换到了保护路径1;当保护路径1再发生故障时,P1和S1均检测到故障并将告警分别上报到PG1和PG2的控制器,PG1的控制器接收到告警后由于PG1的holdoff时间为0,PG1直接进行倒换,PG1的交叉切换到P2,PG2的控制器接收到告警后由于,PG2的holdoff时间为T(20ms),因此PG2不发生倒换,等待T(20ms)后,检测S1的故障已经消失(由于PG1已经倒换完毕),PG2不发生倒换,因此整个业务流量切换到了保护路径2。Step 5 When the working path, protection path 1, and protection path 2 are faulty on any two paths, the service traffic can be guaranteed to be intact. For example, if the working path fails first, the alarm is detected and reported to the controller of PG2. Since the holdoff time of PG2 is T (20ms), PG2 does not switch. After waiting for T (20ms), the fault of W is still detected. There is a PG2 switchover and a crossover to S1. At this time, the PG1 crossover remains at P1, so the entire service traffic is switched to the protection path 1. When the protection path 1 fails again, both P1 and S1 detect the fault and The alarms are reported to the controllers of PG1 and PG2 respectively. After the PG1 controller receives the alarm, the PG1 directly performs the switching because the holdoff time of PG1 is 0. The PG1 crosses the switch to P2. After the PG2 controller receives the alarm, The holdoff time of PG2 is T (20ms), so PG2 does not switch. After waiting for T (20ms), it detects that the fault of S1 has disappeared (because PG1 has been switched), PG2 does not switch, so the entire service traffic is switched to the protection path. 2.
方法二:如图4所示。Method 2: As shown in Figure 4.
第一步将W与P1组成ODUK1+1保护组PG1,选择器设置在逻辑中转L1,逻辑中转L1资源的接收端口为R1,发送端口为S1,因此,PG1的选择器选收的点为R1。In the first step, W and P1 form the ODUK1+1 protection group PG1, the selector is set in the logical transit L1, the logical transit L1 resource receiving port is R1, and the sending port is S1. Therefore, the PG1 selector selects the point as R1. .
第二步将逻辑中转L1的发送点S1与P2组成ODUK1+1保护组PG2,选择器设置在下路单元C,业务进行下路。In the second step, the transmission points S1 and P2 of the logical relay L1 form an ODUK1+1 protection group PG2, and the selector is set in the downlink unit C, and the service performs the downlink.
第三步将逻辑中转L1的发送端口S1和接收端口R1设置环回,环回后,S1接收到的ODU信息可以同步传递到R1端口,并发送到交叉单元DXC上,同时如果S1接收到的报文有告警的话,R1端口可以检测到同样 的告警,并上报到PG2的控制器,用于触发PG2的保护组倒换。The third step is to set the loopback of the sending port S1 and the receiving port R1 of the logical transit L1. After the loopback, the ODU information received by the S1 can be synchronously transmitted to the R1 port and sent to the cross unit DXC, and if the S1 receives If the packet has an alarm, the R1 port can detect the same. The alarm is reported to the controller of PG2, which is used to trigger the protection group switching of PG2.
第四步设置保护组PG1的holdoff时间为0,PG2的holdoff时间为T,T的取值标准为PG1保护倒换时间,建议取值20ms,从而避免PG1倒换时触发PG2进行倒换。The fourth step is to set the holdoff time of protection group PG1 to 0, the holdoff time of PG2 to T, and the value of T to PG1 protection switching time. It is recommended to take 20ms to avoid PG2 switching when PG1 switching.
第五步当工作路径、保护路径1,保护路径2任意两条路径故障的情况下,业务流量都可以保证不受损。例如工作路径先发生故障,此时W和S1都检测到告警并分别上报给PG1和PG2的控制器,由于PG1的holdoff时间为0,因此PG1发生倒换,PG1的交叉切换到P1,由于PG2的holdoff时间为T(20ms),PG2的控制器接收到告警后不发生倒换,等待T(20ms)后,检测S1的故障已经消失(由于PG1已经倒换完毕),PG2不发生倒换,因此整个业务流量切换到了保护路径1;当保护路径1再发生故障,此时W和S1都检测到告警并分别上报给PG1和PG2的控制器,由于PG1的holdoff时间为0,因此PG1发生倒换,PG1的交叉切换到W,由于PG2的holdoff时间为T(20ms),PG2的控制器接收到告警后不发生倒换,等待T(20ms)后,检测S1的故障仍然存在(由于PG1工作、保护都故障,倒换完毕后业务仍有故障),PG2发生倒换,PG2的交叉切换到P2,因此整个业务流量切换到了保护路径2。Step 5 When the working path, protection path 1, and protection path 2 are faulty on any two paths, the service traffic can be guaranteed to be intact. For example, if the working path fails first, both W and S1 detect the alarm and report it to the controllers of PG1 and PG2 respectively. Since the holdoff time of PG1 is 0, PG1 is switched, and the crossover of PG1 is switched to P1. The holdoff time is T (20ms). After the PG2 controller receives the alarm, it does not switch. After waiting for T (20ms), it detects that the fault of S1 has disappeared (because PG1 has been switched over), PG2 does not switch, so the entire service traffic Switched to protection path 1; when protection path 1 fails again, both W and S1 detect the alarm and report it to the controllers of PG1 and PG2 respectively. Since the holdoff time of PG1 is 0, PG1 is switched, and PG1 is crossed. Switch to W. Since the holdoff time of PG2 is T (20ms), the controller of PG2 does not switch after receiving the alarm. After waiting for T (20ms), the fault of detecting S1 still exists (because PG1 works, protection is faulty, switching) After the completion of the service, there is still a fault. PG2 is switched, and the crossover of PG2 is switched to P2. Therefore, the entire service traffic is switched to protection path 2.
下面结合附图,对本发明的实施例四进行说明。Embodiment 4 of the present invention will be described below with reference to the accompanying drawings.
本发明实施例提供了一种路径保护方法,使用该方法完成多条路径保护的流程如图5所示,包括:The embodiment of the present invention provides a path protection method. The process of using the method to complete multiple path protection is as shown in FIG. 5, and includes:
步骤501、划分多个保护组形成嵌套结构;Step 501: Divide multiple protection groups to form a nested structure.
本步骤中,在光通道数据单元ODUK层将工作路径与N条保护路径划分为N个保护组,第n个保护组包含第n-1个保护组和一条尚未加入其他任何保护组的保护路径,2≤n≤N-1。In this step, the working path and the N protection paths are divided into N protection groups in the optical channel data unit ODUK layer, and the nth protection group includes the n-1th protection group and a protection path that has not been added to any other protection group. , 2 ≤ n ≤ N-1.
对于第1个保护组和第N个保护组,则有两种划分方式,如下:For the first protection group and the Nth protection group, there are two ways to divide, as follows:
方式一:method one:
将工作路径和一条保护路径划分为第1个保护组; Divide the working path and a protection path into the first protection group;
将第N-1个保护组和一条保护路径划分为第N个保护组。The N-1 protection group and one protection path are divided into the Nth protection group.
方式二:Method 2:
将两条保护路径划分为第1个保护组;Divide the two protection paths into the first protection group;
将工作路径和第N-1个保护组为第N个保护组。The working path and the N-1th protection group are the Nth protection group.
在划分保护组完成后,为每个保护组构建一个逻辑中转,所述逻辑中转包含一发送端口和一接收端口;依次将每个逻辑中转的发送端口和接收端口环回,以使得任一保护组的逻辑中转的发送端口发送的信息被其他保护组的逻辑中转的接收端口接收。After the protection group is divided, a logical relay is constructed for each protection group, and the logical relay includes a sending port and a receiving port; and sequentially, each logically transmitted sending port and receiving port are looped back, so that any protection is performed. The information sent by the sending port of the logical relay of the group is received by the receiving port of the logical relay of the other protection group.
还需要为每个保护组设置对应的holdoff时间。按照n值从低到高的顺序,从小到大的设置每个保护组对应的holdoff时间。这样,较外层(n值较大)的组的holdoff时间较长,就能够实现在内层倒换完成告警解除后外层才开始检测工作状态,由于内层倒换已解除告警,故外层检测不到告警,不会进行多次倒换,引起系统混乱。You also need to set the corresponding holdoff time for each protection group. The holdoff time corresponding to each protection group is set from small to large in order of n value from low to high. In this way, if the holdoff time of the outer layer (the larger n value) is longer, the outer layer can start detecting the working state after the inner layer switching completion alarm is cleared. Since the inner layer switching has been cancelled, the outer layer detection is performed. If the alarm is not reached, multiple switching will not occur, causing system confusion.
步骤502、在第n-1个保护组检测到该保护组内当前的工作路径发生故障时,启动该第n-1个保护组的holdoff时间倒计时,并发出告警信号;Step 502: When the n-1th protection group detects that the current working path in the protection group is faulty, start the holdoff time countdown of the n-1th protection group, and send an alarm signal;
所述当前的工作路径为嵌套第n-1保护组的路径或该第n个保护组的保护路径。The current working path is a path of the nested n-1 protection group or a protection path of the nth protection group.
步骤503、在第n个保护组检测到第n-1个保护组发出的告警信号时,启动该第n个保护组的holdoff时间倒计时。Step 503: When the nth protection group detects the alarm signal sent by the n-1th protection group, start the holdoff time countdown of the nth protection group.
步骤504、第n-1个保护组的holdoff时间倒计时到时后,所述第n-1个保护组在该保护组内进行倒换。Step 504: After the countoff time of the n-1th protection group is counted down, the n-1th protection group performs switching in the protection group.
步骤505、在第n个保护组的holdoff时间倒计时到时后,检测所述告警信号是否仍存在;Step 505: After the countdown time of the nth protection group is counted down, it is detected whether the alarm signal still exists.
当第n-1个保护组内倒换完毕后,如果仍存在故障,则仍会继续发出告警信号。此时,第n至第N个保护组就可以继续检测到该告警信号,以确定是否需要在本组内进行倒换。After the switchover in the n-1th protection group is completed, if there is still a fault, the alarm signal will continue to be sent. At this time, the nth to Nth protection groups can continue to detect the alarm signal to determine whether it is necessary to perform switching within the group.
当第n-1个保护组内倒换完毕,倒换到的路径无故障,能正常传输业务数据时,第n-1个保护组则不再继续发出告警信号。 When the switchover is completed in the n-1th protection group, the path to the switchover is fault-free, and the service data can be transmitted normally. The n-1th protection group does not continue to send alarm signals.
步骤506、当不再检测到所述告警信号时,所述第n个保护组内维持原有工作状态。Step 506: When the alarm signal is no longer detected, the original working state is maintained in the nth protection group.
步骤507、当仍能检测到告警信号时,在该第n个保护组内进行由嵌套第n-1个保护组的路径向保护路径的倒换。Step 507: When the alarm signal can still be detected, the path of the nested n-1th protection group is switched to the protection path in the nth protection group.
此外,对于步骤501中第1个和第N个保护组的两种不同划分方式,处理策略也不同,如下:In addition, for the two different division modes of the first and Nth protection groups in step 501, the processing strategies are also different, as follows:
对于方式一:当所述工作路径发生故障时,所述第1个保护组发出告警信号并启动该第1个保护组对应的holdoff时间倒计时;For the first mode: when the working path fails, the first protection group sends an alarm signal and starts the holdoff time corresponding to the first protection group;
在所述第1个保护组对应的holdoff时间倒计时到时后,所述第1个保护组内进行由工作路径向保护路径的倒换。After the countdown of the holdoff time corresponding to the first protection group expires, the switching from the working path to the protection path is performed in the first protection group.
当检测到嵌套第N-1个保护组的路径发出的告警信号或该第N个保护组内的保护路径发生故障时,所述第N个保护组启动相应的holdoff时间倒计时;When detecting an alarm signal sent by a path of the N-1th protection group or a failure of the protection path in the Nth protection group, the Nth protection group starts a corresponding holdoff time countdown;
所述第N个保护组在倒计时到时后检测发生故障的嵌套第N-1个保护组的路径或该第N个保护组内的保护路径的状态,在故障仍存在时在所述第N个保护组内进行倒换。The Nth protection group detects the path of the nested N-1 protection group or the protection path of the Nth protection group after the countdown expires, and the fault occurs when the fault still exists. Switching within N protection groups.
对于方式二:当所述第1个保护组中的任一保护路径发生故障时,所述第1个保护组发出告警信号并启动该第1个保护组的holdoff时间倒计时;For mode 2: when any protection path in the first protection group fails, the first protection group sends an alarm signal and starts a holdoff time countdown of the first protection group;
所述第1个保护组在对应的holdoff时间倒计时到时后,在该第1个保护组内进行倒换。The first protection group performs switching in the first protection group after the corresponding holdoff time counts down.
当所述工作路径发生故障时,所述第N个保护组启动对应的holdoff时间倒计时;When the working path fails, the Nth protection group starts a corresponding holdoff time countdown;
所述第N个保护组在对应的holdoff时间倒计时到时后,在所述第N个保护组内进行由所述工作路径向嵌套第N-1个保护组的路径的倒换。After the countdown of the corresponding holdoff time expires, the Nth protection group performs switching of the path from the working path to the nested N-1 protection group in the Nth protection group.
下面结合附图,对本发明的实施例五进行说明。 Embodiment 5 of the present invention will be described below with reference to the accompanying drawings.
本发明实施例提供了一种路径保护系统,该系统的结构如图6所示,包括:The embodiment of the invention provides a path protection system. The structure of the system is as shown in FIG. 6 and includes:
嵌套结构构建模块601,设置为:在ODUK层将工作路径与N条保护路径组成N个保护组,第n个保护组包含一条嵌套第n-1个保护组的路径和一条尚未加入其他任何保护组的保护路径,2≤n≤N-1;The nested structure construction module 601 is configured to: form a working path and N protection paths into N protection groups in the ODUK layer, and the nth protection group includes a path of the n-1th protection group nested and one has not been added to the other The protection path of any protection group, 2≤n≤N-1;
holdoff时间管理模块602,设置为:按照n值从低到高的顺序,从小到大的设置每个保护组对应的holdoff时间;The holdoff time management module 602 is configured to: set the holdoff time corresponding to each protection group from small to large according to the order of n values from low to high;
计时模块603,设置为:在第n个保护组检测到第1至第n-1个保护组中任一发出的告警信号时,启动该第n个保护组的holdoff时间倒计时;The timing module 603 is configured to: when the nth protection group detects the alarm signal sent by any of the first to n-1th protection groups, start the holdoff time countdown of the nth protection group;
故障确认模块604,设置为:在倒计时到时后,检测所述告警信号是否仍存在;The fault confirmation module 604 is configured to: after the countdown expires, detect whether the alarm signal still exists;
倒换模块605,设置为:当仍能检测到告警信号时,在该第n个保护组内进行由嵌套第n-1个保护组的路径向保护路径的倒换。The switching module 605 is configured to perform switching of the path from the nested n-1th protection group to the protection path in the nth protection group when the alarm signal can still be detected.
可选的,所述计时模块603,还设置为:在第n个保护组检测到该保护组内当前的工作路径发生故障时,启动该第n个保护组的holdoff时间倒计时,并发出告警信号,所述当前的工作路径为嵌套第n-1保护组的路径或该第n个保护组的保护路径;Optionally, the timing module 603 is further configured to: when the nth protection group detects that the current working path in the protection group is faulty, start a holdoff time countdown of the nth protection group, and send an alarm signal. The current working path is a path of the nested n-1 protection group or a protection path of the nth protection group;
所述倒换模块605,还设置为:在倒计时到时后,在所述第n个保护组内进行倒换。The switching module 605 is further configured to perform switching in the nth protection group after the countdown expires.
可选的,该系统还包括:Optionally, the system further includes:
逻辑中转维护模块606,设置为:为每个保护组构建一个逻辑中转,所述逻辑中转包含一发送端口和一接收端口;The logical relay maintenance module 606 is configured to: construct a logical relay for each protection group, where the logical relay includes a sending port and a receiving port;
信息环回模块607,设置为:依次将每个逻辑中转的发送端口和接收端口环回,以使得任一保护组的逻辑中转的发送端口发送的信息被其他保护组的逻辑中转的接收端口接收。The information loopback module 607 is configured to: loop back each of the logically transited transmit ports and the receive ports in sequence, so that the information sent by the logically transited transmit ports of any protection group is received by the logically transited receive ports of other protection groups. .
可选的,所述嵌套结构构建模块601,还设置为:将工作路径和一条保护路径组成第1个保护组, Optionally, the nested structure building module 601 is further configured to: form a working path and a protection path into a first protection group,
将嵌套第N-1个保护组的路径和一条保护路径组成第N个保护组。The path of the N-1th protection group and one protection path are formed into an Nth protection group.
可选的,所述计时模块603,还设置为:当所述工作路径发生故障时,控制所述第1个保护组发出告警信号并启动该第1个保护组对应的holdoff时间倒计时;Optionally, the timing module 603 is further configured to: when the working path fails, control the first protection group to send an alarm signal and start a holdoff time countdown corresponding to the first protection group;
所述倒换模块605,还设置为:在所述第1个保护组对应的holdoff时间倒计时到时后,在所述第1个保护组内进行由工作路径向保护路径的倒换。The switching module 605 is further configured to perform switching from the working path to the protection path in the first protection group after the countdown of the first protection group is counted down.
可选的,所述计时模块603,还设置为:当检测到嵌套第N-1个保护组的路径发出的告警信号或该第N个保护组内的保护路径发生故障时,启动所述第N个保护组相应的holdoff时间倒计时;Optionally, the timing module 603 is further configured to: when detecting an alarm signal sent by a path of the N-1th protection group or a failure of the protection path in the Nth protection group, start the The corresponding holdoff time countdown of the Nth protection group;
所述倒换模块605,还设置为:在倒计时到时后检测发生故障的嵌套第N-1个保护组的路径或该第N个保护组内的保护路径的状态,在故障仍存在时在所述第N个保护组内进行倒换。The switching module 605 is further configured to: detect, after the countdown expires, the path of the nested N-1 protection group that has failed or the status of the protection path in the Nth protection group, when the fault still exists The Nth protection group performs switching.
可选的,所述嵌套结构构建模块601,还设置为:将两条保护路径组成第1个保护组,Optionally, the nested structure construction module 601 is further configured to: form two protection paths into the first protection group,
将工作路径和嵌套第N-1个保护组的路径组成第N个保护组。The working path and the path of the nested N-1 protection group are formed into the Nth protection group.
可选的,所述计时模块603,还设置为:当所述第1个保护组中的任一保护路径发生故障时,控制所述第1个保护组发出告警信号并启动该第1个保护组的holdoff时间倒计时;Optionally, the timing module 603 is further configured to: when any one of the protection paths in the first protection group fails, control the first protection group to send an alarm signal and start the first protection. Countdown of the group's holdoff time;
所述倒换模块605,还设置为:在所述第1个保护组在对应的holdoff时间倒计时到时后,在该第1个保护组内进行倒换。The switching module 605 is further configured to perform switching in the first protection group after the first protection group counts down at the corresponding holdoff time.
可选的,所述计时模块603,还设置为:当所述工作路径发生故障时,启动所述第N个保护组对应的holdoff时间倒计时;Optionally, the timing module 603 is further configured to: when the working path fails, start a holdoff time countdown corresponding to the Nth protection group;
所述倒换模块605,还设置为:在对应的holdoff时间倒计时到时后,在所述第N个保护组内进行由所述工作路径向嵌套第N-1个保护组的路径的倒换。The switching module 605 is further configured to perform switching of the path from the working path to the nested N-1 protection group in the Nth protection group after the corresponding holdoff time counts down.
上述路径保护系统可集成于传输设备中,由传输设备完成相应功能。 The above path protection system can be integrated into the transmission device, and the transmission device performs the corresponding function.
本发明实施例提供了一种路径保护方法和系统,在ODUK层将工作路径与N条保护路径划分为N个保护组,第n个保护组包含第n-1个保护组和一条尚未加入其他任何保护组的保护路径,2≤n≤N-1,按照n值从低到高的顺序,从小到大的设置每个保护组对应的holdoff时间,在第n个保护组检测到第n-1个保护组发出的告警信号时,启动该第n个保护组的holdoff时间倒计时,在倒计时到时后,检测所述告警信号是否仍存在,当仍能检测到告警信号时,在该第n个保护组内进行由嵌套第n-1个保护组的路径向保护路径的倒换。实现了高可靠性的嵌套保护,解决了PC业务抗多条路径故障的问题。The embodiment of the invention provides a path protection method and system. The working path and the N protection paths are divided into N protection groups in the ODUK layer, and the nth protection group includes the n-1th protection group and one has not yet joined other The protection path of any protection group, 2 ≤ n ≤ N-1, in the order of n from low to high, from small to large, set the holdoff time corresponding to each protection group, and the nth in the nth protection group. When an alarm signal is sent by a protection group, the holdoff time count of the nth protection group is started, and after the countdown expires, it is detected whether the alarm signal still exists, and when the alarm signal can still be detected, at the nth The protection of the path from the nested n-1th protection group to the protection path is performed within the protection group. The high reliability nesting protection is realized, which solves the problem that the PC service is resistant to multiple path failures.
与相关技术的WASON恢复技术相比,WASON只能保证SC/SPC业务达到抗多条路径故障,而本发明的实施例实现了PC业务也可以抗多条路径效果;同时与采用WASON业务恢复的方法比较,WASON业务采用的是重路由方式实现恢复,即在业务发生故障时才去计算新的保护业务路径,计算好后进行倒换,而本发明的实施例在业务故障前已经预先配置好了保护路径,当业务发生故障时,业务直接切换到保护路径,减少了业务中断时间。Compared with the WASON recovery technology of the related art, the WASON can only ensure that the SC/SPC service is resistant to multiple path faults, and the embodiment of the present invention can implement the PC service to resist multiple path effects; The method of the present invention is to use the re-routing method to implement the recovery, that is, to calculate a new protection service path when the service is faulty, and perform the conversion after the calculation, and the embodiment of the present invention is pre-configured before the service failure. The protection path, when the service fails, the service directly switches to the protection path, which reduces the service interruption time.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并 作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。The device/function module/function unit in the above embodiment is implemented in the form of a software function module and When sold or used as a stand-alone product, it can be stored on a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
本发明实施例实现了高可靠性的嵌套保护,解决了PC业务抗多条路径故障的问题。而且,本发明的实施例在业务故障前已经预先配置好了保护路径,当业务发生故障时,业务直接切换到保护路径,减少了业务中断时间,能够满足大容量业务的需求。 The embodiment of the invention achieves high reliability nesting protection and solves the problem that the PC service is resistant to multiple path failures. Moreover, the embodiment of the present invention pre-configures the protection path before the service failure. When the service fails, the service directly switches to the protection path, which reduces the service interruption time and can meet the requirements of the large-capacity service.

Claims (14)

  1. 一种路径保护方法,包括:A path protection method comprising:
    在光通道数据单元ODUK层将工作路径与N条保护路径组成N个保护组,第n个保护组包含一条嵌套第n-1个保护组的路径和一条尚未加入其他任何保护组的保护路径,2≤n≤N-1;In the optical channel data unit ODUK layer, the working path and the N protection paths are formed into N protection groups, and the nth protection group includes a path nested with the n-1th protection group and a protection path that has not been added to any other protection group. , 2 ≤ n ≤ N-1;
    按照n值从低到高的顺序,从小到大的设置每个保护组对应的holdoff时间;According to the order of n values from low to high, set the holdoff time corresponding to each protection group from small to large;
    在第n个保护组检测到第1至第n-1个保护组中任一发出的告警信号时,启动该第n个保护组的holdoff时间倒计时;When the nth protection group detects any one of the first to n-1th protection groups, the holdoff time count of the nth protection group is started;
    在倒计时到时后,检测所述告警信号是否仍存在;After the countdown expires, it is detected whether the alarm signal still exists;
    当仍能检测到告警信号时,在该第n个保护组内进行由嵌套第n-1个保护组的路径向保护路径的倒换。When the alarm signal can still be detected, the path from the nested n-1th protection group to the protection path is performed in the nth protection group.
  2. 根据权利要求1所述的路径保护方法,该方法还包括:The path protection method according to claim 1, further comprising:
    在第n个保护组检测到该保护组内当前的工作路径发生故障时,启动该第n个保护组的holdoff时间倒计时,并发出告警信号,所述当前的工作路径为嵌套第n-1保护组的路径或该第n个保护组的保护路径;When the nth protection group detects that the current working path in the protection group is faulty, the holdoff time count of the nth protection group is started, and an alarm signal is sent, where the current working path is nested n-1 The path of the protection group or the protection path of the nth protection group;
    在倒计时到时后,所述第n个保护组在该保护组内进行倒换。After the countdown expires, the nth protection group performs switching within the protection group.
  3. 根据权利要求1或2所述的路径保护方法,该方法还包括:The path protection method according to claim 1 or 2, further comprising:
    为每个保护组构建一个逻辑中转,所述逻辑中转包含一发送端口和一接收端口;Constructing a logical relay for each protection group, the logical relay including a sending port and a receiving port;
    依次将每个逻辑中转的发送端口和接收端口环回,以使得任一保护组的逻辑中转的发送端口发送的信息被其他保护组的逻辑中转的接收端口接收。The logically transmitted transmit port and the receive port are looped back in sequence such that the information sent by the logically transited transmit port of any protection group is received by the logically transited receive port of the other protection group.
  4. 根据权利要求1所述的路径保护方法,其中,在倒计时到时后,检测所述告警信号是否仍存在的步骤之后,还包括:The path protection method according to claim 1, wherein after the step of detecting the alarm signal still exists after the countdown expires, the method further includes:
    当不再检测到所述告警信号时,所述第n个保护组内维持原有工作状态。 When the alarm signal is no longer detected, the original working state is maintained in the nth protection group.
  5. 根据权利要求1所述的路径保护方法,该方法还包括:The path protection method according to claim 1, further comprising:
    将工作路径和一条保护路径组成第1个保护组;The working path and a protection path are combined into the first protection group;
    将嵌套第N-1个保护组的路径和一条保护路径组成第N个保护组。The path of the N-1th protection group and one protection path are formed into an Nth protection group.
  6. 根据权利要求5所述的路径保护方法,该方法还包括:The path protection method according to claim 5, further comprising:
    当所述工作路径发生故障时,所述第1个保护组发出告警信号并启动该第1个保护组对应的holdoff时间倒计时;When the working path fails, the first protection group sends an alarm signal and starts a holdoff time countdown corresponding to the first protection group;
    在所述第1个保护组对应的holdoff时间倒计时到时后,所述第1个保护组内进行由工作路径向保护路径的倒换。After the countdown of the holdoff time corresponding to the first protection group expires, the switching from the working path to the protection path is performed in the first protection group.
  7. 根据权利要求5所述的路径保护方法,该方法还包括:The path protection method according to claim 5, further comprising:
    当检测到嵌套第N-1个保护组的路径发出的告警信号或该第N个保护组内的保护路径发生故障时,所述第N个保护组启动相应的holdoff时间倒计时;When detecting an alarm signal sent by a path of the N-1th protection group or a failure of the protection path in the Nth protection group, the Nth protection group starts a corresponding holdoff time countdown;
    所述第N个保护组在倒计时到时后检测发生故障的嵌套第N-1个保护组的路径或该第N个保护组内的保护路径的状态,在故障仍存在时在所述第N个保护组内进行倒换。The Nth protection group detects the path of the nested N-1 protection group or the protection path of the Nth protection group after the countdown expires, and the fault occurs when the fault still exists. Switching within N protection groups.
  8. 根据权利要求1所述的路径保护方法,该方法还包括:The path protection method according to claim 1, further comprising:
    将两条保护路径组成第1个保护组;Combine two protection paths into the first protection group;
    将工作路径和嵌套第N-1个保护组的路径组成第N个保护组。The working path and the path of the nested N-1 protection group are formed into the Nth protection group.
  9. 根据权利要求8所述的路径保护方法,该方法还包括:The path protection method according to claim 8, further comprising:
    当所述第1个保护组中的任一保护路径发生故障时,所述第1个保护组发出告警信号并启动该第1个保护组的holdoff时间倒计时;When any protection path in the first protection group fails, the first protection group sends an alarm signal and starts a holdoff time countdown of the first protection group;
    所述第1个保护组在对应的holdoff时间倒计时到时后,在该第1个保护组内进行倒换。The first protection group performs switching in the first protection group after the corresponding holdoff time counts down.
  10. 根据权利要求8所述的路径保护方法,该方法还包括:The path protection method according to claim 8, further comprising:
    当所述工作路径发生故障时,所述第N个保护组启动对应的holdoff时间倒计时;When the working path fails, the Nth protection group starts a corresponding holdoff time countdown;
    所述第N个保护组在对应的holdoff时间倒计时到时后,在所述第N个 保护组内进行由所述工作路径向嵌套第N-1个保护组的路径的倒换。After the Nth protection group counts down to the corresponding holdoff time, at the Nth The switching of the path from the working path to the nested N-1th protection group is performed in the protection group.
  11. 一种路径保护系统,包括:A path protection system comprising:
    嵌套结构构建模块,设置为:在ODUK层将工作路径与N条保护路径组成N个保护组,第n个保护组包含一条嵌套第n-1个保护组的路径和一条尚未加入其他任何保护组的保护路径,2≤n≤N-1;The nested structure building module is configured to form a working path and N protection paths into N protection groups in the ODUK layer, and the nth protection group includes a path nested in the n-1th protection group and one has not been added to any other Protection path of the protection group, 2≤n≤N-1;
    holdoff时间管理模块,设置为:按照n值从低到高的顺序,从小到大的设置每个保护组对应的holdoff时间;The holdoff time management module is configured to set a holdoff time corresponding to each protection group from small to large according to the order of n values from low to high;
    计时模块,设置为:在第n个保护组检测到第1至第n-1个保护组中任一发出的告警信号时,启动该第n个保护组的holdoff时间倒计时;The timing module is configured to: when the nth protection group detects the alarm signal sent by any of the first to n-1th protection groups, start the holdoff time countdown of the nth protection group;
    故障确认模块,设置为:在倒计时到时后,检测所述告警信号是否仍存在;The fault confirmation module is configured to: after the countdown expires, detect whether the alarm signal still exists;
    倒换模块,设置为:当仍能检测到告警信号时,在该第n个保护组内进行由嵌套第n-1个保护组的路径向保护路径的倒换。The switching module is configured to perform switching of the path from the nested n-1th protection group to the protection path in the nth protection group when the alarm signal can still be detected.
  12. 根据权利要求11所述的路径保护系统,其中,The path protection system according to claim 11, wherein
    所述计时模块,还设置为:在第n个保护组检测到该保护组内当前的工作路径发生故障时,启动该第n个保护组的holdoff时间倒计时,并发出告警信号,所述当前的工作路径为嵌套第n-1保护组的路径或该第n个保护组的保护路径;The timing module is further configured to: when the nth protection group detects that the current working path in the protection group is faulty, start a holdoff time countdown of the nth protection group, and send an alarm signal, the current The working path is a path of the nested n-1 protection group or a protection path of the nth protection group;
    所述倒换模块,还设置为:在倒计时到时后,在所述第n个保护组内进行倒换。The switching module is further configured to perform switching in the nth protection group after the countdown expires.
  13. 根据权利要求11或12所述的路径保护系统,该系统还包括:The path protection system according to claim 11 or 12, further comprising:
    逻辑中转维护模块,设置为:为每个保护组构建一个逻辑中转,所述逻辑中转包含一发送端口和一接收端口;The logical relay maintenance module is configured to: construct a logical relay for each protection group, where the logical relay includes a sending port and a receiving port;
    信息环回模块,设置为:依次将每个逻辑中转的发送端口和接收端口环回,以使得任一保护组的逻辑中转的发送端口发送的信息被其他保护组的逻辑中转的接收端口接收。The information loopback module is configured to: loop back each of the logically transited transmit ports and the receive ports in sequence, so that the information sent by the logically transited transmit ports of any protection group is received by the logically transited receive ports of the other protection groups.
  14. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-10任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-10.
PCT/CN2016/072310 2015-02-13 2016-01-27 Path protection method and system WO2016127806A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
MYPI2017001098A MY185661A (en) 2015-02-13 2016-01-27 Path protection method and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510082661.8 2015-02-13
CN201510082661.8A CN105991182B (en) 2015-02-13 2015-02-13 Path protection method and system

Publications (1)

Publication Number Publication Date
WO2016127806A1 true WO2016127806A1 (en) 2016-08-18

Family

ID=56614248

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/072310 WO2016127806A1 (en) 2015-02-13 2016-01-27 Path protection method and system

Country Status (3)

Country Link
CN (1) CN105991182B (en)
MY (1) MY185661A (en)
WO (1) WO2016127806A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010239279A (en) * 2009-03-30 2010-10-21 Nec Corp Communication apparatus and method thereof, and communication system and method thereof
CN102271058A (en) * 2011-08-09 2011-12-07 中兴通讯股份有限公司 Multi-path service protecting method and device
CN102611499A (en) * 2012-04-05 2012-07-25 烽火通信科技股份有限公司 Method for realizing ODUK (Optical Channel Data Unit) protection switching by crossed disc of OTN (Optical Transport Network) equipment
CN102740175A (en) * 2012-06-12 2012-10-17 烽火通信科技股份有限公司 Method for protecting and recovering cross-domain end-to-end label switched path
CN102868441A (en) * 2012-08-22 2013-01-09 中兴通讯股份有限公司 Protection switching method and system and optical network node
WO2014017162A1 (en) * 2012-07-26 2014-01-30 日本電気株式会社 Communication device, communication system, path-determining method, and program
US20140186019A1 (en) * 2012-12-27 2014-07-03 Abhishek Chaudhary Methods and systems of preserving client overhead bytes in optical transport network tunneling applications

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2364905A1 (en) * 2001-12-12 2003-06-12 Catena Networks Canada Inc. Protocols and architectures for distributed hdt-rt networks
CN101167274B (en) * 2005-04-29 2011-02-16 中兴通讯股份有限公司 Passive optical network system based on wavelength protection and its protection backup method
CN101431466B (en) * 2007-11-09 2011-04-06 华为技术有限公司 Fast rerouting method and label exchange router
CN101621497B (en) * 2008-06-30 2012-11-21 华为技术有限公司 Method and system for service protection in multiple layers of networks
CN104243015B (en) * 2014-10-11 2018-04-27 北京邮电大学 A kind of optical-fiber network User Network Interface fault recovery method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010239279A (en) * 2009-03-30 2010-10-21 Nec Corp Communication apparatus and method thereof, and communication system and method thereof
CN102271058A (en) * 2011-08-09 2011-12-07 中兴通讯股份有限公司 Multi-path service protecting method and device
CN102611499A (en) * 2012-04-05 2012-07-25 烽火通信科技股份有限公司 Method for realizing ODUK (Optical Channel Data Unit) protection switching by crossed disc of OTN (Optical Transport Network) equipment
CN102740175A (en) * 2012-06-12 2012-10-17 烽火通信科技股份有限公司 Method for protecting and recovering cross-domain end-to-end label switched path
WO2014017162A1 (en) * 2012-07-26 2014-01-30 日本電気株式会社 Communication device, communication system, path-determining method, and program
CN102868441A (en) * 2012-08-22 2013-01-09 中兴通讯股份有限公司 Protection switching method and system and optical network node
US20140186019A1 (en) * 2012-12-27 2014-07-03 Abhishek Chaudhary Methods and systems of preserving client overhead bytes in optical transport network tunneling applications

Also Published As

Publication number Publication date
MY185661A (en) 2021-05-28
CN105991182A (en) 2016-10-05
CN105991182B (en) 2020-06-02

Similar Documents

Publication Publication Date Title
JP5955461B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND PROTECTION METHOD
CN101877665A (en) Ring network protecting method, network node and ring network
US20040103210A1 (en) Network management apparatus
EP2451094A1 (en) Method and device for processing failure of multi-span working channel in ring optical transmission network
US20120236710A1 (en) System and method for setting redundant path segments in a multi-ring communication network
RU2730086C1 (en) Switching method with combination of reservation group, control device and optical communication device
CN102868441A (en) Protection switching method and system and optical network node
US20140219080A1 (en) Method and apparatus for interworking protection switching
JP2015503872A (en) How to reduce network traffic
EP2515477B1 (en) Method and system for service protection
EP1724972B1 (en) A service rerouting triggering method
JP5298955B2 (en) Node device, operation monitoring device, processing method, and program
US8615006B2 (en) Systems and methods for reconfiguration of a circuit switched ring to a packet switched ring
CN101958809B (en) Method for realizing shared recovery in ASON (Automatic Switch Optical Network) network based on packet switching
WO2012041061A1 (en) Protection method and apparatus of optical network
WO2016127806A1 (en) Path protection method and system
JP5168499B2 (en) Communication network system and high-reliability method of path
JP2006311416A (en) Data transmission system
US9264303B2 (en) Protection switching method and system provision by a distributed protection group
US7804788B2 (en) Ring type network system including a function of setting up a path
JP4190170B2 (en) Detour route setting system
JPWO2014030732A1 (en) Communication system, communication apparatus, protection switching method and switching program
KR102126222B1 (en) Method and appratus for interworking protection switching
JP2014519282A (en) Method, apparatus and system for detecting signal degradation in packet path
CN103141036B (en) A kind of optical transfer network is shared method, primary nodal point equipment and the system of protection

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

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

Country of ref document: EP

Kind code of ref document: A1