WO2021164266A1 - Method for service survivability analysis, apparatus, system, and storage medium - Google Patents

Method for service survivability analysis, apparatus, system, and storage medium Download PDF

Info

Publication number
WO2021164266A1
WO2021164266A1 PCT/CN2020/119225 CN2020119225W WO2021164266A1 WO 2021164266 A1 WO2021164266 A1 WO 2021164266A1 CN 2020119225 W CN2020119225 W CN 2020119225W WO 2021164266 A1 WO2021164266 A1 WO 2021164266A1
Authority
WO
WIPO (PCT)
Prior art keywords
path
network device
failure recovery
resource
failure
Prior art date
Application number
PCT/CN2020/119225
Other languages
French (fr)
Chinese (zh)
Inventor
尹龙
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021164266A1 publication Critical patent/WO2021164266A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis

Definitions

  • This application relates to the field of communication technology, and in particular to a method, device, system and storage medium for business survivability analysis.
  • the business survivability analysis function is simulated by the software when a certain network resource fails, automatically judging whether the remaining resources meet the needs of business protection, which services will be interrupted, and the protection status of which services will be degraded to support users in judging business services Whether there is a risk of default in quality, take countermeasures in advance.
  • the embodiments of the present application provide a method, device, system and storage medium for business survivability analysis to solve the problems provided by related technologies.
  • the technical solutions are as follows:
  • a method for service survivability analysis is provided. Taking the method applied to a second network device as an example, the second network device determines that the first resource has changed. After that, the second network device determines a path refresh range related to the first resource in the first path set in response to the change.
  • the first path set includes m failure recovery paths
  • the path refresh range includes n failure recovery paths in the first path set, where m is greater than n and n is greater than or equal to 1, and the second network device refreshes the path within the path refresh range.
  • the n failure recovery paths are refreshed, and n refreshed failure recovery paths are obtained.
  • the second network device performs service survivability analysis according to the second path set, and obtains the service survivability analysis result.
  • the second path set includes not only the n refreshed failure recovery paths, but also the path refresh in the first path set. At least one unrefreshed failure recovery path outside the range.
  • the method provided by the embodiment of the present application determines the path refresh range related to the resource after determining that the resource has changed, without refreshing all the failure recovery paths, but n failure recovery paths included in the path refresh range After refreshing, the service survivability analysis is performed based on the n refreshed failure recovery paths and at least one unrefreshed failure recovery path outside the path refresh range in the first path set, thereby reducing resource consumption.
  • refreshing n failure recovery paths within the path refresh range to obtain n refreshed failure recovery paths includes: sending the path refresh range to the first network device, and the first network device and the The first resource is related; then, receiving n refreshed failure recovery paths returned by the first network device based on the path refresh range.
  • the first network device By using the computing resources of the first network device, the first network device returns n refreshed failure recovery paths based on the path refresh range, which can further reduce the resource consumption of the second network device for service survivability analysis.
  • refreshing n failure recovery paths within the path refresh range to obtain n refreshed failure recovery paths includes: sending the path refresh range to the path calculation of the target area where the first network device is located Unit, the first network device is related to the first resource, and the target area is any area of a plurality of areas where the network is divided. After that, the receiving path calculation unit calculates n refreshed failure recovery paths based on the path refresh range.
  • the computing resources of the path calculation unit in the area are used to return n refreshed failure recovery paths based on the path refresh range, which can further reduce the resource consumption of the second network device for service survivability analysis.
  • the method provided in the embodiment of the present application further includes: dividing the entire network to obtain multiple areas. There are at least two multiple areas, and each of the multiple areas stores its own network information; establishes a connection with each area, obtains the resources of each area, determines the fault recovery path according to the resources of each area, and obtains the first Path collection.
  • the partitions determine the fault recovery path, which facilitates partition management and improves efficiency.
  • refreshing n failure recovery paths within the path refresh range, and after obtaining n refreshed failure recovery paths further includes: receiving a rerouting path query request sent by the first network device, and rerouting The path query request carries the first failure information; the failure recovery path matching the first failure information is determined in the second path set; the failure recovery path matching the first failure information is sent to the first network device as a rerouting path.
  • refreshing the n failure recovery paths within the path refresh range, and after obtaining the n refreshed failure recovery paths further includes: taking the n refreshed failure recovery paths as the rerouting path in advance. Sent to the first network device.
  • the rerouting path is issued to the first network device in advance, so that when a service fails, the first network device can quickly implement rerouting, which improves the rerouting when a service fails. Routing efficiency.
  • performing service survivability analysis based on the second path set to obtain the service survivability analysis result includes: receiving a service survivability analysis request, the service survivability analysis request carrying second fault information; A failure recovery path matching the second failure information is obtained in the, and a service survivability analysis result is generated according to the failure recovery path matching the second failure information.
  • a method for service survivability analysis is provided. Taking the method applied to a first network device as an example, the first network device monitors resources; in response to monitoring the first resource that has changed, The information of the changed first resource is sent to the second network device, and the second network device performs service survivability analysis based on the information of the first resource to obtain the service survivability analysis result.
  • the method further includes: receiving a path refresh range related to the first resource sent by the second network device, where the path refresh range includes the first path N failure recovery paths in the set, the first path set includes m failure recovery paths, where m is greater than n, and n is greater than or equal to 1; obtain n refreshed failure recovery paths according to the path refresh range, and refresh n The subsequent failure recovery path is returned to the second network device.
  • the method further includes: in response to detecting a service failure, sending a rerouting path query request to the second network device, and a rerouting path query request Carrying the first failure information; receiving the rerouting path returned by the second network device, where the rerouting path is a failure recovery path matching the first failure information.
  • the method further includes: receiving n refreshed failure recovery paths issued by the second network device in advance; , Acquiring the re-path routing according to the n refreshed failure recovery paths issued in advance by the second network device.
  • a device for business survivability analysis includes:
  • the first determining module is used to determine that the first resource has changed
  • the second determining module is configured to determine the path refresh range related to the first resource in the first path set in response to the change, the first path set includes m failure recovery paths, and the path refresh range includes n in the first path set A failure recovery path, where m is greater than n, and n is greater than or equal to 1;
  • the refresh module is used to refresh n failure recovery paths within the path refresh range to obtain n refreshed failure recovery paths;
  • the analysis module is used to analyze the business survivability according to the second path set, and obtain the result of the business survivability analysis. Refresh the failure recovery path.
  • the refresh module is configured to send the path refresh range to the first network device, and the first network device is related to the first resource; and receive n refreshed faults returned by the first network device based on the path refresh range Recovery path.
  • the refresh module is configured to send the path refresh range to the path calculation unit of the target area where the first network device is located.
  • the first network device is related to the first resource, and the target area is a plurality of divided networks. Any area in the area; the receiving path calculation unit calculates n refreshed fault recovery paths calculated based on the path refresh range.
  • the second determining module is also used to divide the entire network to obtain multiple areas, each of the multiple areas stores its own network information; establishes a connection with each area, and obtains each area. Based on the resources of the area, the fault recovery path is determined according to the resources of each area, and the first path set is obtained.
  • the second determining module is further configured to receive a rerouting path query request sent by the first network device, where the rerouting path query request carries the first failure information; and the second path set is determined to be related to the first failure.
  • Information matching failure recovery path ;
  • the device further includes: a first sending module, configured to send a failure recovery path matching the first failure information as a rerouting path to the first network device.
  • the device further includes:
  • the second sending module is configured to forward the n refreshed failure recovery paths as rerouting paths to the first network device in advance, and the first network device is related to the first resource.
  • the analysis module is configured to receive a service survivability analysis request, the service survivability analysis request carries second failure information; a failure recovery path that matches the second failure information is obtained from the second path set, and according to The fault recovery path matched by the second fault information generates a service survivability analysis result.
  • a device for business survivability analysis which includes:
  • Monitoring module used to monitor resources
  • the sending module is used to send the information of the changed first resource to the second network device in response to monitoring the changed first resource, and the second network device performs service survivability analysis based on the information of the first resource to obtain Business survivability analysis results.
  • the device further includes:
  • the first receiving module is configured to receive the path refresh range related to the first resource sent by the second network device, the path refresh range includes n failure recovery paths in the first path set, and the first path set includes m failure recovery paths , Where m is greater than n, and n is greater than or equal to 1;
  • the first obtaining module is configured to obtain n refreshed failure recovery paths according to the path refresh range;
  • the sending module is also used to return the n refreshed failure recovery paths to the second network device.
  • the sending module is further configured to send a rerouting path query request to the second network device in response to detecting a service failure, and the rerouting path query request carries the first failure information;
  • the device further includes: a second receiving module, configured to receive a rerouting path returned by the second network device, where the rerouting path is a failure recovery path matching the first failure information.
  • the device further includes:
  • the third receiving module is configured to receive n refreshed failure recovery paths issued in advance by the second network device
  • the second obtaining module is configured to obtain the re-path route according to the n refreshed failure recovery paths issued in advance by the second network device in response to the detected service failure.
  • a network device includes: a memory and a processor, at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor, so as to implement any one of the first aspect or the second aspect for business survival. Methods of sexual analysis.
  • a computer-readable storage medium is also provided, and at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to implement the method for business survivability analysis according to any one of the first aspect or the second aspect above.
  • Another communication device which includes a transceiver, a memory, and a processor.
  • the transceiver, the memory, and the processor communicate with each other through an internal connection path, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to control the transceiver to receive signals and control the transceiver to send signals And when the processor executes the instructions stored in the memory, the processor is caused to execute the method in any one of the foregoing possible implementation manners.
  • processors there are one or more processors, and one or more memories.
  • the memory may be integrated with the processor, or the memory and the processor may be provided separately.
  • the memory can be a non-transitory (non-transitory) memory, such as a read only memory (ROM), which can be integrated with the processor on the same chip, or can be set in different On the chip, the embodiment of the present application does not limit the type of the memory and the setting mode of the memory and the processor.
  • ROM read only memory
  • a computer program (product) is provided, and the computer program (product) includes: computer program code, which when the computer program code is executed by a computer, causes the computer to execute the methods in the above aspects.
  • a chip including a processor, which is used to call and execute instructions stored in the memory from a memory, so that a communication device installed with the chip executes the methods in the foregoing aspects.
  • Provide another chip including: input interface, output interface, processor and memory, the input interface, output interface, processor and memory are connected by internal connection paths, the processor is used to execute the code in the memory, when the code is executed When the processor is used to execute the methods in the above aspects.
  • FIG. 1 is a schematic diagram of a business survivability analysis scenario provided by an embodiment of the application
  • FIG. 2 is a schematic diagram of a service survivability analysis process provided by an embodiment of the application
  • Figure 3 is a flowchart of a method for business survivability analysis provided by an embodiment of the application.
  • FIG. 4 is a schematic diagram of the system structure for service survivability analysis provided by an embodiment of the application.
  • FIG. 5 is a schematic diagram of an interaction process for service survivability analysis provided by an embodiment of the application.
  • FIG. 6 is a schematic structural diagram of an apparatus for service survivability analysis provided by an embodiment of this application.
  • FIG. 7 is a schematic structural diagram of a device for service survivability analysis provided by an embodiment of this application.
  • FIG. 8 is a schematic structural diagram of a network device provided by an embodiment of this application.
  • FIG. 9 is a schematic structural diagram of a network device provided by an embodiment of this application.
  • FIG. 10 is a schematic structural diagram of a network device provided by an embodiment of this application.
  • the business survivability analysis function is simulated by the software when a certain network resource fails, automatically judging whether the remaining resources meet the needs of business protection, which services will be interrupted, and the protection status of which services will be degraded to support users in judging business services Whether there is a risk of default in quality, take countermeasures in advance.
  • the scenario includes a network control engine (NCE) and multiple network elements.
  • the network element may use the path calculation element communication protocol (PCEP)/open shortest path first (OSPF) for path calculation.
  • PCEP path calculation element communication protocol
  • OSPF open shortest path first
  • NCE has the function of supporting rerouting and centralized path calculation. For example, for automatically switched optical network (ASON) services with rerouting recovery capabilities, when the working path or protection path of the service fails, the network element control plane will Automatically request path calculation from the NCE, the NCE calculates an optimal path based on the entire network topology and returns it to the network element, and the network element establishes a restoration path according to the optimal path.
  • ASON automatically switched optical network
  • NCE uses the ability of rerouting to centrally calculate the path, which can realize the function of business survivability analysis. For example, by simulating the failure (point of failure) of a certain network resource and analyzing the services affected by the failure, the NCE can calculate the recovery status and recovery path of the service according to the topology of the entire network. Through the analysis and statistics of the entire network or a single failure point, the evaluation of the entire network's network resources or a single failure point is realized. Regarding the time when the NCE initiates the service survivability analysis, the embodiment of the present application does not limit it. Including but not limited to several business survivability analysis opportunities such as timely analysis, resource early warning analysis, pre-issuance analysis, and failure simulation analysis.
  • the NCE can perform service survivability analysis in time to traverse the network element and fiber resource failures of the entire network, and perform one or two failure analysis.
  • 1 or 2 failure analysis is shown in Table 1 below.
  • NCE can start business survivability analysis regularly or when resources change. For example, traverse the entire network of failure points for one analysis to realize 100% identification of resource risks, so as to carry out resource early warning.
  • NCE can start service survivability analysis before service issuance, traverse the whole network failure point for one analysis, and realize zero risk of service issuance.
  • NCE can perform business survivability analysis based on designated failure points, which greatly improves the efficiency of failure recovery.
  • a report can be generated after the analysis, and the report can also be displayed.
  • the report can record the business survivability analysis result, and can also record the processing methods such as interruption, degradation or rerouting based on the business survivability analysis result.
  • the report can also be sent to the network element corresponding to the point of failure, and the network element performs corresponding processing.
  • the method of generating the report and the content of the report are not limited in the embodiment of the present application.
  • the business survivability analysis process may be as shown in FIG. 2.
  • analysis resources such as the whole network topology resources.
  • the fault points are generated according to the analysis configuration, and each fault point is analyzed in turn.
  • After analyzing each failure point summarize and generate the analysis results, and return to the initial state.
  • an embodiment of the present application provides an analysis method for service survivability. Taking the method applied to a first network device and a second network device as an example, the method provided in the embodiment of the present application will be described.
  • the first network device monitors resources.
  • the first network device may be a network element in the scenario shown in FIG. 1, and the network element may be a network element capable of implementing an ASON service.
  • the embodiment of the present application does not limit the product form of the first network device.
  • the first network device can monitor resources within the network range that the first network device is responsible for. For example, monitoring whether any resources have changed.
  • the first network device In response to detecting the changed first resource, the first network device sends information about the changed first resource to the second network device.
  • the second network device may be the NCE in the scenario shown in FIG. 1 or other network devices that can perform service survivability analysis.
  • the embodiment of the present application also does not limit the product form of the second network device.
  • the embodiment of the present application does not limit the type of the first resource that has changed. For example, if the first network device adds a new board, after the first network device detects it, it determines that the resource of the first network device has changed, and the type of the changed first resource is the newly added board resource . For another example, if a new service is added to the first network device, after the first network device detects it, it determines that the resource of the first network device has changed, and the type of the changed first resource is the newly added service resource.
  • the first network device and the second network device can be connected in a wired or wireless manner.
  • the first network device detects the changed first resource, it sends the information of the changed first resource to the second network device to trigger the second network device to perform service survivability analysis.
  • the information of the first resource includes but is not limited to the identifier of the first resource, and the identifier of the first resource is used to uniquely identify the first resource.
  • the embodiment of the present application does not limit the information of the first resource. In addition to the identification of the first resource, it may also include the status and type of the first resource.
  • the second network device obtains the information of the first resource sent by the first network device, determines that the first resource has changed, and in response to the change, determines the path refresh range related to the first resource in the first path set, and the first
  • the path set includes m failure recovery paths
  • the path refresh range includes n failure recovery paths in the first path set, where m is greater than n, and n is greater than or equal to 1.
  • the second network device can receive the changed first resource information sent by the first network device.
  • the first resource may be a part of the resource in the network, and the second network device records information about each resource in the network, such as the identifier of the resource, and may also include the status, type, and so on of the resource. Therefore, after the second network device obtains the first resource, it can compare with the resource information recorded by the second network device to determine that the first resource has changed. For example, if the information of the first resource sent by the first network device is unrecorded information on the second network device, the first resource may be a newly added resource, and the second network device determines that the first resource is a changed resource.
  • the information of the first resource sent by the first network device includes the identifier and status of the resource
  • the identifier of the first resource is recorded on the second network device, but the recorded status is inconsistent with the status sent by the first network device
  • the first resource is an existing resource whose status has changed, and the second network device can also determine that the first resource has changed.
  • the above description only takes the first network device to monitor the resource, detects that the first resource changes, and reports the information of the first resource to the second network device as an example.
  • the second network device can also monitor on its own. The embodiment of the application does not determine whether the first resource has changed for the second network device. Qualify.
  • the second network resource determines a path refresh range related to the first resource in the first path set.
  • the first path set includes m failure recovery paths
  • the path refresh range includes n failure recovery paths in the first path set.
  • m and n are both integers, m is greater than n, and n is greater than or equal to 1.
  • the embodiment of the present application does not limit the values of m and n.
  • the embodiment of the present application does not limit the manner in which the first path set is obtained before the first resource is changed. For example, before determining that the first resource has changed, the failure recovery path calculation is performed based on the resources of the entire network to obtain the first path set.
  • the determined path refresh range may be a part of the failure recovery paths in the first path set, there is no need to recalculate the failure recovery paths for the entire network, thereby saving resources.
  • each failure recovery path in the first path set may correspond to a resource in the network, and when the second network device determines that the first resource has changed, it may be compared with the first resource in the first path set.
  • the related failure recovery path is used as the path refresh range.
  • the second network device refreshes the n failure recovery paths within the path refresh range to obtain n refreshed failure recovery paths.
  • the path refresh mode may be determined according to the type of the first resource. For example, if the first resource is a newly added single board resource, the failure recovery path may be recalculated based on the first resource and n failure recovery paths within the path refresh range. In other words, the second network device can refresh the n failure recovery paths within the path refresh range by itself, and obtain n refreshed failure recovery paths.
  • the second network device may use other resources to refresh the n failure recovery paths within the path refresh range, so as to make full use of the existing computing power in the network, save the resource consumption of the second network device, and improve The efficiency of business survivability analysis.
  • refreshing n failure recovery paths within the path refresh range to obtain n failure recovery paths after refreshing includes but not limited to the following two methods:
  • Method 1 Refresh n failure recovery paths within the path refresh range to obtain n refreshed failure recovery paths, including: sending the path refresh range to the first network device, and receiving the first network device to return based on the path refresh range N refreshed failure recovery paths.
  • the first network device is a device related to the first resource. Since the first network device can use PCEP/OSPF for path calculation, the second network device can send the path refresh range to the first network device. , Refreshed by the first network device. Afterwards, the n refreshed failure recovery paths returned by the first network device based on the path refresh range are received.
  • the method further includes: receiving the path refresh range sent by the second network device; and obtaining n pieces of refreshed information according to the path refresh range
  • the failure recovery path returns n refreshed failure recovery paths to the second network device.
  • Method 2 Refresh n failure recovery paths within the path refresh range to obtain n refreshed failure recovery paths, including: sending the path refresh range to the path calculation unit in the target area where the first network device is located, and receiving the path The computing unit calculates n refreshed failure recovery paths based on the path refresh range.
  • the first network device is related to the first resource, and the target area is any one of the multiple areas where the network is divided.
  • the network can be divided into regions for management according to regions.
  • Each area is provided with a path calculation unit, and the path is calculated by the path calculation unit in any area.
  • the method further includes: dividing the entire network to obtain multiple areas, Each area stores its own network information.
  • the embodiment of the present application does not limit the manner of area division, and the area division may be performed according to the type of service, or the area may be divided according to the geographic location of the network device, and so on. No matter which method is used to divide the area, each area stores its own network information.
  • the network information may be information of network devices in the area, path information, and so on.
  • the second network device can establish a connection with each area, obtain the resources of each area, and determine the fault recovery path according to the resources of each area, Get the first path set.
  • the second network device sends a path calculation request to the first network device to trigger the first network device to obtain n refreshed failure recovery paths according to the path refresh range
  • the first network device starts from itself The shortest path is searched out, and when the area boundary node is found, the search request is sent to the adjacent area until the destination node is searched, and n refreshed failure recovery paths are obtained.
  • the second network device performs service survivability analysis according to the second path set, and obtains the service survivability analysis result.
  • the second path set includes n refreshed failure recovery paths and at least one path out of the refresh range of the first path set. Failure recovery path not refreshed.
  • the second network device performs service survivability analysis according to the second path set, and obtains the service survivability analysis result, including but not limited to: receiving a service survivability analysis request, and the service survivability analysis request carries the second fault Information; Obtain a failure recovery path that matches the second failure information from the second path set, and generate a service survivability analysis result based on the failure recovery path that matches the second failure information.
  • the embodiment of the present application does not limit the content of the second fault information.
  • the second fault information may include, but is not limited to, fault type, fault combination, and the like.
  • refreshing n failure recovery paths within the path refresh range, and after obtaining n refreshed failure recovery paths further includes: receiving a rerouting path query request sent by the first network device, and rerouting The path query request carries the first failure information; the failure recovery path matching the first failure information is determined in the second path set; the failure recovery path matching the first failure information is sent to the first network device as a rerouting path.
  • the second path set not only includes n refreshed failure recovery paths, but also includes at least one unrefreshed failure recovery path outside the path refresh range in the first path set.
  • the method further includes: in response to detecting a service failure, sending a rerouting path query request to the second network device, and a rerouting path query request Carrying the first failure information; receiving the rerouting path returned by the second network device, where the rerouting path is a failure recovery path matching the first failure information.
  • the first network device sends the changed information of the first resource to the second network device, it also includes: receiving n refreshed information issued in advance by the second network device Failure recovery path; in response to detecting that the service fails, the re-path routing is obtained according to the n refreshed failure recovery paths issued in advance by the second network device.
  • the network is divided into regions, and 5 regions are obtained, which are domains 0, 1, 2, 3, 4, and 5.
  • Take the network element as an example.
  • the network element has a library of parameterized modules (LMP) and OSPF traffic engineering (OSPF-traffic engineering, OSPF-TE).
  • the OSPF-TE is OSPF with traffic engineering, which is an extension of OSPF traffic engineering. It is an extended link attribute, that is, link parameters are added in OSPF announcements.
  • the second network device is NCE-T, and the NCE-T includes a rerouting unit, a survivability analysis unit, a service control unit, and a routing unit.
  • the NCE-T also has a southbound drive layer, which communicates with other network devices in the network uniformly through the southbound drive layer. After the first network device is divided into areas, each area is provided with a path calculation element (PCE).
  • PCE path calculation element
  • Phase 1 NCE-T synchronizes the resources and services of the entire network (not shown in Figure 5). At this stage, including but not limited to the following processes:
  • the southbound driver layer establishes a generic routing encapsulation (GRE) connection with a single ASON domain, and the resources and services in the single ASON domain are reported through OSPF-TE and PCEP.
  • GRE generic routing encapsulation
  • the southbound drive layer synchronizes the data to the upper unit, such as the survivability analysis unit.
  • NCE-T calculates the survivability analysis failure recovery path in advance and refreshes it in real time.
  • NCE-T uses single-domain PCE and network element control plane computing capabilities in coordination, and single-domain PCE and network element control planes provide path calculation interfaces through PCEP.
  • This stage includes but is not limited to the following processes:
  • the survivability analysis unit invokes an incremental algorithm to determine the refresh range of the failure recovery path, and requests the algorithm unit to calculate the detailed path.
  • the algorithm unit splits the path calculation request, and distributes the path in the domain to the corresponding path calculation element (Path Computation Element) and the network element control plane.
  • the survivability analysis unit synchronizes the calculated failure recovery path to the rerouting unit.
  • Stage 3 Carry out survival analysis. This stage includes but is not limited to the following processes:
  • the survivability analysis unit matches the fault type, the combination of faults and the fault recovery path according to the user input, and generates the survivability analysis result.
  • Phase 4 Failure occurs, business rerouting. This stage includes but is not limited to the following processes:
  • the network element monitors the occurrence of a service failure, and locates the type of failure and the specific failure point.
  • the network element carries the detailed information of the failure and queries the rerouting path through the PCEP request rerouting unit (the failure recovery path and the failure information can also be notified to the network element in advance in phase two).
  • the rerouting unit matches the fault recovery path according to the fault information and responds to the network element.
  • the second network device determines the path refresh range related to the first resource without refreshing all the failure recovery paths, but the path Refresh the n failure recovery paths within the refresh range, and perform business survivability analysis based on the n refreshed failure recovery paths and at least one unrefreshed failure recovery path outside the refresh range of the path, thereby reducing resource consumption.
  • the embodiment of the application provides a device for service survivability analysis.
  • the device is applied to a second network device.
  • the second network device is the second network device in FIG. 3 and FIG.
  • the apparatus for service survivability analysis shown in FIG. 6 can perform all or part of the operations performed by the second network device.
  • the device includes:
  • the first determining module 601 is configured to determine that the first resource has changed
  • the second determining module 602 is configured to determine, in response to the change, a path refresh range related to the first resource in the first path set, the first path set includes m failure recovery paths, and the path refresh range includes the path refresh range in the first path set. n failure recovery paths, where m is greater than n, and n is greater than or equal to 1;
  • the refresh module 603 is configured to refresh n failure recovery paths within the path refresh range to obtain n refreshed failure recovery paths;
  • the analysis module 604 is configured to perform service survivability analysis according to the second path set to obtain the service survivability analysis result.
  • the second path set includes n refreshed failure recovery paths and at least one path out of the refresh range of the first path set Failure recovery path not refreshed.
  • the refresh module 603 is configured to send the path refresh range to the first network device, and the first network device is related to the first resource; and receive n refreshed information returned by the first network device based on the path refresh range Failure recovery path.
  • the refresh module 603 is configured to send the path refresh range to the path calculation unit of the target area where the first network device is located.
  • the first network device is related to the first resource, and the target area is the divided network. Any one of the two areas; the receiving path calculation unit calculates n refreshed fault recovery paths based on the path refresh range.
  • the second determining module 602 is also used to partition the entire network to obtain multiple areas, and each of the multiple areas stores its own network information; establishes a connection with each area to obtain The resources of each area determine the failure recovery path according to the resources of each area, and the first path set is obtained.
  • the second determining module 602 is further configured to receive a rerouting path query request sent by the first network device, where the rerouting path query request carries the first fault information; in the second path set, it is determined to be the same as the first The fault recovery path that matches the fault information;
  • the device also includes:
  • the first sending module is configured to send the failure recovery path matching the first failure information as a rerouting path to the first network device.
  • the device further includes:
  • the second sending module is configured to forward the n refreshed failure recovery paths as rerouting paths to the first network device in advance, and the first network device is related to the first resource.
  • the analysis module 604 is configured to receive a service survivability analysis request, where the service survivability analysis request carries second failure information; obtain a failure recovery path matching the second failure information from the second path set, according to The failure recovery path matching the second failure information generates a service survivability analysis result.
  • the device provided by the embodiment of the present application determines the path refresh range related to the first resource after determining that the first resource has changed, and does not need to refresh all the failure recovery paths, but refreshes the path within the range of n Refresh the failure recovery paths, and perform business survivability analysis based on n refreshed failure recovery paths and at least one unrefreshed failure recovery path outside the refresh range of the path, thereby reducing resource consumption.
  • the embodiment of the present application provides a device for service survivability analysis.
  • the device is applied to a first network device.
  • the first network device is the first network device in FIG. 3 and FIG.
  • the apparatus for service survivability analysis shown in FIG. 7 can perform all or part of the operations performed by the first network device.
  • the device includes:
  • the monitoring module 701 is used to monitor resources
  • the sending module 702 is configured to send information about the changed first resource to a second network device in response to monitoring the changed first resource, and the second network device performs service survivability analysis based on the information about the first resource, Obtain business survivability analysis results.
  • the device further includes:
  • the first receiving module is configured to receive the path refresh range related to the first resource sent by the second network device, the path refresh range includes n failure recovery paths in the first path set, and the first path set includes m failure recovery paths , Where m is greater than n, and n is greater than or equal to 1;
  • the first obtaining module is configured to obtain n refreshed failure recovery paths according to the path refresh range;
  • the sending module 702 is also configured to return the n refreshed failure recovery paths to the second network device.
  • the sending module 702 is further configured to send a rerouting path query request to the second network device in response to detecting a service failure, and the rerouting path query request carries the first failure information;
  • the device also includes:
  • the second receiving module is configured to receive the rerouting path returned by the second network device, where the rerouting path is a failure recovery path matching the first failure information.
  • the device further includes:
  • the third receiving module is configured to receive n refreshed failure recovery paths issued in advance by the second network device
  • the second obtaining module is configured to obtain the re-path route according to the n refreshed failure recovery paths issued in advance by the second network device in response to the detected service failure.
  • the apparatus provided by the embodiment of the present application reports the information of the changed first resource to the second network device after determining that the first resource has changed, and the second network device determines the path refresh range related to the first resource , Instead of refreshing all failure recovery paths, but refreshing n failure recovery paths within the path refresh range, based on n refreshed failure recovery paths and at least one unrefreshed failure outside the path refresh range
  • the recovery path is analyzed for business survivability, which can reduce resource consumption.
  • the network device in the foregoing embodiment may be, for example, the first network device or the second network device in FIG. 3 or FIG. 5, and the hardware structure of the network device may be in two ways:
  • the network device 800 includes a transceiver 803, a processor 802, and a memory 801, and the transceiver 803, the processor 802, and the memory 801 are connected through a bus 804.
  • the transceiver 803 is used to receive and forward packets or data information
  • the processor 802 is used to execute processing related steps in the first network device or the second network device in the embodiment shown in FIG. 3.
  • the network device 900 includes a main control board 91 and an interface board 92
  • the main control board 91 includes a processor 911 and a memory 912
  • the interface board 92 includes a processor 921, a memory 922 and an interface card 923.
  • the processor 921 of the interface board 92 is configured to call the program instructions in the memory 922 of the interface board 92 to perform data reception and transmission.
  • the processor 911 of the main control board 91 is used to call the program instructions in the memory 912 of the main control board 91 to execute corresponding processing functions.
  • the processor 911 of the main control board 91 calls the program instructions in the memory 912 of the main control board 91 to execute the processing related steps in the first network device or the second network device in the embodiment shown in FIG. 3 or FIG. 5.
  • any of the device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physically separate.
  • the physical unit can be located in one place or distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the connection relationship between the modules indicates that they have a communication connection, which can be specifically implemented as one or more communication buses or signal lines.
  • an embodiment of the present application also provides a network device 1000.
  • the network device 1000 shown in FIG. 10 is configured to perform operations involved in the foregoing method for service survivability analysis.
  • the network device 1000 includes a memory 1001, a processor 1002, and an interface 1003, and the memory 1001, the processor 1002, and the interface 1003 are connected by a bus 1004.
  • At least one instruction is stored in the memory 1001, and at least one instruction is loaded and executed by the processor 1002, so as to implement any one of the foregoing methods for business survivability analysis.
  • the interface 1003 is used to communicate with other devices in the network.
  • the interface 1003 may be implemented in a wireless or wired manner.
  • the interface 1003 may be a network card.
  • the network device 1000 can communicate with the server through the interface 1003.
  • the network device shown in FIG. 10 is the first network device in FIG. 3 or FIG. 5, and the processor 1002 reads the instructions in the memory 1001 so that the network device shown in FIG. 10 can execute what the first network device executes. Full or partial operation.
  • the network device shown in FIG. 10 is the second network device in FIG. 3 or FIG. 5, and the processor 1002 reads the instructions in the memory 1001, so that the network device shown in FIG. All or part of the operation.
  • FIG. 10 only shows a simplified design of the network device 1000.
  • a network device can include any number of interfaces, processors or memories.
  • the above-mentioned processor may be a central processing unit (CPU), other general-purpose processors, digital signal processing (DSP), application specific integrated circuit (ASIC), Field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or any conventional processor. It is worth noting that the processor may be a processor that supports an advanced reduced instruction set machine (advanced RISC machines, ARM) architecture.
  • the foregoing memory may include a read-only memory and a random access memory, and provide instructions and data to the processor.
  • the memory may also include non-volatile random access memory.
  • the memory can also store device type information.
  • the memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory, wherein the non-volatile memory may be a read-only memory (read-only memory, ROM) , Programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (RAM), which is used as an external cache. By way of exemplary but not limiting illustration, many forms of RAM are available.
  • static random access memory static random access memory
  • dynamic random access memory dynamic random access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • double data rate synchronous dynamic random access Memory double data date SDRAM, DDR SDRAM
  • enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM
  • serial link DRAM SLDRAM
  • direct memory bus random access memory direct rambus RAM
  • a computer-readable storage medium is also provided, and at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to implement the method for business survivability analysis as described above.
  • This application provides a computer program.
  • the processor or the computer can execute the corresponding operations and/or procedures in the above method embodiments.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk).

Landscapes

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

Abstract

The present application discloses a method for service survivability analysis, an apparatus, a system, and a storage medium. Said method comprises: determining that a first resource changes; in response to the change, determining, in a first path set, a path refresh range related to the first resource, the first path set comprising m fault recovery paths, the path refresh range comprising n fault recovery paths in the first path set, m being greater than n, and n being not less than 1; refreshing the n fault recovery paths within the path refresh range, to obtain n refreshed fault recovery paths; and then performing service survivability analysis according to a second path set, to obtain a service survivability analysis result, the second path set not only comprising n refreshed fault recovery paths, but also comprising at least one non-refreshed fault recovery path outside the path refresh range in the first path set. The service survivability analysis process provided in the present application can reduce resource consumption.

Description

用于业务生存性分析的方法、装置、系统及存储介质Method, device, system and storage medium for business survivability analysis
本申请要求于2020年02月21日提交的申请号为202010107280.1、发明名称为“用于业务生存性分析的方法、装置、系统及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed on February 21, 2020 with the application number 202010107280.1 and the invention title "Methods, devices, systems and storage media for business survivability analysis", the entire contents of which are incorporated by reference Incorporated in this application.
技术领域Technical field
本申请涉及通信技术领域,特别涉及一种用于业务生存性分析的方法、装置、系统及存储介质。This application relates to the field of communication technology, and in particular to a method, device, system and storage medium for business survivability analysis.
背景技术Background technique
业务生存性分析功能是由软件模拟在某项网络资源发生故障的时候,自动判断剩余的资源是否满足业务保护的需求,哪些业务会中断,哪些业务的保护状态会降级,以支撑用户判断业务服务质量是否存在违约风险,提前做好应对措施。The business survivability analysis function is simulated by the software when a certain network resource fails, automatically judging whether the remaining resources meet the needs of business protection, which services will be interrupted, and the protection status of which services will be degraded to support users in judging business services Whether there is a risk of default in quality, take countermeasures in advance.
发明内容Summary of the invention
本申请实施例提供了一种用于业务生存性分析的方法、装置、系统及存储介质,以解决相关技术提供的问题,技术方案如下:The embodiments of the present application provide a method, device, system and storage medium for business survivability analysis to solve the problems provided by related technologies. The technical solutions are as follows:
第一方面,提供了一种用于业务生存性分析的方法,以该方法应用于第二网络设备为例,该第二网络设备确定第一资源发生变化。之后,第二网络设备响应于该变化,在第一路径集合中确定与第一资源相关的路径刷新范围。该第一路径集合包括m条故障恢复路径,路径刷新范围包括第一路径集合中的n条故障恢复路径,其中,m大于n,n大于或等于1;第二网络设备对路径刷新范围内的n条故障恢复路径进行刷新,得到n条刷新后的故障恢复路径。之后,第二网络设备根据第二路径集合进行业务生存性分析,得到业务生存性分析结果,该第二路径集合不仅包括该n条刷新后的故障恢复路径,还包括第一路径集合中路径刷新范围外的至少一条未刷新的故障恢复路径。In the first aspect, a method for service survivability analysis is provided. Taking the method applied to a second network device as an example, the second network device determines that the first resource has changed. After that, the second network device determines a path refresh range related to the first resource in the first path set in response to the change. The first path set includes m failure recovery paths, and the path refresh range includes n failure recovery paths in the first path set, where m is greater than n and n is greater than or equal to 1, and the second network device refreshes the path within the path refresh range. The n failure recovery paths are refreshed, and n refreshed failure recovery paths are obtained. After that, the second network device performs service survivability analysis according to the second path set, and obtains the service survivability analysis result. The second path set includes not only the n refreshed failure recovery paths, but also the path refresh in the first path set. At least one unrefreshed failure recovery path outside the range.
本申请实施例提供的方法,通过在确定资源发生变化后,确定与该资源相关的路径刷新范围,无需对所有的故障恢复路径进行刷新,而是对该路径刷新范围包括的n条故障恢复路径进行刷新,之后基于n条刷新后的故障恢复路径以及第一路径集合中该路径刷新范围外的至少一条未刷新的故障恢复路径进行业务生存性分析,从而能够降低资源消耗。The method provided by the embodiment of the present application determines the path refresh range related to the resource after determining that the resource has changed, without refreshing all the failure recovery paths, but n failure recovery paths included in the path refresh range After refreshing, the service survivability analysis is performed based on the n refreshed failure recovery paths and at least one unrefreshed failure recovery path outside the path refresh range in the first path set, thereby reducing resource consumption.
在示例性实施例中,对路径刷新范围内的n条故障恢复路径进行刷新,得到n条刷新后的故障恢复路径,包括:将路径刷新范围发送给第一网络设备,第一网络设备与该第一资源相关;之后,接收第一网络设备基于该路径刷新范围返回的n条刷新后的故障恢复路径。In an exemplary embodiment, refreshing n failure recovery paths within the path refresh range to obtain n refreshed failure recovery paths includes: sending the path refresh range to the first network device, and the first network device and the The first resource is related; then, receiving n refreshed failure recovery paths returned by the first network device based on the path refresh range.
通过利用第一网络设备的计算资源,由第一网络设备基于路径刷新范围返回n条刷新后的故障恢复路径,可进一步降低第二网络设备进行业务生存性分析的资源消耗。By using the computing resources of the first network device, the first network device returns n refreshed failure recovery paths based on the path refresh range, which can further reduce the resource consumption of the second network device for service survivability analysis.
在示例性实施例中,对路径刷新范围内的n条故障恢复路径进行刷新,得到n条刷新后的故障恢复路径,包括:将路径刷新范围发送给第一网络设备所在的目标区域的路径计算单元, 该第一网络设备与第一资源相关,目标区域为网络被划分的多个区域中的任一区域。之后,接收路径计算单元基于该路径刷新范围计算得到的n条刷新后的故障恢复路径。In an exemplary embodiment, refreshing n failure recovery paths within the path refresh range to obtain n refreshed failure recovery paths includes: sending the path refresh range to the path calculation of the target area where the first network device is located Unit, the first network device is related to the first resource, and the target area is any area of a plurality of areas where the network is divided. After that, the receiving path calculation unit calculates n refreshed failure recovery paths based on the path refresh range.
通过区域划分,利用区域内路径计算单元的计算资源来基于路径刷新范围返回n条刷新后的故障恢复路径,可进一步降低第二网络设备进行业务生存性分析的资源消耗。Through the area division, the computing resources of the path calculation unit in the area are used to return n refreshed failure recovery paths based on the path refresh range, which can further reduce the resource consumption of the second network device for service survivability analysis.
在示例性实施例中,将路径刷新范围发送给第一网络设备所在的目标区域的路径计算单元之前,本申请实施例提供的方法还包括:对全网进行区域划分,得到多个区域,该多个区域为至少两个,且该多个区域中的每个区域存储各自的网络信息;与每个区域建立连接,获取各个区域的资源,根据各个区域的资源确定故障恢复路径,得到第一路径集合。通过将网络划分为多个区域,分区确定故障恢复路径,便于分区管理提高效率。In an exemplary embodiment, before sending the path refresh range to the path calculation unit of the target area where the first network device is located, the method provided in the embodiment of the present application further includes: dividing the entire network to obtain multiple areas. There are at least two multiple areas, and each of the multiple areas stores its own network information; establishes a connection with each area, obtains the resources of each area, determines the fault recovery path according to the resources of each area, and obtains the first Path collection. By dividing the network into multiple areas, the partitions determine the fault recovery path, which facilitates partition management and improves efficiency.
在示例性实施例中,对路径刷新范围内的n条故障恢复路径进行刷新,得到n条刷新后的故障恢复路径之后,还包括:接收第一网络设备发送的重路由路径查询请求,重路由路径查询请求携带第一故障信息;在第二路径集合中确定与第一故障信息匹配的故障恢复路径;将与第一故障信息匹配的故障恢复路径作为重路由路径发送给该第一网络设备。In an exemplary embodiment, refreshing n failure recovery paths within the path refresh range, and after obtaining n refreshed failure recovery paths, further includes: receiving a rerouting path query request sent by the first network device, and rerouting The path query request carries the first failure information; the failure recovery path matching the first failure information is determined in the second path set; the failure recovery path matching the first failure information is sent to the first network device as a rerouting path.
通过将业务生存性分析结果应用于重路由中,进一步节省了资源,且提高重路由的效率。By applying the results of service survivability analysis to rerouting, resources are further saved and the efficiency of rerouting is improved.
在示例性实施例中,对路径刷新范围内的n条故障恢复路径进行刷新,得到n条刷新后的故障恢复路径之后,还包括:将n条刷新后的故障恢复路径作为重路由路径提前下发给第一网络设备。In an exemplary embodiment, refreshing the n failure recovery paths within the path refresh range, and after obtaining the n refreshed failure recovery paths, further includes: taking the n refreshed failure recovery paths as the rerouting path in advance. Sent to the first network device.
由于该第一网络设备与第一资源相关,因而通过提前将重路由路径下发给第一网络设备,使得业务故障时,第一网络设备可快速地实现重路由,提高了业务故障时的重路由效率。Since the first network device is related to the first resource, the rerouting path is issued to the first network device in advance, so that when a service fails, the first network device can quickly implement rerouting, which improves the rerouting when a service fails. Routing efficiency.
在示例性实施例中,根据第二路径集合进行业务生存性分析,得到业务生存性分析结果,包括:接收业务生存性分析请求,业务生存性分析请求携带第二故障信息;在第二路径集合中获取与第二故障信息匹配的故障恢复路径,根据与第二故障信息匹配的故障恢复路径生成业务生存性分析结果。In an exemplary embodiment, performing service survivability analysis based on the second path set to obtain the service survivability analysis result includes: receiving a service survivability analysis request, the service survivability analysis request carrying second fault information; A failure recovery path matching the second failure information is obtained in the, and a service survivability analysis result is generated according to the failure recovery path matching the second failure information.
第二方面,提供了一种用于业务生存性分析的方法,以该方法应用于第一网络设备为例,该第一网络设备对资源进行监测;响应于监测到发生变化的第一资源,将发生变化的第一资源的信息发送给第二网络设备,由第二网络设备基于第一资源的信息进行业务生存性分析,得到业务生存性分析结果。In a second aspect, a method for service survivability analysis is provided. Taking the method applied to a first network device as an example, the first network device monitors resources; in response to monitoring the first resource that has changed, The information of the changed first resource is sent to the second network device, and the second network device performs service survivability analysis based on the information of the first resource to obtain the service survivability analysis result.
在示例性实施例中,将发生变化的第一资源发送给第二网络设备之后,还包括:接收第二网络设备发送的与第一资源相关的路径刷新范围,该路径刷新范围包括第一路径集合中的n条故障恢复路径,该第一路径集合包括m条故障恢复路径,其中m大于n,n大于或等于1;根据路径刷新范围获取n条刷新后的故障恢复路径,将n条刷新后的故障恢复路径返回给第二网络设备。In an exemplary embodiment, after sending the changed first resource to the second network device, the method further includes: receiving a path refresh range related to the first resource sent by the second network device, where the path refresh range includes the first path N failure recovery paths in the set, the first path set includes m failure recovery paths, where m is greater than n, and n is greater than or equal to 1; obtain n refreshed failure recovery paths according to the path refresh range, and refresh n The subsequent failure recovery path is returned to the second network device.
在示例性实施例中,将发生变化的第一资源发送给第二网络设备之后,还包括:响应于监测到业务发生故障,向第二网络设备发送重路由路径查询请求,重路由路径查询请求携带第一故障信息;接收第二网络设备返回的重路由路径,重路由路径为与第一故障信息匹配的故障恢复路径。In an exemplary embodiment, after sending the changed first resource to the second network device, the method further includes: in response to detecting a service failure, sending a rerouting path query request to the second network device, and a rerouting path query request Carrying the first failure information; receiving the rerouting path returned by the second network device, where the rerouting path is a failure recovery path matching the first failure information.
在示例性实施例中,将发生变化的第一资源发送给第二网络设备之后,还包括:接收第二网络设备提前下发的n条刷新后的故障恢复路径;响应于监测到业务发生故障,根据该第二 网络设备提前下发的n条刷新后的故障恢复路径获取重路径路由。In an exemplary embodiment, after sending the changed first resource to the second network device, the method further includes: receiving n refreshed failure recovery paths issued by the second network device in advance; , Acquiring the re-path routing according to the n refreshed failure recovery paths issued in advance by the second network device.
第三方面,提供了一种用于业务生存性分析的装置,装置包括:In a third aspect, a device for business survivability analysis is provided, and the device includes:
第一确定模块,用于确定第一资源发生变化;The first determining module is used to determine that the first resource has changed;
第二确定模块,用于响应于变化,在第一路径集合中确定与第一资源相关的路径刷新范围,第一路径集合包括m条故障恢复路径,路径刷新范围包括第一路径集合中的n条故障恢复路径,其中m大于n,n大于或等于1;The second determining module is configured to determine the path refresh range related to the first resource in the first path set in response to the change, the first path set includes m failure recovery paths, and the path refresh range includes n in the first path set A failure recovery path, where m is greater than n, and n is greater than or equal to 1;
刷新模块,用于对路径刷新范围内的n条故障恢复路径进行刷新,得到n条刷新后的故障恢复路径;The refresh module is used to refresh n failure recovery paths within the path refresh range to obtain n refreshed failure recovery paths;
分析模块,用于根据第二路径集合进行业务生存性分析,得到业务生存性分析结果,第二路径集合包括n条刷新后的故障恢复路径以及第一路径集合中路径刷新范围外的至少一条未刷新的故障恢复路径。The analysis module is used to analyze the business survivability according to the second path set, and obtain the result of the business survivability analysis. Refresh the failure recovery path.
在示例性实施例中,刷新模块,用于将路径刷新范围发送给第一网络设备,第一网络设备与第一资源相关;接收第一网络设备基于路径刷新范围返回的n条刷新后的故障恢复路径。In an exemplary embodiment, the refresh module is configured to send the path refresh range to the first network device, and the first network device is related to the first resource; and receive n refreshed faults returned by the first network device based on the path refresh range Recovery path.
在示例性实施例中,刷新模块,用于将路径刷新范围发送给第一网络设备所在的目标区域的路径计算单元,第一网络设备与第一资源相关,目标区域为网络被划分的多个区域中的任一区域;接收路径计算单元基于路径刷新范围计算得到的n条刷新后的故障恢复路径。In an exemplary embodiment, the refresh module is configured to send the path refresh range to the path calculation unit of the target area where the first network device is located. The first network device is related to the first resource, and the target area is a plurality of divided networks. Any area in the area; the receiving path calculation unit calculates n refreshed fault recovery paths calculated based on the path refresh range.
在示例性实施例中,第二确定模块,还用于对全网进行区域划分,得到多个区域,多个区域中的每个区域存储各自的网络信息;与每个区域建立连接,获取各个区域的资源,根据各个区域的资源确定故障恢复路径,得到第一路径集合。In an exemplary embodiment, the second determining module is also used to divide the entire network to obtain multiple areas, each of the multiple areas stores its own network information; establishes a connection with each area, and obtains each area. Based on the resources of the area, the fault recovery path is determined according to the resources of each area, and the first path set is obtained.
在示例性实施例中,第二确定模块,还用于接收第一网络设备发送的重路由路径查询请求,重路由路径查询请求携带第一故障信息;在第二路径集合中确定与第一故障信息匹配的故障恢复路径;In an exemplary embodiment, the second determining module is further configured to receive a rerouting path query request sent by the first network device, where the rerouting path query request carries the first failure information; and the second path set is determined to be related to the first failure. Information matching failure recovery path;
装置还包括:第一发送模块,用于将与第一故障信息匹配的故障恢复路径作为重路由路径发送给第一网络设备。The device further includes: a first sending module, configured to send a failure recovery path matching the first failure information as a rerouting path to the first network device.
在示例性实施例中,该装置还包括:In an exemplary embodiment, the device further includes:
第二发送模块,用于将n条刷新后的故障恢复路径作为重路由路径提前下发给第一网络设备,第一网络设备与第一资源相关。The second sending module is configured to forward the n refreshed failure recovery paths as rerouting paths to the first network device in advance, and the first network device is related to the first resource.
在示例性实施例中,分析模块,用于接收业务生存性分析请求,业务生存性分析请求携带第二故障信息;在第二路径集合中获取与第二故障信息匹配的故障恢复路径,根据与第二故障信息匹配的故障恢复路径生成业务生存性分析结果。In an exemplary embodiment, the analysis module is configured to receive a service survivability analysis request, the service survivability analysis request carries second failure information; a failure recovery path that matches the second failure information is obtained from the second path set, and according to The fault recovery path matched by the second fault information generates a service survivability analysis result.
第四方面,还提供了一种用于业务生存性分析的装置,该装置包括:In a fourth aspect, a device for business survivability analysis is also provided, which includes:
监测模块,用于对资源进行监测;Monitoring module, used to monitor resources;
发送模块,用于响应于监测到发生变化的第一资源,将发生变化的第一资源的信息发送给第二网络设备,由第二网络设备基于第一资源的信息进行业务生存性分析,得到业务生存性分析结果。The sending module is used to send the information of the changed first resource to the second network device in response to monitoring the changed first resource, and the second network device performs service survivability analysis based on the information of the first resource to obtain Business survivability analysis results.
在示例性实施例中,该装置还包括:In an exemplary embodiment, the device further includes:
第一接收模块,用于接收第二网络设备发送的与第一资源相关的路径刷新范围,路径刷 新范围包括第一路径集合中的n条故障恢复路径,第一路径集合包括m条故障恢复路径,其中m大于n,n大于或等于1;The first receiving module is configured to receive the path refresh range related to the first resource sent by the second network device, the path refresh range includes n failure recovery paths in the first path set, and the first path set includes m failure recovery paths , Where m is greater than n, and n is greater than or equal to 1;
第一获取模块,用于根据路径刷新范围获取n条刷新后的故障恢复路径;The first obtaining module is configured to obtain n refreshed failure recovery paths according to the path refresh range;
发送模块,还用于将n条刷新后的故障恢复路径返回给第二网络设备。The sending module is also used to return the n refreshed failure recovery paths to the second network device.
在示例性实施例中,发送模块,还用于响应于监测到业务发生故障,向第二网络设备发送重路由路径查询请求,重路由路径查询请求携带第一故障信息;In an exemplary embodiment, the sending module is further configured to send a rerouting path query request to the second network device in response to detecting a service failure, and the rerouting path query request carries the first failure information;
装置还包括:第二接收模块,用于接收第二网络设备返回的重路由路径,重路由路径为与第一故障信息匹配的故障恢复路径。The device further includes: a second receiving module, configured to receive a rerouting path returned by the second network device, where the rerouting path is a failure recovery path matching the first failure information.
在示例性实施例中,该装置还包括:In an exemplary embodiment, the device further includes:
第三接收模块,用于接收第二网络设备提前下发的n条刷新后的故障恢复路径;The third receiving module is configured to receive n refreshed failure recovery paths issued in advance by the second network device;
第二获取模块,用于响应于监测到业务发生故障,根据第二网络设备提前下发的n条刷新后的故障恢复路径获取重路径路由。The second obtaining module is configured to obtain the re-path route according to the n refreshed failure recovery paths issued in advance by the second network device in response to the detected service failure.
还提供一种网络设备,设备包括:存储器及处理器,存储器中存储有至少一条指令,至少一条指令由处理器加载并执行,以实现上述第一方面或第二方面任一的用于业务生存性分析的方法。A network device is also provided. The device includes: a memory and a processor, at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor, so as to implement any one of the first aspect or the second aspect for business survival. Methods of sexual analysis.
还提供了一种计算机可读存储介质,存储介质中存储有至少一条指令,指令由处理器加载并执行以实现如上第一方面或第二方面任一的用于业务生存性分析的方法。A computer-readable storage medium is also provided, and at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to implement the method for business survivability analysis according to any one of the first aspect or the second aspect above.
提供了另一种通信装置,该装置包括:收发器、存储器和处理器。其中,该收发器、该存储器和该处理器通过内部连接通路互相通信,该存储器用于存储指令,该处理器用于执行该存储器存储的指令,以控制收发器接收信号,并控制收发器发送信号,并且当该处理器执行该存储器存储的指令时,使得该处理器执行上述任一种可能的实施方式中的方法。Another communication device is provided, which includes a transceiver, a memory, and a processor. The transceiver, the memory, and the processor communicate with each other through an internal connection path, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to control the transceiver to receive signals and control the transceiver to send signals And when the processor executes the instructions stored in the memory, the processor is caused to execute the method in any one of the foregoing possible implementation manners.
作为一种示例性实施例,处理器为一个或多个,存储器为一个或多个。As an exemplary embodiment, there are one or more processors, and one or more memories.
作为一种示例性实施例,存储器可以与处理器集成在一起,或者存储器与处理器分离设置。As an exemplary embodiment, the memory may be integrated with the processor, or the memory and the processor may be provided separately.
在具体实现过程中,存储器可以为非瞬时性(non-transitory)存储器,例如只读存储器(read only memory,ROM),其可以与处理器集成在同一块芯片上,也可以分别设置在不同的芯片上,本申请实施例对存储器的类型以及存储器与处理器的设置方式不做限定。In the specific implementation process, the memory can be a non-transitory (non-transitory) memory, such as a read only memory (ROM), which can be integrated with the processor on the same chip, or can be set in different On the chip, the embodiment of the present application does not limit the type of the memory and the setting mode of the memory and the processor.
提供了一种计算机程序(产品),计算机程序(产品)包括:计算机程序代码,当计算机程序代码被计算机运行时,使得计算机执行上述各方面中的方法。A computer program (product) is provided, and the computer program (product) includes: computer program code, which when the computer program code is executed by a computer, causes the computer to execute the methods in the above aspects.
提供了一种芯片,包括处理器,用于从存储器中调用并运行存储器中存储的指令,使得安装有芯片的通信设备执行上述各方面中的方法。A chip is provided, including a processor, which is used to call and execute instructions stored in the memory from a memory, so that a communication device installed with the chip executes the methods in the foregoing aspects.
提供另一种芯片,包括:输入接口、输出接口、处理器和存储器,输入接口、输出接口、处理器以及存储器之间通过内部连接通路相连,处理器用于执行存储器中的代码,当代码被执行时,处理器用于执行上述各方面中的方法。Provide another chip, including: input interface, output interface, processor and memory, the input interface, output interface, processor and memory are connected by internal connection paths, the processor is used to execute the code in the memory, when the code is executed When the processor is used to execute the methods in the above aspects.
附图说明Description of the drawings
图1为本申请实施例提供的业务生存性分析的场景示意图;FIG. 1 is a schematic diagram of a business survivability analysis scenario provided by an embodiment of the application;
图2为本申请实施例提供的业务生存性分析过程示意图;FIG. 2 is a schematic diagram of a service survivability analysis process provided by an embodiment of the application;
图3为本申请实施例提供的用于业务生存性分析的方法流程图;Figure 3 is a flowchart of a method for business survivability analysis provided by an embodiment of the application;
图4为本申请实施例提供的用于业务生存性分析的系统结构示意图;FIG. 4 is a schematic diagram of the system structure for service survivability analysis provided by an embodiment of the application;
图5为本申请实施例提供的用于业务生存性分析的交互过程示意图;FIG. 5 is a schematic diagram of an interaction process for service survivability analysis provided by an embodiment of the application;
图6为本申请实施例提供的一种用于业务生存性分析的装置的结构示意图;FIG. 6 is a schematic structural diagram of an apparatus for service survivability analysis provided by an embodiment of this application;
图7为本申请实施例提供的一种用于业务生存性分析的装置的结构示意图;FIG. 7 is a schematic structural diagram of a device for service survivability analysis provided by an embodiment of this application;
图8为本申请实施例提供的一种网络设备的结构示意图;FIG. 8 is a schematic structural diagram of a network device provided by an embodiment of this application;
图9为本申请实施例提供的一种网络设备的结构示意图;FIG. 9 is a schematic structural diagram of a network device provided by an embodiment of this application;
图10为本申请实施例提供的网络设备的结构示意图。FIG. 10 is a schematic structural diagram of a network device provided by an embodiment of this application.
具体实施方式Detailed ways
本申请的实施方式部分使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。The terms used in the implementation mode part of this application are only used to explain specific embodiments of this application, and are not intended to limit this application.
业务生存性分析功能是由软件模拟在某项网络资源发生故障的时候,自动判断剩余的资源是否满足业务保护的需求,哪些业务会中断,哪些业务的保护状态会降级,以支撑用户判断业务服务质量是否存在违约风险,提前做好应对措施。The business survivability analysis function is simulated by the software when a certain network resource fails, automatically judging whether the remaining resources meet the needs of business protection, which services will be interrupted, and the protection status of which services will be degraded to support users in judging business services Whether there is a risk of default in quality, take countermeasures in advance.
例如,以图1所示的业务生存性分析的场景为例,该场景中包括网络控制引擎(network control engine,NCE)和多个网元。其中,网元可以使用路径计算单元通信协议(path computation element communication protocol,PCEP)/开放式最短路径优先(open shortest path first,OSPF)进行路径计算。For example, taking the scenario of service survivability analysis shown in FIG. 1 as an example, the scenario includes a network control engine (NCE) and multiple network elements. Among them, the network element may use the path calculation element communication protocol (PCEP)/open shortest path first (OSPF) for path calculation.
NCE具有支持重路由集中算路功能,例如,对于具有重路由恢复能力的自动交换光网络(automatically switched optical network,ASON)业务,当业务的工作路径或者保护路径发生故障时,网元控制平面会自动向NCE请求路径计算,NCE根据全网拓扑计算一条最优路径返回给网元,网元则按照最优路径建立恢复路径。NCE has the function of supporting rerouting and centralized path calculation. For example, for automatically switched optical network (ASON) services with rerouting recovery capabilities, when the working path or protection path of the service fails, the network element control plane will Automatically request path calculation from the NCE, the NCE calculates an optimal path based on the entire network topology and returns it to the network element, and the network element establishes a restoration path according to the optimal path.
此外,NCE利用重路由集中算路能力,能够实现业务生存性分析功能。例如,NCE通过模拟某项网络资源发生故障(故障点)和分析故障影响的业务,可以根据全网拓扑计算出业务的恢复情况和恢复路径。通过对全网或单个故障点进行分析和统计,实现对全网网络资源或单个故障点的评估。关于NCE启动业务生存性分析的时机,本申请实施例不进行限定。包括但不限于及时分析、资源预警时分析、业务发放前分析以及故障模拟时分析等几种业务生存性分析时机。In addition, NCE uses the ability of rerouting to centrally calculate the path, which can realize the function of business survivability analysis. For example, by simulating the failure (point of failure) of a certain network resource and analyzing the services affected by the failure, the NCE can calculate the recovery status and recovery path of the service according to the topology of the entire network. Through the analysis and statistics of the entire network or a single failure point, the evaluation of the entire network's network resources or a single failure point is realized. Regarding the time when the NCE initiates the service survivability analysis, the embodiment of the present application does not limit it. Including but not limited to several business survivability analysis opportunities such as timely analysis, resource early warning analysis, pre-issuance analysis, and failure simulation analysis.
例如,针对及时分析,以图1所示场景为例,通过NCE及时进行业务生存性分析,可以遍历全网网元和光纤资源故障,做1次或2次故障分析。例如,1次或2次故障分析如下面表1所示。For example, for timely analysis, taking the scenario shown in Figure 1 as an example, the NCE can perform service survivability analysis in time to traverse the network element and fiber resource failures of the entire network, and perform one or two failure analysis. For example, 1 or 2 failure analysis is shown in Table 1 below.
表1Table 1
Figure PCTCN2020119225-appb-000001
Figure PCTCN2020119225-appb-000001
Figure PCTCN2020119225-appb-000002
Figure PCTCN2020119225-appb-000002
针对资源预警时分析,NCE可以定时或在资源变化时启动业务生存性分析。例如,遍历全网故障点进行1次分析,实现资源风险的100%识别,从而进行资源预警。For resource early warning analysis, NCE can start business survivability analysis regularly or when resources change. For example, traverse the entire network of failure points for one analysis to realize 100% identification of resource risks, so as to carry out resource early warning.
针对业务发放前分析,NCE可以在业务发放前启动业务生存性分析,遍历全网故障点进行1次分析,实现业务发放0风险。For the analysis before service issuance, NCE can start service survivability analysis before service issuance, traverse the whole network failure point for one analysis, and realize zero risk of service issuance.
针对故障模拟时分析,NCE可以根据指定的故障点进行业务生存性分析,使得故障恢复效率大幅提升。For analysis during failure simulation, NCE can perform business survivability analysis based on designated failure points, which greatly improves the efficiency of failure recovery.
无论是哪种场景下进行业务生存性分析,分析之后可以生成报表,还可以对该报表进行显示。示例性地,该报表里可以记录业务生存性分析结果,也可以记录基于业务生存性分析结果得出的中断、降级或者重路由等处理方式。该报表还可以发送给与故障点对应的网元,由该网元进行相应的处理。关于生成报表的方式以及报表的内容,本申请实施例不进行限定。Regardless of the business survivability analysis in any scenario, a report can be generated after the analysis, and the report can also be displayed. Exemplarily, the report can record the business survivability analysis result, and can also record the processing methods such as interruption, degradation or rerouting based on the business survivability analysis result. The report can also be sent to the network element corresponding to the point of failure, and the network element performs corresponding processing. The method of generating the report and the content of the report are not limited in the embodiment of the present application.
在示例性实施例中,该业务生存性分析流程可以如图2所示。首先,在初始状态下触发分析后,获取分析配置,并据此申请分析资源,例如全网拓扑资源。之后根据分析配置生成故障点,依次分析每个故障点。在依次分析每个故障点时,可以查找故障点影响的业务,分析故障发生时的业务恢复情况。对每个故障点分析结束后,汇总和生成分析结果,回到初始状态。In an exemplary embodiment, the business survivability analysis process may be as shown in FIG. 2. First, after triggering the analysis in the initial state, obtain the analysis configuration and apply for analysis resources, such as the whole network topology resources. Then, the fault points are generated according to the analysis configuration, and each fault point is analyzed in turn. When analyzing each failure point in turn, you can find the business affected by the failure point and analyze the business recovery when the failure occurs. After analyzing each failure point, summarize and generate the analysis results, and return to the initial state.
然而,由于业务生存性分析过程计算任务较多,即使使用多实例并行,CPU及内存占用仍然过多,使得NCE的整体资源消耗增加。此外,由于网络通信时序差异,单纯的进行业务生存性分析,无法保证业务生存性分析结果与实际重路由结果完全一致,分析结果参考价值降低。对此,本申请实施例提供了一种用于业务生存性的分析方法,以该方法应用于第一网络设备和第二网络设备为例,对本申请实施例提供的方法进行说明。However, due to the large number of calculation tasks in the business survivability analysis process, even if multiple instances are used in parallel, the CPU and memory usage are still excessive, which increases the overall resource consumption of the NCE. In addition, due to differences in network communication timings, simply conducting business survivability analysis cannot guarantee that the business survivability analysis results are completely consistent with the actual rerouting results, and the reference value of the analysis results is reduced. In this regard, an embodiment of the present application provides an analysis method for service survivability. Taking the method applied to a first network device and a second network device as an example, the method provided in the embodiment of the present application will be described.
301,第一网络设备对资源进行监测。301: The first network device monitors resources.
示例性地,该第一网络设备可以是图1所示场景中的网元,该网元可以是能够实现ASON业务的网元,本申请实施例不对第一网络设备的产品形态进行限定。Exemplarily, the first network device may be a network element in the scenario shown in FIG. 1, and the network element may be a network element capable of implementing an ASON service. The embodiment of the present application does not limit the product form of the first network device.
无论是哪种第一网络设备,该第一网络设备可以在第一网络设备所负责的网络范围内对资源进行监测。例如,监测是否有资源发生变化。Regardless of the first network device, the first network device can monitor resources within the network range that the first network device is responsible for. For example, monitoring whether any resources have changed.
302,第一网络设备响应于监测到发生变化的第一资源,将发生变化的第一资源的信息发 送给第二网络设备。302. In response to detecting the changed first resource, the first network device sends information about the changed first resource to the second network device.
示例性地,第二网络设备可以是图1所示场景中的NCE,还可以是其他能够进行业务生存性分析的网络设备,本申请实施例同样不对第二网络设备的产品形态进行限定。Exemplarily, the second network device may be the NCE in the scenario shown in FIG. 1 or other network devices that can perform service survivability analysis. The embodiment of the present application also does not limit the product form of the second network device.
此外,本申请实施例不对发生变化的第一资源的类型进行限定。例如,如果该第一网络设备增加了新的单板,该第一网络设备检测到之后,确定第一网络设备的资源发生了变化,且发生变化的第一资源的类型为新增单板资源。又例如,如果该第一网络设备增加了新的业务,该第一网络设备检测到之后,确定第一网络设备的资源发生了变化,且发生变化的第一资源的类型为新增业务资源。In addition, the embodiment of the present application does not limit the type of the first resource that has changed. For example, if the first network device adds a new board, after the first network device detects it, it determines that the resource of the first network device has changed, and the type of the changed first resource is the newly added board resource . For another example, if a new service is added to the first network device, after the first network device detects it, it determines that the resource of the first network device has changed, and the type of the changed first resource is the newly added service resource.
无论是哪种资源发生了变化,第一网络设备和第二网络设备可以采用有线或无线的方式进行通信连接。当第一网络设备监测到发生变化的第一资源后,将发生变化的第一资源的信息发送给第二网络设备,触发第二网络设备进行业务生存性分析。该第一资源的信息包括但不限于该第一资源的标识,该第一资源的标识用于唯一标识该第一资源。本申请实施例不对第一资源的信息进行限定,除了包括第一资源的标识外,还可以包括第一资源的状态、类型等内容。No matter what kind of resource changes, the first network device and the second network device can be connected in a wired or wireless manner. After the first network device detects the changed first resource, it sends the information of the changed first resource to the second network device to trigger the second network device to perform service survivability analysis. The information of the first resource includes but is not limited to the identifier of the first resource, and the identifier of the first resource is used to uniquely identify the first resource. The embodiment of the present application does not limit the information of the first resource. In addition to the identification of the first resource, it may also include the status and type of the first resource.
303,第二网络设备获取第一网络设备发送的第一资源的信息,确定第一资源发生变化,响应于该变化,在第一路径集合中确定与第一资源相关的路径刷新范围,第一路径集合包括m条故障恢复路径,路径刷新范围包括第一路径集合中的n条故障恢复路径,其中m大于n,n大于或等于1。303. The second network device obtains the information of the first resource sent by the first network device, determines that the first resource has changed, and in response to the change, determines the path refresh range related to the first resource in the first path set, and the first The path set includes m failure recovery paths, and the path refresh range includes n failure recovery paths in the first path set, where m is greater than n, and n is greater than or equal to 1.
由于第二网络设备与第一网络设备进行通信连接,则第二网络设备可以接收该第一网络设备发送的发生变化的第一资源的信息。该第一资源可以是网络中的部分资源,第二网络设备记录有网络中的各个资源的信息,如资源的标识,还可以包括资源的状态、类型等等。因而第二网络设备获取到该第一资源后,可以与第二网络设备记录的资源的信息进行比对,从而确定该第一资源发生变化。例如,如果第一网络设备发送的第一资源的信息是第二网络设备上未记录的信息,则该第一资源可以是新增资源,第二网络设备确定第一资源为发生变化的资源。又例如,如果第一网络设备发送的第一资源的信息包括资源的标识及状态,如果第二网络设备上记录有该第一资源的标识,但记录的状态与第一网络设备发送的状态不一致,则该第一资源为状态发生改变的已有资源,第二网络设备同样可以确定该第一资源发生变化。Since the second network device is in a communication connection with the first network device, the second network device can receive the changed first resource information sent by the first network device. The first resource may be a part of the resource in the network, and the second network device records information about each resource in the network, such as the identifier of the resource, and may also include the status, type, and so on of the resource. Therefore, after the second network device obtains the first resource, it can compare with the resource information recorded by the second network device to determine that the first resource has changed. For example, if the information of the first resource sent by the first network device is unrecorded information on the second network device, the first resource may be a newly added resource, and the second network device determines that the first resource is a changed resource. For another example, if the information of the first resource sent by the first network device includes the identifier and status of the resource, if the identifier of the first resource is recorded on the second network device, but the recorded status is inconsistent with the status sent by the first network device , The first resource is an existing resource whose status has changed, and the second network device can also determine that the first resource has changed.
需要说明的是,上述仅以第一网络设备对资源进行监测,监测到第一资源发生变化,将第一资源的信息上报给第二网络设备为例进行的说明。除了由第一网络设备来监测资源是否发生变化,主动上报给第二网络设备的方式外,第二网络设备也可以自行监测,本申请实施例不对第二网络设备确定第一资源发生变化的方式进行限定。It should be noted that, the above description only takes the first network device to monitor the resource, detects that the first resource changes, and reports the information of the first resource to the second network device as an example. In addition to the way that the first network device monitors whether the resource has changed and actively reports it to the second network device, the second network device can also monitor on its own. The embodiment of the application does not determine whether the first resource has changed for the second network device. Qualify.
无论采用哪种方式确定第一资源发生变化,响应于该变化,第二网络资源在第一路径集合中确定与该第一资源相关的路径刷新范围。在示例性实施例中,第一路径集合包括m条故障恢复路径,路径刷新范围包括第一路径集合中的n条故障恢复路径。其中,m和n均为整数,m大于n,n大于或等于1,本申请实施例不对m和n的数值进行限定。此外,本申请实施例不对在第一资源发生变化前得到第一路径集合的方式进行限定。例如,可以是在确定第一资源发生变化之前,基于全网资源进行故障恢复路径计算,得到该第一路径集合。也可以是在本次确定第一资源发生变化之前,上次进行业务生存性分析时计算得到。由于确定的路径刷新范围可以是第一路径集合中的一部分故障恢复路径,因而无需针对全网重新计算故障恢复路径, 从而可以节省资源。No matter which method is used to determine that the first resource has changed, in response to the change, the second network resource determines a path refresh range related to the first resource in the first path set. In an exemplary embodiment, the first path set includes m failure recovery paths, and the path refresh range includes n failure recovery paths in the first path set. Wherein, m and n are both integers, m is greater than n, and n is greater than or equal to 1. The embodiment of the present application does not limit the values of m and n. In addition, the embodiment of the present application does not limit the manner in which the first path set is obtained before the first resource is changed. For example, before determining that the first resource has changed, the failure recovery path calculation is performed based on the resources of the entire network to obtain the first path set. It can also be calculated during the last business survivability analysis before the change in the first resource is determined this time. Since the determined path refresh range may be a part of the failure recovery paths in the first path set, there is no need to recalculate the failure recovery paths for the entire network, thereby saving resources.
示例性地,第一路径集合中的每条故障恢复路径可以与网络中的资源相对应,当第二网络设备确定第一资源发生变化后,可以在第一路径集合中将与该第一资源相关的故障恢复路径作为路径刷新范围。Exemplarily, each failure recovery path in the first path set may correspond to a resource in the network, and when the second network device determines that the first resource has changed, it may be compared with the first resource in the first path set. The related failure recovery path is used as the path refresh range.
304,第二网络设备对路径刷新范围内的n条故障恢复路径进行刷新,得到n条刷新后的故障恢复路径。304. The second network device refreshes the n failure recovery paths within the path refresh range to obtain n refreshed failure recovery paths.
示例性地,第二网络设备对路径刷新范围内的n条故障恢复路径进行刷新时,可以根据第一资源的类型确定路径刷新方式。例如,如果第一资源是新增单板资源,则可以基于第一资源及路径刷新范围内的n条故障恢复路径重新计算故障恢复路径。也就是说,第二网络设备可以自行对路径刷新范围内的n条故障恢复路径进行刷新,得到n条刷新后的故障恢复路径。Exemplarily, when the second network device refreshes the n failure recovery paths within the path refresh range, the path refresh mode may be determined according to the type of the first resource. For example, if the first resource is a newly added single board resource, the failure recovery path may be recalculated based on the first resource and n failure recovery paths within the path refresh range. In other words, the second network device can refresh the n failure recovery paths within the path refresh range by itself, and obtain n refreshed failure recovery paths.
在示例性实施例中,第二网络设备可以利用其他资源对路径刷新范围内的n条故障恢复路径进行刷新,以充分利用网络中已有的计算能力,节省第二网络设备的资源消耗,提高业务生存性分析的效率。例如,对路径刷新范围内的n条故障恢复路径进行刷新,得到n条刷新后的故障恢复路径,包括但不限于如下两种方式:In an exemplary embodiment, the second network device may use other resources to refresh the n failure recovery paths within the path refresh range, so as to make full use of the existing computing power in the network, save the resource consumption of the second network device, and improve The efficiency of business survivability analysis. For example, refreshing n failure recovery paths within the path refresh range to obtain n failure recovery paths after refreshing includes but not limited to the following two methods:
方式一:对路径刷新范围内的n条故障恢复路径进行刷新,得到n条刷新后的故障恢复路径,包括:将路径刷新范围发送给第一网络设备,接收第一网络设备基于路径刷新范围返回的n条刷新后的故障恢复路径。Method 1: Refresh n failure recovery paths within the path refresh range to obtain n refreshed failure recovery paths, including: sending the path refresh range to the first network device, and receiving the first network device to return based on the path refresh range N refreshed failure recovery paths.
该方式一中,第一网络设备是与第一资源相关的设备,由于第一网络设备可以使用PCEP/OSPF进行路径计算,因而第二网络设备可以将该路径刷新范围发送给该第一网络设备,由该第一网络设备进行刷新。之后,接收该第一网络设备基于路径刷新范围返回的n条刷新后的故障恢复路径。In the first method, the first network device is a device related to the first resource. Since the first network device can use PCEP/OSPF for path calculation, the second network device can send the path refresh range to the first network device. , Refreshed by the first network device. Afterwards, the n refreshed failure recovery paths returned by the first network device based on the path refresh range are received.
针对该方式一,第一网络设备将发生变化的第一资源的信息发送给第二网络设备之后,还包括:接收第二网络设备发送的路径刷新范围;根据路径刷新范围获取n条刷新后的故障恢复路径,将n条刷新后的故障恢复路径返回给第二网络设备。Regarding the first method, after the first network device sends the changed information of the first resource to the second network device, the method further includes: receiving the path refresh range sent by the second network device; and obtaining n pieces of refreshed information according to the path refresh range The failure recovery path returns n refreshed failure recovery paths to the second network device.
方式二:对路径刷新范围内的n条故障恢复路径进行刷新,得到n条刷新后的故障恢复路径,包括:将路径刷新范围发送给第一网络设备所在的目标区域的路径计算单元,接收路径计算单元基于路径刷新范围计算得到的n条刷新后的故障恢复路径。Method 2: Refresh n failure recovery paths within the path refresh range to obtain n refreshed failure recovery paths, including: sending the path refresh range to the path calculation unit in the target area where the first network device is located, and receiving the path The computing unit calculates n refreshed failure recovery paths based on the path refresh range.
针对方式二,第一网络设备与第一资源相关,目标区域为网络被划分的多个区域中的任一区域。可以将网络进行区域划分,以按照区域进行管理。每个区域设置一个路径计算单元,通过任一区域的路径计算单元来计算路径。Regarding the second method, the first network device is related to the first resource, and the target area is any one of the multiple areas where the network is divided. The network can be divided into regions for management according to regions. Each area is provided with a path calculation unit, and the path is calculated by the path calculation unit in any area.
为了实现方式二,第二网络设备在将路径刷新范围发送给第一网络设备所在的目标区域的路径计算单元之前,还包括:对全网进行区域划分,得到多个区域,多个区域中的每个区域存储各自的网络信息。本申请实施例不对区域划分的方式进行限定,可以按照业务类型进行区域划分,也可以按照网络设备的地理位置进行区域划分等等。无论采用哪种方式划分区域之后,每个区域存储各自的网络信息。例如,该网络信息可以是该区域内的网络设备的信息,路径信息等等。In order to implement the second method, before the second network device sends the path refresh range to the path calculation unit of the target area where the first network device is located, the method further includes: dividing the entire network to obtain multiple areas, Each area stores its own network information. The embodiment of the present application does not limit the manner of area division, and the area division may be performed according to the type of service, or the area may be divided according to the geographic location of the network device, and so on. No matter which method is used to divide the area, each area stores its own network information. For example, the network information may be information of network devices in the area, path information, and so on.
在示例性实施例中,针对划分区域的情况,本申请实施例提供的方法中,第二网络设备可以与每个区域建立连接,获取各个区域的资源,根据各个区域的资源确定故障恢复路径,得到第一路径集合。In an exemplary embodiment, in the case of dividing areas, in the method provided in the embodiment of the present application, the second network device can establish a connection with each area, obtain the resources of each area, and determine the fault recovery path according to the resources of each area, Get the first path set.
针对区域划分的情况,如果第二网络设备向第一网络设备发送算路请求,以触发由第一网络设备根据路径刷新范围获取n条刷新后的故障恢复路径时,第一网络设备从自身开始往外搜索最短路径,搜索到区域边界节点时,将搜索请求发送给邻接区域,直到搜索到目的节点,得到n条刷新后的故障恢复路径。In the case of area division, if the second network device sends a path calculation request to the first network device to trigger the first network device to obtain n refreshed failure recovery paths according to the path refresh range, the first network device starts from itself The shortest path is searched out, and when the area boundary node is found, the search request is sent to the adjacent area until the destination node is searched, and n refreshed failure recovery paths are obtained.
305,第二网络设备根据第二路径集合进行业务生存性分析,得到业务生存性分析结果,第二路径集合包括n条刷新后的故障恢复路径以及第一路径集合中路径刷新范围外的至少一条未刷新的故障恢复路径。305. The second network device performs service survivability analysis according to the second path set, and obtains the service survivability analysis result. The second path set includes n refreshed failure recovery paths and at least one path out of the refresh range of the first path set. Failure recovery path not refreshed.
在示例性实施例中,第二网络设备根据第二路径集合进行业务生存性分析,得到业务生存性分析结果,包括但不限于:接收业务生存性分析请求,业务生存性分析请求携带第二故障信息;在第二路径集合中获取与第二故障信息匹配的故障恢复路径,根据与第二故障信息匹配的故障恢复路径生成业务生存性分析结果。示例性地,本申请实施例不对第二故障信息的内容进行限定,例如,第二故障信息可以包括但不限于故障类型、故障组合等内容。In an exemplary embodiment, the second network device performs service survivability analysis according to the second path set, and obtains the service survivability analysis result, including but not limited to: receiving a service survivability analysis request, and the service survivability analysis request carries the second fault Information; Obtain a failure recovery path that matches the second failure information from the second path set, and generate a service survivability analysis result based on the failure recovery path that matches the second failure information. Exemplarily, the embodiment of the present application does not limit the content of the second fault information. For example, the second fault information may include, but is not limited to, fault type, fault combination, and the like.
在示例性实施例中,对路径刷新范围内的n条故障恢复路径进行刷新,得到n条刷新后的故障恢复路径之后,还包括:接收第一网络设备发送的重路由路径查询请求,重路由路径查询请求携带第一故障信息;在第二路径集合中确定与第一故障信息匹配的故障恢复路径;将与第一故障信息匹配的故障恢复路径作为重路由路径发送给第一网络设备。其中,第二路径集合不仅包括n条刷新后的故障恢复路径,还包括第一路径集合中路径刷新范围外的至少一条未刷新的故障恢复路径。In an exemplary embodiment, refreshing n failure recovery paths within the path refresh range, and after obtaining n refreshed failure recovery paths, further includes: receiving a rerouting path query request sent by the first network device, and rerouting The path query request carries the first failure information; the failure recovery path matching the first failure information is determined in the second path set; the failure recovery path matching the first failure information is sent to the first network device as a rerouting path. Wherein, the second path set not only includes n refreshed failure recovery paths, but also includes at least one unrefreshed failure recovery path outside the path refresh range in the first path set.
相应的,第一网络设备将发生变化的第一资源发送给第二网络设备之后,还包括:响应于监测到业务发生故障,向第二网络设备发送重路由路径查询请求,重路由路径查询请求携带第一故障信息;接收第二网络设备返回的重路由路径,重路由路径为与第一故障信息匹配的故障恢复路径。Correspondingly, after the first network device sends the changed first resource to the second network device, the method further includes: in response to detecting a service failure, sending a rerouting path query request to the second network device, and a rerouting path query request Carrying the first failure information; receiving the rerouting path returned by the second network device, where the rerouting path is a failure recovery path matching the first failure information.
对路径刷新范围内的n条故障恢复路径进行刷新,得到n条刷新后的故障恢复路径之后,还包括:第二网络设备将n条刷新后的故障恢复路径作为重路由路径提前下发给第一网络设备。针对该种提前下发重路由路径的方式,第一网络设备将发生变化的第一资源的信息发送给第二网络设备之后,还包括:接收第二网络设备提前下发的n条刷新后的故障恢复路径;响应于监测到业务发生故障,根据第二网络设备提前下发的n条刷新后的故障恢复路径获取重路径路由。通过提前将重路由路径发送给第一网络设备,可以提高第一网络设备重路由的速度。Refresh the n failure recovery paths within the path refresh range, and after obtaining the n refreshed failure recovery paths, it also includes: the second network device issues the n refreshed failure recovery paths as rerouting paths to the first A network device. With regard to this way of issuing rerouting paths in advance, after the first network device sends the changed information of the first resource to the second network device, it also includes: receiving n refreshed information issued in advance by the second network device Failure recovery path; in response to detecting that the service fails, the re-path routing is obtained according to the n refreshed failure recovery paths issued in advance by the second network device. By sending the rerouting path to the first network device in advance, the rerouting speed of the first network device can be increased.
接下来,以图4所示的网络架构为例,对本申请实施例提供的方法进行举例说明。图4中,对网络进行了区域划分,得到5个区域,分别为域0、1、2、3、4、5。每个域内有4个第一网络设备,以网元为例。该网元具有参数化模块库(library of parameterized modules,LMP)及OSPF流量工程(OSPF-traffic engineering,OSPF-TE),该OSPF-TE是带流量工程的OSPF,对OSPF的流量工程的扩展实质是扩展链路属性,即在OSPF通告中增加链路参数。第二网络设备为NCE-T,该NCE-T包括重路由单元、生存性分析单元、业务控制单元以及算路单元。该NCE-T除了具有应用服务层,还具有南向驱动层,通过该南向驱动层统一与网络中的其他网络设备进行通信。第一网络设备被划分区域后,每个区域设置一个路径计算单元(path computation element,PCE)。该用于业务生存性分析的交互过程可如图5所示,按照如下几个阶段进行举例说明。Next, take the network architecture shown in FIG. 4 as an example to illustrate the method provided in the embodiment of the present application. In Figure 4, the network is divided into regions, and 5 regions are obtained, which are domains 0, 1, 2, 3, 4, and 5. There are 4 first network devices in each domain. Take the network element as an example. The network element has a library of parameterized modules (LMP) and OSPF traffic engineering (OSPF-traffic engineering, OSPF-TE). The OSPF-TE is OSPF with traffic engineering, which is an extension of OSPF traffic engineering. It is an extended link attribute, that is, link parameters are added in OSPF announcements. The second network device is NCE-T, and the NCE-T includes a rerouting unit, a survivability analysis unit, a service control unit, and a routing unit. In addition to the application service layer, the NCE-T also has a southbound drive layer, which communicates with other network devices in the network uniformly through the southbound drive layer. After the first network device is divided into areas, each area is provided with a path calculation element (PCE). The interaction process used for business survivability analysis can be shown in Figure 5, which is illustrated in the following stages.
阶段一:NCE-T同步全网资源、业务(图5中未视出)。该阶段下,包括但不限于如下过 程:Phase 1: NCE-T synchronizes the resources and services of the entire network (not shown in Figure 5). At this stage, including but not limited to the following processes:
1:南向驱动层与单ASON域建立通用路由封装(generic routing encapsulation,GRE)连接,单ASON域内资源、业务通过OSPF-TE、PCEP上报。1: The southbound driver layer establishes a generic routing encapsulation (GRE) connection with a single ASON domain, and the resources and services in the single ASON domain are reported through OSPF-TE and PCEP.
2:南向驱动层将数据同步至上层单元,例如生存性分析单元。2: The southbound drive layer synchronizes the data to the upper unit, such as the survivability analysis unit.
阶段二:NCE-T提前计算生存性分析故障恢复路径,实时刷新。该阶段下,NCE-T协同使用单域PCE、网元控制平面计算能力,单域PCE、网元控制平面通过PCEP提供路径计算接口。该阶段包括但不限于如下过程:Phase 2: NCE-T calculates the survivability analysis failure recovery path in advance and refreshes it in real time. At this stage, NCE-T uses single-domain PCE and network element control plane computing capabilities in coordination, and single-domain PCE and network element control planes provide path calculation interfaces through PCEP. This stage includes but is not limited to the following processes:
1:资源、业务变化时,生存性分析单元调用增量算法确定故障恢复路径刷新范围,请求算法单元计算详细路径。1: When resources and services change, the survivability analysis unit invokes an incremental algorithm to determine the refresh range of the failure recovery path, and requests the algorithm unit to calculate the detailed path.
2:算法单元拆分路径计算请求,将域内路径分发至对应路径计算单元(Path Computation Element)、网元控制平面。2: The algorithm unit splits the path calculation request, and distributes the path in the domain to the corresponding path calculation element (Path Computation Element) and the network element control plane.
3:生存性分析单元将计算出来的故障恢复路径同步至重路由单元。3: The survivability analysis unit synchronizes the calculated failure recovery path to the rerouting unit.
阶段三:进行生存性分析。该阶段包括但不限于如下过程:Stage 3: Carry out survival analysis. This stage includes but is not limited to the following processes:
1:生存性分析单元根据用户输入故障类型、故障组合与故障恢复路径进行匹配,生成生存性分析结果。1: The survivability analysis unit matches the fault type, the combination of faults and the fault recovery path according to the user input, and generates the survivability analysis result.
阶段四:故障发生,业务重路由。该阶段包括但不限于如下过程:Phase 4: Failure occurs, business rerouting. This stage includes but is not limited to the following processes:
1:网元监测业务故障发生,定位故障类型与具体故障点。1: The network element monitors the occurrence of a service failure, and locates the type of failure and the specific failure point.
2:网元携带故障详细信息通过PCEP请求重路由单元查询重路由路径(也可在阶段二时将故障恢复路径与故障信息提前通告给网元)。2: The network element carries the detailed information of the failure and queries the rerouting path through the PCEP request rerouting unit (the failure recovery path and the failure information can also be notified to the network element in advance in phase two).
3:重路由单元根据故障信息匹配故障恢复路径,将其响应给网元。3: The rerouting unit matches the fault recovery path according to the fault information and responds to the network element.
本申请实施例提供的方法,通过在确定第一资源发生变化后,由第二网络设备确定与该第一资源相关的路径刷新范围,无需对所有的故障恢复路径进行刷新,而是对该路径刷新范围内的n条故障恢复路径进行刷新,基于n条刷新后的故障恢复路径以及该路径刷新范围外的至少一条未刷新的故障恢复路径进行业务生存性分析,从而能够降低资源消耗。In the method provided by the embodiment of the present application, after determining that the first resource has changed, the second network device determines the path refresh range related to the first resource without refreshing all the failure recovery paths, but the path Refresh the n failure recovery paths within the refresh range, and perform business survivability analysis based on the n refreshed failure recovery paths and at least one unrefreshed failure recovery path outside the refresh range of the path, thereby reducing resource consumption.
本申请实施例提供了一种用于业务生存性分析的装置,该装置应用于第二网络设备,该第二网络设备为图3、图5中的第二网络设备,基于图6所示的如下多个模块,该图6所示的用于业务生存性分析的装置能够执行第二网络设备所执行的全部或部分操作。参见图6,该装置包括:The embodiment of the application provides a device for service survivability analysis. The device is applied to a second network device. The second network device is the second network device in FIG. 3 and FIG. With the following multiple modules, the apparatus for service survivability analysis shown in FIG. 6 can perform all or part of the operations performed by the second network device. Referring to Figure 6, the device includes:
第一确定模块601,用于确定第一资源发生变化;The first determining module 601 is configured to determine that the first resource has changed;
第二确定模块602,用于响应于变化,在第一路径集合中确定与第一资源相关的路径刷新范围,第一路径集合包括m条故障恢复路径,路径刷新范围包括第一路径集合中的n条故障恢复路径,其中m大于n,n大于或等于1;The second determining module 602 is configured to determine, in response to the change, a path refresh range related to the first resource in the first path set, the first path set includes m failure recovery paths, and the path refresh range includes the path refresh range in the first path set. n failure recovery paths, where m is greater than n, and n is greater than or equal to 1;
刷新模块603,用于对路径刷新范围内的n条故障恢复路径进行刷新,得到n条刷新后的故障恢复路径;The refresh module 603 is configured to refresh n failure recovery paths within the path refresh range to obtain n refreshed failure recovery paths;
分析模块604,用于根据第二路径集合进行业务生存性分析,得到业务生存性分析结果,第二路径集合包括n条刷新后的故障恢复路径以及第一路径集合中路径刷新范围外的至少一条未刷新的故障恢复路径。The analysis module 604 is configured to perform service survivability analysis according to the second path set to obtain the service survivability analysis result. The second path set includes n refreshed failure recovery paths and at least one path out of the refresh range of the first path set Failure recovery path not refreshed.
在示例性实施例中,刷新模块603,用于将路径刷新范围发送给第一网络设备,第一网络 设备与第一资源相关;接收第一网络设备基于路径刷新范围返回的n条刷新后的故障恢复路径。In an exemplary embodiment, the refresh module 603 is configured to send the path refresh range to the first network device, and the first network device is related to the first resource; and receive n refreshed information returned by the first network device based on the path refresh range Failure recovery path.
在示例性实施例中,刷新模块603,用于将路径刷新范围发送给第一网络设备所在的目标区域的路径计算单元,第一网络设备与第一资源相关,目标区域为网络被划分的多个区域中的任一区域;接收路径计算单元基于路径刷新范围计算得到的n条刷新后的故障恢复路径。In an exemplary embodiment, the refresh module 603 is configured to send the path refresh range to the path calculation unit of the target area where the first network device is located. The first network device is related to the first resource, and the target area is the divided network. Any one of the two areas; the receiving path calculation unit calculates n refreshed fault recovery paths based on the path refresh range.
在示例性实施例中,第二确定模块602,还用于对全网进行区域划分,得到多个区域,多个区域中的每个区域存储各自的网络信息;与每个区域建立连接,获取各个区域的资源,根据各个区域的资源确定故障恢复路径,得到第一路径集合。In an exemplary embodiment, the second determining module 602 is also used to partition the entire network to obtain multiple areas, and each of the multiple areas stores its own network information; establishes a connection with each area to obtain The resources of each area determine the failure recovery path according to the resources of each area, and the first path set is obtained.
在示例性实施例中,第二确定模块602,还用于接收第一网络设备发送的重路由路径查询请求,重路由路径查询请求携带第一故障信息;在第二路径集合中确定与第一故障信息匹配的故障恢复路径;In an exemplary embodiment, the second determining module 602 is further configured to receive a rerouting path query request sent by the first network device, where the rerouting path query request carries the first fault information; in the second path set, it is determined to be the same as the first The fault recovery path that matches the fault information;
装置还包括:The device also includes:
第一发送模块,用于将与第一故障信息匹配的故障恢复路径作为重路由路径发送给第一网络设备。The first sending module is configured to send the failure recovery path matching the first failure information as a rerouting path to the first network device.
在示例性实施例中,该装置,还包括:In an exemplary embodiment, the device further includes:
第二发送模块,用于将n条刷新后的故障恢复路径作为重路由路径提前下发给第一网络设备,第一网络设备与第一资源相关。The second sending module is configured to forward the n refreshed failure recovery paths as rerouting paths to the first network device in advance, and the first network device is related to the first resource.
在示例性实施例中,分析模块604,用于接收业务生存性分析请求,业务生存性分析请求携带第二故障信息;在第二路径集合中获取与第二故障信息匹配的故障恢复路径,根据与第二故障信息匹配的故障恢复路径生成业务生存性分析结果。In an exemplary embodiment, the analysis module 604 is configured to receive a service survivability analysis request, where the service survivability analysis request carries second failure information; obtain a failure recovery path matching the second failure information from the second path set, according to The failure recovery path matching the second failure information generates a service survivability analysis result.
本申请实施例提供的装置,通过在确定第一资源发生变化后,确定与该第一资源相关的路径刷新范围,无需对所有的故障恢复路径进行刷新,而是对该路径刷新范围内的n条故障恢复路径进行刷新,基于n条刷新后的故障恢复路径以及该路径刷新范围外的至少一条未刷新的故障恢复路径进行业务生存性分析,从而能够降低资源消耗。The device provided by the embodiment of the present application determines the path refresh range related to the first resource after determining that the first resource has changed, and does not need to refresh all the failure recovery paths, but refreshes the path within the range of n Refresh the failure recovery paths, and perform business survivability analysis based on n refreshed failure recovery paths and at least one unrefreshed failure recovery path outside the refresh range of the path, thereby reducing resource consumption.
本申请实施例提供了一种用于业务生存性分析的装置,该装置应用于第一网络设备,该第一网络设备为图3、图5中的第一网络设备,基于图7所示的如下多个模块,该图7所示的用于业务生存性分析的装置能够执行第一网络设备所执行的全部或部分操作。参见图7,该装置包括:The embodiment of the present application provides a device for service survivability analysis. The device is applied to a first network device. The first network device is the first network device in FIG. 3 and FIG. With the following multiple modules, the apparatus for service survivability analysis shown in FIG. 7 can perform all or part of the operations performed by the first network device. Referring to Figure 7, the device includes:
监测模块701,用于对资源进行监测;The monitoring module 701 is used to monitor resources;
发送模块702,用于响应于监测到发生变化的第一资源,将发生变化的第一资源的信息发送给第二网络设备,由第二网络设备基于第一资源的信息进行业务生存性分析,得到业务生存性分析结果。The sending module 702 is configured to send information about the changed first resource to a second network device in response to monitoring the changed first resource, and the second network device performs service survivability analysis based on the information about the first resource, Obtain business survivability analysis results.
在示例性实施例中,该装置,还包括:In an exemplary embodiment, the device further includes:
第一接收模块,用于接收第二网络设备发送的与第一资源相关的路径刷新范围,路径刷新范围包括第一路径集合中的n条故障恢复路径,第一路径集合包括m条故障恢复路径,其中m大于n,n大于或等于1;The first receiving module is configured to receive the path refresh range related to the first resource sent by the second network device, the path refresh range includes n failure recovery paths in the first path set, and the first path set includes m failure recovery paths , Where m is greater than n, and n is greater than or equal to 1;
第一获取模块,用于根据路径刷新范围获取n条刷新后的故障恢复路径;The first obtaining module is configured to obtain n refreshed failure recovery paths according to the path refresh range;
发送模块702,还用于将n条刷新后的故障恢复路径返回给第二网络设备。The sending module 702 is also configured to return the n refreshed failure recovery paths to the second network device.
在示例性实施例中,发送模块702,还用于响应于监测到业务发生故障,向第二网络设备 发送重路由路径查询请求,重路由路径查询请求携带第一故障信息;In an exemplary embodiment, the sending module 702 is further configured to send a rerouting path query request to the second network device in response to detecting a service failure, and the rerouting path query request carries the first failure information;
装置还包括:The device also includes:
第二接收模块,用于接收第二网络设备返回的重路由路径,重路由路径为与第一故障信息匹配的故障恢复路径。The second receiving module is configured to receive the rerouting path returned by the second network device, where the rerouting path is a failure recovery path matching the first failure information.
在示例性实施例中,该装置还包括:In an exemplary embodiment, the device further includes:
第三接收模块,用于接收第二网络设备提前下发的n条刷新后的故障恢复路径;The third receiving module is configured to receive n refreshed failure recovery paths issued in advance by the second network device;
第二获取模块,用于响应于监测到业务发生故障,根据第二网络设备提前下发的n条刷新后的故障恢复路径获取重路径路由。The second obtaining module is configured to obtain the re-path route according to the n refreshed failure recovery paths issued in advance by the second network device in response to the detected service failure.
本申请实施例提供的装置,通过在确定第一资源发生变化后,将发生变化的第一资源的信息上报给第二网络设备,由第二网络设备确定与该第一资源相关的路径刷新范围,无需对所有的故障恢复路径进行刷新,而是对该路径刷新范围内的n条故障恢复路径进行刷新,基于n条刷新后的故障恢复路径以及该路径刷新范围外的至少一条未刷新的故障恢复路径进行业务生存性分析,从而能够降低资源消耗。The apparatus provided by the embodiment of the present application reports the information of the changed first resource to the second network device after determining that the first resource has changed, and the second network device determines the path refresh range related to the first resource , Instead of refreshing all failure recovery paths, but refreshing n failure recovery paths within the path refresh range, based on n refreshed failure recovery paths and at least one unrefreshed failure outside the path refresh range The recovery path is analyzed for business survivability, which can reduce resource consumption.
应理解的是,上述图6-图7提供的装置在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be understood that the above-mentioned devices provided in Figures 6-7 only use the division of the above-mentioned functional modules for illustration when implementing their functions. In actual applications, the above-mentioned functions can be allocated by different functional modules as needed. , Divide the internal structure of the device into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above-mentioned embodiments belong to the same conception, and the specific implementation process is detailed in the method embodiments, which will not be repeated here.
上述实施例中网络设备,例如可以为图3或图5中的第一网络设备或第二网络设备,该网络设备的硬件结构可以有两种方式:The network device in the foregoing embodiment may be, for example, the first network device or the second network device in FIG. 3 or FIG. 5, and the hardware structure of the network device may be in two ways:
方式1、如图8所示,该网络设备800包括收发器803、处理器802和存储器801,收发器803、处理器802和存储器801通过总线804连接。其中,收发器803用于接收、转发报文或数据信息等,处理器802用于执行上述图3所示实施例第一网络设备或第二网络设备中的处理相关步骤。Manner 1. As shown in FIG. 8, the network device 800 includes a transceiver 803, a processor 802, and a memory 801, and the transceiver 803, the processor 802, and the memory 801 are connected through a bus 804. The transceiver 803 is used to receive and forward packets or data information, and the processor 802 is used to execute processing related steps in the first network device or the second network device in the embodiment shown in FIG. 3.
方式2、如图9所示,该网络设备900包括主控板91和接口板92,主控板91包括处理器911和存储器912,接口板92包括处理器921、存储器922和接口卡923。接口板92的处理器921用于调用接口板92的存储器922中的程序指令执行数据的接收和发送。主控板91的处理器911用于调用主控板91的存储器912中的程序指令执行相应的处理功能。例如,主控板91的处理器911调用主控板91的存储器912中的程序指令执行上述图3或图5所示实施例第一网络设备或第二网络设备中的处理相关步骤。Manner 2: As shown in FIG. 9, the network device 900 includes a main control board 91 and an interface board 92, the main control board 91 includes a processor 911 and a memory 912, and the interface board 92 includes a processor 921, a memory 922 and an interface card 923. The processor 921 of the interface board 92 is configured to call the program instructions in the memory 922 of the interface board 92 to perform data reception and transmission. The processor 911 of the main control board 91 is used to call the program instructions in the memory 912 of the main control board 91 to execute corresponding processing functions. For example, the processor 911 of the main control board 91 calls the program instructions in the memory 912 of the main control board 91 to execute the processing related steps in the first network device or the second network device in the embodiment shown in FIG. 3 or FIG. 5.
需说明的是,以上描述的任意装置实施例都仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。另外,本申请提供的第一网络节点或控制器实施例附图中,模块之间的连接关系表示它们之间具有通信连接,具体可以实现为一条或多条通信总线或信号线。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。It should be noted that any of the device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physically separate. The physical unit can be located in one place or distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments. In addition, in the drawings of the first network node or controller embodiment provided in the present application, the connection relationship between the modules indicates that they have a communication connection, which can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art can understand and implement without creative work.
参见图10,本申请实施例还提供一种网络设备1000,图10所示的网络设备1000用于执行上述用于业务生存性分析的方法所涉及的操作。该网络设备1000包括:存储器1001、处理器1002及接口1003,存储器1001、处理器1002及接口1003之间通过总线1004连接。Referring to FIG. 10, an embodiment of the present application also provides a network device 1000. The network device 1000 shown in FIG. 10 is configured to perform operations involved in the foregoing method for service survivability analysis. The network device 1000 includes a memory 1001, a processor 1002, and an interface 1003, and the memory 1001, the processor 1002, and the interface 1003 are connected by a bus 1004.
其中,存储器1001中存储有至少一条指令,至少一条指令由处理器1002加载并执行,以实现上述任一所述的用于业务生存性分析的方法。Wherein, at least one instruction is stored in the memory 1001, and at least one instruction is loaded and executed by the processor 1002, so as to implement any one of the foregoing methods for business survivability analysis.
接口1003用于与网络中的其他设备进行通信,该接口1003可以通过无线或有线的方式实现,示例性地,该接口1003可以是网卡。例如,网络设备1000可通过该接口1003与服务器进行通信。The interface 1003 is used to communicate with other devices in the network. The interface 1003 may be implemented in a wireless or wired manner. Illustratively, the interface 1003 may be a network card. For example, the network device 1000 can communicate with the server through the interface 1003.
例如,图10所示的网络设备为图3或图5中的第一网络设备,处理器1002读取存储器1001中的指令,使图10所示的网络设备能够执行第一网络设备所执行的全部或部分操作。For example, the network device shown in FIG. 10 is the first network device in FIG. 3 or FIG. 5, and the processor 1002 reads the instructions in the memory 1001 so that the network device shown in FIG. 10 can execute what the first network device executes. Full or partial operation.
又例如,图10所示的网络设备为图3或图5中的第二网络设备,处理器1002读取存储器1001中的指令,使图10所示的网络设备能够执行第二网络设备所执行的全部或部分操作。For another example, the network device shown in FIG. 10 is the second network device in FIG. 3 or FIG. 5, and the processor 1002 reads the instructions in the memory 1001, so that the network device shown in FIG. All or part of the operation.
应理解的是,图10仅仅示出了网络设备1000的简化设计。在实际应用中,网络设备可以包含任意数量的接口,处理器或者存储器。此外,上述处理器可以是中央处理器(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signal processing,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field-programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者是任何常规的处理器等。值得说明的是,处理器可以是支持进阶精简指令集机器(advanced RISC machines,ARM)架构的处理器。It should be understood that FIG. 10 only shows a simplified design of the network device 1000. In practical applications, a network device can include any number of interfaces, processors or memories. In addition, the above-mentioned processor may be a central processing unit (CPU), other general-purpose processors, digital signal processing (DSP), application specific integrated circuit (ASIC), Field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor. It is worth noting that the processor may be a processor that supports an advanced reduced instruction set machine (advanced RISC machines, ARM) architecture.
进一步地,在一种可选的实施例中,上述存储器可以包括只读存储器和随机存取存储器,并向处理器提供指令和数据。存储器还可以包括非易失性随机存取存储器。例如,存储器还可以存储设备类型的信息。Further, in an optional embodiment, the foregoing memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. The memory may also include non-volatile random access memory. For example, the memory can also store device type information.
该存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者,其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用。例如,静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic random access memory,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data date SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory, wherein the non-volatile memory may be a read-only memory (read-only memory, ROM) , Programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of exemplary but not limiting illustration, many forms of RAM are available. For example, static random access memory (static RAM, SRAM), dynamic random access memory (dynamic random access memory, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access Memory (double data date SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (direct rambus) RAM, DR RAM).
还提供了一种计算机可读存储介质,存储介质中存储有至少一条指令,指令由处理器加载并执行以实现如上任一所述的用于业务生存性分析的方法。A computer-readable storage medium is also provided, and at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to implement the method for business survivability analysis as described above.
本申请提供了一种计算机程序,当计算机程序被计算机执行时,可以使得处理器或计算机执行上述方法实施例中对应的各个操作和/或流程。This application provides a computer program. When the computer program is executed by a computer, the processor or the computer can execute the corresponding operations and/or procedures in the above method embodiments.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包 括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk)等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the procedures or functions described in this application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website site, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk).
以上所述仅为本申请的实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only examples of this application and are not intended to limit this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included in the scope of protection of this application. Inside.

Claims (26)

  1. 一种用于业务生存性分析的方法,其特征在于,所述方法包括:A method for business survivability analysis, characterized in that the method includes:
    确定第一资源发生变化;Determine that the first resource has changed;
    响应于所述变化,在第一路径集合中确定与所述第一资源相关的路径刷新范围,所述第一路径集合包括m条故障恢复路径,所述路径刷新范围包括所述第一路径集合中的n条故障恢复路径,其中m大于n,n大于或等于1;In response to the change, a path refresh range related to the first resource is determined in a first path set, the first path set includes m failure recovery paths, and the path refresh range includes the first path set N failure recovery paths in, where m is greater than n, and n is greater than or equal to 1;
    对所述路径刷新范围内的n条故障恢复路径进行刷新,得到n条刷新后的故障恢复路径;Refresh the n failure recovery paths within the path refresh range to obtain n refreshed failure recovery paths;
    根据第二路径集合进行业务生存性分析,得到业务生存性分析结果,所述第二路径集合包括所述n条刷新后的故障恢复路径以及所述第一路径集合中所述路径刷新范围外的至少一条未刷新的故障恢复路径。Perform service survivability analysis according to a second path set, and obtain a service survivability analysis result. The second path set includes the n refreshed failure recovery paths and the paths outside the refresh range of the first path set. At least one unrefreshed failure recovery path.
  2. 根据权利要求1所述的方法,其特征在于,所述对所述路径刷新范围内的n条故障恢复路径进行刷新,得到n条刷新后的故障恢复路径,包括:The method according to claim 1, wherein the refreshing n failure recovery paths within the path refresh range to obtain n refreshed failure recovery paths comprises:
    将所述路径刷新范围发送给第一网络设备,所述第一网络设备与所述第一资源相关;Sending the path refresh range to a first network device, where the first network device is related to the first resource;
    接收所述第一网络设备基于所述路径刷新范围返回的n条刷新后的故障恢复路径。Receiving n refreshed failure recovery paths returned by the first network device based on the path refresh range.
  3. 根据权利要求1所述的方法,其特征在于,所述对所述路径刷新范围内的n条故障恢复路径进行刷新,得到n条刷新后的故障恢复路径,包括:The method according to claim 1, wherein the refreshing n failure recovery paths within the path refresh range to obtain n refreshed failure recovery paths comprises:
    将所述路径刷新范围发送给第一网络设备所在的目标区域的路径计算单元,所述第一网络设备与所述第一资源相关,所述目标区域为网络被划分的多个区域中的任一区域;The path refresh range is sent to the path calculation unit of the target area where the first network device is located, the first network device is related to the first resource, and the target area is any of the multiple areas where the network is divided. A region
    接收所述路径计算单元基于所述路径刷新范围计算得到的n条刷新后的故障恢复路径。Receiving n refreshed failure recovery paths calculated by the path calculation unit based on the path refresh range.
  4. 根据权利要求3所述的方法,其特征在于,所述将所述路径刷新范围发送给第一网络设备所在的目标区域的路径计算单元之前,还包括:The method according to claim 3, wherein before the sending the path refresh range to the path calculation unit of the target area where the first network device is located, the method further comprises:
    对全网进行区域划分,得到多个区域,所述多个区域中的每个区域存储各自的网络信息;Divide the entire network into regions to obtain multiple regions, and each of the multiple regions stores its own network information;
    与每个区域建立连接,获取各个区域的资源,根据所述各个区域的资源确定故障恢复路径,得到所述第一路径集合。Establish a connection with each area, obtain resources of each area, determine a failure recovery path according to the resources of each area, and obtain the first path set.
  5. 根据权利要求2-4任一所述的方法,其特征在于,所述对所述路径刷新范围内的n条故障恢复路径进行刷新,得到n条刷新后的故障恢复路径之后,还包括:The method according to any one of claims 2-4, wherein, after refreshing the n failure recovery paths within the path refresh range, and obtaining n refreshed failure recovery paths, the method further comprises:
    接收所述第一网络设备发送的重路由路径查询请求,所述重路由路径查询请求携带第一故障信息;Receiving a rerouting path query request sent by the first network device, where the rerouting path query request carries first failure information;
    在所述第二路径集合中确定与所述第一故障信息匹配的故障恢复路径;Determining, in the second path set, a failure recovery path that matches the first failure information;
    将与所述第一故障信息匹配的故障恢复路径作为重路由路径发送给所述第一网络设备。Sending the failure recovery path matching the first failure information as a rerouting path to the first network device.
  6. 根据权利要求1所述的方法,其特征在于,所述对所述路径刷新范围内的n条故障恢复路径进行刷新,得到n条刷新后的故障恢复路径之后,还包括:The method according to claim 1, wherein, after refreshing the n failure recovery paths within the path refresh range to obtain n refreshed failure recovery paths, the method further comprises:
    将所述n条刷新后的故障恢复路径作为重路由路径提前下发给第一网络设备,所述第一网络设备与所述第一资源相关。The n refreshed failure recovery paths are issued as rerouting paths to the first network device in advance, and the first network device is related to the first resource.
  7. 根据权利要求1-6任一所述的方法,其特征在于,所述根据第二路径集合进行业务生存性分析,得到业务生存性分析结果,包括:The method according to any one of claims 1-6, wherein the performing service survivability analysis according to the second path set to obtain a service survivability analysis result comprises:
    接收业务生存性分析请求,所述业务生存性分析请求携带第二故障信息;Receiving a service survivability analysis request, where the service survivability analysis request carries second failure information;
    在所述第二路径集合中获取与所述第二故障信息匹配的故障恢复路径,根据与所述第二故障信息匹配的故障恢复路径生成业务生存性分析结果。A failure recovery path matching the second failure information is acquired from the second path set, and a service survivability analysis result is generated according to the failure recovery path matching the second failure information.
  8. 一种用于业务生存性分析的方法,其特征在于,所述方法包括:A method for business survivability analysis, characterized in that the method includes:
    对资源进行监测;Monitor resources;
    响应于监测到发生变化的第一资源,将所述发生变化的第一资源的信息发送给第二网络设备,由所述第二网络设备基于所述第一资源的信息进行业务生存性分析,得到业务生存性分析结果。In response to monitoring the changed first resource, sending information about the changed first resource to a second network device, and the second network device performs service survivability analysis based on the information about the first resource, Obtain business survivability analysis results.
  9. 根据权利要求8所述的方法,其特征在于,所述将所述发生变化的第一资源的信息发送给第二网络设备之后,还包括:The method according to claim 8, wherein after the sending the information of the changed first resource to the second network device, the method further comprises:
    接收所述第二网络设备发送的与所述第一资源相关的路径刷新范围,所述路径刷新范围包括第一路径集合中的n条故障恢复路径,所述第一路径集合包括m条故障恢复路径,其中m大于n,n大于或等于1;Receive a path refresh range related to the first resource sent by the second network device, where the path refresh range includes n failure recovery paths in a first path set, and the first path set includes m failure recovery paths Path, where m is greater than n, and n is greater than or equal to 1;
    根据所述路径刷新范围获取n条刷新后的故障恢复路径,将所述n条刷新后的故障恢复路径返回给所述第二网络设备。Acquire n refreshed failure recovery paths according to the path refresh range, and return the n refreshed failure recovery paths to the second network device.
  10. 根据权利要求8或9所述的方法,其特征在于,所述将所述发生变化的第一资源的信息发送给第二网络设备之后,还包括:The method according to claim 8 or 9, wherein after sending the information of the changed first resource to the second network device, the method further comprises:
    响应于监测到业务发生故障,向所述第二网络设备发送重路由路径查询请求,所述重路由路径查询请求携带第一故障信息;In response to detecting a service failure, sending a rerouting path query request to the second network device, where the rerouting path query request carries first failure information;
    接收所述第二网络设备返回的重路由路径,所述重路由路径为与所述第一故障信息匹配的故障恢复路径。Receiving a rerouting path returned by the second network device, where the rerouting path is a failure recovery path matching the first failure information.
  11. 根据权利要求8或9所述的方法,其特征在于,所述将所述发生变化的第一资源的信息发送给第二网络设备之后,还包括:The method according to claim 8 or 9, wherein after sending the information of the changed first resource to the second network device, the method further comprises:
    接收所述第二网络设备提前下发的n条刷新后的故障恢复路径;Receiving n refreshed failure recovery paths issued in advance by the second network device;
    响应于监测到业务发生故障,根据所述第二网络设备提前下发的n条刷新后的故障恢复路径获取重路径路由。In response to detecting a service failure, a re-path route is obtained according to the n refreshed failure recovery paths issued in advance by the second network device.
  12. 一种用于业务生存性分析的装置,其特征在于,所述装置包括:A device for business survivability analysis, characterized in that the device comprises:
    第一确定模块,用于确定第一资源发生变化;The first determining module is used to determine that the first resource has changed;
    第二确定模块,用于响应于所述变化,在第一路径集合中确定与所述第一资源相关的路 径刷新范围,所述第一路径集合包括m条故障恢复路径,所述路径刷新范围包括所述第一路径集合中的n条故障恢复路径,其中m大于n,n大于或等于1;The second determining module is configured to determine, in a first path set, a path refresh range related to the first resource in response to the change, the first path set includes m failure recovery paths, and the path refresh range Including n failure recovery paths in the first path set, where m is greater than n, and n is greater than or equal to 1;
    刷新模块,用于对所述路径刷新范围内的n条故障恢复路径进行刷新,得到n条刷新后的故障恢复路径;A refresh module, configured to refresh n failure recovery paths within the path refresh range to obtain n refreshed failure recovery paths;
    分析模块,用于根据第二路径集合进行业务生存性分析,得到业务生存性分析结果,所述第二路径集合包括所述n条刷新后的故障恢复路径以及所述第一路径集合中所述路径刷新范围外的至少一条未刷新的故障恢复路径。The analysis module is configured to perform service survivability analysis according to a second path set to obtain a service survivability analysis result. The second path set includes the n refreshed failure recovery paths and the first path set. At least one unrefreshed failure recovery path outside the path refresh range.
  13. 根据权利要求12所述的装置,其特征在于,所述刷新模块,用于将所述路径刷新范围发送给第一网络设备,所述第一网络设备与所述第一资源相关;接收所述第一网络设备基于所述路径刷新范围返回的n条刷新后的故障恢复路径。The apparatus according to claim 12, wherein the refresh module is configured to send the path refresh range to a first network device, and the first network device is related to the first resource; and receives the The first network device returns n refreshed failure recovery paths based on the path refresh range.
  14. 根据权利要求12所述的装置,其特征在于,所述刷新模块,用于将所述路径刷新范围发送给第一网络设备所在的目标区域的路径计算单元,所述第一网络设备与所述第一资源相关,所述目标区域为网络被划分的多个区域中的任一区域;接收所述路径计算单元基于所述路径刷新范围计算得到的n条刷新后的故障恢复路径。The apparatus according to claim 12, wherein the refresh module is configured to send the path refresh range to a path calculation unit in a target area where the first network device is located, and the first network device is in contact with the path calculation unit in the target area. The first resource is related, and the target area is any area of a plurality of areas divided by the network; receiving n refreshed failure recovery paths calculated by the path calculation unit based on the path refresh range.
  15. 根据权利要求14所述的装置,其特征在于,所述第二确定模块,还用于对全网进行区域划分,得到多个区域,所述多个区域中的每个区域存储各自的网络信息;与每个区域建立连接,获取各个区域的资源,根据所述各个区域的资源确定故障恢复路径,得到所述第一路径集合。The device according to claim 14, wherein the second determining module is further configured to divide the entire network to obtain multiple areas, and each of the multiple areas stores its own network information Establish a connection with each area, obtain resources of each area, determine a failure recovery path according to the resources of each area, and obtain the first path set.
  16. 根据权利要求13-15任一所述的装置,其特征在于,所述第二确定模块,还用于接收所述第一网络设备发送的重路由路径查询请求,所述重路由路径查询请求携带第一故障信息;在所述第二路径集合中确定与所述第一故障信息匹配的故障恢复路径;The apparatus according to any one of claims 13-15, wherein the second determining module is further configured to receive a rerouting path query request sent by the first network device, and the rerouting path query request carries First failure information; determining a failure recovery path matching the first failure information in the second path set;
    所述装置还包括:The device also includes:
    第一发送模块,用于将与所述第一故障信息匹配的故障恢复路径作为重路由路径发送给所述第一网络设备。The first sending module is configured to send the failure recovery path matching the first failure information as a rerouting path to the first network device.
  17. 根据权利要求12所述的装置,其特征在于,所述装置,还包括:The device according to claim 12, wherein the device further comprises:
    第二发送模块,用于将所述n条刷新后的故障恢复路径作为重路由路径提前下发给第一网络设备,所述第一网络设备与所述第一资源相关。The second sending module is configured to send the n refreshed failure recovery paths as rerouting paths to the first network device in advance, and the first network device is related to the first resource.
  18. 根据权利要求12-17任一所述的装置,其特征在于,所述分析模块,用于接收业务生存性分析请求,所述业务生存性分析请求携带第二故障信息;在所述第二路径集合中获取与所述第二故障信息匹配的故障恢复路径,根据与所述第二故障信息匹配的故障恢复路径生成业务生存性分析结果。The device according to any one of claims 12-17, wherein the analysis module is configured to receive a service survivability analysis request, and the service survivability analysis request carries second failure information; A failure recovery path matching the second failure information is acquired from the collection, and a service survivability analysis result is generated according to the failure recovery path matching the second failure information.
  19. 一种用于业务生存性分析的装置,其特征在于,所述装置包括:A device for business survivability analysis, characterized in that the device comprises:
    监测模块,用于对资源进行监测;Monitoring module, used to monitor resources;
    发送模块,用于响应于监测到发生变化的第一资源,将所述发生变化的第一资源的信息发送给第二网络设备,由所述第二网络设备基于所述第一资源的信息进行业务生存性分析,得到业务生存性分析结果。The sending module is configured to send information about the first resource that has changed to a second network device in response to monitoring the first resource that has changed, and the second network device performs processing based on the information about the first resource. Business survivability analysis to obtain business survivability analysis results.
  20. 根据权利要求19所述的装置,其特征在于,所述装置,还包括:The device according to claim 19, wherein the device further comprises:
    第一接收模块,用于接收所述第二网络设备发送的与所述第一资源相关的路径刷新范围,所述路径刷新范围包括第一路径集合中的n条故障恢复路径,所述第一路径集合包括m条故障恢复路径,其中m大于n,n大于或等于1;The first receiving module is configured to receive a path refresh range related to the first resource sent by the second network device, where the path refresh range includes n failure recovery paths in a first path set, and the first The path set includes m failure recovery paths, where m is greater than n, and n is greater than or equal to 1;
    第一获取模块,用于根据所述路径刷新范围获取n条刷新后的故障恢复路径;The first obtaining module is configured to obtain n refreshed failure recovery paths according to the path refresh range;
    所述发送模块,还用于将所述n条刷新后的故障恢复路径返回给所述第二网络设备。The sending module is further configured to return the n refreshed failure recovery paths to the second network device.
  21. 根据权利要求19或20所述的装置,其特征在于,所述发送模块,还用于响应于监测到业务发生故障,向所述第二网络设备发送重路由路径查询请求,所述重路由路径查询请求携带第一故障信息;The apparatus according to claim 19 or 20, wherein the sending module is further configured to send a rerouting path query request to the second network device in response to detecting a service failure, and the rerouting path The query request carries the first fault information;
    所述装置还包括:The device also includes:
    第二接收模块,用于接收所述第二网络设备返回的重路由路径,所述重路由路径为与所述第一故障信息匹配的故障恢复路径。The second receiving module is configured to receive a rerouting path returned by the second network device, where the rerouting path is a failure recovery path matching the first failure information.
  22. 根据权利要求19或20所述的装置,其特征在于,所述装置还包括:The device according to claim 19 or 20, wherein the device further comprises:
    第三接收模块,用于接收所述第二网络设备提前下发的n条刷新后的故障恢复路径;The third receiving module is configured to receive n refreshed failure recovery paths issued in advance by the second network device;
    第二获取模块,用于响应于监测到业务发生故障,根据所述第二网络设备提前下发的n条刷新后的故障恢复路径获取重路径路由。The second obtaining module is configured to obtain a re-path route according to the n refreshed failure recovery paths issued in advance by the second network device in response to detecting a service failure.
  23. 一种网络设备,其特征在于,所述网络设备包括:A network device, characterized in that the network device includes:
    存储器及处理器,所述存储器中存储有至少一条指令,所述至少一条指令由所述处理器加载并执行,以实现权利要求1-7中任一所述的方法。A memory and a processor, wherein at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to implement the method according to any one of claims 1-7.
  24. 一种网络设备,其特征在于,所述网络设备包括:A network device, characterized in that the network device includes:
    存储器及处理器,所述存储器中存储有至少一条指令,所述至少一条指令由所述处理器加载并执行,以实现权利要求8-11中任一所述的方法。A memory and a processor, wherein at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to implement the method according to any one of claims 8-11.
  25. 一种用于业务生存性分析的系统,其特征在于,所述系统包括所述权利要求23所述的网络设备和所述权利要求24所述的网络设备。A system for service survivability analysis, characterized in that the system comprises the network equipment according to claim 23 and the network equipment according to claim 24.
  26. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一条指令,所述指令由处理器加载并执行以实现如权利要求1-11中任一所述的方法。A computer-readable storage medium, wherein at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to implement the method according to any one of claims 1-11.
PCT/CN2020/119225 2020-02-21 2020-09-30 Method for service survivability analysis, apparatus, system, and storage medium WO2021164266A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010107280.1 2020-02-21
CN202010107280.1A CN113300948B (en) 2020-02-21 2020-02-21 Method, device, system and storage medium for service survivability analysis

Publications (1)

Publication Number Publication Date
WO2021164266A1 true WO2021164266A1 (en) 2021-08-26

Family

ID=77317492

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/119225 WO2021164266A1 (en) 2020-02-21 2020-09-30 Method for service survivability analysis, apparatus, system, and storage medium

Country Status (2)

Country Link
CN (1) CN113300948B (en)
WO (1) WO2021164266A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459535A (en) * 2007-04-12 2009-06-17 华为技术有限公司 Device and method for service recovery
CN101945035A (en) * 2009-07-10 2011-01-12 中兴通讯股份有限公司 Method and device for recovering cross-domain path based on path computation element
US20150215200A1 (en) * 2012-04-13 2015-07-30 Telefonaktiebolaget L M Ericsson (Publ) Recovery in connection-oriented network
CN106464524A (en) * 2015-03-23 2017-02-22 华为技术有限公司 Route calculation method and apparatus in ASON

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7957266B2 (en) * 2004-05-28 2011-06-07 Alcatel-Lucent Usa Inc. Efficient and robust routing independent of traffic pattern variability
CN100456700C (en) * 2006-08-31 2009-01-28 华为技术有限公司 Multicast service method and device of providing multiple types of protection and recovery
CN101286892B (en) * 2007-04-12 2012-09-05 华为技术有限公司 Device and method for service recovery
CN101442479B (en) * 2007-11-22 2011-03-30 华为技术有限公司 Method, equipment and system for updating route in P2P peer-to-peer after node failure
WO2015077196A1 (en) * 2013-11-19 2015-05-28 Siemens Aktiengesellschaft Holistic optimization of distribution automation using survivability modeling to support storm hardening
US9544220B2 (en) * 2013-02-05 2017-01-10 Cisco Technology, Inc. Binary search-based approach in routing-metric agnostic topologies for node selection to enable effective learning machine mechanisms
US9438472B2 (en) * 2013-07-19 2016-09-06 Telefonaktiebolaget Lm Ericsson (Publ) Extended remote LFA fast reroute
EP3062526B1 (en) * 2013-11-15 2018-08-08 Huawei Technologies Co., Ltd. Service deployment method, apparatus and network device
US10148564B2 (en) * 2016-09-30 2018-12-04 Juniper Networks, Inc. Multiple paths computation for label switched paths
US11184286B2 (en) * 2017-09-29 2021-11-23 Wipro Limited Method and system for adaptive and context-aware service function chaining in communication networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459535A (en) * 2007-04-12 2009-06-17 华为技术有限公司 Device and method for service recovery
CN101945035A (en) * 2009-07-10 2011-01-12 中兴通讯股份有限公司 Method and device for recovering cross-domain path based on path computation element
US20150215200A1 (en) * 2012-04-13 2015-07-30 Telefonaktiebolaget L M Ericsson (Publ) Recovery in connection-oriented network
CN106464524A (en) * 2015-03-23 2017-02-22 华为技术有限公司 Route calculation method and apparatus in ASON

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JINGRAN LUO ; SHANGUO HUANG ; JIE ZHANG ; XIN LI ; WANYI GU: "A novel multi-fault localization mechanism in PCE-based multi-domain large capacity optical transport networks", OPTICAL FIBER COMMUNICATION CONFERENCE AND EXPOSITION (OFC/NFOEC), 2012 AND THE NATIONAL FIBER OPTIC ENGINEERS CONFERENCE, IEEE, 4 March 2012 (2012-03-04), pages 1 - 3, XP032340430, ISBN: 978-1-4673-0262-3, DOI: 10.1364/NFOEC.2012.NW3K.6 *

Also Published As

Publication number Publication date
CN113300948B (en) 2022-07-29
CN113300948A (en) 2021-08-24

Similar Documents

Publication Publication Date Title
CN110865867B (en) Method, device and system for discovering application topological relation
US20200228426A1 (en) Data center traffic analytics synchronization
EP3353952B1 (en) Managing groups of servers
WO2018137254A1 (en) Call chain-based concurrency control method, device, and control node
US20220141121A1 (en) Path determining method and related device
CN110377459A (en) A kind of disaster tolerance system, disaster tolerance processing method, monitoring node and backup cluster
CN111258851B (en) Cluster alarm method, device, setting and storage medium
US11403009B2 (en) Storage system, and method and apparatus for allocating storage resources
JP2023523473A (en) User plane function determination method, information provision method, device and medium
WO2021072847A1 (en) Method and apparatus for monitoring condition of computer network, computer device, and storage medium
CN106936662A (en) A kind of method for realizing heartbeat mechanism, apparatus and system
CN111552701B (en) Method for determining data consistency in distributed cluster and distributed data system
CN114143090B (en) Firewall deployment method, device, equipment and medium based on network security architecture
WO2021164266A1 (en) Method for service survivability analysis, apparatus, system, and storage medium
US20240039782A1 (en) Computer network troubleshooting and diagnostics using metadata
US20210120097A1 (en) Scheduling solution configuration method and apparatus, computer readable storage medium thereof, and computer device
US11792095B1 (en) Computer network architecture mapping using metadata
CN111654559A (en) Container data transmission method and device
CN114827079B (en) Capacity expansion method, device and storage medium of network address translation gateway
EP3306471B1 (en) Automatic server cluster discovery
CN109213566B (en) Virtual machine migration method, device and equipment
US11405296B1 (en) Automated validation of network matrices
CN109347851B (en) Request response method and device
CN114338724A (en) Block synchronization method and device, electronic equipment and storage medium
CN109450794B (en) Communication method and device based on SDN network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20920521

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20920521

Country of ref document: EP

Kind code of ref document: A1