WO2016101826A1 - Method and system for implementing nested protection - Google Patents

Method and system for implementing nested protection Download PDF

Info

Publication number
WO2016101826A1
WO2016101826A1 PCT/CN2015/097579 CN2015097579W WO2016101826A1 WO 2016101826 A1 WO2016101826 A1 WO 2016101826A1 CN 2015097579 W CN2015097579 W CN 2015097579W WO 2016101826 A1 WO2016101826 A1 WO 2016101826A1
Authority
WO
WIPO (PCT)
Prior art keywords
path
protection
delay timer
fault
timing
Prior art date
Application number
PCT/CN2015/097579
Other languages
French (fr)
Chinese (zh)
Inventor
卢鸿飞
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016101826A1 publication Critical patent/WO2016101826A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems

Definitions

  • This application relates to, but is not limited to, a transport network based protection control technique.
  • the current network can be multi-layered, and the problem of how to coordinate the processing of the protection switch at multiple levels is more prominent. Therefore, a solution is needed to enable the server layer protection switch to solve the problem before the client layer switching occurs.
  • each protection group should be equipped with a hysteresis timer that can be provisioned to handle the protection cascade/nesting problem.
  • the protection group waits for unnecessary time without restriction, instead of fast protection switching, so that the time of service interruption grows unnecessarily, that is, cannot be satisfied.
  • Different paths (work or protection) have different nesting levels.
  • This paper overcomes the problem of the unnecessary increase of the protection switching time caused by the different nesting levels of the working/protection paths in the above standard technology, and provides a scheme in which different paths in the protection group adopt different delay timers.
  • a method of implementing nested protection including:
  • the delay timers corresponding to the different paths in the protection group are respectively set, and the timings of the delay timers corresponding to the innermost path are all set to specific values, and the timing time of the delay timer corresponding to the outer path is set to be larger than the specific value;
  • the timing of the delay timer corresponding to the path where the fault occurs is obtained, and when the obtained timing time is the specific value, the state of the protection group is calculated; when the acquired timing time is not When the specific value is used, the delay timer corresponding to the path where the fault is changed is started. After the timing time of the delay timer arrives, the change of the fault is detected again, and the state of the protection group is calculated when the change is not changed.
  • the innermost path is a path that does not include other protection groups on the path; and the outer path is a path that includes other protection groups on the path;
  • Setting the timing time of the delay timer corresponding to the outer path to be greater than the specific value includes:
  • T1 is the maximum value of the delay time of the delay timer corresponding to each path in the protection group included in the outer path; T2 is greater than or It is equal to the time that the included protection group completes the protection switching.
  • the specific value is zero.
  • the stall timer is located in a controller of the protection system.
  • each of the delay timers is respectively located in a detector of a path corresponding to the protection system
  • the calculating the protection group status includes:
  • the detector reports the change of the fault to a controller in the protection system, and the controller calculates the state of the protection group.
  • a system that implements nested protection including:
  • Set the module set to: respectively set the delay timer corresponding to different paths in the protection group, The timing of the delay timer corresponding to the innermost path is set to a specific value, and the timing of the delay timer corresponding to the outer path is set to be greater than the specific value;
  • the execution module is configured to: when detecting the change of the fault, obtain the timing of the delay timer corresponding to the path where the fault occurs, and calculate the state of the protection group when the obtained timing time is the specific value; The delay timer corresponding to the path where the fault is changed when the timing is not the specific value, and the change of the fault is not changed after the timing of the delay timer is reached, and is not changed when the fault is not changed. Protect the group status.
  • the innermost path is a path that does not include other protection groups on the path; and the outer path is a path that includes other protection groups on the path;
  • the setting module is configured to: set a timing time of the delay timer corresponding to the outer path to T1+T2; and T1 is a timing time of the delay timer corresponding to each path in the protection group included in the outer path
  • T2 is greater than or equal to the time that the included protection group completes the protection switching.
  • the specific value is zero.
  • the stall timer and the execution module are located in a controller of the protection system.
  • each of the delay timers is respectively located in a detector of a path corresponding to the protection system
  • One execution module is set in the detector of each path
  • the execution module is configured to report the change of the fault to a controller of the protection system, and the controller calculates the state of the protection group.
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • the method and system according to the embodiment of the present invention achieve the effect of reducing the service interruption time compared with the related art.
  • FIG. 1 is a schematic flowchart of a method for implementing nested protection according to an embodiment of the present invention
  • Figure 2 is a schematic diagram of the protection system architecture.
  • FIG. 3 is a schematic diagram of implementing protection nesting by a controller.
  • Figure 4 is a schematic diagram of protection nesting by a detector.
  • OCH optical channel
  • OTS optical transmission segment layer
  • FIG. 6 is a schematic diagram of a system for implementing nested protection according to an embodiment of the present invention.
  • the embodiment of the invention provides a method for implementing nested protection, as shown in FIG. 1 , which includes:
  • Step 101 Set a delay timer corresponding to different paths in the protection group, set a timing of the delay timer corresponding to the innermost path to a specific value, and set a timing time of the delay timer corresponding to the outer path to be greater than The specific value;
  • Step 102 When it is detected that the fault changes, obtain the timing of the delay timer corresponding to the path where the fault occurs, and calculate the protection group state when the acquired timing time is the specific value; when the acquired timing If the time is not the specific value, the delay timer corresponding to the path where the fault is started is changed. After the timing of the delay timer arrives, the change of the fault is detected again. If the change is not changed, the protection group status is calculated. .
  • the change of the fault includes the fault and the fault disappears; when the fault changes to the fault, the change does not change means that the fault still exists; when the fault changes to the fault disappears, the change does not change means the non-existence malfunction.
  • the innermost path is a path that does not include other protection groups on the path, and may be a work.
  • the path may also be a protection path;
  • the outer path is a path containing other protection groups on the path, and may be a working path or a protection path;
  • Setting the timing time of the delay timer corresponding to the outer path to be greater than the specific value may include:
  • T1 is the maximum value of the delay time of the delay timer corresponding to each path in the protection group included in the outer path; T2 is greater than or It is equal to the time that the included protection group completes the protection switching.
  • the specific value may be, but is not limited to, zero.
  • the stall timers may all be located in a controller of the protection system.
  • each of the stall timers may be located in a detector of a path corresponding to the protection system.
  • Method 1 Set the controller to implement different paths using different delay timer methods.
  • each protection system has a controller 21, a plurality of detectors 22, a plurality of actuators 23, and a protocol transmitter 24, wherein the detector 22 is responsible for fault collection and reporting.
  • the controller 21 is responsible for processing the external input and performing protocol calculations to derive the final state of the protection group, the executor 23 is responsible for performing the switching operation, and the protocol transmitter 24 is responsible for delivering the protocol signaling.
  • different delay timers 25 can be enabled in the controller 21 for different external inputs (alarms), as shown in FIG. 3 (only shown in FIG. 3)
  • a stall timer is shown as an illustration, and does not mean that there is only one delay timer, and the delay timer 25 is located in the controller 21.
  • the method for implementing nested protection includes the following steps:
  • the first step begins with protecting the group configuration.
  • the timing of the delay timer of the first working path W1 in the protection group is TW1
  • the timing of the delay timer of the second working path W2 is TW2
  • the Nth working path WN is set.
  • the delay time of the delay timer is TWN.
  • the third step sets the delay time of the delay timer of the first protection path P1 in the protection group to TP1, the timing of the delay timer of the second protection path P2 is TP2, and so on, and the timing of setting the delay timer of the Mth working path PM is TPM.
  • the timing time of the delay timer corresponding to the innermost working path/protection path is set to 0, and the innermost protection group is directly included (that is, the protection of the other protection group is not included in the path).
  • the timing time M1 of the delay timer corresponding to the path A1 (which may be the working path or the protection path) is set to be greater than or equal to M (M is the step size, and the protection switching of the inner layer of M time can be completed);
  • the timing M2 of the delay timer corresponding to the path M2 (which may be the working path or the protection path) of the protection group in which the path A1 is located is set to be greater than or equal to M1+M (may be, but not limited to, 2M); and so on.
  • the controller checks the timing of the TWi (or TPj), if TWi (or TPj) When the timing time is 0, the protocol is immediately calculated to obtain the protection group status. If the timing time of TWi (or TPj) is not 0, the TWi (or TPj) delay timer is started, when the TWi (or TPj) timer When the failure (that is, the timing time arrives), first check whether the detector Wi (or Pj) still has a fault. If there is still a fault (the fault can be different from the originally reported fault), enter the protocol calculation to obtain the protection group status. If the fault does not exist, no action is taken.
  • Method 2 Different detectors are used to implement different paths using different delay timer methods.
  • each protection system has a controller 21, a plurality of detectors 22, a plurality of actuators 23, and a protocol transmitter 24, wherein the detector 22 is responsible for fault collection and reporting.
  • the controller 21 is responsible for processing the external input and performing protocol calculations to derive the final state of the protection group, the executor 23 is responsible for performing the switching operation, and the protocol transmitter 24 is responsible for delivering the protocol signaling.
  • different delay timers 25 can be enabled in each detector. As shown in FIG. 4, the delay timer 25 is located in the detector (only shown in FIG. 4). A stall timer is used as a schematic and does not mean that there is only one delay timer.
  • the method for implementing nested protection includes the following steps:
  • the first step is to set the detector of the innermost path and set the delay time of the delay timer to zero.
  • the detector of the sub-layer path is set, and the timing of the delay timer is set to be greater than or equal to M, and M is the step size. It is considered that the protection switching of the inner layer of the M time can be completed.
  • step N the detector of the outgoing layer path is set, and the timing of setting the delay timer is greater than or equal to (N-1)M.
  • N is the total number of layers.
  • Step N+1 configure the protection group for each layer.
  • step N+2 when the detector of the i-th (i ⁇ N+1) layer path detects that the fault has changed, here is an example of generating a fault, and the timing of the delay timer of the layer is not 0. Then, the delay timer of the layer is started, waiting for (i-1) M time, when the timing of the delay timer of the layer is reached, it is detected whether the fault still has a fault, if there is still a fault (the fault can be initially The reported fault is not the same. The fault is reported to the corresponding controller. The controller calculates the status of the protection group and sends it to the actuator for execution. Otherwise, if the fault does not exist, no action is taken.
  • the fault is generated as a change of the fault, and the situation when the fault disappears is similar:
  • Figure 5 is a schematic diagram of the OCH1+1 protection working path nested OTS1+1.
  • the client side is OCH1+1 protection
  • the service layer is OTS1+1 protection.
  • the OTS1+1 protection of the service layer is only OCH1+1 protection on the customer side.
  • the working path is implemented.
  • the first step is to configure the OTS1+1 protection group.
  • the OTS1+1 protection group is located at the innermost layer. Therefore, the OTS1+1 protection working path delay timer and the protection path delay timer of the protection group controller are set. Is 0.
  • the second step is to configure the OCH1+1 protection group.
  • the OTS1+1 protection group is nested in the OCH1+1 protection group. There is no nesting in the protection path. Therefore, the OCH1+1 protection in the protection group controller will be implemented.
  • the working time of the working path delay timer is set to T (T is not 0, T is greater than or equal to the time when the nested OTS1+1 protection group completes the protection switching), and the delay time of the protection path delay timer is set to 0. .
  • the third step is that when the location 1 on the working path of the OTS1+1 protection group fails, the detector of the OTS1+1 protection group and the detector of the OCH1+1 protection group will detect the alarm and report it to the respective controller, OTS1.
  • the controller of the +1 protection group finds that the delay time of the working path delay timer is 0, and immediately calculates the protocol and obtains the state as a reverse state; the controller of the OCH1+1 protection group finds the working path after receiving the alarm. If the delay time of the delay timer is T, the timer is started. When the timer time T is reached, and the detector has no alarm, the protocol does not need to be entered and no processing is performed.
  • Step 4 When the location 2 on the protection path of the OCH1+1 protection group fails, the detector of the OCH1+1 protection group detects the alarm and reports it to its controller. After receiving the alarm, the controller finds the working path. If the delay time of the delay timer is 0, the protocol calculation is entered immediately, and the protection group status is working.
  • FIG. 5 The protection nesting of FIG. 5 is taken as an example to illustrate how the detector implements the protection of the nested stall timer.
  • Figure 5 is a schematic diagram of the OCH1+1 protection working path nested OTS1+1.
  • the client side is OCH1+1 protection
  • the service layer is OTS1+1 protection.
  • the OTS1+1 protection of the service layer is only OCH1+1 protection on the customer side.
  • the working path is implemented.
  • the first step is to configure the delay timer of the detector in the OTS1+1 protection domain.
  • the OTS1+1 protection group is located at the innermost layer, so the timing of the delay timer of the detector in the OTS1+1 protection domain is set to zero.
  • the second step is to configure the delay timer of the detector in the OCH1+1 protection domain.
  • the OTS1+1 protection group is nested with the OTS1+1 protection group in the OCH1+1 protection group. There is no nesting in the protection path, so the OCH1+1 protection domain working path is
  • the timing of the stall timer of the upper detector (excluding the OTS1+1 protection domain) is set to T (T is not 0), and the timing of the delay timer of the detector on the protection path is set to zero.
  • the third step is that when the location 1 on the working path of the OTS1+1 protection group fails, the detector of the OTS1+1 protection group and the detector of the OCH1+1 protection group will detect the alarm, because OTS1+1 If the timing of the detector delay timer of the protection group is 0, the alarm is immediately reported to the controller.
  • the controller calculates the status of the protection group as a reverse state and sends it to the actuator for execution.
  • the OCH1+1 protection group The timer of the detector delay timer on the working path is T, so the detector starts the delay timer. When the timing of the delay timer expires, the fault has disappeared because the OTS1+1 protection group has been switched. Therefore, no operation is performed, that is, the alarm is not reported to the controller.
  • Step 4 When the location 2 on the protection path of the OCH1+1 protection group fails, the detector of the OCH1+1 protection group detects the alarm, due to the delay of the detector delay timer of the OCH1+1 protection group on the protection path. The time is 0, so the alarm is immediately reported to the OCH1+1 protection group controller, and the controller enters the protocol calculation to obtain the protection group status as the working state.
  • the embodiment of the present invention further provides a system for implementing nested protection, including:
  • the setting module 61 is configured to: respectively set the delay timer 25 corresponding to different paths in the protection group, set the timing time of the delay timer 25 corresponding to the innermost path to a specific value, and set the delay timer corresponding to the outer path The timing time of 25 is set to be greater than the specific value;
  • the execution module 62 is configured to: when detecting the change of the fault, obtain the timing time of the delay timer 25 corresponding to the path where the fault occurs, and calculate the protection group state when the acquired timing time is the specific value; When the acquired timing time is not the specific value, the delay timer 25 corresponding to the path where the fault occurs is changed, and the change of the fault is not changed after the timing time of the delay timer 25 is reached.
  • the protection group status is calculated when it has not changed.
  • the innermost path is a path that does not include other protection groups on the path;
  • the outer path is a path that includes other protection groups on the path;
  • the setting module 61 is configured to: set a timing time of the delay timer 25 corresponding to the outer path to T1+T2; T1 is a delay timer corresponding to each path in the protection group included in the outer path. The maximum value in the timing time; T2 is greater than or equal to the time that the included protection group completes the protection switching.
  • the specific value may be 0.
  • the stall timer 25 and the execution module 62 may be located in a controller of the protection system.
  • each of the delay timers 25 can be respectively located in a detector of a path corresponding to the protection system
  • One of the execution modules 62 may be disposed in the detector of each path;
  • the execution module 62 is configured to report the change of the fault to a controller of the protection system, and the controller calculates the state of the protection group.
  • 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/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in 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 can overcome the problem of unnecessary increase of the protection switching time caused by the different nesting levels of the working/protection paths existing in the related standard technologies, and achieve the effect of reducing the service interruption time.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Emergency Protection Circuit Devices (AREA)

Abstract

Disclosed are a method and a system for implementing nested protection. The method comprises: setting delay timers corresponding to different paths in a protection group respectively, where timing times of delay timers corresponding to an innermost-layer path are set to a specific value, and timing times of delay timers corresponding to an outer-layer path are set to a value greater than the specific value; and when it is detected that a failure changes, acquiring a timing time of a delay timer corresponding to a path of a location where the failure changes; when the timing time is the specific value, calculating a state of the protection group; and when the timing time is not the specific value, starting the delay timer corresponding to the path of the location where the failure changes, after the timing time of the delay timer is reached, detecting again whether the change of the failure does not change, and when the change does not change, calculating the state of the protection group.

Description

一种实现嵌套保护的方法及系统Method and system for implementing nested protection 技术领域Technical field
本申请涉及但不限于基于传送网的保护控制技术。This application relates to, but is not limited to, a transport network based protection control technique.
背景技术Background technique
随着网络业务对带宽的需求越来越大,运营商和系统制造商一直在不断地考虑改进业务传送技术的问题。数字传送网的演化也从最初的基于T1/E1的第一代数字传送网,经历了基于SONET(同步光纤网络)/SDH(同步数字体系)的第二代数字传送网,发展到了目前以OTN(光传送网)为基础的第三代数字传送网。作为下一代传送网,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 the digital transport network has also evolved from the original T1/E1-based first-generation digital transport network to the second-generation digital transport network based on SONET (Synchronous Optical Network)/SDH (Synchronous Digital Hierarchy). (Optical Transport Network) based third generation digital 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.
从网络层次上看,当前网络可以进行多层嵌套,如何协调位于多个层面保护倒换机的处理的问题就更加凸显。因此需要一种办法,使服务器层保护倒换机在客户层倒换发生之前解决问题。From the network level, the current network can be multi-layered, and the problem of how to coordinate the processing of the protection switch at multiple levels is more prominent. Therefore, a solution is needed to enable the server layer protection switch to solve the problem before the client layer switching occurs.
发明内容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.
G.873.1标准提到的解决方式是通过每个保护组均应配有一个可供调配的滞后定时器处理保护级联/嵌套的问题。而这种方式仍存在一些问题,当工作或者保护路径嵌套保护层次不同时,保护组无限制的等待了不必要的时间,而不是快速保护倒换,使得业务中断的时间无谓增长,即不能满足不同路径(工作或保护)嵌套层次不同的情况。The solution mentioned in the G.873.1 standard is that each protection group should be equipped with a hysteresis timer that can be provisioned to handle the protection cascade/nesting problem. However, there are still some problems in this way. When the work or protection path nesting protection levels are different, the protection group waits for unnecessary time without restriction, instead of fast protection switching, so that the time of service interruption grows unnecessarily, that is, cannot be satisfied. Different paths (work or protection) have different nesting levels.
本文克服上述标准技术中存在的工作/保护路径嵌套层次不同引起的保护倒换时间无谓增长的问题,提供一种保护组中不同路径采用不同拖延定时器的方案。 This paper overcomes the problem of the unnecessary increase of the protection switching time caused by the different nesting levels of the working/protection paths in the above standard technology, and provides a scheme in which different paths in the protection group adopt different delay timers.
一种实现嵌套保护的方法,包括:A method of implementing nested protection, including:
分别设置保护组中不同路径对应的拖延定时器,将最里层路径对应的拖延定时器的定时时间均设置为特定值,将外层路径对应的拖延定时器的定时时间设置为大于所述特定值;The delay timers corresponding to the different paths in the protection group are respectively set, and the timings of the delay timers corresponding to the innermost path are all set to specific values, and the timing time of the delay timer corresponding to the outer path is set to be larger than the specific value;
当检测到故障发生变化时,获取故障发生变化的位置所在路径对应的拖延定时器的定时时间,当获取到的定时时间为所述特定值时计算保护组状态;当获取到的定时时间不为所述特定值时启动故障发生变化的位置所在路径对应的拖延定时器,待该拖延定时器的定时时间到达后再次检测故障所发生的变化是否未改变,未改变时计算保护组状态。When it is detected that the fault has changed, the timing of the delay timer corresponding to the path where the fault occurs is obtained, and when the obtained timing time is the specific value, the state of the protection group is calculated; when the acquired timing time is not When the specific value is used, the delay timer corresponding to the path where the fault is changed is started. After the timing time of the delay timer arrives, the change of the fault is detected again, and the state of the protection group is calculated when the change is not changed.
可选地,所述最里层路径为路径上不包含其它保护组的路径;所述外层路径为路径上包含其它保护组的路径;Optionally, the innermost path is a path that does not include other protection groups on the path; and the outer path is a path that includes other protection groups on the path;
所述将外层路径对应的拖延定时器的定时时间设置为大于所述特定值包括:Setting the timing time of the delay timer corresponding to the outer path to be greater than the specific value includes:
将外层路径对应的拖延定时器的定时时间设置为T1+T2;T1为该外层路径所包含的保护组中,每个路径对应的拖延定时器的定时时间中的最大值;T2大于或等于所包含的保护组完成保护倒换的时间。Set the timing of the delay timer corresponding to the outer path to T1+T2; T1 is the maximum value of the delay time of the delay timer corresponding to each path in the protection group included in the outer path; T2 is greater than or It is equal to the time that the included protection group completes the protection switching.
可选地,所述特定值为0。Optionally, the specific value is zero.
可选地,所述拖延定时器位于保护系统的控制器中。Optionally, the stall timer is located in a controller of the protection system.
可选地,每个所述拖延定时器分别位于保护系统中所对应的路径的检测器中;Optionally, each of the delay timers is respectively located in a detector of a path corresponding to the protection system;
所述计算保护组状态包括:The calculating the protection group status includes:
所述检测器将所述故障发生的变化上报给所在保护系统中的控制器,由所述控制器计算出保护组状态。The detector reports the change of the fault to a controller in the protection system, and the controller calculates the state of the protection group.
一种实现嵌套保护的系统,包括:A system that implements nested protection, including:
分别与保护组中不同路径对应的拖延定时器;a delay timer corresponding to a different path in the protection group;
设置模块,设置为:分别设置保护组中不同路径对应的拖延定时器,将 最里层路径对应的拖延定时器的定时时间均设置为特定值,将外层路径对应的拖延定时器的定时时间设置为大于所述特定值;Set the module, set to: respectively set the delay timer corresponding to different paths in the protection group, The timing of the delay timer corresponding to the innermost path is set to a specific value, and the timing of the delay timer corresponding to the outer path is set to be greater than the specific value;
执行模块,设置为:当检测到故障发生变化时,获取故障发生变化的位置所在路径对应的拖延定时器的定时时间,当获取到的定时时间为所述特定值时计算保护组状态;当获取到的定时时间不为所述特定值时启动故障发生变化的位置所在路径对应的拖延定时器,待该拖延定时器的定时时间到达后再次检测故障所发生的变化是否未改变,未改变时计算保护组状态。The execution module is configured to: when detecting the change of the fault, obtain the timing of the delay timer corresponding to the path where the fault occurs, and calculate the state of the protection group when the obtained timing time is the specific value; The delay timer corresponding to the path where the fault is changed when the timing is not the specific value, and the change of the fault is not changed after the timing of the delay timer is reached, and is not changed when the fault is not changed. Protect the group status.
可选地,所述最里层路径为路径上不包含其它保护组的路径;所述外层路径为路径上包含其它保护组的路径;Optionally, the innermost path is a path that does not include other protection groups on the path; and the outer path is a path that includes other protection groups on the path;
所述设置模块是设置为:将外层路径对应的拖延定时器的定时时间设置为T1+T2;T1为该外层路径所包含的保护组中,每个路径对应的拖延定时器的定时时间中的最大值;T2大于或等于所包含的保护组完成保护倒换的时间。The setting module is configured to: set a timing time of the delay timer corresponding to the outer path to T1+T2; and T1 is a timing time of the delay timer corresponding to each path in the protection group included in the outer path The maximum value in T2 is greater than or equal to the time that the included protection group completes the protection switching.
可选地,所述特定值为0。Optionally, the specific value is zero.
可选地,所述拖延定时器及所述执行模块位于保护系统的控制器中。Optionally, the stall timer and the execution module are located in a controller of the protection system.
可选地,每个所述拖延定时器分别位于保护系统中所对应的路径的检测器中;Optionally, each of the delay timers is respectively located in a detector of a path corresponding to the protection system;
每个路径的检测器中设置一个所述执行模块;One execution module is set in the detector of each path;
所述执行模块是设置为:将所述故障发生的变化上报给所在保护系统的控制器,由所述控制器计算出保护组状态。The execution module is configured to report the change of the fault to a controller of the protection system, and the controller calculates the state of the protection group.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。A computer readable storage medium storing computer executable instructions for performing the method of any of the above.
采用本发明实施例所述方法和系统,与相关技术相比,达到了降低业务中断时间的效果。The method and system according to the embodiment of the present invention achieve the effect of reducing the service interruption time compared with the related art.
在阅读并理解了附图和详细描述后,可以明白其他方面。 Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例实现嵌套保护的方法的流程示意图;FIG. 1 is a schematic flowchart of a method for implementing nested protection according to an embodiment of the present invention;
图2为保护系统架构示意图。Figure 2 is a schematic diagram of the protection system architecture.
图3为通过控制器实现保护嵌套的示意图。FIG. 3 is a schematic diagram of implementing protection nesting by a controller.
图4为通过检测器实现保护嵌套的示意图。Figure 4 is a schematic diagram of protection nesting by a detector.
图5为OCH(光通道)1+1保护工作路径嵌套OTS(光传输段层)1+1的示意图;5 is a schematic diagram of an OCH (optical channel) 1+1 protection working path nested OTS (optical transmission segment layer) 1+1;
图6为本发明实施例的实现嵌套保护的系统示意图。FIG. 6 is a schematic diagram of a system for implementing nested protection according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下面将结合附图对本发明的实施方式进行说明。Embodiments of the present invention will be described below with reference to the accompanying drawings.
需要说明的是,如果不冲突,本发明实施例以及实施例中的各个特征可以相互结合。另外,虽然在流程图中示出了逻辑顺序,但是在一些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。It should be noted that the embodiments of the present invention and the various features in the embodiments may be combined with each other if they do not conflict. Additionally, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
本发明实施例提供了一种实现嵌套保护的方法,如图1所示,包括:The embodiment of the invention provides a method for implementing nested protection, as shown in FIG. 1 , which includes:
步骤101,分别设置保护组中不同路径对应的拖延定时器,将最里层路径对应的拖延定时器的定时时间均设置为特定值,将外层路径对应的拖延定时器的定时时间设置为大于所述特定值;Step 101: Set a delay timer corresponding to different paths in the protection group, set a timing of the delay timer corresponding to the innermost path to a specific value, and set a timing time of the delay timer corresponding to the outer path to be greater than The specific value;
步骤102,当检测到故障发生变化时,获取故障发生变化的位置所在路径对应的拖延定时器的定时时间,当获取到的定时时间为所述特定值时计算保护组状态;当获取到的定时时间不为所述特定值时启动故障发生变化的位置所在路径对应的拖延定时器,待该拖延定时器的定时时间到达后再次检测故障所发生的变化是否未改变,未改变时计算保护组状态。Step 102: When it is detected that the fault changes, obtain the timing of the delay timer corresponding to the path where the fault occurs, and calculate the protection group state when the acquired timing time is the specific value; when the acquired timing If the time is not the specific value, the delay timer corresponding to the path where the fault is started is changed. After the timing of the delay timer arrives, the change of the fault is detected again. If the change is not changed, the protection group status is calculated. .
其中,故障发生变化包括故障产生和故障消失;故障发生变化为故障产生时,所发生的变化未改变是指仍存在故障;故障发生变化为故障消失时,所发生的变化未改变是指不存在故障。Among them, the change of the fault includes the fault and the fault disappears; when the fault changes to the fault, the change does not change means that the fault still exists; when the fault changes to the fault disappears, the change does not change means the non-existence malfunction.
其中,所述最里层路径为路径上不包含其它保护组的路径,可以是工作 路径也可以是保护路径;所述外层路径为路径上包含其它保护组的路径,可以是工作路径也可以是保护路径;The innermost path is a path that does not include other protection groups on the path, and may be a work. The path may also be a protection path; the outer path is a path containing other protection groups on the path, and may be a working path or a protection path;
所述将外层路径对应的拖延定时器的定时时间设置为大于所述特定值可以包括:Setting the timing time of the delay timer corresponding to the outer path to be greater than the specific value may include:
将外层路径对应的拖延定时器的定时时间设置为T1+T2;T1为该外层路径所包含的保护组中,每个路径对应的拖延定时器的定时时间中的最大值;T2大于或等于所包含的保护组完成保护倒换的时间。Set the timing of the delay timer corresponding to the outer path to T1+T2; T1 is the maximum value of the delay time of the delay timer corresponding to each path in the protection group included in the outer path; T2 is greater than or It is equal to the time that the included protection group completes the protection switching.
其中,所述特定值可以但不限于为0。Wherein, the specific value may be, but is not limited to, zero.
在一种实现方法中,所述拖延定时器可以均位于保护系统的控制器中。In one implementation, the stall timers may all be located in a controller of the protection system.
在另一种实现方法中,每个所述拖延定时器可以分别位于保护系统中所对应路径的检测器中。In another implementation, each of the stall timers may be located in a detector of a path corresponding to the protection system.
本发明实施例包括的上述两种实现方法包括:The foregoing two implementation methods included in the embodiments of the present invention include:
方法一:通过设置控制器来实现不同路径采用不同拖延定时器方法。Method 1: Set the controller to implement different paths using different delay timer methods.
保护系统的架构如图2所示,每个保护系统都有控制器21、多个检测器22、多个执行器23、协议传递器24四部分组成,其中检测器22负责故障采集与上报,控制器21负责处理外部输入并进行协议计算得出保护组最终状态,执行器23负责执行倒换动作,协议传递器24负责传递协议信令。The architecture of the protection system is as shown in FIG. 2, and each protection system has a controller 21, a plurality of detectors 22, a plurality of actuators 23, and a protocol transmitter 24, wherein the detector 22 is responsible for fault collection and reporting. The controller 21 is responsible for processing the external input and performing protocol calculations to derive the final state of the protection group, the executor 23 is responsible for performing the switching operation, and the protocol transmitter 24 is responsible for delivering the protocol signaling.
为了实现不同路径采用不同拖延定时器(Holdoff-timer)的方法,可以在控制器21中针对不同外部输入(告警)启用不同的拖延定时器25,如图3所示(图3中只画出了一个拖延定时器以作为示意,并不代表拖延定时器只有一个),拖延定时器25位于控制器21中。In order to implement different methods of different delay timers (Holdoff-timer), different delay timers 25 can be enabled in the controller 21 for different external inputs (alarms), as shown in FIG. 3 (only shown in FIG. 3) A stall timer is shown as an illustration, and does not mean that there is only one delay timer, and the delay timer 25 is located in the controller 21.
方法一中,所述实现嵌套保护的方法包括以下步骤:In the first method, the method for implementing nested protection includes the following steps:
第一步开始保护组配置。The first step begins with protecting the group configuration.
第二步设置保护组中第一个工作路径W1的拖延定时器的定时时间为TW1,第二个工作路径W2的拖延定时器的定时时间为TW2,依次类推,设置第N个工作路径WN的拖延定时器的定时时间为TWN。In the second step, the timing of the delay timer of the first working path W1 in the protection group is TW1, the timing of the delay timer of the second working path W2 is TW2, and so on, and the Nth working path WN is set. The delay time of the delay timer is TWN.
第三步设置保护组中第一个保护路径P1的拖延定时器的定时时间为 TP1,第二个保护路径P2的拖延定时器的定时时间为TP2,依次类推,设置第M个工作路径PM的拖延定时器的定时时间为TPM。The third step sets the delay time of the delay timer of the first protection path P1 in the protection group to TP1, the timing of the delay timer of the second protection path P2 is TP2, and so on, and the timing of setting the delay timer of the Mth working path PM is TPM.
在上述第二、第三步中,最里层的工作路径/保护路径对应的拖延定时器的定时时间设置为0,直接包含该最里层保护组(即路径中未包含其它保护组的保护组)的路径A1(可以是工作路径也可以是保护路径)对应的拖延定时器的定时时间M1设置为大于或等于M(M为步长,认为M时间里层的保护倒换可以完成);将包含路径A1所在保护组的路径M2(可以是工作路径也可以是保护路径)对应的拖延定时器的定时时间M2设置为大于或等于M1+M(可以但不限于为2M);以此类推。In the second step and the third step, the timing time of the delay timer corresponding to the innermost working path/protection path is set to 0, and the innermost protection group is directly included (that is, the protection of the other protection group is not included in the path). The timing time M1 of the delay timer corresponding to the path A1 (which may be the working path or the protection path) is set to be greater than or equal to M (M is the step size, and the protection switching of the inner layer of M time can be completed); The timing M2 of the delay timer corresponding to the path M2 (which may be the working path or the protection path) of the protection group in which the path A1 is located is set to be greater than or equal to M1+M (may be, but not limited to, 2M); and so on.
第四完成保护组配置。The fourth complete protection group configuration.
第五步,当Wi(或Pj)路径故障发生变化,这里以产生故障为例,检测器检测到告警上报给控制器后,控制器查看TWi(或TPj)的定时时间,如果TWi(或TPj)的定时时间为0,则立即计算协议得出保护组状态,如果TWi(或TPj)的定时时间不为0,则启动TWi(或TPj)的拖延定时器,当TWi(或TPj)定时器失效(即定时时间到达)时,先查看检测器Wi(或Pj)是否仍存在故障,如果仍存在故障(该故障可以与最初上报的故障不一样),则进入协议计算,得出保护组状态;如果故障不存在,则不做任何动作。In the fifth step, when the Wi (or Pj) path fault changes, here is an example of generating a fault. After the detector detects that the alarm is reported to the controller, the controller checks the timing of the TWi (or TPj), if TWi (or TPj) When the timing time is 0, the protocol is immediately calculated to obtain the protection group status. If the timing time of TWi (or TPj) is not 0, the TWi (or TPj) delay timer is started, when the TWi (or TPj) timer When the failure (that is, the timing time arrives), first check whether the detector Wi (or Pj) still has a fault. If there is still a fault (the fault can be different from the originally reported fault), enter the protocol calculation to obtain the protection group status. If the fault does not exist, no action is taken.
方法二:通过设置检测器来实现不同路径采用不同拖延定时器方法。Method 2: Different detectors are used to implement different paths using different delay timer methods.
保护系统的架构如图2所示,每个保护系统都有控制器21、多个检测器22、多个执行器23、协议传递器24四部分组成,其中检测器22负责故障采集与上报,控制器21负责处理外部输入并进行协议计算得出保护组最终状态,执行器23负责执行倒换动作,协议传递器24负责传递协议信令。The architecture of the protection system is as shown in FIG. 2, and each protection system has a controller 21, a plurality of detectors 22, a plurality of actuators 23, and a protocol transmitter 24, wherein the detector 22 is responsible for fault collection and reporting. The controller 21 is responsible for processing the external input and performing protocol calculations to derive the final state of the protection group, the executor 23 is responsible for performing the switching operation, and the protocol transmitter 24 is responsible for delivering the protocol signaling.
为了实现不同路径采用不同拖延定时器的方法,可以在每个检测器中分别启用不同的拖延定时器25,如图4所示,拖延定时器25位于检测器中(图4中只画出了一个拖延定时器以作为示意,并不代表拖延定时器只有一个)。In order to implement different delay timers for different paths, different delay timers 25 can be enabled in each detector. As shown in FIG. 4, the delay timer 25 is located in the detector (only shown in FIG. 4). A stall timer is used as a schematic and does not mean that there is only one delay timer.
方法二中,所述实现嵌套保护的方法包括以下步骤: In the second method, the method for implementing nested protection includes the following steps:
第一步设置最里层路径的检测器,设置其拖延定时器的定时时间为0。The first step is to set the detector of the innermost path and set the delay time of the delay timer to zero.
第二步设置次里层路径的检测器,设置其拖延定时器的定时时间为大于或等于M,M为步长,认为M时间里层的保护倒换可以完成。In the second step, the detector of the sub-layer path is set, and the timing of the delay timer is set to be greater than or equal to M, and M is the step size. It is considered that the protection switching of the inner layer of the M time can be completed.
……......
第N步设置外出层路径的检测器,设置其拖延定时器的定时时间为大于或等于(N-1)M。N为总的层数。In step N, the detector of the outgoing layer path is set, and the timing of setting the delay timer is greater than or equal to (N-1)M. N is the total number of layers.
第N+1步,配置每个层的保护组。Step N+1, configure the protection group for each layer.
第N+2步,当第i(i<N+1)层路径的检测器检测到故障发生变化,这里以产生故障为例,经查看检测器该层的拖延定时器的定时时间不为0,则启动该层的拖延定时器,等待(i-1)M的时间,当该层的拖延定时器的定时时间到后,检测故障是否仍存在故障,如果仍存在故障(该故障可以与最初上报的故障不一样),则将该故障上报给对应的控制器,控制器经过协议计算,得出保护组状态并下发给执行器执行;否则如果故障不存在,在不做任何动作。In step N+2, when the detector of the i-th (i<N+1) layer path detects that the fault has changed, here is an example of generating a fault, and the timing of the delay timer of the layer is not 0. Then, the delay timer of the layer is started, waiting for (i-1) M time, when the timing of the delay timer of the layer is reached, it is detected whether the fault still has a fault, if there is still a fault (the fault can be initially The reported fault is not the same. The fault is reported to the corresponding controller. The controller calculates the status of the protection group and sends it to the actuator for execution. Otherwise, if the fault does not exist, no action is taken.
下面用两个实施例说明本申请上述两个方法的应用,这两个实施例里以产生故障作为故障发生的变化进行说明,故障消失时的情况类似:The following two embodiments are used to illustrate the application of the above two methods in the present application. In the two embodiments, the fault is generated as a change of the fault, and the situation when the fault disappears is similar:
方法一的实施例:Embodiment of method one:
以图5的保护嵌套为例说明控制器实现保护嵌套拖延定时器的方法。图5中的w指工作路径,p指保护路径。Take the protection nesting of Figure 5 as an example to illustrate how the controller implements the protection of the nested stall timer. In Figure 5, w refers to the working path and p refers to the protection path.
图5为OCH1+1保护工作路径嵌套OTS1+1的示意图,客户侧为OCH1+1保护,服务层为OTS1+1保护,其中服务层的OTS1+1保护只在客户侧为OCH1+1保护的工作路径实现。Figure 5 is a schematic diagram of the OCH1+1 protection working path nested OTS1+1. The client side is OCH1+1 protection, and the service layer is OTS1+1 protection. The OTS1+1 protection of the service layer is only OCH1+1 protection on the customer side. The working path is implemented.
第一步先配置OTS1+1保护组,OTS1+1保护组位于最里层,因此将保护组控制器中OTS1+1保护的工作路径拖延定时器和保护路径的拖延定时器的定时时间均设置为0。The first step is to configure the OTS1+1 protection group. The OTS1+1 protection group is located at the innermost layer. Therefore, the OTS1+1 protection working path delay timer and the protection path delay timer of the protection group controller are set. Is 0.
第二步配置OCH1+1保护组,OCH1+1保护组中工作路径里嵌套了OTS1+1保护组,保护路径中无嵌套,因此将保护组控制器中OCH1+1保护 的工作路径拖延定时器的定时时间设置为T(T不为0,T大于或等于所嵌套的OTS1+1保护组完成保护倒换的时间),保护路径的拖延定时器的定时时间设置为0。The second step is to configure the OCH1+1 protection group. The OTS1+1 protection group is nested in the OCH1+1 protection group. There is no nesting in the protection path. Therefore, the OCH1+1 protection in the protection group controller will be implemented. The working time of the working path delay timer is set to T (T is not 0, T is greater than or equal to the time when the nested OTS1+1 protection group completes the protection switching), and the delay time of the protection path delay timer is set to 0. .
第三步当位于OTS1+1保护组工作路径上的位置1发生故障时,OTS1+1保护组的检测器和OCH1+1保护组的检测器都会检测到告警并报给各自的控制器,OTS1+1保护组的控制器接收到告警后发现工作路径的拖延定时器的定时时间为0,立即计算协议并得出状态为倒换态;OCH1+1保护组的控制器接收到告警后发现工作路径的拖延定时器的定时时间为T,则启动该定时器,当定时时间T到后,此时检测器无告警,则不需要进入协议,不做任何处理。The third step is that when the location 1 on the working path of the OTS1+1 protection group fails, the detector of the OTS1+1 protection group and the detector of the OCH1+1 protection group will detect the alarm and report it to the respective controller, OTS1. After receiving the alarm, the controller of the +1 protection group finds that the delay time of the working path delay timer is 0, and immediately calculates the protocol and obtains the state as a reverse state; the controller of the OCH1+1 protection group finds the working path after receiving the alarm. If the delay time of the delay timer is T, the timer is started. When the timer time T is reached, and the detector has no alarm, the protocol does not need to be entered and no processing is performed.
第四步当位于OCH1+1保护组保护路径上的位置2发生故障时,OCH1+1保护组的检测器会检测到告警并报给它的控制器,控制器接收到告警后发现工作路径的拖延定时器的定时时间为0,则立即进入协议计算,得出保护组状态为工作态。Step 4: When the location 2 on the protection path of the OCH1+1 protection group fails, the detector of the OCH1+1 protection group detects the alarm and reports it to its controller. After receiving the alarm, the controller finds the working path. If the delay time of the delay timer is 0, the protocol calculation is entered immediately, and the protection group status is working.
方法二的实施例:Embodiment of method two:
以图5的保护嵌套为例说明检测器实现保护嵌套拖延定时器的方法。The protection nesting of FIG. 5 is taken as an example to illustrate how the detector implements the protection of the nested stall timer.
图5为OCH1+1保护工作路径嵌套OTS1+1的示意图,客户侧为OCH1+1保护,服务层为OTS1+1保护,其中服务层的OTS1+1保护只在客户侧为OCH1+1保护的工作路径实现。Figure 5 is a schematic diagram of the OCH1+1 protection working path nested OTS1+1. The client side is OCH1+1 protection, and the service layer is OTS1+1 protection. The OTS1+1 protection of the service layer is only OCH1+1 protection on the customer side. The working path is implemented.
第一步先配置OTS1+1保护域内检测器的拖延定时器,OTS1+1保护组位于最里层,因此将OTS1+1保护域内检测器的拖延定时器的定时时间设置为0。The first step is to configure the delay timer of the detector in the OTS1+1 protection domain. The OTS1+1 protection group is located at the innermost layer, so the timing of the delay timer of the detector in the OTS1+1 protection domain is set to zero.
第二步配置OCH1+1保护域内检测器的拖延定时器,OCH1+1保护组中工作路径里嵌套了OTS1+1保护组,保护路径中无嵌套,因此将OCH1+1保护域内工作路径上的检测器(不包括OTS1+1保护域内)的拖延定时器的定时时间设置为T(T不为0),保护路径上的检测器的拖延定时器的定时时间设置为0。The second step is to configure the delay timer of the detector in the OCH1+1 protection domain. The OTS1+1 protection group is nested with the OTS1+1 protection group in the OCH1+1 protection group. There is no nesting in the protection path, so the OCH1+1 protection domain working path is The timing of the stall timer of the upper detector (excluding the OTS1+1 protection domain) is set to T (T is not 0), and the timing of the delay timer of the detector on the protection path is set to zero.
第三步当位于OTS1+1保护组工作路径上的位置1发生故障时,OTS1+1保护组的检测器和OCH1+1保护组的检测器都会检测到告警,由于OTS1+1 保护组的检测器拖延定时器的定时时间为0,则将告警立即报给控制器,控制器经过协议计算得出保护组状态为倒换态,下发给执行器执行;由于OCH1+1保护组工作路径上的检测器拖延定时器的定时时间为T,因此检测器启动该拖延定时器,当该拖延定时器的定时时间到后,由于OTS1+1保护组已经进行了倒换,故障已经消失,因此不进行任何操作,即不将告警上报给控制器。The third step is that when the location 1 on the working path of the OTS1+1 protection group fails, the detector of the OTS1+1 protection group and the detector of the OCH1+1 protection group will detect the alarm, because OTS1+1 If the timing of the detector delay timer of the protection group is 0, the alarm is immediately reported to the controller. The controller calculates the status of the protection group as a reverse state and sends it to the actuator for execution. The OCH1+1 protection group The timer of the detector delay timer on the working path is T, so the detector starts the delay timer. When the timing of the delay timer expires, the fault has disappeared because the OTS1+1 protection group has been switched. Therefore, no operation is performed, that is, the alarm is not reported to the controller.
第四步当位于OCH1+1保护组保护路径上的位置2发生故障时,OCH1+1保护组的检测器会检测到告警,由于保护路径上OCH1+1保护组的检测器拖延定时器的定时时间为0,因此立即将告警报给OCH1+1保护组控制器,控制器进入协议计算,得出保护组状态为工作态。Step 4: When the location 2 on the protection path of the OCH1+1 protection group fails, the detector of the OCH1+1 protection group detects the alarm, due to the delay of the detector delay timer of the OCH1+1 protection group on the protection path. The time is 0, so the alarm is immediately reported to the OCH1+1 protection group controller, and the controller enters the protocol calculation to obtain the protection group status as the working state.
如图6所示,本发明实施例还提供了一种实现嵌套保护的系统,包括:As shown in FIG. 6, the embodiment of the present invention further provides a system for implementing nested protection, including:
分别与保护组中不同路径对应的拖延定时器25;a delay timer 25 corresponding to a different path in the protection group;
设置模块61,设置为:分别设置保护组中不同路径对应的拖延定时器25,将最里层路径对应的拖延定时器25的定时时间均设置为特定值,将外层路径对应的拖延定时器25的定时时间设置为大于所述特定值;The setting module 61 is configured to: respectively set the delay timer 25 corresponding to different paths in the protection group, set the timing time of the delay timer 25 corresponding to the innermost path to a specific value, and set the delay timer corresponding to the outer path The timing time of 25 is set to be greater than the specific value;
执行模块62,设置为:当检测到故障发生变化时,获取故障发生变化的位置所在路径对应的拖延定时器25的定时时间,当获取到的定时时间为所述特定值时计算保护组状态;当获取到的定时时间不为所述特定值时启动故障发生变化的位置所在路径对应的拖延定时器25,待该拖延定时器25的定时时间到达后再次检测故障所发生的变化是否未改变,未改变时计算保护组状态。The execution module 62 is configured to: when detecting the change of the fault, obtain the timing time of the delay timer 25 corresponding to the path where the fault occurs, and calculate the protection group state when the acquired timing time is the specific value; When the acquired timing time is not the specific value, the delay timer 25 corresponding to the path where the fault occurs is changed, and the change of the fault is not changed after the timing time of the delay timer 25 is reached. The protection group status is calculated when it has not changed.
其中,所述最里层路径为路径上不包含其它保护组的路径;所述外层路径为路径上包含其它保护组的路径;The innermost path is a path that does not include other protection groups on the path; the outer path is a path that includes other protection groups on the path;
所述设置模块61是设置为:将外层路径对应的拖延定时器25的定时时间设置为T1+T2;T1为该外层路径所包含的保护组中,每个路径对应的拖延定时器25的定时时间中的最大值;T2大于或等于所包含的保护组完成保护倒换的时间。 The setting module 61 is configured to: set a timing time of the delay timer 25 corresponding to the outer path to T1+T2; T1 is a delay timer corresponding to each path in the protection group included in the outer path. The maximum value in the timing time; T2 is greater than or equal to the time that the included protection group completes the protection switching.
其中,所述特定值可以为0。Wherein, the specific value may be 0.
其中,所述拖延定时器25及所述执行模块62可以位于保护系统的控制器中。The stall timer 25 and the execution module 62 may be located in a controller of the protection system.
其中,每个所述拖延定时器25可以分别位于保护系统中所对应的路径的检测器中;Wherein, each of the delay timers 25 can be respectively located in a detector of a path corresponding to the protection system;
每个路径的检测器中可以设置一个所述执行模块62;One of the execution modules 62 may be disposed in the detector of each path;
所述执行模块62是设置为:将所述故障发生的变化上报给所在保护系统的控制器,由所述控制器计算出保护组状态。The execution module 62 is configured to report the change of the fault to a controller of the protection system, and the controller calculates the state of the protection group.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。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.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in 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
本发明实施例能克服相关标准技术中存在的工作/保护路径嵌套层次不同引起的保护倒换时间无谓增长的问题,达到了降低业务中断时间的效果。 The embodiment of the invention can overcome the problem of unnecessary increase of the protection switching time caused by the different nesting levels of the working/protection paths existing in the related standard technologies, and achieve the effect of reducing the service interruption time.

Claims (11)

  1. 一种实现嵌套保护的方法,包括:A method of implementing nested protection, including:
    分别设置保护组中不同路径对应的拖延定时器,将最里层路径对应的拖延定时器的定时时间均设置为特定值,将外层路径对应的拖延定时器的定时时间设置为大于所述特定值;The delay timers corresponding to the different paths in the protection group are respectively set, and the timings of the delay timers corresponding to the innermost path are all set to specific values, and the timing time of the delay timer corresponding to the outer path is set to be larger than the specific value;
    当检测到故障发生变化时,获取故障发生变化的位置所在路径对应的拖延定时器的定时时间,当获取到的定时时间为所述特定值时计算保护组状态;当获取到的定时时间不为所述特定值时启动故障发生变化的位置所在路径对应的拖延定时器,待该拖延定时器的定时时间到达后再次检测故障所发生的变化是否未改变,未改变时计算保护组状态。When it is detected that the fault has changed, the timing of the delay timer corresponding to the path where the fault occurs is obtained, and when the obtained timing time is the specific value, the state of the protection group is calculated; when the acquired timing time is not When the specific value is used, the delay timer corresponding to the path where the fault is changed is started. After the timing time of the delay timer arrives, the change of the fault is detected again, and the state of the protection group is calculated when the change is not changed.
  2. 如权利要求1所述的方法,其中:The method of claim 1 wherein:
    所述最里层路径为路径上不包含其它保护组的路径;所述外层路径为路径上包含其它保护组的路径;The innermost path is a path that does not include other protection groups on the path; the outer path is a path that includes other protection groups on the path;
    所述将外层路径对应的拖延定时器的定时时间设置为大于所述特定值包括:Setting the timing time of the delay timer corresponding to the outer path to be greater than the specific value includes:
    将外层路径对应的拖延定时器的定时时间设置为T1+T2;T1为该外层路径所包含的保护组中,每个路径对应的拖延定时器的定时时间中的最大值;T2大于或等于所包含的保护组完成保护倒换的时间。Set the timing of the delay timer corresponding to the outer path to T1+T2; T1 is the maximum value of the delay time of the delay timer corresponding to each path in the protection group included in the outer path; T2 is greater than or It is equal to the time that the included protection group completes the protection switching.
  3. 如权利要求1所述的方法,其中:The method of claim 1 wherein:
    所述特定值为0。The specific value is zero.
  4. 如权利要求1所述的方法,其中:The method of claim 1 wherein:
    所述拖延定时器位于保护系统的控制器中。The stall timer is located in the controller of the protection system.
  5. 如权利要求1所述的方法,其中:The method of claim 1 wherein:
    每个所述拖延定时器分别位于保护系统中所对应的路径的检测器中;Each of the delay timers is respectively located in a detector of a path corresponding to the protection system;
    所述计算保护组状态包括:The calculating the protection group status includes:
    所述检测器将所述故障发生的变化上报给所在保护系统中的控制器,由所述控制器计算出保护组状态。The detector reports the change of the fault to a controller in the protection system, and the controller calculates the state of the protection group.
  6. 一种实现嵌套保护的系统,包括: A system that implements nested protection, including:
    分别与保护组中不同路径对应的拖延定时器;a delay timer corresponding to a different path in the protection group;
    设置模块,设置为:分别设置保护组中不同路径对应的拖延定时器,将最里层路径对应的拖延定时器的定时时间均设置为特定值,将外层路径对应的拖延定时器的定时时间设置为大于所述特定值;The setting module is configured to: respectively set a delay timer corresponding to different paths in the protection group, set a timing time of the delay timer corresponding to the innermost path to a specific value, and set a timing time of the delay timer corresponding to the outer path. Set to be greater than the specific value;
    执行模块,设置为:当检测到故障发生变化时,获取故障发生变化的位置所在路径对应的拖延定时器的定时时间,当获取到的定时时间为所述特定值时计算保护组状态;当获取到的定时时间不为所述特定值时启动故障发生变化的位置所在路径对应的拖延定时器,待该拖延定时器的定时时间到达后再次检测故障所发生的变化是否未改变,未改变时计算保护组状态。The execution module is configured to: when detecting the change of the fault, obtain the timing of the delay timer corresponding to the path where the fault occurs, and calculate the state of the protection group when the obtained timing time is the specific value; The delay timer corresponding to the path where the fault is changed when the timing is not the specific value, and the change of the fault is not changed after the timing of the delay timer is reached, and is not changed when the fault is not changed. Protect the group status.
  7. 如权利要求6所述的系统,其中:The system of claim 6 wherein:
    所述最里层路径为路径上不包含其它保护组的路径;所述外层路径为路径上包含其它保护组的路径;The innermost path is a path that does not include other protection groups on the path; the outer path is a path that includes other protection groups on the path;
    所述设置模块是设置为:将外层路径对应的拖延定时器的定时时间设置为T1+T2;T1为该外层路径所包含的保护组中,每个路径对应的拖延定时器的定时时间中的最大值;T2大于或等于所包含的保护组完成保护倒换的时间。The setting module is configured to: set a timing time of the delay timer corresponding to the outer path to T1+T2; and T1 is a timing time of the delay timer corresponding to each path in the protection group included in the outer path The maximum value in T2 is greater than or equal to the time that the included protection group completes the protection switching.
  8. 如权利要求6所述的系统,其中:The system of claim 6 wherein:
    所述特定值为0。The specific value is zero.
  9. 如权利要求6所述的系统,其中:The system of claim 6 wherein:
    所述拖延定时器及所述执行模块位于保护系统的控制器中。The stall timer and the execution module are located in a controller of the protection system.
  10. 如权利要求6所述的系统,其中:The system of claim 6 wherein:
    每个所述拖延定时器分别位于保护系统中所对应的路径的检测器中;Each of the delay timers is respectively located in a detector of a path corresponding to the protection system;
    每个路径的检测器中设置一个所述执行模块;One execution module is set in the detector of each path;
    所述执行模块是设置为:将所述故障发生的变化上报给所在保护系统的控制器,由所述控制器计算出保护组状态。The execution module is configured to report the change of the fault to a controller of the protection system, and the controller calculates the state of the protection group.
  11. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-5任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-5.
PCT/CN2015/097579 2014-12-23 2015-12-16 Method and system for implementing nested protection WO2016101826A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410812355.0 2014-12-23
CN201410812355.0A CN105792028B (en) 2014-12-23 2014-12-23 Method and system for realizing nesting protection

Publications (1)

Publication Number Publication Date
WO2016101826A1 true WO2016101826A1 (en) 2016-06-30

Family

ID=56149248

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/097579 WO2016101826A1 (en) 2014-12-23 2015-12-16 Method and system for implementing nested protection

Country Status (2)

Country Link
CN (1) CN105792028B (en)
WO (1) WO2016101826A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174363A (en) * 2022-07-05 2022-10-11 杭州云合智网技术有限公司 Multi-protection group set fast switching method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115623364A (en) * 2022-09-08 2023-01-17 烽火通信科技股份有限公司 Method and system for IP and optical network protection switching cooperative management and control

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499820A (en) * 2008-02-01 2009-08-05 华为技术有限公司 Protection method for service transmission and network appliance
CN101616344A (en) * 2009-06-17 2009-12-30 中兴通讯股份有限公司 Service protecting method and device based on ASON
CN102118301A (en) * 2009-12-31 2011-07-06 中兴通讯股份有限公司 Tunnel protection method and device
CN103152094A (en) * 2013-03-05 2013-06-12 烽火通信科技股份有限公司 Multilayer protection switching method and device in optical network
US20140186019A1 (en) * 2012-12-27 2014-07-03 Abhishek Chaudhary Methods and systems of preserving client overhead bytes in optical transport network tunneling applications

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499820A (en) * 2008-02-01 2009-08-05 华为技术有限公司 Protection method for service transmission and network appliance
CN101616344A (en) * 2009-06-17 2009-12-30 中兴通讯股份有限公司 Service protecting method and device based on ASON
CN102118301A (en) * 2009-12-31 2011-07-06 中兴通讯股份有限公司 Tunnel protection method and device
US20140186019A1 (en) * 2012-12-27 2014-07-03 Abhishek Chaudhary Methods and systems of preserving client overhead bytes in optical transport network tunneling applications
CN103152094A (en) * 2013-03-05 2013-06-12 烽火通信科技股份有限公司 Multilayer protection switching method and device in optical network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174363A (en) * 2022-07-05 2022-10-11 杭州云合智网技术有限公司 Multi-protection group set fast switching method
CN115174363B (en) * 2022-07-05 2024-04-12 云合智网(上海)技术有限公司 Multi-protection group set fast switching method

Also Published As

Publication number Publication date
CN105792028A (en) 2016-07-20
CN105792028B (en) 2019-12-20

Similar Documents

Publication Publication Date Title
US10659345B2 (en) Service path protection method, controller, device and system
WO2016091029A1 (en) Method and apparatus for forwarding traffic of stacking system
US20140043956A1 (en) Techniques for Flooding Optimization for Link State Protocols in a Network Topology
WO2017064560A8 (en) Centralized management of a software defined automation system
JP6117996B2 (en) Virtual network mapping protection method, system, and computer storage medium
WO2016101825A1 (en) Method and apparatus for hot standby of controllers in distributed protection
US20150295818A1 (en) Communication system, control apparatus, method for controlling same, and program
US8659993B2 (en) Priority domains for protection switching processes
WO2016095710A1 (en) Method and device for adjusting srlg
KR20140026639A (en) Protection against a failure in a computer network
EP3121996A1 (en) Synchronization failure processing method and system for clock and time synchronization network
US10230540B2 (en) Method, device and system for communicating in a ring network
WO2016101826A1 (en) Method and system for implementing nested protection
US20200177505A1 (en) Path switching
EP3249853B1 (en) Ethernet ring protection switching method and node
US9804575B2 (en) Multiplex control device
JP2015503872A (en) How to reduce network traffic
WO2016091094A1 (en) Optical transport network protection switching method and device
WO2016082509A1 (en) Method and apparatus for detecting connectivity of label switched path
US8792333B2 (en) Failover procedure for networks
WO2019019915A1 (en) Scheduling solution configuration method and apparatus, computer readable storage medium thereof, and computer device
WO2016095605A1 (en) Service processing method and apparatus
US20130156416A1 (en) Packet-optical combined switching system and protection switching method thereof
WO2016138705A1 (en) Method and device for managing link in load sharing
WO2016061943A1 (en) Method and apparatus for implementing spanning tree protocol protection switching, and computer storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1