A service recovery method and device, electronic equipment and storage medium

By pre-obtaining the rerouting calculation results corresponding to potential faults in the optical layer network, and directly querying and sending service recovery commands when a fault occurs, the problem of excessively long end-to-end recovery time caused by faults in the OTN network is solved, and rapid service recovery is achieved.

CN112866833BActive Publication Date: 2025-12-19ZTE CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN201911181925.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-27
Publication Date
2025-12-19
Estimated Expiration
2039-11-27

AI Technical Summary

Technical Problem

When the optical layer network fails, the end-to-end service recovery time of the existing OTN network is too long, which affects the service quality of network services and cannot meet the requirements for rapid recovery.

Method used

The rerouting calculation results corresponding to each potential fault in the optical layer network are obtained in advance, and when a fault occurs, the service recovery command is directly queried and sent to the relevant site, avoiding temporary calculations. The parallel computing method greatly improves the efficiency of service recovery.

Benefits of technology

By pre-calculating potential faults, the system enables service recovery by directly querying the rerouting calculation results corresponding to the fault when a fault occurs, avoiding a lengthy rerouting calculation process and significantly improving end-to-end service recovery efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112866833B_ABST
    Figure CN112866833B_ABST
Patent Text Reader

Abstract

Embodiments of the present application relate to the field of communication, and disclose a service recovery method and device, electronic equipment and storage medium. In the present application, the service recovery method comprises: obtaining a rerouting calculation result corresponding to each potential fault of an optical layer network; when detecting that a fault occurs in the optical layer network, querying the rerouting calculation result corresponding to the fault from the rerouting calculation results corresponding to each potential fault; and sending a service recovery instruction to a related station according to the queried rerouting calculation result, for the related station to perform service recovery; wherein the related station is a station through which a recovery path corresponding to the rerouting calculation result passes. By pre-obtaining the rerouting calculation result corresponding to each potential fault of the network, when a fault occurs, the pre-stored rerouting calculation result is directly queried to determine the rerouting calculation result corresponding to the fault, and a service recovery instruction is sent to the related station according to the determined calculation result to perform service recovery, thereby greatly improving the efficiency of service recovery.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the field of communications, and in particular to a service recovery method and device, an electronic device, and a storage medium. BACKGROUND

[0002] Optical Transport Network (OTN) technology is a new optical transmission technology system, which inherits the advantages of Synchronous Digital Hierarchy (SDH) network and Wavelength Division Multiplexing (WDM) network, and has the advantages of large capacity and good control mechanism. OTN can realize the transmission, switching, multiplexing and other functions of signals of multiple granularities. At the same time, OTN can support multiple upper-layer services and protocols, and is an important networking technology for carrying optical networks.

[0003] Automatically Switched Optical Network (ASON) technology realizes the functions of automatic path calculation, establishment and recovery in OTN network. In the OTN network, ASON is usually distributed in the main control board of each site. ASON mainly consists of a Connection Controller (CC) module, a Path Computation Element (PCE) module, a resource database module, etc., to realize intelligent control of the network. Among them, the CC module maintains the service database of the whole network, and each service is maintained by the CC module of the ASON at the source node; the PCE module receives the calculation request from the CC, and realizes route calculation based on its own algorithm; the resource database maintains the resource information of the whole network through the polling mechanism and reporting mechanism of the control plane.

[0004] When a fault occurs in the OTN optical layer network, the services associated with the fault link and the fault site need to be rerouted to realize the recovery of batch services. Currently, the general process of the rerouting recovery process based on ASON is as follows: (1) determine the ASON nodes and the connected tree of global routing; (2) ASON collects service information; (3) the designated ASON node initiates a batch routing process; (4) ASON distributes the path calculation results.

[0005] The present inventor has found that the current service recovery technology has the following problems: the end-to-end recovery time is too long. Currently, the batch service recovery technology is limited by the optical layer service routing time, and the end-to-end recovery time usually reaches minutes, which seriously affects the service quality of network services. When a network fault occurs, the existing technology cannot provide a service recovery scheme that meets the demand. SUMMARY

[0006] The embodiments of the present application aim to provide a service recovery method, device, electronic equipment and storage medium, so that when a failure occurs in an optical layer network, fast service recovery can be achieved, and the service recovery time between end-to-end can be reduced.

[0007] To solve the above technical problems, the embodiments of the present application provide a service recovery method, comprising: obtaining a rerouting calculation result corresponding to each potential failure of an optical layer network; when a failure occurs in the optical layer network, querying, in the rerouting calculation result corresponding to each potential failure, a rerouting calculation result corresponding to the failure; and sending a service recovery instruction to a related station according to the queried rerouting calculation result, so that the related station performs service recovery; wherein the related station is a station through which a recovery path corresponding to the rerouting calculation result passes.

[0008] The embodiments of the present application also provide a service recovery method, comprising: obtaining a rerouting calculation task corresponding to a potential failure of an optical layer network; calculating the rerouting calculation task and feeding back a calculated rerouting calculation result; when a failure occurs in the optical layer network, receiving a service recovery instruction and performing service recovery according to the received service recovery instruction.

[0009] The embodiments of the present application also provide a service recovery device, comprising: an obtaining module configured to obtain a rerouting calculation result corresponding to each potential failure of an optical layer network; a querying module configured to, when a failure occurs in the optical layer network, query, in the rerouting calculation result corresponding to each potential failure, a rerouting calculation result corresponding to the failure; and a control module configured to send a service recovery instruction to a related station according to the queried rerouting calculation result, so that the related station performs service recovery; wherein the related station is a station through which a recovery path corresponding to the rerouting calculation result passes.

[0010] The embodiments of the present application also provide a service recovery device, comprising: an obtaining module configured to obtain a rerouting calculation task corresponding to a potential failure of an optical layer network; a calculation module configured to calculate the rerouting calculation task and feed back a calculated rerouting calculation result; and a control module configured to, when a failure occurs in the optical layer network, receive a service recovery instruction and perform service recovery according to the received service recovery instruction.

[0011] The embodiments of the present application also provide an electronic equipment, comprising: at least one processor; and a memory in communication connection with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the above-mentioned service recovery method.

[0012] The embodiment of the present application also provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the service recovery method.

[0013] Compared with the prior art, the embodiment of the present application, by pre-acquiring the re-routing calculation results corresponding to each potential fault of the optical layer network, when detecting that a fault occurs in the optical layer network, querying the corresponding result in the acquired re-routing calculation results, and directly sending a service recovery instruction to the related station according to the queried calculation result, the related station performs service recovery according to the received service recovery instruction, since the re-routing calculation has been performed for various possible faults before the fault occurs, the service recovery instruction can be directly sent according to the queried re-routing calculation result corresponding to the current fault when the fault occurs, thereby avoiding the problem that when the fault occurs in the optical layer network, the re-routing calculation needs to be temporarily performed, and the service recovery process is time-consuming, and the service recovery efficiency between end-to-end is greatly improved.

[0014] In addition, the re-routing calculation results corresponding to each potential fault of the optical layer network are acquired, including: grouping the potential faults according to priorities; wherein the potential faults with the same priority are uniformly distributed to different groups, and one group corresponds to one station of the optical layer network; the potential faults in the group are distributed to the corresponding station for re-routing calculation of the potential fault; the re-routing calculation results fed back by each station are acquired, the potential faults with the same priority are dispersed to different groups according to the priority order, and the re-routing calculation task corresponding to each group of potential faults is calculated by different stations, since the re-routing calculation tasks of each group of potential faults are independent of each other, the resource conflict problem in distributed parallel calculation is avoided, and then it is ensured that the potential faults with the same priority can be well simulated and calculated, and the calculation results are acquired.

[0015] In addition, after querying the re-routing calculation result corresponding to the fault, the method further includes: if the re-routing calculation result corresponding to the fault is not queried, creating a real-time re-routing calculation task corresponding to the fault and performing calculation; sending a service recovery instruction to the related station according to the calculation result of the real-time re-routing calculation task, for the related station to perform service recovery; and saving the calculation result of the real-time re-routing calculation task, since when the re-routing calculation result corresponding to the fault is not queried, the real-time re-routing calculation task corresponding to the fault is established according to the fault information, and the service recovery is performed according to the real-time calculation result of the re-routing calculation task, the problem that when the fault occurs, the service cannot be recovered due to the failure to query the routing calculation result corresponding to the fault is avoided.

[0016] In addition, the real-time rerouting calculation task includes: a batch service routing request; creating a real-time rerouting calculation task corresponding to the fault and performing calculation, including: creating a batch service routing request corresponding to the fault; performing grouped calculation on the batch service routing request; checking whether the calculation result of the batch service routing request meets the preset optimality condition; if the calculation result does not meet the preset optimality condition, releasing the occupied resources by selecting part of the successfully calculated services; creating a new batch service routing request according to the selected services and the failed services, and performing grouped calculation until the calculation result of the batch service routing request meets the preset optimality condition. By selecting part of the successfully calculated services and the failed services to merge, creating a new batch service routing request and performing grouped calculation until the obtained calculation result meets the preset optimality condition, since the calculation result does not meet the preset optimality condition, a new calculation task is re-established and calculation is performed, thereby ensuring the optimality of the obtained calculation result.

[0017] In addition, the preset optimality condition includes any one of the following: all services are successfully calculated, the number of successfully calculated services reaches a preset expected value, the calculation time or number reaches a preset upper limit, and all possible calculation results of the batch service routing request are obtained. Since the demand for service recovery is considered, the preset optimality condition can be changed as needed by adjusting the preset optimality condition, thereby avoiding meaningless repeated calculation while ensuring the optimality of the obtained calculation result.

[0018] In addition, the service recovery method is applied to a central site in the optical layer network; or the service recovery method is applied to an external centralized control module of the optical layer network; wherein the central site is obtained by election of each site in the optical layer network.

[0019] In addition, the feedback of the obtained rerouting calculation result includes: feeding back the rerouting calculation result to the central site in the optical layer network and the remaining sites in the optical layer network; wherein the central site is obtained by election of each site in the optical layer network; when a fault occurs in the optical layer network, receiving a service recovery instruction, including: detecting whether the central site is an isolated site, if the central site is an isolated site, reselecting a new central site, and receiving a service recovery instruction sent by the new central site; by feeding back the obtained rerouting calculation result to each site in the optical layer network, the data loss of the rerouting calculation result caused by the central site becoming an isolated site is avoided, a new central site is reselected when the original central site becomes an isolated site, and service recovery is performed, thereby avoiding the problem that the central site cannot perform service recovery due to failure, and ensuring the efficiency of service recovery. BRIEF DESCRIPTION OF DRAWINGS

[0020] One or more embodiments are illustrated by way of example with reference to the figures that are presented for the purpose of clarity and are not intended to limit the embodiments.

[0021] Figure 1 is a flowchart of a service recovery method according to a first embodiment of the present application;

[0022] Figure 2 is a schematic diagram of a network structure in a service recovery method according to the first embodiment of the present application;

[0023] Figure 3 is a schematic diagram of potential fault grouping in a service recovery method according to the first embodiment of the present application;

[0024] Figure 4 is a schematic diagram of a distributed site structure in a service recovery method according to the first embodiment of the present application;

[0025] Figure 5 is a flowchart of a service recovery method according to a second embodiment of the present application;

[0026] Figure 6 is a schematic diagram of a network structure including an external centralized control module in a service recovery method according to the second embodiment of the present application;

[0027] Figure 7 is a schematic diagram of potential fault grouping in a service recovery method according to the second embodiment of the present application;

[0028] Figure 8 is a schematic diagram of a batch service routing request calculation method in a service recovery method according to the second embodiment of the present application;

[0029] Figure 9 is a flowchart of a service recovery method according to a third embodiment of the present application;

[0030] Figure 10 is a schematic diagram of a calculation result acquisition method in a service recovery method according to the third embodiment of the present application;

[0031] Figure 11 is a schematic diagram of a service recovery apparatus structure according to a fourth embodiment of the present application;

[0032] Figure 12 is a schematic diagram of a service recovery apparatus structure according to a fifth embodiment of the present application;

[0033] Figure 13 is a schematic diagram of an electronic device structure according to a sixth embodiment of the present application. DETAILED DESCRIPTION

[0034] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the various embodiments of the present application will be described in detail below with reference to the drawings. However, those skilled in the art can understand that, in the various embodiments of the present application, many technical details are presented in order to make the readers better understand the present application. However, the technical solutions claimed by the present application can be implemented even without these technical details and based on various changes and modifications of the following embodiments. The division of the following various embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the present application, and the various embodiments can be combined with each other and referred to each other without contradiction.

[0035] The first embodiment of the present application relates to a service recovery method, in the embodiment, the rerouting calculation results corresponding to each potential fault of the optical layer network are obtained; when a fault occurs in the optical layer network, the rerouting calculation result corresponding to the fault is queried from the rerouting calculation results corresponding to each potential fault; and the service recovery instruction is sent to the related station according to the queried rerouting calculation result, so that the related station performs service recovery; wherein the related station is the station through which the recovery path corresponding to the rerouting calculation result passes. By pre-obtaining the potential faults of the optical layer network and obtaining the rerouting calculation results corresponding to each potential fault, when a fault occurs in the network, the service recovery instruction is directly sent to the related station according to the queried rerouting calculation result, so that the related station performs service recovery. Since the calculation result corresponding to the fault is directly queried for service recovery, the need for temporarily creating the rerouting calculation task corresponding to the fault and calculating is avoided, thereby greatly improving the efficiency of end-to-end service recovery.

[0036] The service recovery method described above can be applied to the central station of the distributed management and control optical layer network or the external centralized control module of the optical layer network containing the external centralized control module. In the present embodiment, the application in the central station is taken as an example for description.

[0037] The implementation details of the service recovery method of the present embodiment will be described in detail below. The following content is only the implementation details for easy understanding, and is not essential for the present embodiment.

[0038] The specific flowchart of the service recovery method of the present embodiment is shown in Figure 1 The specific flowchart of the service recovery method of the present embodiment is shown in

[0039] Step 101, obtaining the rerouting calculation results corresponding to each potential fault of the optical layer network.

[0040] Specifically, the center station determined according to the election acquires the whole network service information, evaluates the network according to the acquired information, determines potential failure scenarios of network failure of the optical layer network possibly occurring due to network connection, transmission optical fiber and other problems, and obtains each potential failure of the optical layer network. The failure scenarios of the potential failure include fiber breakage, site loss in a primary failure and fiber breakage, site loss in a secondary failure, and the like, which will not be described herein.

[0041] In one example, a structure diagram of a certain network is shown in Figure 2 The network includes 4 OTN (optical transport network) sites numbered 1-4, and the physical optical fiber link relationship between the sites is shown in Figure 2 The network includes 6 direct optical links numbered (1)-(6), wherein site 1 and site 2 are interconnected by two optical fiber links. In this network, each site is deployed with ASON (automatic switched optical network), multiple optical layer services are running in the network, a certain amount of optical layer OTN services are carried on each link, and the network is in a normal running state. Each site in the network elects according to the serial number ID to determine the ASON of the first site as the center station. After the center station is determined, the CC module (service control module) of the center station collects the service information of the whole network, and evaluates the network according to the collected service information to obtain each failure possibly occurring in the optical layer network. Single fiber breakage and secondary fiber breakage are considered, and the scenarios of the potential failure include single fiber breakage of any link: (1), (2), … (6), secondary fiber breakage of any two links: (1)(2), (1)(3), (1)(4), … (5)(6), which includes 6 single fiber breakages and 15 secondary fiber breakages, and a total of 21 failure scenarios.

[0042] In actual applications, the election of the center station includes but is not limited to: selecting the ASON of the site with the smallest serial number ID, selecting the ASON of the site with the strongest computing power, or selecting the ASON of the site designated by a person as the center station, and the specific method of selecting the center station is not limited in the embodiment.

[0043] The CC module of the center station groups each potential failure according to the order of failure probability, and arranges the single fiber breakage and the secondary fiber breakage in various cases as shown in Figure 3The 4 groups of potential faults are shown, and then each group of potential faults is assigned to a corresponding station according to the grouping. After each station receives the assigned potential faults, the stations perform re-routing calculation in parallel. The CC module of each station's ASON generates routing requests for the batch of services in turn based on the received fault scenarios, and then sends the routing requests for the batch of services to the PCE module (path computation element) of the station. After the PCE module receives the routing requests for the batch of services, the PCE module generates a batch routing computation task, groups all the services that have not been successfully computed according to the same source, same destination and same strategy, i.e., groups the computation tasks of multiple services that meet any one of the conditions of involving the same source station, having the same minimum hop count, having the same minimum relay count, and the like into the same group, divides the batch routing computation task into multiple groups of computation tasks, and then shuffles the order of the groups and the order of the computation tasks in each group to enhance the randomness of the computation. The PCE module invokes the single-service end-to-end routing process to compute the routing of each service in turn according to the new order, obtains the results of the routing computation and label allocation, and then returns each computation result to the CC module of the station. The CC module feeds back the computation results to the CC module of the central station in the form of a broadcast, and the central station stores the obtained re-routing computation results in the resource database of the central station. The basic framework structure of the ASON of each station is shown in Figure 4 As shown, the ASON includes a CC module, a PCE module and a resource database.

[0044] In actual applications, the priority determination method of each potential fault includes but is not limited to the fault occurrence probability, the number of affected services, the third-party specified order, and the like. In this embodiment, the priority determination method of the potential fault is not limited.

[0045] In step 102, the re-routing computation result corresponding to the fault is queried and determined.

[0046] Specifically, when a fault occurs in the optical layer network, the ASON of the central station collects network fault information by using a standard protocol including a PCEP (communication protocol), queries the re-routing computation result corresponding to the fault from the obtained re-routing computation results of each potential fault according to the link, station and service information that needs to be recovered affected by the fault, and determines the re-routing computation result corresponding to the fault.

[0047] In one example, a fault occurs in the link (1), and all the services carried on the link (1) are affected and need to be recovered. At this time, the CC module of the central station queries the obtained computation results according to the information of all the services carried on the link (1), and determines the re-routing computation result corresponding to each service.

[0048] In actual applications, the fault information of the network fault can also be collected by using a private protocol. In this embodiment, the communication protocol used when collecting the network fault information is not limited.

[0049] Step 103, sending instructions for service recovery according to the queried re-routing calculation result.

[0050] Specifically, after the re-routing calculation result corresponding to the fault is queried, the CC module of the center site sends service recovery instructions to the relevant sites according to the queried re-routing calculation result for the relevant sites to perform service recovery; wherein the relevant sites are the sites through which the recovery path corresponding to the re-routing calculation result passes, that is, according to the queried re-routing calculation result, the corresponding service recovery method is determined, and the service recovery instructions are sent to the CC module of each site ASON on each service recovery path, and the CC module of each site allocates resources and completes the recovery of the service based on the resource reservation protocol and the received service recovery instructions.

[0051] Therefore, the embodiment provides a service recovery method, which pre-allocates the re-routing calculation tasks corresponding to each potential fault of the optical layer network to each site for parallel calculation, obtains and stores the re-routing calculation results corresponding to each potential fault, and greatly improves the calculation efficiency through the parallel calculation method; when a network fault is detected, the obtained calculation result is queried according to the fault information, the service recovery method is directly determined according to the queried re-routing calculation result, the service recovery instruction is issued for service recovery, and the process of occupying a large amount of resources and spending a large amount of time for re-routing calculation after the fault occurs before service recovery is avoided, and the end-to-end service recovery efficiency and user experience are greatly improved.

[0052] The second embodiment of the application relates to a service recovery method. The second embodiment is substantially the same as the first embodiment, in the second embodiment of the application, after obtaining the re-routing calculation result corresponding to each potential fault, when a network fault occurs and the re-routing calculation result corresponding to the fault is not queried, a real-time calculation task is generated according to the fault information for calculation, and the calculation result is verified, the service recovery is performed according to the calculation result meeting the preset optimality condition, and the quality and efficiency of service recovery are guaranteed.

[0053] The above-mentioned service recovery method can be applied to the center site of a distributed management and control optical layer network or an external centralized control module of an optical layer network containing an external centralized control module, and the embodiment is described by taking application in the external centralized control module of the optical layer network as an example.

[0054] The flowchart of the service recovery method in the embodiment is shown in Figure 5 The service recovery method in the embodiment includes the following steps.

[0055] Step 501, obtaining the re-routing calculation result corresponding to each potential fault of the optical layer network.

[0056] Specifically, the SDON controller (software defined optical network controller) in the external centralized control module determines each potential fault of the network according to the whole network information, wherein the network structure diagram of the external centralized control module is as shown in Figure 6 The external centralized control module and each site are directly connected, and the external centralized control module does not affect the link relationship between the sites, then the SDON module in the external centralized control module groups each potential fault according to the priority; wherein the potential faults with the same priority are evenly distributed to different groups, and one group corresponds to one site of the optical layer network; the potential faults in the group are distributed to the corresponding site for the potential fault rerouting calculation of the corresponding site; and the rerouting calculation result fed back by each site is obtained.

[0057] In one example, the network structure diagram of the external centralized control module is as shown in Figure 2 The SDON controller in the external centralized control module determines the scenarios of each potential fault of the optical layer network according to the single fiber break and double fiber break that may occur between the sites, the SDON module in the external centralized control module arranges each potential fault according to the possibility of fault occurrence to generate a fault scenario list with 5 groups of potential faults, since the external centralized control module contains the built-in PCE module and has stronger computing capability, the external centralized control module is also assigned the rerouting calculation task corresponding to the potential fault, and the fault scenario grouping diagram is as shown in Figure 7 The CC module of each site initiates the path calculation request of batch services according to the received fault scenario, each PCE module generates batch path calculation tasks and performs grouped calculation according to the received batch path calculation request, the PCE module of each site returns the calculation result to the CC module of the site, the calculation result is sent to the SDON controller of the external centralized control module through the CC module, the result calculated by the local PCE module of the external centralized control module is directly sent to the SDON controller, and the centralized control module stores the rerouting calculation result corresponding to each potential fault.

[0058] Step 502, when a network fault is detected, it is detected whether the rerouting calculation result corresponding to the fault has been pre-stored, if not, step 503 is entered, and if yes, step 505 is entered.

[0059] Specifically, after detecting that the network has a fault, the pre-stored re-routing calculation result is detected according to the fault information, it is judged whether the re-routing calculation result corresponding to the fault has been pre-stored, if it is detected that the re-routing calculation result corresponding to the fault has not been pre-stored, step 503 is entered, a real-time re-routing calculation task is established according to the fault information and calculation is performed, then service recovery is performed according to the calculation result, if it is detected that the re-routing calculation result corresponding to the fault has been pre-stored, step 505 is entered, a service recovery instruction is issued according to the corresponding re-routing calculation result.

[0060] Step 503, a real-time re-routing calculation task is established and service recovery is performed according to the calculation result.

[0061] Specifically, if the re-routing calculation result corresponding to the fault cannot be detected, the SDON controller of the external centralized control module establishes a real-time re-routing calculation task according to the fault information and the information of the affected service, and sends a service recovery instruction to the related site according to the calculation result of the real-time re-routing calculation task, so that the related site performs service recovery.

[0062] Specifically, the routing calculation request calculation method of the batch service is as shown in the schematic diagram Figure 8As shown, the SDON module sends the batch service path computation request to the local PCE module according to the fault information, the local PCE module generates the batch path computation task according to the request, and then groups the batch path computation task, as in step 801; the path computation task corresponding to each service is sequentially computed according to the service order after grouping, as in step 802; then the calculation result is verified, the PCE module compares the obtained rerouting computation result with the historical optimal result, if the current computation result is better than the historical optimal result, the current computation result replaces the historical optimal result, and the computation result is stored, as in step 803; then the current historical optimal result is verified again to obtain the services with successful computation and the services with failed computation, and it is judged whether the computation result meets the preset optimality condition, as in step 804; when it is detected that the rerouting computation result meets the preset optimality condition, the local PCE module directly sends the result to the SDON controller to return the computation result, as in step 805; then the SDON controller determines the recovery scheme of the affected services according to the obtained rerouting computation result and issues service recovery instructions to the CC modules of each associated site on the service recovery path, so that the CC modules of each site configure local resources to complete the recovery of the services based on the resource reservation protocol and the received service recovery instructions; when it is detected that the rerouting computation result does not meet the preset optimality condition, part of the services with successful computation are selected, the resources occupied by the selected services are released, as in step 806; and the selected services are merged with the services with failed computation to generate a new batch rerouting computation request, as in step 807, then the computation is performed again until the obtained rerouting computation result meets the preset requirement, the computation result is fed back to the external centralized control module, and subsequent service recovery is performed.

[0063] When the rerouting computation result is compared with the historical optimal result, it is judged whether the computation result meets the condition of being better than the historical computation result, including the number of successful service recovery, the proportion of successful service recovery, etc.; when the current historical optimal result is verified, the preset optimality condition includes that all services are successfully computed, the number of successfully computed services reaches the preset expected value, the computation time or number reaches the preset upper limit, all possible computation results of the obtained batch service path computation request, etc.; the selection method of selecting part of the successfully computed services includes random selection, selection of the service with the most hops, selection of the service with the most relay times, selection of the service passing through the specified node or link, etc. In actual application, it can be set according to user needs, which is not limited in this embodiment.

[0064] Step 504, save the computation result of the real-time rerouting computation task.

[0065] Specifically, after obtaining the verified real-time rerouting calculation result, the external centralized control module adds the rerouting calculation result corresponding to the fault into the local storage module, and updates the locally stored rerouting calculation result.

[0066] If it is detected in step 502 that the pre-stored rerouting calculation result corresponding to the fault is obtained, step 505 is entered, and service recovery is performed according to the queried rerouting calculation result corresponding to the fault.

[0067] Specifically, after the rerouting calculation result corresponding to the fault is queried, the SDON module of the external centralized control module determines the corresponding service recovery method according to the queried rerouting calculation result, and sends a service recovery instruction to the CC module of each station on the service recovery path, so that the CC module of each station configures local resources and completes service recovery based on the resource reservation protocol and the received service recovery instruction.

[0068] Therefore, the embodiment provides a service recovery method, the calculation result of the rerouting calculation task corresponding to each potential fault of the optical layer network is obtained in advance, when a network fault occurs but the corresponding rerouting calculation result cannot be queried, a real-time rerouting calculation task is established for calculation, and the obtained calculation result is verified, the calculation result that does not meet the preset optimality condition is recalculated, and finally the calculation result that meets the preset optimality condition is obtained, so that it is ensured that the obtained calculation result can solve as many potential faults as possible, and then service recovery is performed according to the obtained calculation result, and the quality of service recovery is ensured.

[0069] The third embodiment of the application relates to a service recovery method, in which the rerouting calculation task corresponding to a potential fault of an optical layer network is obtained, the calculated rerouting calculation result is fed back, when a fault occurs in the optical layer network, a service recovery instruction is received, and service recovery is performed according to the received service recovery instruction. By pre-calculating the potential fault and feeding back the calculation result, service recovery is directly performed according to the received service recovery instruction when a network fault occurs, the efficiency of service recovery is improved, and the experience of users is improved.

[0070] The above-mentioned service recovery method can be applied to each station in a distributed control optical layer network or each station in an optical layer network containing an external centralized control module, and in the embodiment, the application in the stations of the distributed control optical layer network is taken as an example for description.

[0071] The service recovery method flowchart in the embodiment is shown in Figure 9 The service recovery method flowchart in the embodiment is shown in

[0072] In step 901, the rerouting calculation task corresponding to a potential fault is obtained and calculated.

[0073] Specifically, the CC module in the common station in the optical layer network obtains a series of potential faults distributed by the centrally elected central station, and establishes a re-routing calculation task corresponding to the received potential faults, and then calculates the re-routing calculation task to obtain a re-routing calculation result.

[0074] In one example, each station in the optical layer network elects a central station in the ASON of each station in the optical layer network according to an internal protocol, for example, the ASON of the station with the smallest serial number ID among all stations is taken as the central station, and in actual applications, the ASON of the station with the strongest computing capability or the ASON of a designated station can also be selected as the central station, and the method of selecting the central station is not limited in the embodiment.

[0075] The elected central station collects network-wide service information, determines potential faults of the network, and distributes each potential fault to each station including itself for corresponding re-routing calculation. After the CC module of each station obtains the potential fault sent by the central station, the CC module initiates a batch service path calculation request to the PCE module of the station, the PCE module generates a batch path calculation task according to the received request, and performs grouped calculation on the batch calculation task.

[0076] After obtaining the calculation result, the PCE module compares the obtained batch path calculation result with the historical optimal result, if the current calculation result is better than the historical optimal result, the current calculation result replaces the historical optimal result, and is recorded, if the current calculation result is not better than the historical optimal result, the calculation is performed again. Then the current historical optimal result is verified again to obtain the successfully calculated services and the failed calculated services, and it is judged whether the calculation result meets the preset optimality condition, when it is detected that the calculation result meets the preset optimality condition, the PCE module directly returns the result to the CC module, and the CC module of each station records the calculation result in the local storage module; when it is detected that the calculation result does not meet the preset optimality condition, part of the services are selected from the successfully calculated services, the resources occupied by the selected services are released, and the selected services are classified as failed calculated services, and are merged with the failed calculated services to generate a new batch service path calculation request, and the grouped calculation is performed again, and the verification of the calculation result is performed until the obtained calculation result meets the preset optimality condition, and then the obtained calculation result is recorded.

[0077] The manner of judging whether the calculation result meets the requirement when the re-routing calculation result is compared with the historical optimal result includes the number of successful service recovery and the proportion of successful service recovery. The preset degree condition when the current historical optimal result is checked includes that all services are successfully calculated, the number of successfully calculated services reaches a preset expected value, the calculation time or number reaches a preset upper limit, and all possible calculation results of the batch service request are obtained. The selection method of selecting part of the successfully calculated services includes random selection, selection of the service with the most hops, selection of the service with the most relay times, and selection of the service passing through a specified node or link. In actual application, the selection method can be set according to user needs, and is not limited in the embodiment.

[0078] Step 902, the re-routing calculation result obtained by calculation is fed back.

[0079] Specifically, after the re-routing calculation result meeting the requirement is obtained by grouping, the CC module of each site feeds back the obtained re-routing calculation result to the center site and the remaining sites in the optical layer network in the form of broadcast. While feeding back the calculation result, the CC module of each site also receives the re-routing calculation result fed back by the remaining sites, and stores the received calculation result in the local storage module. The schematic diagram of the re-routing calculation result obtaining process is shown in FIG. 8. Figure 10 As shown in FIG. 8, site 1 is the center site, the center site obtains potential faults 10, assigns each potential fault to each site according to the fault scenario 20, the CC module of each site generates a batch re-routing calculation request according to the received fault scenario 30, 40, the PCE module of each site calculates according to the received re-routing calculation request 50, the PCE module of each site returns the calculation result to the CC module of the site 60, each site distributes the calculation result to the remaining sites in the form of broadcast 70, and the CC module of the center site receives the calculation result of the remaining sites 80.

[0080] Step 903, when the network fails, it is judged whether the center site is an isolated site. If yes, go to step 904. If not, go to step 905.

[0081] Specifically, when the network fails, the CC module of each site detects whether the original center site becomes an isolated site. When it is detected that the original center site becomes an isolated site, a new center site is selected, and then a service recovery instruction issued by the new center site is received. If the original center site does not become an isolated site, a service recovery instruction issued by the original center site is directly received.

[0082] Step 904, a new center site is selected according to the selection rule.

[0083] Specifically, after the original center site becomes an isolated site, a new center site is elected from the remaining sites according to the selection rule.

[0084] In one example, a network structure diagram is shown in Figure 2 The original center site selected by the selection rule is site 3. At a certain moment, links (3) and (6) have both failed, and all services carried on the two links need to be recovered. However, at this moment, it is detected that the links connecting site 3 and the remaining sites have all failed, and site 3 has lost contact and become an isolated site, that is, the original center site has become an isolated site. At this moment, the remaining sites need to select a new center site according to the selection rule. According to the selection rule, site 1, which has the strongest computing capability except site 3, is selected as the new center site.

[0085] In actual applications, the rules for selecting the center site include selecting the ASON of a specified site as the center site, selecting the ASON of a site with the smallest ID sequence number as the center site, or selecting the ASON of a site with the strongest computing capability as the center site. In this embodiment, the selection rule for the center site is not limited.

[0086] Step 905: receiving a service recovery instruction and performing service recovery.

[0087] Specifically, the center site determines the re-routing calculation result corresponding to the fault according to the obtained re-routing calculation result, determines the service recovery scheme according to the queried re-routing calculation result corresponding to the fault, and then issues a service recovery instruction to the CC module of each site on the service recovery path. After receiving the service recovery instruction issued by the center site, the CC module of each site adjusts the local resources to perform service recovery according to the received service recovery instruction.

[0088] Therefore, the embodiment provides a service recovery method. The ordinary site obtains a re-routing calculation task corresponding to a potential fault, performs grouped calculation on the calculation task and verification on the calculation result, obtains a re-routing calculation result meeting a preset optimality condition, and ensures the optimality of the calculation result. The re-routing calculation result of the remaining sites is obtained at the same time as the feedback of the calculation result, so that the re-routing calculation result data is not lost when the center site becomes an isolated site. When the network fails and the original center site becomes an isolated site, a new center site is selected, and service recovery is performed according to the service recovery instruction issued by the new center site, so that the progress of service recovery is not affected when the center site becomes isolated, and the efficiency of service recovery is ensured.

[0089] The fourth embodiment of the application relates to a service recovery device, as shown in Figure 11 The device comprises:

[0090] The acquisition module 1101 is configured to acquire a rerouting calculation result corresponding to each potential fault of the optical layer network.

[0091] The query module 1102 is configured to, when detecting that a fault occurs in the optical layer network, query, in the rerouting calculation results corresponding to each potential fault, a rerouting calculation result corresponding to the fault.

[0092] Specifically, the query module 1102 queries, according to information of the fault, in the acquired rerouting calculation results corresponding to each potential fault, the rerouting calculation result corresponding to the fault when the fault occurs in the optical layer network.

[0093] The control module 1103 is configured to send a service recovery instruction to a related station according to the queried rerouting calculation result, for service recovery by the related station.

[0094] Specifically, the control module 1103 determines a service recovery scheme according to the queried rerouting calculation result corresponding to the fault, and sends a service recovery instruction to a related station, for service recovery by the related station; the related station is a station through which a recovery path corresponding to the rerouting calculation result passes.

[0095] In one example, before the acquisition module 1101 acquires the rerouting calculation result corresponding to each potential fault, the control module 1103 groups, according to priorities, each potential fault of the optical layer network determined according to network-wide service information and a network evaluation result; potential faults of the same priority are evenly distributed to different groups, and one group corresponds to one station of the optical layer network; the potential faults in the group are distributed to the corresponding station, for the corresponding station to perform rerouting calculation of the potential fault; and then the acquisition module 1101 acquires the rerouting calculation result fed back by each station.

[0096] In one example, after the query module 1102 queries the rerouting calculation result corresponding to the fault, if the rerouting calculation result corresponding to the fault is not queried, the control module 1103 creates a real-time rerouting calculation task corresponding to the fault and performs calculation; sends a service recovery instruction to a related station according to a calculation result of the real-time rerouting calculation task, for service recovery by the related station; and saves the calculation result of the real-time rerouting calculation task.

[0097] In one example, the real-time rerouting calculation task created by the control module 1103 includes: a batch service routing request; creating a real-time rerouting calculation task corresponding to the fault and performing calculation, including: creating a batch service routing request corresponding to the fault; performing grouped calculation on the batch service routing request; checking whether the calculation result of the batch service routing request meets the preset optimality condition; when the calculation result does not meet the preset optimality condition, releasing the occupied resources by selecting part of the successfully calculated services; creating a new batch service routing request according to the selected services and the failed services, and performing grouped calculation until the calculation result of the batch service routing request meets the preset optimality condition.

[0098] In one example, the preset optimality condition used by the control module 1103 includes any one of the following conditions: all services are successfully calculated, the number of successfully calculated services reaches a preset expected value, the calculation time or number reaches a preset upper limit, and all possible calculation results of the batch service routing request have been obtained.

[0099] The fifth embodiment of the application relates to a service recovery device, as shown in the figure, comprising: Figure 12

[0100] The acquisition module 1201 is configured to acquire a rerouting calculation task corresponding to a potential fault of the optical layer network.

[0101] The calculation module 1202 is configured to calculate the rerouting calculation task and feed back the obtained rerouting calculation result.

[0102] Specifically, the calculation module 1202 calculates the acquired rerouting calculation task corresponding to the potential fault to obtain a rerouting calculation result, and feeds back the obtained calculation result.

[0103] The control module 1203 is configured to receive a service recovery instruction when a fault occurs in the optical layer network, and perform service recovery according to the received service recovery instruction.

[0104] Specifically, when a fault occurs in the network, the control module 1203 receives a service recovery instruction, configures local resources according to the received service recovery instruction, and performs service recovery.

[0105] In one example, the calculation module 1202 feeds back the calculated rerouting calculation result, including: feeding back the rerouting calculation result to a central site in the optical layer network and the remaining sites in the optical layer network; wherein the central site is obtained by election of each site in the optical layer network, and the control module 1203 receives a service recovery instruction when a fault occurs in the optical layer network, including: detecting whether the central site is an isolated site, and when the central site is an isolated site, reselecting a central site and receiving a service recovery instruction sent by the new central site. ​

[0106] The sixth embodiment of the present application relates to an electronic device, such as Figure 12 As shown, the electronic device comprises at least one processor; and a memory connected with the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the service recovery method according to any one of the first to third embodiments.

[0107] The memory and the processor are connected in a bus mode, the bus can include any number of interconnected buses and bridges, and the bus connects various circuits of the one or more processors and the memory together. The bus can also connect various other circuits such as peripheral devices, voltage regulators and power management circuits, etc. together, which are well known in the art, and therefore, they will not be further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, which provide a unit for communicating with various other devices on the transmission medium. The data processed by the processor is transmitted on the wireless medium through the antenna, and further, the antenna also receives data and transmits the data to the processor.

[0108] The processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interface, voltage regulation, power management and other control functions. And the memory can be used to store the data used by the processor in the execution of the operation.

[0109] The seventh embodiment of the present application relates to a computer readable storage medium, which stores a computer program. The computer program is executed by the processor to implement the method embodiments described above.

[0110] That is, those skilled in the art can understand that all or part of the steps of the above-mentioned method embodiments can be completed by programs instructing related hardware, the programs are stored in a storage medium, and include a plurality of instructions for causing a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various storage program codes.

[0111] Those skilled in the art can understand that the above-mentioned embodiments are specific embodiments for implementing the present application, and in actual applications, various changes can be made in form and details without departing from the spirit and scope of the present application.

Claims

1. A service restoration method characterized by, The business recovery method is applied to a center site in an optical layer network, wherein the center site is elected by each site in the optical layer network, and comprises the following steps: determining the priority of each potential fault according to at least one of the fault occurrence probability, the fault impact business quantity, and the third party designated sequence of the optical layer network business impact of the potential fault; grouping the potential faults of the optical layer network according to the priority; wherein the potential faults with the same priority are evenly distributed to different groups, and one group corresponds to one site of the optical layer network; allocating the potential faults in the group to the corresponding site for the corresponding site to perform the rerouting calculation of the potential fault; obtaining the rerouting calculation result fed back by each site; when detecting that a fault occurs in the optical layer network, querying the rerouting calculation result corresponding to the fault from the rerouting calculation result corresponding to each potential fault; sending a business recovery instruction to the related site according to the queried rerouting calculation result, so that the related site performs business recovery; wherein the related site is the site through which the recovery path corresponding to the rerouting calculation result passes.

2. The service restoration method of claim 1, wherein After the rerouting calculation result corresponding to the fault is queried, the method further comprises the following steps: if the rerouting calculation result corresponding to the fault is not queried, creating a real-time rerouting calculation task corresponding to the fault and performing calculation; sending a business recovery instruction to the related site according to the calculation result of the real-time rerouting calculation task, so that the related site performs business recovery; saving the calculation result of the real-time rerouting calculation task.

3. The service restoration method of claim 2, wherein The real-time rerouting calculation task comprises a batch business routing request; the step of creating a real-time rerouting calculation task corresponding to the fault and performing calculation comprises the following steps: creating a batch business routing request corresponding to the fault; performing grouped calculation on the batch business routing request; verifying whether the calculation result of the batch business routing request meets a preset optimality condition; if the calculation result does not meet the preset optimality condition, releasing the occupied resources by selecting part of the successfully calculated businesses; creating a new batch business routing request according to the selected businesses and the failed businesses, and performing grouped calculation until the calculation result of the batch business routing request meets the preset optimality condition.

4. The service restoration method of claim 3, wherein, The preset optimality condition comprises any one of the following conditions: all businesses are successfully calculated, the number of successfully calculated businesses reaches a preset expected value, the calculation time or number reaches a preset upper limit, or all possible calculation results of the batch business routing request have been obtained.

5. The service recovery method according to any one of claims 1 to 4, characterized by, Alternatively, the business recovery method is applied to an external centralized control module of the optical layer network.

6. A service restoration method characterized by, The business recovery method is applied to a corresponding site, which interacts with the center site of claim 1, and comprises the following steps: obtaining a rerouting calculation task corresponding to a potential fault of the optical layer network; calculating the rerouting calculation task and feeding back the calculated rerouting calculation result; when a fault occurs in the optical layer network, receiving a business recovery instruction, and performing business recovery according to the received business recovery instruction.

7. The service restoration method as claimed in claim 6, characterized by, The feedback calculation result includes: The re-routing calculation result is fed back to a center site in the optical layer network and the rest of the sites in the optical layer network; wherein the center site is obtained by site election within the optical layer network; The business recovery device is applied to a center site in the optical layer network, wherein the center site is obtained by site election within the optical layer network, and includes: The obtaining module is configured to obtain re-routing calculation results corresponding to each potential fault of the optical layer network, wherein the obtaining module is specifically configured to group the potential faults of the optical layer network according to priorities; wherein the potential faults of the same priority are evenly distributed into different groups, one group corresponding to one site of the optical layer network; the potential faults in the group are distributed to the corresponding site for re-routing calculation of the potential fault; and the re-routing calculation results fed back by each site are obtained; The query module is configured to, when detecting that the optical layer network has a fault, query the re-routing calculation result corresponding to the fault from the re-routing calculation results corresponding to each potential fault; 8. A service restoration apparatus characterized by comprising: The control module is configured to send a business recovery instruction to a related site according to the queried re-routing calculation result, so that the related site performs business recovery; wherein the related site is a site through which a recovery path corresponding to the re-routing calculation result passes; The business recovery device further includes determining the priority of each potential fault according to at least one of a fault occurrence probability, a fault-affected business quantity, and a third-party specified sequence of the influence of the potential fault on the optical layer network business. The business recovery device applied to the corresponding site in claim 8 includes: The obtaining module is configured to obtain a re-routing calculation task corresponding to a potential fault of the optical layer network; The calculation module is configured to calculate the re-routing calculation task and feed back a re-routing calculation result obtained by calculation; 9. A service restoration apparatus characterized by comprising: The control module is configured to, when the optical layer network has a fault, receive a business recovery instruction and perform business recovery according to the received business recovery instruction. It includes: At least one processor; And 10. An electronic device, comprising: The memory is connected in communication with the at least one processor; wherein The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the business recovery method in any one of claims 1 to 5, or execute the business recovery method in claim 6 or 7. The computer program is executed by the processor to implement the business recovery method in any one of claims 1 to 5, or implement the business recovery method in claim 6 or 7. ​ ​ 11. A computer-readable storage medium storing a computer program, characterized in that, ​

Citation Information

Patent Citations

  • Business path regulation method and communication system as well as route computing unit

    CN101227313A

  • Device and method for service recovery

    CN101286892A

  • Re-routing method, system and network deivce

    CN103959723A

  • Service protecting method and device

    WO2016165061A1