CN112866833A - Service recovery method and device, electronic equipment and storage medium - Google Patents

Service recovery method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112866833A
CN112866833A CN201911181925.XA CN201911181925A CN112866833A CN 112866833 A CN112866833 A CN 112866833A CN 201911181925 A CN201911181925 A CN 201911181925A CN 112866833 A CN112866833 A CN 112866833A
Authority
CN
China
Prior art keywords
calculation
service
rerouting
calculation result
optical layer
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201911181925.XA
Other languages
Chinese (zh)
Inventor
贾殷秋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201911181925.XA priority Critical patent/CN112866833A/en
Publication of CN112866833A publication Critical patent/CN112866833A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects

Landscapes

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

Abstract

The embodiment of the invention relates to the field of communication, and discloses a service recovery method, a service recovery device, electronic equipment and a storage medium. In the invention, the service recovery method comprises the following steps: obtaining a rerouting calculation result corresponding to each potential fault of the optical layer network; when the optical layer network is detected to have faults, the rerouting calculation result corresponding to the fault is inquired in the rerouting calculation result corresponding to each potential fault; sending a service recovery instruction to the relevant sites according to the inquired rerouting calculation result for the relevant sites to perform service recovery; the relevant sites are sites through which restoration paths corresponding to the rerouting calculation results pass, the rerouting calculation results corresponding to potential faults of the network are obtained in advance, when the faults occur, the pre-stored rerouting calculation results are directly inquired, the rerouting calculation results corresponding to the faults are determined, and service restoration instructions are sent to the relevant sites for service restoration according to the determined calculation results, so that the service restoration efficiency is greatly improved.

Description

Service recovery method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for service restoration, an electronic device, and a storage medium.
Background
An Optical Transport Network (OTN) technology is a novel Optical Transport technology system, inherits the advantages of a Synchronous Digital Hierarchy (SDH) Network and a Wavelength Division Multiplexing (WDM) Network, and has the advantages of large capacity and a good management and control mechanism. The OTN may implement functions of transmission, switching, multiplexing, etc. of signals of various granularities. Meanwhile, the OTN can support various upper layer services and protocols, and is an important networking technology for bearing an optical network.
The Automatic Switched Optical Network (ASON) technology realizes the functions of automatic path calculation, establishment, recovery and the like in an OTN (Optical transport network). In an OTN network, the ASON is typically deployed in a distributed manner in the main control board of each station. The ASON mainly comprises a service control cc (connection controller) module, a path Computation pce (path Computation element) module, a resource database module, and the like, and realizes intelligent control of the network. The CC module maintains a service database of the whole network, and each service is maintained by the CC module of the ASON at a source node; the PCE module receives a calculation request from the CC and realizes routing calculation based on a self algorithm; the resource database maintains the resource information of the whole network through a polling mechanism and a reporting mechanism of a timing and control plane.
When a fault occurs in the OTN optical layer network, the service associated with the faulty link and the faulty site needs to be rerouted, so as to recover the bulk service. Currently, the rerouting recovery process based on ASON generally comprises the following steps: (1) determining ASON nodes and a connected tree of the global computation path; (2) ASON collects service information; (3) the appointed ASON node initiates a batch route calculation process; (4) ASON distributes path computation results.
The inventor of the present invention finds that the current service restoration technology has the following problems: the end-to-end recovery time is too long, at present, the batch service recovery technology is limited by the optical layer service route calculation time, the end-to-end recovery time can reach the minute level generally, the service quality of the network service is seriously influenced, and the prior art can not provide a service recovery scheme meeting the requirement when the network fails.
Disclosure of Invention
An object of embodiments of the present invention is to provide a method, an apparatus, an electronic device, and a storage medium for service recovery, so that when an optical layer network fails, fast service recovery can be achieved, and service recovery time from end to end is reduced.
In order to solve the above technical problem, an embodiment of the present invention provides a service recovery method, including: obtaining a rerouting calculation result corresponding to each potential fault of the optical layer network; when the optical layer network is detected to have faults, the rerouting calculation result corresponding to the fault is inquired in the rerouting calculation result corresponding to each potential fault; sending a service recovery instruction to the relevant sites according to the inquired rerouting calculation result for the relevant sites to perform service recovery; and the relevant sites are sites through which the recovery paths corresponding to the rerouting calculation results pass.
The embodiment of the invention also provides a service recovery method, which comprises the following steps: obtaining a rerouting calculation task corresponding to a potential fault of the optical layer network; calculating a rerouting calculation task and feeding back a rerouting calculation result obtained through calculation; and when the optical layer network fails, receiving a service recovery instruction, and recovering the service according to the received service recovery instruction.
The embodiment of the present invention further provides a service recovery apparatus, including: an acquisition module: the method comprises the steps of obtaining a rerouting calculation result corresponding to each potential fault of the optical layer network; the query module: the method comprises the steps of searching a rerouting calculation result corresponding to a fault in a rerouting calculation result corresponding to each potential fault when a fault of an optical layer network is detected; a control module: the system is used for sending a service recovery instruction to the relevant sites according to the inquired rerouting calculation result for the relevant sites to recover the service; and the relevant sites are sites through which the recovery paths corresponding to the rerouting calculation results pass.
The embodiment of the present invention further provides a service recovery apparatus, including: the acquisition module is used for acquiring a rerouting calculation task corresponding to a potential fault of the optical layer network; the calculation module is used for calculating a rerouting calculation task and feeding back a rerouting calculation result obtained through calculation; and the control module is used for receiving the service recovery instruction when the optical layer network fails and recovering the service according to the received service recovery instruction.
An embodiment of the present invention also provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the service restoration method described above.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to realize the service recovery method.
Compared with the prior art, the embodiment of the invention inquires the corresponding result in the obtained rerouting calculation result by obtaining the rerouting calculation result corresponding to each potential fault of the optical layer network in advance when the optical layer network is detected to have a fault, and directly sends the service recovery instruction to the relevant site according to the inquired calculation result, and the relevant site recovers the service according to the received service recovery instruction, because the rerouting calculation is carried out on various possible faults in advance before the fault occurs, the service recovery instruction can be directly sent according to the inquired rerouting calculation result corresponding to the current fault to carry out the service recovery when the fault occurs, thereby avoiding the problems that the rerouting calculation needs to be carried out temporarily when the optical layer network has the fault and the time consumption is long in the service recovery process, the service recovery efficiency between end to end is greatly improved.
In addition, obtaining the rerouting calculation result corresponding to each potential fault of the optical layer network includes: grouping the potential faults according to the priority; the method comprises the following steps that potential faults with the same priority are uniformly distributed into different groups, wherein one group corresponds to one site of an optical layer network; distributing the potential faults in the groups to corresponding sites for the corresponding sites to carry out rerouting calculation of the potential faults; the rerouting calculation results fed back by the stations are obtained, potential faults with the same priority are dispersed into different groups according to the priority sequence, the rerouting calculation tasks corresponding to the potential faults in each group are calculated by different stations, and the rerouting calculation tasks of the potential faults in each group are independent of each other, so that the resource conflict problem in distributed parallel calculation is avoided, the potential faults with the same priority can be well simulated and calculated, and the calculation results are obtained.
In addition, after querying the rerouting calculation result corresponding to the failure, the method further comprises the following steps: if the rerouting calculation result corresponding to the fault is not inquired, creating a real-time rerouting calculation task corresponding to the fault and calculating; sending a service recovery instruction to the relevant sites according to the calculation result of the real-time rerouting calculation task for the relevant sites to perform service recovery; the calculation result of the real-time rerouting calculation task is stored, when the rerouting calculation result corresponding to the fault is not inquired, the rerouting calculation task corresponding to the fault is established in real time according to the fault information, and the service is recovered according to the real-time calculation result of the rerouting calculation task, so that the problem that the service cannot be recovered due to the fact that the routing calculation result corresponding to the fault cannot be inquired when the fault occurs is avoided.
Additionally, real-time reroute calculation tasks include: calculating path requests of batch services; establishing a real-time rerouting calculation task corresponding to the fault and calculating, wherein the calculation task comprises the following steps: creating a path calculation request of batch services corresponding to the fault; grouping calculation is carried out on route calculation requests of batch services; checking whether the calculation result of the route calculation request of the batch service meets a preset goodness condition or not; if the calculation result does not accord with the preset goodness condition, selecting part of the successfully calculated services to release occupied resources; the method comprises the steps of creating new path calculation requests of batch services according to selected services and services with failed calculation, carrying out grouping calculation until the calculation results of the path calculation requests of the batch services meet a preset goodness condition, selecting part of the services with successful calculation and the services with failed calculation to be combined when the calculation results of the path calculation requests of the obtained batch services do not meet the preset goodness condition, creating the new path calculation requests of the batch services, carrying out grouping calculation until the obtained calculation results meet the preset goodness condition, reestablishing new calculation tasks and carrying out calculation when the calculation results do not meet the preset goodness condition, and accordingly guaranteeing the goodness of the obtained calculation results.
In addition, the preset goodness condition includes any one of the following: all services are successfully calculated, the number of the successfully calculated services reaches a preset expected value, the calculation time or the number of times reaches a preset upper limit, all possible calculation results of the route calculation requests of the acquired batch services are obtained, the preset goodness condition can be changed as required in consideration of the service recovery requirement, and the preset goodness condition is adjusted, so that the goodness of the obtained calculation results is guaranteed, and meanwhile, meaningless repeated calculation is avoided.
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 selecting each site in the optical layer network.
In addition, the rerouting calculation result obtained by the feedback calculation includes: the result of the rerouting calculation is fed back to a central site in the optical layer network and other sites in the optical layer network; wherein, the central site is obtained by selecting each site in the optical layer network; when the optical layer network fails, receiving a service recovery instruction, comprising: whether the central site is an isolated site is detected, if the central site is the isolated site, one central site is reselected, a service recovery instruction sent by a new central site is received, and the obtained rerouting calculation result is fed back to each site of the optical layer network, so that the data loss of the rerouting calculation result caused when the central site becomes the isolated site is avoided, the new central site is reselected when the original central site becomes the isolated site, and service recovery is carried out, the problem that service recovery cannot be carried out due to the failure of the central site is avoided, and the service recovery efficiency is ensured.
Drawings
One or more embodiments are illustrated by the corresponding figures in the drawings, which are not meant to be limiting.
Fig. 1 is a flowchart of a service restoration method according to a first embodiment of the present invention;
fig. 2 is a schematic diagram of a network structure in a traffic recovery method according to a first embodiment of the present invention;
fig. 3 is a schematic diagram of a latent fault packet in a traffic restoration method according to a first embodiment of the present invention;
fig. 4 is a schematic structural diagram of a distributed site in a service recovery method according to a first embodiment of the present invention;
fig. 5 is a flowchart of a service restoration method according to a second embodiment of the present invention;
fig. 6 is a schematic diagram of a network structure including an external centralized control module in a service recovery method according to a second embodiment of the present invention;
fig. 7 is a schematic diagram of a potential failure packet in a traffic restoration method according to a second embodiment of the present invention;
fig. 8 is a schematic diagram illustrating a calculation method of route calculation requests for bulk services in a service restoration method according to a second embodiment of the present invention;
fig. 9 is a flowchart of a service restoration method according to a third embodiment of the present invention;
fig. 10 is a schematic diagram of a calculation result obtaining method in a service restoration method according to a third embodiment of the present invention;
fig. 11 is a schematic structural diagram of a traffic recovery apparatus according to a fourth embodiment of the present invention;
fig. 12 is a schematic structural diagram of a traffic recovery apparatus according to a fifth embodiment of the present invention;
fig. 13 is a schematic structural diagram of an electronic device according to a sixth embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
The first embodiment of the invention relates to a service recovery method, in this embodiment, a rerouting calculation result corresponding to each potential fault of an optical layer network is obtained; when the optical layer network is detected to have faults, the rerouting calculation result corresponding to the fault is inquired in the rerouting calculation result corresponding to each potential fault; sending a service recovery instruction to the relevant sites according to the inquired rerouting calculation result for the relevant sites to perform service recovery; the relevant sites are sites through which restoration paths corresponding to the rerouting calculation results pass, potential faults of the optical layer network are obtained in advance, rerouting calculation results corresponding to the potential faults are obtained, when the network fails, a service restoration instruction is directly sent to the relevant sites according to the inquired rerouting calculation results to enable the relevant sites to restore services, due to the fact that the calculation results corresponding to the faults are inquired directly to restore the services, the rerouting calculation tasks corresponding to the faults are avoided being required to be created temporarily and calculated, and therefore the efficiency of service restoration between end to end is greatly improved.
The service recovery method may be applied to a central site of a distributed managed optical layer network or an external centralized control module of the optical layer network including the external centralized control module.
The following describes implementation details of a service restoration method according to this embodiment in detail, and the following is only for easy understanding of the implementation details and is not essential to this embodiment.
A specific flowchart of a service restoration method according to this embodiment is shown in fig. 1, and specifically includes the following steps:
step 101, obtaining a rerouting calculation result corresponding to each potential fault of the optical layer network.
Specifically, the central station determined according to the election acquires the service information of the whole network, evaluates the network according to the acquired information, determines a potential fault scene of the optical layer network, where a network fault may occur due to problems of network connection, transmission optical fiber and the like, and obtains each potential fault of the optical layer network, where the fault scene of the potential fault includes fiber breakage in a primary fault, loss of a station, fiber breakage in a secondary fault, loss of a station and the like, and details thereof are not repeated here. The central station groups the potential faults according to the priority; the potential faults with the same priority are distributed to different groups as uniformly as possible, wherein one group corresponds to one site of the optical layer network; distributing the potential faults in the groups to corresponding sites for the corresponding sites to carry out rerouting calculation of the potential faults in parallel; and obtaining the rerouting calculation result fed back by each station.
In an example, a schematic structural diagram of a network is shown in fig. 2, the network includes 4 OTN (optical transport network) stations in total, which are numbered from 1 to 4, and the physical fiber link relationship between the stations is also shown in fig. 2, which includes 6 direct optical links in total, which are numbered from (1) to (6), where station 1 and station 2 are interconnected by two fiber links. In this network, each site is deployed with an ASON (automatic switched optical network), a plurality of optical layer services are operated in the network, each link carries a certain number of optical layer OTN services, and the network is in a normal operation state. Selecting stations in the network in the optical layer network according to the serial number ID, taking the ASON of the station as a central station, after the central station is determined, collecting service information of the whole network by a CC (service control module) of the central station, evaluating the network according to the collected service information to obtain various faults possibly occurring in the optical layer network, and considering the conditions of single fiber breaking and secondary fiber breaking, wherein the scene of potential faults comprises single fiber breaking of any link, wherein the single fiber breaking of the fiber breaking occurs: (1) (2) and … … (6), and any two links are subjected to secondary fiber breaking: (1) and (2), (1) (3) and (1) (4) … … (5) (6) comprise 6 single-time fiber breakage and 15 secondary fiber breakage, and 21 fault scenes are included.
In practical applications, the manner of electing the central site includes but is not limited to: selecting the ASON of the station with the smallest serial number ID, selecting the ASON of the station with the strongest computing capability, or selecting the ASON of the station designated manually as the central station, and the like.
The CC module of the central site groups the obtained potential faults according to the sequence of the fault occurrence probability, arranges the conditions of the single fiber breakage and the secondary fiber breakage into 4 groups of potential faults as shown in figure 3, then allocates each group of potential faults to the corresponding sites according to the grouping, and after receiving the allocated potential faults, the sites perform rerouting calculation in parallel. The CC module of each site ASON generates path calculation requests of batch services in turn based on received fault scenes respectively, then sends the path calculation requests of the batch services to a PCE module (path calculation module) of the site, the PCE module generates batch path calculation tasks after receiving the path calculation requests of the batch services, groups all the services which are not successfully calculated according to a mode of homology, homologization and same strategy, namely, the calculation tasks corresponding to a plurality of services which meet any condition of the same original site, the same minimum hop count, the same minimum relay times and the like are divided into a same group, the batch path calculation tasks are divided into a plurality of groups of calculation tasks, then the grouped group sequence and the sequence of each calculation task in the group are disordered to enhance the calculation randomness, the PCE module calls a single-service end-to-end path calculation flow in turn according to the new sequence to calculate paths of each service, the method comprises the steps of obtaining the calculation result of each route and the label distribution result, then replying each obtained calculation result to a CC module of a local site, feeding the calculation result back to the CC module of a central site in a broadcasting mode by the CC module, storing the obtained rerouting calculation result in a resource database of the central site by the central site, and enabling an ASON basic frame structure schematic diagram of each site to be shown in figure 4 and comprise the CC module, a PCE module and the resource database.
In practical application, the method for determining the priority of each latent fault includes, but is not limited to, a fault occurrence probability, a fault influence service quantity, a third party designated sequence, and the like.
Step 102, a rerouting calculation result corresponding to the failure is queried and determined.
Specifically, when an optical layer network is detected to have a fault, the ASON of the central station collects network fault information by using a standard protocol including PCEP (communication protocol), and queries a rerouting calculation result corresponding to the fault in the obtained rerouting calculation results of each potential fault according to the fault information and the affected service information to be recovered according to the faulty link, station and affected service information.
In one example, when the link (1) fails, all 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 calculation result according to the information of all services carried on the link (1), and determines the rerouting calculation result corresponding to each service.
In practical application, a private protocol may be used to obtain the failure information of the network failure, and the communication protocol used in collecting the network failure information is not limited in this embodiment.
And 103, sending an instruction to recover the service according to the inquired rerouting calculation result.
Specifically, after a rerouting calculation result corresponding to the fault is inquired, the CC module of the central site sends a service recovery instruction to the relevant site according to the inquired rerouting calculation result, so that the relevant site can perform service recovery; the relevant sites are sites through which restoration paths corresponding to the rerouting calculation results pass, that is, corresponding service restoration methods are determined according to the inquired rerouting calculation results, service restoration instructions are sent to CC modules of all sites ASON on all service restoration paths according to the determined service restoration methods, and the CC modules of all the sites allocate resources and complete service restoration based on resource reservation protocols and the received service restoration instructions.
Therefore, the embodiment provides a service recovery method, reroute calculation tasks corresponding to potential faults of an optical layer network are distributed to sites in advance for parallel calculation, reroute calculation results corresponding to the potential faults are obtained and stored, and calculation efficiency is greatly improved through a parallel calculation method; when a network fault is detected, the obtained calculation result is inquired according to the fault information, the service recovery method is directly determined according to the inquired rerouting calculation result, and the service recovery instruction is issued to perform service recovery, so that the problem that in the process of performing service recovery by network fault, service recovery can be performed only after a large amount of resources are occupied and a large amount of time is spent to perform rerouting calculation according to the fault is avoided, and the end-to-end service recovery efficiency and the user experience are greatly improved.
A second embodiment of the present invention relates to a service restoration method. The second embodiment is substantially the same as the first embodiment, and in the second embodiment of the present invention, after the rerouting calculation results corresponding to each potential fault are obtained, when a network fails and the rerouting calculation result corresponding to the fault is not queried, a real-time calculation task is generated according to fault information to perform calculation, the calculation result is verified, and service recovery is performed according to the calculation result meeting a preset goodness condition, so that quality and efficiency of service recovery are ensured.
The service recovery method may be applied to a central site of an optical layer network that is managed in a distributed manner or an external centralized control module of the optical layer network that includes the external centralized control module.
A flowchart of a service restoration method in this embodiment is shown in fig. 5, and specifically includes the following steps;
step 501, obtaining a rerouting calculation result corresponding to each potential fault of the optical layer network.
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 information of the whole network, where a schematic diagram of a network structure including the external centralized control module is shown in fig. 6, the external centralized control module is directly connected to each site, the external centralized control module does not affect the link relationship between the sites, and then the SDON module in the external centralized control module groups each potential fault according to priority; the method comprises the following steps that potential faults with the same priority are uniformly distributed into different groups, wherein one group corresponds to one site of an optical layer network; distributing the potential faults in the groups to corresponding sites for the corresponding sites to carry out rerouting calculation of the potential faults; and obtaining the rerouting calculation result fed back by each station.
In an example, a schematic structural diagram of a network including an external centralized control module is also shown in fig. 2, an SDON controller in the external centralized controller determines a scenario of each potential fault of an optical layer network according to a single fiber break and a secondary fiber break that may occur between sites, the SDON module of the external centralized controller arranges each potential fault according to a sequence of occurrence probability of the faults to generate a fault scenario list having 5 sets of potential faults, since the external centralized controller includes an internal PCE module and has a higher calculation capability, a rerouting calculation task corresponding to the potential fault is also allocated to the external centralized controller, a schematic failure scenario grouping diagram is shown in fig. 7, a CC module of each site initiates a route calculation request of a batch service according to a received fault scenario, each PCE module generates a batch route calculation task and performs grouping calculation according to a received batch route calculation request, and 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 calculation result of the local PCE module of the external centralized control module is directly sent to the SDON controller, and the centralized control module stores the obtained rerouting calculation result corresponding to each potential fault.
Step 502, when detecting the network failure, detecting whether a rerouting calculation result corresponding to the failure is pre-stored, if not, entering step 503, and if so, entering step 505.
Specifically, after a network failure is detected, detecting a pre-stored rerouting calculation result according to failure information, determining whether a rerouting calculation result corresponding to the failure is pre-stored, if it is detected that the rerouting calculation result corresponding to the failure is not pre-stored, entering step 503, establishing a real-time rerouting calculation task according to the failure information, performing calculation, and then performing service recovery according to the calculation result, and if it is detected that the rerouting calculation result corresponding to the failure is pre-stored, entering step 505, and issuing a service recovery instruction according to the corresponding rerouting calculation result.
Step 503, establishing a real-time rerouting calculation task and performing service recovery according to the calculation result.
Specifically, if the rerouting calculation result corresponding to the fault cannot be detected, the SDON controller of the external centralized control module establishes a real-time rerouting calculation task according to the fault information and the information of the affected service, and sends a service recovery instruction to the relevant site according to the calculation result of the real-time rerouting calculation task, so that the relevant site can perform service recovery.
Specifically, a schematic diagram of a method for calculating a route calculation request of a batch service is shown in fig. 8, where an SDON module sends a route calculation request of a batch service to a local PCE module according to fault information, and the local PCE module generates a batch of route calculation tasks according to the request, and then groups the batch of route calculation tasks, as in step 801; after grouping, calculating route calculation tasks corresponding to the services in sequence according to the service sequencing, in step 802; then, checking the calculation result, comparing the obtained rerouting calculation result with the historical optimal result by the PCE module, and if the current calculation result is better than the historical optimal result, replacing the historical optimal result with the current calculation result and storing the calculation result, as in step 803; then, checking the current historical optimal result, obtaining the service with successful calculation and the service with failed calculation, and judging whether the calculation result meets the preset goodness condition or not, as in step 804; when detecting that the rerouting calculation result meets the preset goodness condition, the local PCE module directly sends the result to the SDON controller to return the calculation result, as in step 805; then the SDON controller determines the recovery scheme of the affected service according to the obtained rerouting calculation result and issues a service recovery instruction to the CC module of each associated site on each service recovery path, so that the CC module of each site configures local resources to complete the recovery of the service based on the resource reservation protocol and the received service recovery instruction; when detecting that the rerouting calculation result does not meet the preset goodness condition, selecting a part of services from the successfully calculated services, and releasing resources occupied by the selected services, as in step 806; and classifying the selected service as the service with failed calculation, combining the service with failed calculation to generate a new batch rerouting calculation request, as in step 807, recalculating until the obtained rerouting calculation result meets the preset requirement, feeding back the calculation result to the external centralized control module, and performing subsequent service recovery.
When the result of the rerouting calculation is compared with the historical optimal result, whether the calculation result meets the conditions superior to the historical calculation result or not is judged, wherein the conditions comprise the number of successful service restoration, the ratio of successful service restoration and the like; when the current historical optimal result is verified, the preset goodness condition comprises that all services are successfully calculated, the number of the successfully calculated services reaches a preset expected value, the calculation time or the calculation times reaches a preset upper limit, all possible calculation results of the route calculation request of the acquired batch services are obtained, and the like; the selection method of the service successfully calculated by the selection part comprises the steps of random selection, the service with the maximum hop number, the service with the maximum relay times, the service passing through a designated node or a link and the like. In practical application, the setting can be performed according to the user's needs, and the present embodiment is not limited.
Step 504, saving the calculation result of the real-time rerouting calculation task.
Specifically, after the verified real-time rerouting calculation result is obtained, 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.
If in step 502, it is detected that the rerouting calculation result corresponding to the failure is pre-stored, step 505 is entered, and service recovery is performed according to the rerouting calculation result corresponding to the queried failure.
Specifically, after a rerouting calculation result corresponding to the fault is queried, the SDON module of the external centralized control module determines a corresponding service recovery method according to the queried rerouting calculation result, sends a service recovery instruction to the CC module of each site on the service recovery path, and configures local resources and completes service recovery based on the resource reservation protocol and the received service recovery instruction by the CC module of each site.
Therefore, the embodiment provides a service recovery method, which includes the steps of obtaining calculation results of rerouting calculation tasks corresponding to potential faults of an optical layer network in advance, establishing real-time rerouting calculation tasks for calculation when the network faults occur but the corresponding rerouting calculation results cannot be inquired, checking the obtained calculation results, recalculating the calculation results which do not meet the preset goodness conditions, and finally obtaining the calculation results which meet the preset goodness conditions, so that the obtained calculation results can solve as many potential faults as possible, then performing service recovery according to the obtained calculation results, and ensuring the quality of service recovery.
A third embodiment of the present invention relates to a service restoration method, in this embodiment, a rerouting calculation task corresponding to a potential failure of an optical layer network is obtained; feeding back a rerouting calculation result obtained by calculation; and when the optical layer network fails, receiving a service recovery instruction, and recovering the service according to the received service recovery instruction. By calculating the potential fault in advance and feeding back the calculation result, when the network fails, the service is directly recovered according to the received service recovery instruction, the service recovery efficiency is improved, and the user experience is improved.
The service recovery method may be applied to each station in a distributed managed optical layer network or each station in an optical layer network including an external centralized control module.
A flow chart of the service recovery method in this embodiment is shown in fig. 9, and specifically includes the following steps:
and step 901, obtaining a rerouting calculation task corresponding to the potential fault and calculating.
Specifically, a CC module in a common site in the optical layer network acquires a series of potential faults distributed by an internal elected central site, establishes a rerouting calculation task corresponding to the received potential fault, and calculates the rerouting calculation task to obtain a rerouting calculation result.
In an example, each station in the optical layer network selects one of ASONs of each station in the optical layer network as a central station according to an internal protocol, for example, an ASON of a station with a smallest serial number ID among all stations is used as the central station.
The selected central site collects the whole network service information, determines the potential faults of the network, distributes each potential fault to each site including the site to perform corresponding rerouting calculation, after the CC module of each site obtains the potential fault sent by the central site, initiates a path calculation request of batch services to the PCE module of the site, and the PCE module generates a batch path calculation task according to the received request and performs grouping calculation on the batch calculation task.
And after the calculation result is obtained, the PCE module compares the obtained batch calculation result with the historical optimal result, if the current calculation result is superior to the historical optimal result, the current calculation result is used for replacing the historical optimal result to record, and if the current calculation result is not superior to the historical optimal result, the calculation is carried out again. Then, checking the current historical optimal result again to obtain a successfully-calculated service and a unsuccessfully-calculated service, judging whether the calculation result meets a preset goodness condition, when detecting that the calculation result meets the preset goodness condition, directly returning the result to the CC module by the PCE module, and recording the calculation result in a local storage module by the CC module of each site; and when the calculation result is detected to be not in accordance with the preset goodness condition, selecting part of services from the services which are successfully calculated, releasing resources occupied by the selected services, classifying the selected services as the services which are failed to be calculated, combining the services with the services which are failed to be calculated, generating path calculation requests of new batch services, performing grouping calculation again, verifying the calculation result until the obtained calculation result is in accordance with the preset goodness condition, and then recording the obtained calculation result.
When the rerouting calculation result is compared with the historical optimal result, the mode of judging whether the calculation result meets the requirement comprises the number of successful service restoration, the ratio of successful service restoration and the like; when the current historical optimal result is verified, the preset goodness condition comprises that all services are successfully calculated, the number of the successfully calculated services reaches a preset expected value, the calculation time or the calculation times reaches a preset upper limit, all possible calculation results of the route calculation request of the acquired batch services are obtained, and the like; the selection method of the service successfully calculated by the selection part comprises the steps of random selection, the service with the maximum hop number, the service with the maximum relay times, the service passing through a designated node or a link and the like. In practical application, the setting can be performed according to the user's needs, and the present embodiment is not limited.
And step 902, feeding back the reroute calculation result obtained by calculation.
Specifically, after the rerouting calculation result meeting the requirement is obtained through grouping calculation, the CC module of each station feeds back the obtained rerouting calculation result to the central station and the rest stations in the optical layer network in a broadcast manner, and while feeding back the calculation result, the CC module of each station is further configured to receive the rerouting calculation result fed back by the rest stations and store the received calculation result in the local storage module. Fig. 10 shows a schematic diagram of a rerouting calculation result obtaining flow, where a site 1 is a central site, the central site obtains a potential fault 10, distributes each potential fault to each site 20 according to a fault scene, each site CC module generates routing requests 30 and 40 for batch rerouting calculation according to a received fault scene, each site PCE module performs calculation 50 according to a received rerouting calculation request, each site PCE module returns a calculation result to the local site CC module 60, each site distributes the calculation result to other sites 70 in a broadcast manner, and the CC module of the central site receives calculation results 80 of the other sites.
Step 903, when the network fails, it is determined whether the central site is an isolated site, if yes, step 904 is performed, and if not, step 905 is performed.
Specifically, when a network fails, the CC module of each station detects whether the original central station becomes an isolated station, and when detecting that the original central station becomes an isolated station, reselects a new central station, and then receives a service restoration instruction issued by the new central station, and if the original central station does not become an isolated station, directly receives the service restoration instruction issued by the original central station.
And 904, selecting a new central station according to the selection rule.
Specifically, after the original central site becomes an isolated site, a new central site is selected from the rest sites according to a selection rule.
In an example, a schematic diagram of a network structure is shown in fig. 2, an original central site selected by a selection rule is a site 3, at a certain time, links (3) and (6) both fail, and all services carried on the two links need to be recovered, but when it is detected that links connecting the site 3 and other sites both fail, the site 3 loses contact and becomes an isolated site, that is, the original central site becomes an isolated site, at this time, the other sites need to select a new central site by the selection rule, and according to the selection rule, a site No. 1 with the strongest computing power is selected to become a new central site except the site No. 3.
In practical application, the rule for selecting the central site includes selecting the ASON of the designated site as the central site, selecting the ASON of the site with the smallest ID number as the central site, or selecting the ASON of the site with the strongest computing capability as the central site.
Step 905, receiving a service recovery instruction and performing service recovery.
Specifically, the central site queries the obtained rerouting calculation result according to the fault information, determines a rerouting calculation result corresponding to the fault, determines a service recovery scheme according to the reroute calculation result corresponding to the queried fault, then issues a service recovery instruction to the CC module of each site on each service recovery path, and after receiving the service recovery instruction sent by the central site, the CC module of each site allocates a local resource according to the received service recovery instruction for service recovery.
Therefore, the embodiment provides a service recovery method, a common station acquires a rerouting calculation task corresponding to a potential fault, performs grouping calculation on the calculation tasks and checks a calculation result to obtain a rerouting calculation result meeting a preset goodness condition, and guarantees goodness of the calculation result. And when the calculation result is fed back, the re-routing calculation results fed back by other sites are obtained, so that the data loss of the re-routing calculation results when the central site becomes an isolated site is avoided. When the network fails and the original central site becomes an isolated site, a new central site is selected, and service recovery is performed according to a service recovery instruction issued by the new central site, so that the condition that the service recovery progress is influenced after the central site is isolated is avoided, and the service recovery efficiency is further ensured.
A fourth embodiment of the present invention relates to a service restoration apparatus, as shown in fig. 11, including:
an obtaining module 1101 is configured to obtain a rerouting calculation result corresponding to each potential fault of the optical layer network.
The query module 1102: and the method is used for inquiring the rerouting calculation result corresponding to the fault in the rerouting calculation result corresponding to each potential fault when the optical layer network is detected to have the fault.
Specifically, when the optical layer network fails, the query module 1102 queries the obtained rerouting calculation results corresponding to the potential failures according to the failure information, and determines the rerouting calculation results corresponding to the failures.
And the control module 1103 is configured to send a service restoration instruction to the relevant site according to the queried rerouting calculation result, so that the relevant site performs service restoration.
Specifically, the control module 1103 determines a service recovery scheme according to the reroute calculation result corresponding to the queried fault, and sends a service recovery instruction to the relevant site for the relevant site to perform service recovery; and the relevant sites are sites through which the recovery paths corresponding to the rerouting calculation results pass.
In an example, before the obtaining module 1101 obtains the rerouting calculation result corresponding to each latent fault, the control module 1103 groups the latent faults of the optical layer network determined according to the full network service information and the network evaluation result according to the priority; the method comprises the following steps that potential faults with the same priority are uniformly distributed into different groups, wherein one group corresponds to one site of an optical layer network; distributing the potential faults in the groups to corresponding sites for the corresponding sites to carry out rerouting calculation of the potential faults; then, the obtaining module 1101 obtains the rerouting calculation result fed back by each station.
In an 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; sending a service recovery instruction to the relevant sites according to the calculation result of the real-time rerouting calculation task for the relevant sites to perform service recovery; and saving the calculation result of the real-time rerouting calculation task.
In one example, the real-time reroute calculation tasks created by control module 1103 include: calculating path requests of batch services; establishing a real-time rerouting calculation task corresponding to the fault and calculating, wherein the calculation task comprises the following steps: creating a path calculation request of batch services corresponding to the fault; grouping calculation is carried out on route calculation requests of batch services; checking whether the calculation result of the route calculation request of the batch service meets a preset goodness condition or not; when the calculation result does not accord with the preset goodness condition, selecting part of the successfully calculated services to release occupied resources; and creating new path calculation requests of batch services according to the selected services and the services with failed calculation, and performing grouping calculation until the calculation results of the path calculation requests of the batch services meet the preset goodness condition.
In an example, the preset goodness condition adopted by the control module 1103 includes any one of the following conditions, that all services are successfully calculated, that the number of the successfully calculated services reaches a preset expected value, that the calculation time or the number of times reaches a preset upper limit, and that the route calculation of the acquired batch services requests all possible calculation results.
A fifth embodiment of the present invention relates to a service restoration apparatus, as shown in fig. 12, including:
an obtaining module 1201, configured to obtain a rerouting calculation task corresponding to a potential failure of the optical layer network.
The calculating module 1202 is configured to calculate a rerouting calculation task and feed back an obtained rerouting calculation result.
Specifically, the calculation module 1202 calculates the rerouting calculation task corresponding to the obtained potential fault, obtains a rerouting calculation result, and feeds back the obtained calculation result.
The control module 1203 is configured to receive a service recovery instruction when the optical layer network fails, and perform service recovery according to the received service recovery instruction.
Specifically, when a network fails, the control module 1203 receives a service recovery instruction, and configures a local resource according to the received service recovery instruction to perform service recovery.
In one example, the calculation module 1202 feeds back the calculated rerouting calculation result, including: the result of the rerouting calculation is fed back to a central site in the optical layer network and other sites in the optical layer network; wherein, the central station is obtained by electing each station in the optical layer network, and when the optical layer network fails, the receiving, by the control module 1203, the service recovery instruction includes: and detecting whether the central site is an isolated site, and if the central site is the isolated site, reselecting one central site and receiving a service recovery instruction sent by a new central site.
A sixth embodiment of the present invention relates to an electronic apparatus, as shown in fig. 12, including at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to perform the service restoration method as in any one of the first to third embodiments described above.
Where the memory and processor are connected by a bus, the bus may comprise any number of interconnected buses and bridges, the buses connecting together one or more of the various circuits of the processor and the memory. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor.
The processor is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory may be used to store data used by the processor in performing operations.
A seventh embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (12)

1. A method for service restoration, comprising:
obtaining a rerouting calculation result corresponding to each potential fault of the optical layer network;
when the optical layer network is detected to have a fault, inquiring a rerouting calculation result corresponding to the fault in a rerouting calculation result corresponding to each potential fault;
sending a service recovery instruction to a relevant site according to the inquired rerouting calculation result for the relevant site to perform service recovery;
and the relevant sites are sites through which the recovery paths corresponding to the rerouting calculation results pass.
2. The method for recovering services according to claim 1, wherein the obtaining of the rerouting calculation result corresponding to each potential failure of the optical layer network comprises:
grouping each of the potential faults according to priority; the potential faults with the same priority are uniformly distributed into different groups, wherein one group corresponds to one site of the optical layer network;
distributing the potential fault in the grouping to a corresponding station, and performing rerouting calculation of the potential fault by the corresponding station;
and obtaining the rerouting calculation result fed back by each station.
3. The method for recovering service according to claim 1, wherein after querying the rerouting calculation result corresponding to the failure, the method further comprises:
if the rerouting calculation result corresponding to the fault is not inquired, creating a real-time rerouting calculation task corresponding to the fault and calculating;
sending a service recovery instruction to the relevant sites according to the calculation result of the real-time rerouting calculation task, so that the relevant sites can recover the service;
and saving the calculation result of the real-time rerouting calculation task.
4. The traffic restoration method according to claim 3, wherein the real-time rerouting calculation task comprises: calculating path requests of batch services; the creating and calculating of the real-time rerouting calculation task corresponding to the fault comprises:
creating a path calculation request of the batch service corresponding to the fault;
grouping and calculating the route calculation requests of the batch services;
checking whether the calculation result of the route calculation request of the batch service meets a preset goodness condition or not;
if the calculation result does not accord with the preset goodness condition, selecting part of successfully calculated services to release occupied resources;
and creating new path calculation requests of batch services according to the selected services and the services with failed calculation, and performing grouping calculation until the calculation results of the path calculation requests of the batch services meet the preset goodness condition.
5. The traffic restoration method according to claim 4, wherein the preset goodness condition includes any one of the following conditions:
all services are successfully calculated, the number of the successfully calculated services reaches a preset expected value, the calculation time or the calculation times reaches a preset upper limit, and all possible calculation results of the route calculation requests of the batch services are obtained.
6. A traffic restoration method according to any of claims 1 to 5, characterized in that it is applied to a central site in an optical layer network; or, the service recovery method is applied to an external centralized control module of the optical layer network;
and the central site is obtained by electing each site in the optical layer network.
7. A method for service restoration, comprising:
obtaining a rerouting calculation task corresponding to a potential fault of the optical layer network;
calculating the rerouting calculation task and feeding back a rerouting calculation result obtained through calculation;
and when the optical layer network fails, receiving a service recovery instruction, and recovering the service according to the received service recovery instruction.
8. The service restoration method according to claim 7, wherein the feeding back the result of the calculation of the reroute includes:
feeding back the result of the rerouting calculation to a central site in the optical layer network and other sites in the optical layer network; wherein the central site is obtained by electing each site in the optical layer network;
when the optical layer network fails, receiving a service recovery instruction, including:
detecting whether the central station is an isolated station;
and if the central site is an isolated site, reselecting one central site and receiving the service recovery instruction sent by the new central site.
9. A service restoration apparatus, comprising:
an acquisition module: the method comprises the steps of obtaining a rerouting calculation result corresponding to each potential fault of the optical layer network;
the query module: the optical layer network failure detection module is used for inquiring a rerouting calculation result corresponding to the failure in a rerouting calculation result corresponding to each potential failure when the optical layer network failure is detected;
a control module: the system is used for sending a service recovery instruction to a relevant site according to the inquired rerouting calculation result so that the relevant site can recover the service; and the relevant sites are sites through which the recovery paths corresponding to the rerouting calculation results pass.
10. A service restoration apparatus, comprising:
the acquisition module is used for acquiring a rerouting calculation task corresponding to a potential fault of the optical layer network;
the calculation module is used for calculating the rerouting calculation task and feeding back a rerouting calculation result obtained through calculation;
and the control module is used for receiving a service recovery instruction when the optical layer network fails and recovering the service according to the received service recovery instruction.
11. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a traffic restoration method as claimed in any one of claims 1 to 6 or to perform a traffic restoration method as claimed in claim 7 or 8.
12. A computer-readable storage medium, storing a computer program, wherein the computer program, when executed by a processor, implements the traffic recovery method of any of claims 1 to 6, or implements the traffic recovery method of claim 7 or 8.
CN201911181925.XA 2019-11-27 2019-11-27 Service recovery method and device, electronic equipment and storage medium Pending CN112866833A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911181925.XA CN112866833A (en) 2019-11-27 2019-11-27 Service recovery method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911181925.XA CN112866833A (en) 2019-11-27 2019-11-27 Service recovery method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112866833A true CN112866833A (en) 2021-05-28

Family

ID=75984726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911181925.XA Pending CN112866833A (en) 2019-11-27 2019-11-27 Service recovery method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112866833A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114339493A (en) * 2021-12-31 2022-04-12 中国联合网络通信集团有限公司 OTN (optical transport network) -based fault service processing method and device and storage medium
WO2023015897A1 (en) * 2021-08-13 2023-02-16 烽火通信科技股份有限公司 Intelligent control method, apparatus and system for optical network

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023015897A1 (en) * 2021-08-13 2023-02-16 烽火通信科技股份有限公司 Intelligent control method, apparatus and system for optical network
CN114339493A (en) * 2021-12-31 2022-04-12 中国联合网络通信集团有限公司 OTN (optical transport network) -based fault service processing method and device and storage medium
CN114339493B (en) * 2021-12-31 2023-06-20 中国联合网络通信集团有限公司 Fault service processing method and device based on OTN network and storage medium

Similar Documents

Publication Publication Date Title
CN101651625B (en) Route selecting device and route selecting method of multi-service restoration
US7468944B2 (en) Path fault recovery method, switching-back method after recovery from fault, and node using the same
CN100592712C (en) Method for setting link attribute, method for calculating route and system employing them
KR101887581B1 (en) Flow-based packet transport device and packet management method thereof
CN101753427B (en) Network survivability path calculation method, system and path calculation server
JP2023171514A (en) Optical communication system and optical communication method
JP2770749B2 (en) Multi-ring type failure recovery system
JP5747281B2 (en) COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND NETWORK MANAGEMENT DEVICE
JP5869041B2 (en) Method for mapping network topology request to physical network, computer program product, mobile communication system, and network configuration platform
CN101714944A (en) Method for restoring connections in a network
KR101254405B1 (en) Distributed resource management system and distributed resource management method
EP3062526B1 (en) Service deployment method, apparatus and network device
CN112866835B (en) Path calculation method and system
US7564780B2 (en) Time constrained failure recovery in communication networks
CN112866833A (en) Service recovery method and device, electronic equipment and storage medium
CN101309525B (en) Route recovery method according to failure positioning in automatic exchange optical network
WO2023015897A1 (en) Intelligent control method, apparatus and system for optical network
WO2016165061A1 (en) Service protecting method and device
US20040190490A1 (en) Device for determining switching paths in a label switched communication network in the presence of selection attributes
CN114448868B (en) Path scheduling method, device and equipment based on segmented routing strategy
US7324750B2 (en) Protection scheme for a communication network
CN106506396A (en) Flow load sharing method and convergence device
KR100250454B1 (en) Multi-point communication system and multicast path error control
CN114040273B (en) Method and system for automatically adjusting route switching based on fault point
CN107483332B (en) Service transmission management method, device and system for subnet connection protection link

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination