Path processing method, electronic equipment and computer readable storage medium
By predicting the fault path of the service in the optical network and allocating redundant paths from the preconfigured redundant resource pool when the failure is predicted, the problem of redundant path failure in the prior art is solved, and the stable switching and operation of the service when the failure occurs is achieved.
Patent Information
- Application Number
- CN202311230886.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-21
- Publication Date
- 2025-03-21
AI Technical Summary
The configuration of redundant paths in existing optical networks is early, which may fail during the business process, and it is impossible to successfully switch to the redundant path when the working path fails, resulting in the inability to proceed normally.
By making failure predictions on the current usage path of the service, redundant paths are calculated and configured only when the failure is predicted to occur, and redundant paths are allocated to the service using path resources in the preconfigured redundant resource pool.
Ensure the effectiveness of redundant paths, avoid the problem of redundant path failure when a failure occurs, ensure that the business can successfully switch to the redundant path when the working path fails, and ensure the normal operation of the business.
Smart Images

Figure CN119676594A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical communication technology, and in particular to a path processing method, an electronic device, and a computer-readable storage medium. Background Art
[0002] Optical network generally refers to a wide area network, metropolitan area network or a newly built large-scale local area network that uses optical fiber as the main transmission medium. Optical network has the characteristics of high transmission speed and long transmission distance.
[0003] When establishing a service in an optical network, a working path needs to be built between a source node and a sink node, and service signals are transmitted through the working path. When a failure occurs in the working path, the service cannot be carried out normally.
[0004] At present, when establishing a service, a redundant path with the same source and destination is usually configured for the service, so that when a working path fails, the service can be switched to the redundant path to restore the service and ensure the operation of the service. However, the redundant path is currently mostly configured when the service is created, and the configuration time is relatively early. Since the redundant path is configured too early, the redundant path may have become invalid during the service (such as being preempted by other services or the redundant path fails), resulting in the service being unable to successfully switch to the redundant path when the working path fails, causing the service to not be able to operate normally. Summary of the invention
[0005] The present application provides a path processing method, an electronic device, and a computer-readable storage medium, which can calculate and configure redundant paths only when a failure is predicted to occur, thereby ensuring the effectiveness of the redundant paths and avoiding the problem of redundant path failure when a failure occurs.
[0006] In order to achieve the above objectives, this application adopts the following technical solutions:
[0007] In a first aspect, a path processing method is provided, the method comprising: performing a fault prediction on a current path in use of the service according to path operation information of the service to obtain a fault prediction result of the service; when the fault prediction result indicates that there is a risk of failure in the path in use, using path resources in a preconfigured redundant resource pool to allocate a redundant path to the service, the redundant resource pool comprising path resources of multiple services; when a fault occurs in the path in use, switching the service from the path in use to the redundant path.
[0008] Exemplarily, the used path refers to a path currently being used by a service.
[0009] Exemplarily, the path operation information includes information such as equipment usage information, service alarm information, construction plan, construction detection information, and performance monitoring information.
[0010] Exemplarily, for services with a fixed source and a fixed destination, the path resources of the redundant resource pool can be used to allocate redundant paths from the source node to the destination node. For services with a fixed source and an unfixed destination, the path resources of the redundant resource pool can be used to allocate redundant paths from the source node to the candidate destination node.
[0011] Exemplarily, when a fault occurs on a used path, after the service is switched to a redundant path, the redundant path becomes the current used path of the service.
[0012] The solution provided in the first aspect above predicts faults on the path currently used by the service. When the fault prediction result indicates that there is a risk of failure in the path used and a failure is about to occur, the path resources in the redundant resource pool are used to calculate the redundant path of the service, and then the redundant path is configured for the service. This ensures the effectiveness of the redundant path. When a failure occurs in the path used, the service is successfully switched from the path used to the redundant path, avoiding the problem of redundant path failure when a failure occurs.
[0013] As a possible implementation method, the redundant resource pool includes the minimum path resources required by multiple services, and the minimum path resources required by multiple services at least include the path resources of a redundant path corresponding to each service. In this way, it can be ensured that the path resources in the redundant resource pool can generate redundant paths for the services, thereby ensuring the operation of the services.
[0014] As a possible implementation method, the minimum path resources required for multiple services included in the redundant resource pool meet the following conditions: based on the path resources in the redundant resource pool, each service can be allocated at least K redundant paths that do not overlap with the original path of the service, and each path resource can be used simultaneously by the redundant paths of at most N services, where K and N are positive integers, and the original path refers to the path configured for the service when the service is created. In this way, by limiting the number of shared redundant sections, on the one hand, it can avoid too many services using the section, causing business congestion, and on the other hand, it can increase the probability of sharing sections between services, so that fewer resources can be reserved in the redundant resource pool, reducing resource waste, and achieving better business guarantee effects with fewer resources.
[0015] As a possible implementation method, when multiple services include services with fixed source nodes and unfixed destination nodes, the redundant resource pool also includes path resources from the source node to the candidate destination node and path resources of redundant paths from the source node to the destination node. In this way, for services with fixed source and unfixed destination, not only can redundant paths with the same source but different destinations be provided, which can also guarantee the operation of the service when the destination node is unavailable, but also redundant paths with the same source and the same destination can be provided, which can also guarantee the operation of the service when any section of the used path fails.
[0016] As a possible implementation method, when the fault prediction result indicates that there is a fault risk in the use path, the fault prediction result includes the fault type corresponding to the fault risk; using the path resources in the pre-configured redundant resource pool to allocate redundant paths for the service includes: according to the processing strategy corresponding to the fault type, using the path resources in the redundant resource pool to allocate redundant paths for the service, wherein each fault type is configured with a corresponding processing strategy. In this way, by configuring a processing strategy for each fault type, the fault risk can be processed according to the processing strategy after there is a fault risk, and then different faults can be dealt with, further ensuring the operation of the service.
[0017] As a possible implementation method, path resources in a redundant resource pool are used to allocate redundant paths for services, including: according to business constraints and processing strategies of the services, path resources in a redundant resource pool are used to allocate redundant paths for services; wherein the business constraints of the services include one or more of the following conditions: signal transmission time, bandwidth, energy consumption, and path utilization.
[0018] For example, according to the processing strategy of the fault type corresponding to the fault risk, the path resources in the redundant resource pool can be used to calculate the initial redundant path, the business constraint conditions of the business can be obtained according to the business identifier of the business, and the optimal redundant path can be obtained from the initial redundant path according to the business constraint conditions. In this way, the optimal redundant path is calculated through the business constraint conditions of the business, which can meet the business needs while ensuring the operation of the business.
[0019] As a possible implementation, after using the path resources in the pre-configured redundant resource pool to allocate redundant paths for the services, the method further includes: marking the status of the path resources included in the redundant paths as occupied; detecting whether the available path resources in the redundant resource pool are greater than the minimum path resources required by multiple services according to the status mark of the path resources; if less than the minimum path resources, increasing the path resources in the redundant resource pool. In this way, by dynamically managing the path resources in the redundant resource pool, it can be ensured that the redundant resource pool has path resources that meet the operation of each service in the service set.
[0020] As a possible implementation method, the method further includes: when a resource release condition is met, releasing the path resources in the redundant resource pool that match the resource release condition; wherein the resource release condition includes one or more of the following conditions: path resource failure, service unbinding, and service cancellation of redundant path configuration. In this way, by removing the path resources in the redundant resource pool that match the resource release condition, the occupation of the redundant resource pool by invalid path resources can be reduced.
[0021] As a possible implementation method, based on the path operation information of the service, a fault prediction is performed on the path currently used by the service to obtain a fault prediction result of the service, including: filtering the path operation information based on pre-configured fault basis information to obtain target path operation information, where the fault basis information is used to indicate the information required to predict the fault risk; based on the target path operation information, a fault prediction is performed on the path currently used by the service to obtain a fault prediction result of the service. In this way, for each fault type, more accurate information can be obtained based on the fault basis information, thereby improving the prediction accuracy of each fault type.
[0022] As a possible implementation method, according to the target path operation information, a fault prediction is performed on the current use path of the service to obtain a fault prediction result of the service, including: according to the fault prediction model and the target path operation information, a path fault prediction is performed on the current use path of the service to obtain a fault prediction result of the service. In this way, by performing path fault prediction on the use path through the fault prediction model, the accuracy of fault prediction can be improved.
[0023] As a possible implementation, the prediction basis information also includes prediction rules, and according to the target path operation information, a fault prediction is performed on the current use path of the service to obtain a fault prediction result of the service, including: according to the prediction rules and the target path operation information, a path fault prediction is performed on the current use path of the service to obtain a fault prediction result of the service. In this way, by predicting the path fault of the use path through the prediction rules, the accuracy of the fault prediction can be improved.
[0024] As a possible implementation method, the method also includes: in response to the fault type configuration operation, obtaining a new fault type and a processing strategy and prediction basis information corresponding to the new fault type; if there is a historical fault type that is the same as the new fault type in the stored fault types, updating the processing strategy and prediction basis information corresponding to the historical fault type according to the processing strategy and prediction basis information corresponding to the new fault type; if there is no historical fault type that is the same as the new fault type in the stored fault types, storing the new fault type and the processing strategy and prediction basis information corresponding to the new fault type. In this way, by presetting or importing different and more fault types, it is possible to protect services for multiple fault types, and configure different optimal redundant paths for different fault types.
[0025] As a possible implementation method, the method also includes: in response to a fault simulation operation, obtaining a target fault type for fault simulation and a target location of the current usage path of the service; performing a fault simulation according to the target location and the target fault type to obtain a fault simulation result; displaying the fault simulation result to the user; in response to the user indicating that the target fault type is effective, in the operation of the service, predicting whether the current usage path of the service has a fault risk of the target fault type. In this way, by providing the user with a service drill function, the user can intuitively obtain the fault simulation results for different fault types, which is convenient for the user to select the fault type that is effective for the service, and at the same time, the user can control the operation of the service.
[0026] In a second aspect, an electronic device is provided, which includes: a fault prediction module, a fault processing module and a redundant path allocation module; wherein the fault prediction module is used to perform fault prediction on the current use path of the service according to the path operation information of the service to obtain a fault prediction result of the service; the redundant path allocation module is used to use the path resources in the preconfigured redundant resource pool to allocate redundant paths to the service when the fault prediction result indicates that there is a failure risk in the use path, and the redundant resource pool includes path resources of multiple services; the fault processing module is used to switch the service from the use path to the redundant path when a failure occurs in the use path.
[0027] The solution provided in the second aspect above predicts faults on the path currently used by the business. When the fault prediction result indicates that there is a risk of failure in the path used and a failure is about to occur, the path resources in the redundant resource pool are used to calculate the redundant path of the business, and then the redundant path is configured for the business. This ensures the effectiveness of the redundant path. When a failure occurs in the path used, the business is successfully switched from the path used to the redundant path, avoiding the problem of redundant path failure when a failure occurs.
[0028] As a possible implementation method, the redundant resource pool includes the minimum path resources required by multiple services, and the minimum path resources required by multiple services at least include the path resources of a redundant path corresponding to each service. In this way, it can be ensured that the path resources in the redundant resource pool can generate redundant paths for the services, thereby ensuring the operation of the services.
[0029] As a possible implementation method, the minimum path resources required for multiple services included in the redundant resource pool meet the following conditions: based on the path resources in the redundant resource pool, each service can be allocated at least K redundant paths that do not overlap with the original path of the service, and each path resource can be used simultaneously by the redundant paths of at most N services, where K and N are positive integers, and the original path refers to the path configured for the service when the service is created. In this way, by limiting the number of shared redundant sections, on the one hand, it can avoid too many services using the section, causing business congestion, and on the other hand, it can increase the probability of sharing sections between services, so that fewer resources can be reserved in the redundant resource pool, reducing resource waste, and achieving better business guarantee effects with fewer resources.
[0030] As a possible implementation method, when multiple services include services with fixed source nodes and unfixed destination nodes, the redundant resource pool also includes path resources from the source node to the candidate destination node and path resources of redundant paths from the source node to the destination node. In this way, for services with fixed sources but unfixed destinations, redundant paths with the same source but different destinations can be provided, which can also guarantee the operation of the service when the destination is unavailable, and redundant paths with the same source and destination can also be provided, which can also guarantee the operation of the service when any section of the used path fails.
[0031] As a possible implementation method, when the fault prediction result indicates that there is a fault risk in the use path, the fault prediction result includes the fault type corresponding to the fault risk; the redundant path allocation module is used to: use the path resources in the redundant resource pool to allocate redundant paths for the service according to the processing strategy corresponding to the fault type, wherein each fault type is configured with a corresponding processing strategy. In this way, by configuring a processing strategy for each fault type, when there is a fault risk, the fault risk can be processed according to the processing strategy, and then different faults can be dealt with, further ensuring the operation of the service.
[0032] As a possible implementation mode, the redundant path allocation module is used to allocate redundant paths for services using path resources in a redundant resource pool according to service constraints and processing strategies of the services; wherein the service constraints of the services include one or more of the following conditions: signal transmission time, bandwidth, energy consumption, and path utilization.
[0033] For example, according to the processing strategy of the fault type corresponding to the fault risk, the path resources in the redundant resource pool can be used to calculate the initial redundant path, the business constraint conditions of the business can be obtained according to the business identifier of the business, and the optimal redundant path can be obtained from the initial redundant path according to the business constraint conditions. In this way, the optimal redundant path is calculated through the business constraint conditions of the business, which can meet the business needs while ensuring the operation of the business.
[0034] As a possible implementation method, after using the path resources in the pre-configured redundant resource pool to allocate redundant paths for services, the redundant path allocation module: marks the status of the path resources included in the redundant paths as occupied; based on the status mark of the path resources, detects whether the available path resources in the redundant resource pool are greater than the minimum path resources required by multiple services; if less than the minimum path resources, increases the path resources in the redundant resource pool. In this way, by dynamically managing the path resources in the redundant resource pool, it can be ensured that the redundant resource pool has path resources that meet the operation of each service in the service set.
[0035] As a possible implementation, the redundant path allocation module is further used to: when a resource release condition is met, release the path resources in the redundant resource pool that match the resource release condition; wherein the resource release condition includes one or more of the following conditions: path resource failure, service unbinding, and service cancellation of redundant path configuration. In this way, by removing the path resources in the redundant resource pool that match the resource release condition, the occupation of the redundant resource pool by invalid path resources can be reduced.
[0036] As a possible implementation, the fault prediction module is used to: filter the path operation information according to the pre-configured fault basis information to obtain the target path operation information; the fault basis information is used to indicate the information required to predict the fault risk; and perform fault prediction on the current service path according to the target path operation information to obtain the fault prediction result of the service. In this way, for each fault type, more accurate information can be obtained based on the fault basis information, thereby improving the prediction accuracy of each fault type.
[0037] As a possible implementation method, according to the target path operation information, a fault prediction is performed on the current use path of the service to obtain a fault prediction result of the service, including: according to the fault prediction model and the target path operation information, a path fault prediction is performed on the current use path of the service to obtain a fault prediction result of the service. In this way, by performing path fault prediction on the use path through the fault prediction model, the accuracy of fault prediction can be improved.
[0038] As a possible implementation, the prediction basis information also includes prediction rules, and the fault prediction module is used to: perform path fault prediction on the current service use path according to the prediction rules and target path operation information to obtain a fault prediction result of the service. In this way, the accuracy of fault prediction can be improved by performing path fault prediction on the use path through prediction rules and fault prediction models.
[0039] As a possible implementation mode, the electronic device is also used to: in response to the fault type configuration operation, obtain the newly added fault type and the processing strategy and prediction basis information corresponding to the newly added fault type; if there is a historical fault type that is the same as the newly added fault type in the stored fault types, update the processing strategy and prediction basis information corresponding to the historical fault type according to the processing strategy and prediction basis information corresponding to the newly added fault type; if there is no historical fault type that is the same as the newly added fault type in the stored fault types, store the newly added fault type and the processing strategy and prediction basis information corresponding to the newly added fault type. In this way, by presetting or importing different and more fault types, it is possible to protect services for multiple fault types, and configure different optimal redundant paths for different fault types.
[0040] As a possible implementation, the electronic device is also used to: in response to a fault simulation operation, obtain a target fault type for fault simulation and a target location of the current usage path of the service; perform fault simulation according to the target location and the target fault type to obtain a fault simulation result; display the fault simulation result to the user; in response to the user indicating that the target fault type is effective, predict whether the current usage path of the service has a fault risk of the target fault type during service operation. In this way, by providing the user with a service drill function, the user can intuitively obtain the fault simulation results for different fault types, which is convenient for the user to select the fault type that is effective for the service, and at the same time, the user can control the operation of the service.
[0041] According to a third aspect, an electronic device is provided, comprising: a communication interface for communicating with other electronic devices; a memory for storing computer program instructions; and a processor for executing computer program instructions to support the electronic device in implementing the method described in any possible implementation method of the first aspect.
[0042] In a fourth aspect, a computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processing circuit, the method described in any possible implementation manner in the first aspect is implemented.
[0043] According to a fifth aspect, a computer program product comprising instructions is provided, and when the computer program product is run on a computer, the computer is caused to execute the method as described in any possible implementation manner of the first aspect.
[0044] In a sixth aspect, a chip system is provided, which includes a processing circuit and a storage medium, wherein the storage medium stores computer program instructions; when the computer program instructions are executed by the processing circuit, the method described in any possible implementation method of the first aspect is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a schematic diagram of the effectiveness of redundant paths in conventional technology;
[0046] Figure 2 A schematic diagram of an architecture of an optical network system according to an embodiment of the present application;
[0047] Figure 3 A schematic diagram of the structure of a network management device provided in an embodiment of the present application;
[0048] Figure 4 One of the flow charts of the path processing method provided in the embodiment of the present application;
[0049] Figure 5 A schematic diagram of an interface created for a service set provided in an embodiment of the present application;
[0050] Figure 6 The second flowchart of the path processing method provided in the embodiment of the present application;
[0051] Figure 7 This is a schematic diagram of the effectiveness of redundant paths in an embodiment of the present application;
[0052] Figure 8 A schematic diagram of an interface for importing fault types provided in an embodiment of the present application;
[0053] FIG9( a) is a schematic diagram of one of the redundant paths provided in an embodiment of the present application;
[0054] FIG9( b ) is a second schematic diagram of a redundant path provided in an embodiment of the present application;
[0055] FIG9( c ) is a third schematic diagram of a redundant path provided in an embodiment of the present application;
[0056] FIG9( d ) is a fourth schematic diagram of a redundant path provided in an embodiment of the present application;
[0057] FIG9( e) is a fifth schematic diagram of a redundant path provided in an embodiment of the present application;
[0058] Fig.10 A schematic diagram of an interface for selecting a fault type to take effect provided in an embodiment of the present application;
[0059] Fig.11 The third flowchart of the path processing method provided in the embodiment of the present application;
[0060] Fig.12 One of the display interface schematic diagrams of the fault simulation results provided in the embodiment of the present application;
[0061] Fig.13 The second schematic diagram of the display interface of the fault simulation result provided in the embodiment of the present application;
[0062] Fig.14 A schematic diagram of the interface for personalized configuration provided in an embodiment of the present application;
[0063] Fig.15 A fourth flowchart of the path processing method provided in an embodiment of the present application;
[0064] Fig.16 A fifth flowchart of the path processing method provided in an embodiment of the present application;
[0065] Fig.17 A schematic diagram of the functional modules of an electronic device provided in an embodiment of the present application;
[0066] Fig.18 A schematic diagram of the working principle of an electronic device provided in an embodiment of the present application;
[0067] Fig.19 A schematic diagram of the workflow of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0068] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0069] The terms "including" and "having" and any variations thereof mentioned in the description of the embodiments of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0070] In the following, the terms "first", "second", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", etc. may explicitly or implicitly include one or more of the features.
[0071] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0072] In the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" refers to two or more. The "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0073] As described in the background art, an optical network generally refers to a wide area network, a metropolitan area network or a newly built large-scale local area network that uses optical fiber as the main transmission medium. An optical network has the characteristics of high transmission speed and long transmission distance.
[0074] When establishing a service in an optical network, a working path needs to be built between the source node and the sink node. The service signal is transmitted through the working path. When the working path fails, the service cannot be carried out normally. At present, when establishing a service, a redundant path with the same source and sink is usually configured for the service, so that when the working path fails, the service can be switched to the redundant path to restore the service and ensure the operation of the service. This is explained by using the automatically switched optical network (ASON) and traditional networks such as wavelength division multiplexing (WDM) and synchronous digital hierarchy (SDH).
[0075] ASON is an optical network based on a distributed control plane and supporting dynamic switching connections defined by the International Telecommunication Union. ASON uses an independent control plane to implement automatic connection management through various transmission networks. In the ASON network, services have the ability to reroute. When a service has only one working path and the working path fails, the service can automatically calculate a new path and notify the nodes on the path to create a connection based on the device protocol capability. However, since it takes time to calculate a new path when a failure occurs, it will result in a long service recovery time. Therefore, in order to save time, the centralized management system can configure a redundant path for the service in advance and save it to the ASON service source node at the same time. When a failure occurs, the service automatically uses this redundant path and notifies the nodes on the path to create a connection, thereby saving the time to calculate a new path.
[0076] Traditional networks, such as SDH and WDM, rely on manual creation of network connections and do not have the ability to reroute services under ASON networks. When a service has only one working path and the working path fails, it needs to be manually restored. The service can only be restored after the failure of the working path is restored. In order to reduce the time required for service recovery, the centralized management system can configure redundant paths for the service in advance. The redundant paths are saved on the centralized management system. When the working path fails, the centralized management system triggers the automatic creation of redundant paths to the device to achieve the purpose of restoring the service.
[0077] Accordingly, when a service has subnetwork connection protection (SNCP), that is, the service has a working path and a protection path, the service signal is transmitted through the working path and the protection path at the same time. When the working path fails and switches to the protection path or when the protection path fails, the protection path will be lost and the protection will be degraded. In order to restore the protection level, in this solution, redundant paths corresponding to the working path and the protection path can also be configured when the service is created, so that when the working path fails or the protection path fails, the centralized management system can automatically restore the service and the protection level.
[0078] In both networks, there is a need to calculate and configure redundant paths for services in advance. The difference is that in traditional networks, redundant paths are saved by a centralized management system and automatically created to devices when a fault occurs. In ASON networks, the centralized management system saves redundant paths to ASON service source nodes, which rely on ASON protocol capabilities and automatically take effect when a fault occurs.
[0079] For ASON and traditional networks, the configuration of redundant paths is mostly done when creating services, which is a long time ago. However, since the redundant paths are configured too early, the redundant paths may become invalid during the service (such as being preempted by other services or the redundant paths fail). As a result, when the working path fails, the service cannot be successfully switched to the redundant path, causing the service to fail to operate normally. Figure 1 As shown, a redundant path for a service is configured when the service is created. Since the redundant path configuration time is too long, the redundant path becomes invalid. When a working path fails, the redundant path cannot be switched to, resulting in the inability to restore the service.
[0080] And because the redundant path is planned in advance, when a failure occurs, the redundant path is not the optimal redundant path to deal with the current failure, that is, the redundant path configured in advance cannot completely solve the current failure.
[0081] Secondly, for multiple business scenarios, if the redundant paths of multiple businesses share a section, when the working path of one business fails, the redundant path will take effect, which will cause the redundant paths of the remaining businesses to fail. If the redundant paths of multiple businesses do not share a section, too many resources will be reserved for all businesses, resulting in a waste of resources.
[0082] Thirdly, conventional technologies can only configure redundant paths for services with fixed sources and fixed destinations. For services with fixed sources and unfixed destinations, such as incoming computing services, only redundant paths from the incoming computing node to the currently connected computing center node can be calculated, and redundant paths from the incoming computing node to another computing center node cannot be calculated. Among them, the incoming computing service is a service in which the incoming computing node connects to the computing center node, transmits the signal to the computing center node for calculation and obtains the calculation result. It is a typical service with fixed sources and unfixed destinations.
[0083] In addition, for the ASON in the above-mentioned optical networks, the monitoring is done at the device protocol layer. The first node collects the monitoring of each node on the path for its own device failure or the link failure between devices. The network equipment is limited by its own capabilities and visibility range, and cannot make complex predictions. The perceived information is also less. The redundant path can only be calculated after the failure occurs, resulting in a long service recovery time. At the same time, for ASON, since it relies on the device protocol capabilities, the node devices on the path need to support the device protocol to implement path switching, which is limited in use, and the proportion of ASON networks in the existing network is relatively low.
[0084] Based on the above problems, an embodiment of the present application provides a path processing method, which monitors the current use path of the service, and when it is detected that there is a risk of failure in the use path, uses the path resources in the pre-configured redundant resource pool to allocate a redundant path to the service, and when a failure occurs in the use path, switches the service from the use path to the redundant path. In this way, compared to configuring redundant paths when the service is allocated, the embodiment of the present application calculates and configures redundant paths only when it is predicted that a failure is about to occur, which can ensure the effectiveness of the redundant path, and when a failure occurs in the use path, successfully switches the service from the use path to the redundant path, avoiding the problem of redundant path failure when a failure occurs. At the same time, by calculating and configuring redundant paths only when it is predicted that a failure is about to occur, the optimal redundant path can be configured for the failure, so that the configured redundant path can cope with the failure that occurs.
[0085] Furthermore, since the redundant resource pool includes path resources of multiple services, for one of the services, a redundant path is generated based on the path resources of the redundant resource pool, which can not only use its own path resources, but also use the path resources of other services, thereby realizing the coordinated use of path resources and reducing the waste of resources. The embodiment of the present application can achieve better service guarantee effect with fewer resources by guaranteeing multiple services through the redundant resource pool.
[0086] To facilitate understanding, an explanation of relevant terms is given first.
[0087] Node: used to represent an independent hardware entity in the network, generally a transmission network device.
[0088] Link: used to represent the connection relationship between two nodes. A link is represented by a (node-port) pair, indicating that the signal can be forwarded between the two nodes.
[0089] The path processing method provided in the embodiment of the present application can be applied to an optical network system, and the optical network in the optical network system can be ASON, SDH, WDM, etc. Figure 2 As shown, the optical network system may include multiple nodes, and any one of the multiple nodes may be a source node, a sink node, or an intermediate node. The source node refers to a node that sends a signal, the sink node refers to a node that receives a signal, and the intermediate node refers to a node that transmits a signal sent by the source node to the sink node.
[0090] In an embodiment of the present application, each node is provided with a single board for signal transmission, and a signal access port and a signal outflow port are provided on the single board. The ports between the single boards of different nodes are connected by optical fibers. When the service is in progress, the service signal can be sent out from the signal outflow port of the single board of the source node, enter the signal access port of the single board of the intermediate node through the optical fiber, and then be sent out from the signal outflow port of the single board of the intermediate node, and enter the signal access port of the single board of the host node through the optical fiber. In this way, the host node can receive the service signal sent by the source node. Among them, the service path refers to the ordered optical fiber segment that the service signal passes through from the single board of the source node to the single board of the host node, including the intermediate nodes, ports, etc. passed through. In an embodiment of the present application, the optical network system may also include a network management device, which is used to predict faults in the path of signal transmission and generate redundant paths based on the fault prediction results.
[0091] See also Figure 3 In an embodiment of the present application, the network management device 100 may include a processor 111, a memory 112, a communication interface 113, a display screen 114, and the like.
[0092] The communication interface 113 is used to communicate with other electronic devices. For example, the communication interface 113 can be used to communicate with each node.
[0093] The processor 111 may be a central processing unit (CPU) or other specific integrated circuits. The processor 111 may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. In practical applications, the network management device 100 may also include multiple processors. The processor 111 may include one or more processor cores. An operating system and other software programs are installed in the processor 111, so that the processor 111 can access the memory 112 and various peripheral device interconnection devices.
[0094] The processor 111 is connected to the memory 112 via a double data rate (DDR) bus or other types of buses. The memory 112 is usually used to store various running software in the operating system, received input data, and output data to be sent. In order to improve the access speed of the processor 111, the memory 112 needs to have the advantage of fast access speed. In traditional computer devices, dynamic random access memory (DRAM) is usually used as the memory 112. In addition to DRAM, the memory 112 can also be other random access memories, such as static random access memory (SRAM). In addition, the memory 112 can also be a read-only memory (ROM). As for the read-only memory, for example, it can be a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), etc. This embodiment does not limit the number and type of the memory 112.
[0095] In the embodiment of the present application, the display screen 114 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light emitting diode (QLED), etc. In some embodiments, the network management device may include 1 or N display screens 114, where N is a positive integer greater than 1.
[0096] In the embodiment of the present application, the network management device 100 may also display the fault prediction results and path calculation results, etc. to the user through the display screen 114. The network management device 100 may also provide an interactive interface to the user through the display screen 114, so that the user can input information to the network management device 100 through the interactive interface.
[0097] It is understandable that this application Figure 4 The structure shown does not constitute a specific limitation on the network management device. In other embodiments of the present application, the network management device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components may be implemented in hardware, software, or a combination of software and hardware. For example, the network management device in the embodiment of the present application may also include a charging management module, a power management module, a sensor module, an audio module, and the like. For the specific working principles and functions of these modules, reference may be made to the introduction in conventional technology.
[0098] In the embodiment of the present application, the network management device 100 may be a personal computer, a server, a tablet computer, etc. The present embodiment does not impose any restrictions on the specific type of the network management device.
[0099] based on Figure 2 and Figure 3According to the system architecture shown, the network management device provided by the embodiment of the present application can perform the following process: according to the path operation information of the service, the fault prediction of the current service path is performed to obtain the fault prediction result of the service, and when the fault prediction result indicates that there is a risk of failure in the service path, the path resources in the pre-configured redundant resource pool are used to allocate redundant paths to the service, and when the service path fails, the service is switched from the service path to the redundant path. In this way, compared with configuring redundant paths when the service is allocated, the embodiment of the present application calculates and configures redundant paths only when it is predicted that a failure is about to occur, which can ensure the effectiveness of the redundant paths and avoid the problem of redundant paths failing when a failure occurs.
[0100] In order to better illustrate the technical solution of this application, based on Figures 2 to 3 The architecture shown in the figure, the embodiment of the present application provides a path processing method, the path processing method provided by the embodiment of the present application is applied to the optical network system and is executed by the network management device 100 in the optical network system. Figure 4 As shown, Figure 4 This is a flow chart of a path processing method provided in an embodiment of the present application. The path processing method provided in an embodiment of the present application may include the following steps.
[0101] S201: Create a redundant resource pool for a service set.
[0102] Exemplarily, a service interface may be displayed to the user, on which multiple services are displayed. The user may select the services that need to be guaranteed to operate on the service binding interface. The network management device responds to the user's operation and places the services selected by the user into the initial service set, thereby obtaining the service set that needs to be guaranteed to operate.
[0103] The initial service set may be an empty set, that is, the initial service set does not contain any service that needs to be guaranteed to run, or the initial service set may contain any service that needs to be guaranteed to run, and there is no specific limitation.
[0104] For example, Figure 5 As shown, the user selects service a, service b, and service c, and the network management device can respond to the user's selection operation and put service a, service b, and service c into the initial service set A to obtain service set A.
[0105] In some embodiments, the network management device can put services with the same source node and sink node into a service set. In some embodiments, the network management device can also put services with the same service conditions into a service set according to the service conditions input by the user, where the service conditions can include one or more of the following conditions: services under the same project, services that perform a certain type of work, and services with the top M service importance, where M is a positive integer. It can be understood that the establishment of a service set can be set according to actual needs, and this application does not make specific restrictions.
[0106] After obtaining the service set, a redundant resource pool can be created for the service set to ensure the operation of each service in the service set through the redundant resource pool. It can be understood that the redundant resource pool is empty at this time, that is, there is no path resource in the redundant resource pool.
[0107] S202: Determine the minimum path resources required for each service in the service set.
[0108] Among them, path resources refer to the path resources when the service signal of the service is transmitted from the source node to the sink node, including resources such as nodes, boards, ports, time slots, and wavelengths.
[0109] In an embodiment of the present application, the minimum path resources required for a service may refer to the minimum path resources required to generate a redundant path set for the service. For a service with a fixed source and a fixed destination, that is, a service with a fixed source node and a fixed destination node, the redundant path set of the service includes at least one redundant path with the same source and destination as the original path of the service. For a service with a fixed source and an unfixed destination, that is, a service with a fixed source node and a variable destination node, the redundant path set of the service includes at least one redundant path with the same source and a different destination as the original path of the service.
[0110] The original path of the service refers to the path configured for the service when the service is created, that is, the working path of the service. For a service configured with a protection path when it is created, the original path of the service includes the protection path and the working path of the service.
[0111] It can be understood that when a service with a fixed source and a fixed destination has only a working path, the redundant path set of the service includes at least one redundant path with the same source and destination as the working path, and when a service with a fixed source and an unfixed destination has only a working path, the redundant path set of the service includes at least one redundant path with the same source and destination as the working path but with a different destination. When a service with a fixed source and a fixed destination includes a working path and a protection path, the redundant path set of the service may include at least one redundant path with the same source and destination as the service's working path, or the redundant path set of the service may also include at least one redundant path with the same source and destination as the service's protection path, or the redundant path set of the service may also include at least one redundant path with the same source and destination as the service's working path and one redundant path with the same source and destination as the service's protection path.
[0112] Accordingly, when a service with a fixed source but no fixed destination has only a working path, the redundant path set of the service includes at least one redundant path with the same source as the working path but a different destination; when the service with a fixed source and a fixed destination includes a working path and a protection path, the redundant path set of the service may include at least one redundant path with the same source as the working path of the service but a different destination, or the redundant path set of the service may also include at least one redundant path with the same source as the protection path of the service but a different destination, or the redundant path set of the service may also include at least one redundant path with the same source as the working path of the service but a different destination and one redundant path with the same source as the protection path of the service but a different destination.
[0113] Among them, when determining the redundant path of the service, the redundant path of the service can be calculated from all the path resources in the entire network based on the graph algorithm. After the redundant path of the service is calculated, the path resources on the redundant path are the path resources required by the service. In an embodiment of the present application, when determining the redundant path set of each service in the service set, the redundant paths of multiple services can pass through the same path resource.
[0114] S203: The minimum path resources required by each service in the service set are allocated to a redundant resource pool.
[0115] Among them, after obtaining the minimum path resources required for each service in the service concentration, the minimum path resources required for each service in the service concentration can be allocated to the redundant resource pool from all the path resources in the entire network. In this way, the redundant resource pool can include the minimum path resources required for multiple services, and the minimum path resources required for multiple services include at least the path resources of one redundant path corresponding to each service. It can be understood that multiple services are all services in the service concentration.
[0116] In order to further ensure the normal operation of the service, in the embodiment of the present application, the minimum path resources required by the multiple services included in the redundant resource pool may also meet the following conditions.
[0117] (1) Based on the path resources in the redundant resource pool, each service can be allocated at least K redundant paths that do not overlap with the original path of the service.
[0118] (2) Each path resource can be used simultaneously by redundant paths of at most N services.
[0119] Among them, K and N are positive integers and can be set according to requirements.
[0120] Taking K as 2 and N as 10 as an example, the path resources in the redundant resource pool need to satisfy the requirement that at least two redundant paths that do not overlap with the used path can be allocated to each service, and each path resource can be passed by the redundant paths of at most 10 services at the same time.
[0121] In the embodiment of the present application, when determining the minimum path resources required for each service in the service set, the original path of each service in the service set can be segmented to obtain segmented paths, and the redundant sections of the service can be calculated based on the segmented paths. For each redundant section of the segmented path, the shared quantity corresponding to the redundant section is determined, wherein the shared quantity refers to the number of redundant paths of the service passing through the redundant section.
[0122] After obtaining the shared number of each redundant segment, the target redundant segment with a shared number less than or equal to N is obtained. After obtaining the target redundant segment corresponding to each segmented path, the target redundant segment corresponding to each segmented path can be spliced, so that the redundant path of the business can be obtained.
[0123] For example, after segmenting the original path a of service A, segmented paths a1 and a2 are obtained. For segmented path a1, redundant segments b1, b2, and b3 are calculated from all path resources in the entire network by means of a graph algorithm. Assume that the number of shared redundant segments b1 is x1, that is, the redundant paths of x1 services pass through the redundant segment b1, the number of shared redundant segments b2 is x2, that is, the redundant paths of x2 services pass through the redundant segment b2, and the number of shared redundant segments b3 is x3, that is, the redundant paths of x3 services pass through the redundant segment b3. Assuming that x3 is greater than N, x2 is equal to N, and x1 is less than N, the redundant segments b1 and b2 can be used as target redundant segments corresponding to segmented path a1.
[0124] Correspondingly, for the segmented path a2, the target redundant section can also be obtained in a corresponding manner. Assuming that the target redundant section corresponding to the segmented path a2 is c1, after splicing the target redundant sections corresponding to the segmented paths a1 and a2, the redundant paths of service A can be obtained as redundant paths b1-c1 and b2-c1.
[0125] It should be noted that, for each redundant segment of the segmented path, after obtaining the target redundant segment with a service quantity less than or equal to N, the number of services shared by other redundant segments with a service quantity greater than N will be reduced accordingly. For example, for redundant segments b1, b2, and b3, when redundant segments b1 and b2 are used as the target redundant segments corresponding to segmented path a1, the number of shared services of redundant segment b3 will be changed to x3-1.
[0126] After obtaining the redundant paths of the service, check whether the redundant paths of the service are greater than K. If so, the path resources on the redundant paths of the service can be allocated to the redundant resource pool. In this way, each path resource in the redundant resource pool can be used simultaneously by the redundant paths of at most N services. At the same time, based on the path resources in the redundant resource pool, each service can also generate at least K redundant paths that do not overlap with the service's used paths.
[0127] In addition, the embodiment of the present application limits the number of shared redundant road sections, which can, on the one hand, avoid excessive use of road sections by businesses, leading to business congestion, and on the other hand, increase the probability of sharing road sections between businesses, so that fewer resources can be reserved in the redundant resource pool, reducing resource waste and achieving better business assurance effects with fewer resources.
[0128] In an embodiment of the present application, when the number of shared redundant road sections is greater than N, and / or the number of redundant paths generated based on the target redundant road sections is less than K, an alarm can be sent to the network operation and maintenance end to instruct the network operation and maintenance personnel to perform capacity expansion.
[0129] In some embodiments, considering the limited nature of resources, when the path resources in the redundant resource pool cannot satisfy the requirement that each service can be allocated at least K redundant paths that do not overlap with the service's usage path, an alarm can be sent to the network operation and maintenance end to instruct the network operation and maintenance personnel to perform capacity expansion. At the same time, the requirements can be lowered so that the path resources in the redundant resource pool can satisfy the requirement that each service can be allocated at least K redundant paths that do not completely overlap with the service's usage path, that is, the redundant path can partially overlap with the usage path. It can be understood that after the network operation and maintenance personnel expand the capacity, the path resources in the redundant resource pool can satisfy the requirement that each service can be allocated at least K redundant paths that do not overlap with the service's usage path.
[0130] In order to ensure the operation of the service, in some embodiments, the path resources in the redundant resource pool may also meet the following conditions:
[0131] Based on the path resources in the redundant resource pool, each node on the original path of each service has at least one redundant path passing through it.
[0132] In this way, a redundant path is set on each node of the original path, which can ensure that when the original path of the service fails, the path resources in the redundant resource pool can generate a redundant path, further ensuring the normal operation of the service.
[0133] In the embodiment of the present application, each path resource in the redundant resource pool is used by the redundant paths of at most N services at the same time, and based on the path resources in the redundant resource pool, each service generates at least K redundant paths that do not overlap with the original path of the service, and at the same time, each node on the original path of each service is passed by at least one redundant path. In this way, when the original path of the service fails, it can be ensured that the path resources in the redundant resource pool can generate redundant paths, further ensuring the normal operation of the service, while reducing the waste of resources, so that the redundant resource pool can achieve better service guarantee effects with fewer resources.
[0134] In order to ensure the operation of services with fixed sources and unfixed destinations, in an embodiment of the present application, when the multiple services in the service set also include services with fixed source nodes and unfixed destination nodes, the redundant resource pool also includes path resources from the source node to the candidate destination nodes.
[0135] Take the calculated business as an example. For the calculated business, its source node is fixed, that is, the calculated node is fixed, while the destination node may not be fixed, that is, the computing center may not be fixed. Therefore, for the calculated business, the redundant path from the source node to other candidate computing centers can be calculated, and then the path resources on the redundant path from the source node to other candidate computing centers can be included in the redundant resources. In this way, when the computing center of the calculated business is unavailable, the calculated business can also be switched to other candidate computing centers based on the redundant resource pool, so as to achieve the guarantee of the calculated business. In addition, for the business with a fixed source node and an unfixed destination node, the redundant resource pool can also include the path resources of the redundant path from the source node to the destination node. In this way, when any section on the original path fails, the business can be switched to the redundant path to ensure the operation of the business.
[0136] The embodiments of the present application provide redundant paths with the same source but different destinations for services with fixed sources but unfixed destinations. When the destination node is unavailable, the operation of the service can also be guaranteed. At the same time, when any segment on the path fails, the operation of the service can also be guaranteed.
[0137] After the redundant resource pool corresponding to the service set is constructed, the path resources in the redundant resource pool can be used to ensure the operation of the services in the service set.
[0138] It should be noted that for each path resource in the redundant resource pool, although the path resource is added when pre-calculating redundant paths for one or several services, it is not stipulated that the path resource must only be used when these services calculate redundant paths. When other services are calculating redundant paths, they can also use the path resource. In this way, the redundant protection capability can be greatly improved, and the coordinated use of path resources can be achieved, reducing resource waste.
[0139] Please refer to Figure 6 In the embodiment of the present application, the process of using the path resources in the redundant resource pool to ensure the operation of the services in the service set may include steps S301 to S303:
[0140] S301: According to the path operation information of the service, a fault prediction is performed on the current use path of the service to obtain a fault prediction result of the service.
[0141] The service may be any service in the service set.
[0142] The path currently used by the service refers to the path that the service signal is actually transmitted on. When the service signal is transmitted through the working path, the working path is the path currently used by the service. For services with protection paths, when the protection path takes effect and the service signal is transmitted through the protection path and the working path at the same time, the paths currently used by the service are the working path and the protection path. When the service signal is transmitted through a redundant path, the redundant path is the path currently used by the service.
[0143] The path operation information may include equipment usage information, service alarm information, construction plan, construction inspection information, performance monitoring information and other information.
[0144] Among them, the equipment usage information refers to the aging information of components such as optical fibers and splitters. The equipment usage information includes the usage time, insertion loss and other information of the components.
[0145] In some embodiments, the network management device can read the usage time, insertion loss and other information of each device on each node in real time or according to a preset period, and obtain the device usage information of the path currently used by the service based on the usage time, insertion loss and other information of each device on each node.
[0146] In some embodiments, each node may also actively upload information such as the usage time and insertion loss of each device on the node to the network management device in real time or according to a preset period, without specific restrictions.
[0147] The service alarm information may include signal degradation (signal degrade, SD) alarm, signal failure (signal fail, SF) alarm, signal loss (loss of signal, LOS) alarm, port shutdown alarm (port DOWN alarm) and other alarm information.
[0148] In some embodiments, when each node generates alarm information, each node can upload the alarm information to the network management device, so that based on the alarm information uploaded by each node, the business alarm information of the current business operation can be obtained.
[0149] In some embodiments, the network management device may also monitor the alarms of each node to obtain the alarm information of each node.
[0150] The construction plan refers to the construction plan of the links in the optical network system, which includes information such as construction time, construction location, and construction equipment. Since the equipment under construction will be suspended during the construction process, the failure time (construction time) of each node in the optical network system can be obtained based on the construction plan, and then the service path can be switched during the failure time to avoid service interruption.
[0151] In some embodiments, the construction plan may also be imported into the network management device by the user.
[0152] In some embodiments, the construction plan may also be imported into the node by the user, and the network management device reads the construction plan of each node, or the construction plan may be uploaded by the node device to the network management device.
[0153] The construction detection information refers to the detection information obtained by detecting the operation of the node equipment, including information such as periodic oscillation of the signal and link disconnection.
[0154] In some embodiments, during operation, the network management device can read operating information such as signal frequency, reflected signal, optical power, etc. from the node in real time, and then periodically analyze and process the operating information to obtain detection information such as signal periodic oscillation and link disconnection.
[0155] In some embodiments, each node may also perform periodic analysis and processing on the operation information to obtain detection information such as periodic oscillation of the signal and link disconnection, and then upload the detection information to the network management device.
[0156] After obtaining the detection information of each node, the network management device can obtain the construction detection information of the path currently used by the service based on the detection information of each node.
[0157] The performance monitoring information may include performance information such as optical power and bit error rate. In some embodiments, the network management device may perform performance analysis on the operation information on each node to obtain performance monitoring information of the path currently used by the service. In some embodiments, each node may also perform performance analysis on the operation information to obtain performance information of each node, and then upload the performance information to the network management device.
[0158] In an embodiment of the present application, for the calculated business, the path operation information may include alarm information, event information, load information, and efficiency degradation information of the computing power center.
[0159] Among them, the alarm information of the computing center may include the unavailability alarm of the computing center equipment, such as the equipment DOWN alarm, link DOWN alarm, signal loss alarm, etc. Event information may include event information such as congestion events and flash events. Load information refers to the current load situation of the computing center equipment. Efficiency degradation information can be calculated based on the time used by the computing center equipment for data calculation. The longer the computing center equipment is used, the lower the efficiency of the computing power equipment is. The shorter the computing center equipment is used, the higher the efficiency of the computing power equipment is.
[0160] In some embodiments, the computing power center can perform load monitoring, efficiency monitoring, event monitoring, and alarm monitoring on its own equipment to obtain load information, efficiency degradation information, event information, and alarm information, and then upload the load information, efficiency degradation information, event information, and alarm information to the network management device.
[0161] In some embodiments, the network management device may also perform load monitoring, efficiency monitoring, event monitoring, and alarm monitoring on the computing center equipment to obtain load information, efficiency degradation information, event information, and alarm information.
[0162] After obtaining the path operation information of the path currently used by the service, a fault prediction can be performed on the path currently used by the service according to the path operation information to obtain a fault prediction result of the service.
[0163] In an embodiment of the present application, a fault prediction can be performed on the current usage path of the service based on a fault prediction model. The fault prediction model can be obtained by training a neural network using a supervised or unsupervised training method, wherein the neural network can be a long short-term memory network (long short-term memory, LSTM), a multi-layer perceptron (multi-layer perceptron, MLP), a multi-layer feedforward neural network, a self-organizing neural network, etc., without specific restrictions, and can be set according to actual needs.
[0164] Exemplarily, after obtaining the path operation information of the path currently used by the service, the path operation information can be input into the fault prediction model, and the path operation information can be analyzed and processed by the fault prediction model to predict the path fault of the used path and obtain the fault prediction result of the service.
[0165] In an embodiment of the present application, the fault prediction result is used to characterize whether there is a fault risk in the use path. When the fault prediction result characterizes that there is a fault risk in the use path, it means that the use path may fail soon. When the fault prediction result characterizes that there is no fault risk in the use path, it means that the use path is used normally and there is no fault risk.
[0166] In an embodiment of the present application, the fault prediction result may include a probability value of a fault. When the probability value of a fault is greater than a set threshold, it indicates that there is a risk of failure in using the path. When the probability value of a fault is not greater than the set threshold, it indicates that there is no risk of failure in using the path.
[0167] S302: When the fault prediction result indicates that the used path has a fault risk, a redundant path is allocated to the service using path resources in a pre-configured redundant resource pool.
[0168] In order to ensure the normal operation of the business, in an embodiment of the present application, when the fault prediction result indicates that there is a risk of failure in the used path, the path resources in the redundant resource pool can be used to allocate redundant paths to the business based on the graph algorithm.
[0169] It can be understood that for services with a fixed source and a fixed destination, the path resources of the redundant resource pool can be used to allocate a redundant path from the source node to the destination node. For services with a fixed source but no fixed destination, when there is a risk of failure in the destination node, the path resources of the redundant resource pool can be used to allocate a redundant path from the source node to the candidate destination node. When there is a risk of failure in the used path (the section other than the destination node), the path resources of the redundant resource pool can be used to allocate a redundant path from the source node to the destination node.
[0170] S303: configure a redundant path for the service, and when a fault occurs on the active path, switch the service from the active path to the redundant path.
[0171] In the embodiment of the present application, after obtaining the redundant path of the service, the redundant path can be configured for the service, so that when the service's use path fails, the service can be switched from the use path to the redundant path, so that the service can operate normally based on the redundant path. It can be understood that when the service is switched to the redundant path, the redundant path is the current use path of the service.
[0172] In some embodiments, when configuring redundant paths for services, for each service, if the source node corresponding to the service has the function of automatically switching paths, the redundant path can be configured to the source node of the service, so that when the service's use path fails, the source node can automatically switch the service from the use path to the redundant path. If the source node corresponding to the service does not have the function of automatically switching paths, the redundant path of the service can be saved, and when the service's use path fails, the service can be automatically switched from the use path to the redundant path.
[0173] The embodiment of the present application predicts a fault on the path currently used by the service. When the fault prediction result indicates that there is a risk of failure in the path used and a failure is about to occur, a redundant path for the service is allocated according to the path resources in the redundant resource pool, and then the redundant path is configured for the service. In this way, the validity of the redundant path can be guaranteed. When a failure occurs in the path used, the service is successfully switched from the path used to the redundant path, avoiding the problem of redundant path failure when a failure occurs.
[0174] like Figure 7 As shown, in conventional technology, redundant paths are configured for services when services are created, and the redundant path configuration time is long, resulting in the redundant path being invalid when a fault actually occurs. However, in the embodiment of the present application, by predicting the fault of the service use path, a redundant path is allocated and configured when it is predicted that the use path is about to fail. In this way, the redundant path configuration time is short, and when a fault occurs in the use path, the redundant path can take effect normally, thereby ensuring the normal operation of the service.
[0175] In addition, the embodiment of the present application uses a redundant resource pool to ensure the operation of a service set, rather than using a redundant path to ensure a service. In this way, for the guaranteed services, redundant paths can be obtained based on the redundant resource pool, further ensuring the operation of the services.
[0176] In order to cope with different fault problems and further ensure the operation of the business, in an embodiment of the present application, the fault types that need to be dealt with can be pre-configured to provide protection against multiple fault types.
[0177] like Figure 8 As shown, the network management device can provide the user with a fault type import interface, which includes a fault type configuration button, and the user can import the fault type that needs to be monitored and dealt with by operating the button.
[0178] In some embodiments, the network management device may also receive information on the types of faults that need to be addressed from other devices, without specific limitation.
[0179] In the embodiment of the present application, the imported fault type includes basic information of the fault type (such as name, number, etc.) and fault basis information corresponding to each fault type.
[0180] Among them, the fault types may include service interruption, service work path degradation, service protection degradation, frequent service interruptions, unavailability of the host computing center, and other fault types.
[0181] The fault basis information is used to indicate the information required to predict the fault risk. It is understandable that different fault types may have different corresponding fault basis information, so that for each fault type, more accurate information can be obtained based on the fault basis information, thereby improving the prediction accuracy of each fault type.
[0182] Exemplarily, as shown in Table 1, Table 1 describes the information that needs to be collected corresponding to each fault type.
[0183] Table 1
[0184]
[0185]
[0186] In the embodiment of the present application, after the fault type is imported, each fault type can be monitored to predict the fault risk of each service with each fault type.
[0187] Exemplarily, the path operation information of the service can be filtered according to the preconfigured fault basis information to obtain the target path operation information, and then the fault prediction of the current service usage path can be performed according to the target path operation information to obtain the fault prediction result of the service.
[0188] Among them, the pre-configured fault basis information refers to the fault basis information included in each fault type. Therefore, according to the fault basis information, the path operation information of the business is filtered to obtain the path operation information for predicting the failure risk of each fault type, that is, the target path operation information includes information for predicting the failure risk of each fault type.
[0189] After obtaining the target path operation information, the target path operation information can be input into the fault prediction model. The fault prediction model can perform fault prediction based on the target path operation information to obtain the probability value of each fault type, and obtain the fault prediction result based on the probability value of each fault type.
[0190] In some embodiments, after obtaining the probability value of each fault type, the probability value of each fault type is compared with a set threshold to obtain a fault prediction result, wherein the fault prediction result includes the fault type whose probability value is greater than the set threshold and the corresponding probability value.
[0191] In some embodiments, the fault prediction result may also only include the maximum probability value and the fault type corresponding to the maximum probability value, wherein the maximum probability value is greater than a set threshold.
[0192] It can be understood that for each fault type, when the probability value of the fault type is greater than the set threshold, it means that there is a fault risk of the fault type and the fault of the fault type may occur. In order to improve the accuracy of fault prediction, in the embodiment of the present application, the prediction basis information of each fault type may also include a prediction rule for predicting the fault type, and path fault prediction is performed based on the prediction rule. Therefore, in the embodiment of the present application, according to the target path operation information, the fault prediction of the current use path of the service is performed to obtain the fault prediction result of the service, including:
[0193] According to the prediction rules and the target path operation information, the path fault prediction is performed on the current service usage path to obtain the service fault prediction result.
[0194] Among them, when predicting the path failure of the current service path according to the prediction rules and the target path operation information, for each fault type, it can be detected whether the target path operation information matches the prediction rule of the fault type. If it matches, it means that there is a fault risk of the fault type. Correspondingly, if it does not match, it means that there is no fault risk of the fault type.
[0195] For example, for the fault type of business interruption, its prediction rules include whether the equipment usage information is greater than the usage index threshold, whether the alarm type in the business alarm information is in the set alarm list, whether the construction detection information is greater than the detection threshold, whether the performance monitoring information is greater than the performance threshold, whether there is a construction plan, etc. When the equipment usage information in the target path operation information is greater than the usage threshold, the alarm type in the business alarm information is in the set alarm list, the construction detection information is greater than the detection threshold, the performance monitoring information is greater than the performance threshold and / or there is a construction plan, it can be determined that there is a fault risk of this fault type. If none of them meet the requirements, it can be determined that there is no fault risk of this fault type.
[0196] It is understandable that different fault types have different prediction rules. For example, for different fault types, the corresponding usage index thresholds, alarm lists, detection predictions, performance thresholds, etc. are all different. For another example, for different fault types, it is also possible to detect whether the number of alarms corresponding to the fault type exceeds L times (L is a positive integer). When it exceeds L times, it is determined that there is a fault risk of the fault type.
[0197] In an embodiment of the present application, for each service, if it is predicted that the usage path of the service has the risk of multiple fault types, the fault type with the highest priority among the multiple fault types may be used as the basis to obtain the fault prediction result.
[0198] For example, for a certain service, if there are both service interruption and service protection degradation failure risks, where the priority of service interruption is higher than the priority of service protection degradation, the failure risk of service interruption can be used as the basis to obtain a failure prediction result with the failure risk of service interruption.
[0199] It should be noted that when there are multiple fault types with the highest priority at the same time, a fault prediction result with multiple fault types with the highest priority can be obtained. For example, for a certain business, if there are fault risks of type A and type B, where type A and type B have the same priority, a fault prediction result with fault risks of type A and type B can be obtained.
[0200] It should be noted that the priorities of various fault types can be set according to business requirements, and the embodiments of the present application do not impose specific limitations.
[0201] In some embodiments, in order to facilitate the handling of fault problems, the fault prediction result also includes the road section information where the fault risk is located. Exemplarily, taking the prediction rule for path fault prediction as an example, the target path operation information includes the information of each node. When the path fault prediction is performed based on the prediction rule, the risk node with the fault risk can be obtained, and then the road section where the risk node is located is determined as the road section where the fault risk is located, thereby obtaining the road section information where the fault risk is located. Accordingly, for the fault prediction model, the fault prediction model can be trained to output the road section information where the fault risk is located.
[0202] In some embodiments, path fault prediction can also be performed on the service usage path according to both the prediction rule and the fault prediction model. When the fault prediction result obtained according to the prediction rule is different from the fault prediction result obtained by the fault prediction model, the fault prediction result obtained according to the prediction rule shall prevail.
[0203] In order to deal with the failure risks of different failure types, in the embodiment of the present application, a corresponding processing strategy can also be configured for each failure type.
[0204] The processing strategy refers to the processing measures that can be taken when there is a risk of failure. It can be understood that different types of failures may have different corresponding processing strategies. In this way, different processing strategies are used to deal with different types of failures, thereby improving the security of business operations.
[0205] Exemplarily, as shown in Table 2, Table 2 describes the processing strategy corresponding to each fault type.
[0206] Table 2
[0207]
[0208] In the embodiment of the present application, after configuring a processing strategy for each fault type, when the fault prediction result indicates that there is a fault risk in the use path, the fault risk can be processed according to the processing strategy of the fault type corresponding to the fault risk. Wherein, when the fault prediction result indicates that there is a fault risk in the use path, the fault prediction result includes the fault type corresponding to the fault risk.
[0209] In detail, according to the processing strategy corresponding to the fault type, redundant paths are allocated to the service using path resources in the redundant resource pool.
[0210] Exemplarily, as shown in FIG9( a ), when the fault prediction result indicates that the currently used path has a fault risk of service interruption, the path resources of the redundant resource pool can be used to calculate a redundant path and configure the redundant path for the currently used path.
[0211] As shown in Figure 9(b), when the currently used path includes a working path and a protection path, when the fault prediction result indicates that there is a fault risk of degradation of the business working path, such as when the degraded section of the working path is in section A, the path resources of the redundant resource pool can be used to calculate a redundant path and configure the redundant path for the current working path.
[0212] As shown in Figure 9(c), when the currently used path includes a working path and a protection path, when the fault prediction result indicates that there is a fault risk of service protection degradation, such as when it is predicted that the faulty section of the protection path is in section A, the path resources of the redundant resource pool can be used to calculate a redundant path and configure a redundant path for the current protection path.
[0213] As shown in FIG9( d ), when the fault prediction result indicates that there is a risk of frequent service interruptions, the path resources in the redundant resource pool can be used to calculate a redundant path and configure the redundant path for the currently used path.
[0214] As shown in Figure 9(e), when the fault prediction result indicates that there is a risk of failure that the host computing center is unavailable, the path resources of the redundant resource pool can be used to calculate a redundant path to another candidate computing center and configure a redundant path for the currently used path.
[0215] In the embodiment of the present application, by configuring a processing strategy for each fault type, when a fault risk exists, the fault risk can be processed according to the processing strategy, thereby being able to cope with different faults, further ensuring the operation of the business.
[0216] Considering that protection of all fault types is effective for each service, predicting whether there is a fault risk of each fault type for each service will consume more resources. In some embodiments, protection of different fault types can be effective for different services. For services with higher importance, protection of more fault types can be effective, and for services with lower importance, protection of fewer fault types can be effective.
[0217] For example, the network management device may provide a fault type selection interface to the user, which may display all currently imported fault types and each service in the service set. When configuring a fault type to be effective for a service, the user may select the service and the fault type to be effective for the service, such as Fig.10 As shown, the user selects service a, fault type A, and fault type B, and the network management device can respond to the user's operation and take effect on the protection of fault type A and fault type B for service a.
[0218] In this way, when predicting a fault on the usage path of service a, the path operation information of service a can be filtered based on the fault basis information included in fault type A and fault type B to obtain the target path operation information for predicting fault type A and fault type B. The target path operation information is then input into the fault prediction model to predict whether there is a fault risk of fault type A or fault type B.
[0219] The embodiment of the present application can take effect on more fault types for services with higher importance by taking effect on different fault scenarios for different services, so as to ensure the normal operation of important services, while reducing the consumption of resources such as CPU and memory.
[0220] In order to facilitate the user to select the fault type that is effective for the service, in the embodiment of the present application, a service drill function can also be provided to the user. Please refer to Fig.11 The path processing method provided in the embodiment of the present application may further include S401 to S404:
[0221] S401: In response to a fault simulation operation, a target fault type for fault simulation and a target location of a path currently used by a service are obtained.
[0222] Among them, the network management device can provide a simulation interface to the user, which includes the fault type and the current usage path of the service. The user can select the fault type to be simulated on the simulation interface and the location of the fault to be simulated on the current usage path of the service. The network management device responds to the user's operation and obtains the target location of the service usage path and the target fault type of the service.
[0223] In some embodiments, the network management device may also obtain the target location of the service usage path and the target fault type of the service by receiving a fault simulation instruction sent by other devices, wherein the fault simulation instruction includes the target location of the service usage path and the target fault type of the service.
[0224] S402: Perform fault simulation according to the target position and the target fault type to obtain a fault simulation result.
[0225] Among them, fault simulation according to the target location and the target fault type refers to the process of simulating the failure risk of the target fault type at the target location, allocating redundant paths by using the path resources in the redundant resource pool based on the processing strategy corresponding to the target fault type, and then switching the service to the redundant path after a failure occurs at the target location.
[0226] For example, position A on the path is used as the target position, and the target fault type is service interruption. When performing fault simulation, the risk of service interruption can be created at position A. Then, according to the processing strategy corresponding to the service interruption, the path resources in the redundant resource pool are used to allocate redundant paths. After the redundant paths are allocated, service interruption occurs at position A, and then the service is switched to the redundant path.
[0227] In the embodiment of the present application, the fault simulation result includes data generated during the entire simulation process, such as the allocated redundant paths and the business switching to the redundant paths, business operation data, etc.
[0228] S403: Display the fault simulation result to the user.
[0229] In some embodiments, the fault simulation results can be displayed to the user through the result display interface for easy viewing by the user. For example, when the user needs to view the fault simulation results, the user can click on the fault simulation results in the result display interface, and the network management device responds to the user's operation and displays the specific information of the fault simulation results to the user.
[0230] In some embodiments, in order to facilitate users to understand the fault simulation situation and the historical guarantee situation of the service, the timeline can also be displayed to the user. Fig.12 As shown, the current time point is used as the dividing line. The left side of the dividing line shows the service assurance status triggered by the faults that have occurred, and the right side of the dividing line shows the fault simulation results of different fault types. Fig.12 At time point A, the service is created. At time point B, it is predicted that the service may be interrupted. A redundant path is generated at time point B. At time point C, the service is interrupted. The redundant path generated is automatically restored to ensure the normal operation of the service. Fig.12 The right side of the middle dividing line shows the fault simulation results of the computing center being unavailable, the fault simulation results of business interruption, and the fault simulation results of the business usage path degradation.
[0231] When the user needs to know the fault simulation results of business interruption, he / she can click on the fault simulation results of business interruption, and the network management device can respond to the user's operation and show the user the fault simulation situation of business interruption. When the user needs to know the fault that occurred at a certain time point in history, he / she can click on the fault at the corresponding time point, and the network management device can respond to the user's operation and show the user the fault situation at the corresponding time point.
[0232] In this way, by showing users fault simulation situations and historical service assurance situations through a timeline, users can obtain fault information more intuitively and have control over service assurance situations.
[0233] S404: In response to the user indicating that the target fault type is effective, during the service operation, predicting whether the current service usage path has a fault risk of the target fault type.
[0234] Among them, after showing the fault simulation results to the user, the user can also be provided with a configuration function to determine whether the target fault type is effective, such as Fig.13 As shown, each fault simulation result is configured with a button for taking effect and aborting. Based on the button for taking effect and aborting, it is selected whether to take effect on the target fault type.
[0235] It is understandable that after the user views the fault simulation results, he / she chooses to take effect on the target fault type, that is, he / she presses the effect button on the operation interface, and the network management device responds to the user's effect operation and takes effect on the target fault type for the service, that is, sets the target fault type to the fault type that the service needs to monitor. It is understandable that after the target fault type is taken effect on the service, in the subsequent service operation guarantee process, the required path operation information can be obtained based on the fault basis information of the target fault type, and then the required path operation information can be used to predict whether the service has a fault risk of the target fault type.
[0236] After viewing the fault simulation results, the user chooses not to take effect on the target fault type, and then presses the abandon button on the operation interface. The network management device responds to the user's abandon operation and deletes the fault simulation results.
[0237] In the embodiment of the present application, a personalized configuration function may also be provided to the user, supporting the user to adjust the processing strategy, adjust the configuration of the redundant path, and so on. Fig.14 As shown, when the user chooses to take effect on the target fault type, a personalized configuration interface can be displayed to the user. The personalized configuration interface includes a processing strategy adjustment button and a redundant path configuration adjustment button. When the user needs to adjust the processing strategy, the processing strategy adjustment button can be operated to adjust the processing strategy. The network management device responds to the user's operation and obtains the adjusted processing strategy. When the user needs to adjust the configuration of the redundant path, the redundant path configuration adjustment button can be operated to set the redundant path to automatic configuration or manual configuration. The network management device responds to the user's operation and obtains the configuration information of the redundant path.
[0238] Among them, automatic configuration means that after the redundant path is generated, the redundant path is automatically configured to the service, and manual configuration means that after the redundant path is generated, the redundant path is prompted to the user, and the user can choose whether to configure the redundant path to the service according to the prompt information.
[0239] It can be understood that after the user performs personalized configuration, during the actual operation of the business, the user's personalized configuration will take effect, and the business will be guaranteed based on the user's personalized configuration.
[0240] The embodiment of the present application provides users with a business drill function, allowing users to intuitively obtain fault simulation results for different fault types, making it easier for users to select the fault type that is effective for the business, while also allowing users to control the operation of the business.
[0241] Considering that in the actual application process, users may import new fault types, or update the fault type processing strategy, fault basis information, etc., please refer to Fig.15 In the embodiment of the present application, the path processing method may further include steps S501 to S503.
[0242] S501: In response to a fault type configuration operation, a newly added fault type and a processing strategy and prediction basis information corresponding to the newly added fault type are obtained.
[0243] When the user needs to import a new fault type, the user can operate the fault type configuration button in the import interface to import the fault type to be added, including the basic information of the fault type, the fault basis information corresponding to the fault type, and the processing strategy.
[0244] The network management device responds to the user's fault type configuration operation and obtains the newly added fault types that need to be monitored and the processing strategies and prediction basis information corresponding to the newly added fault types.
[0245] S502: If there is a historical fault type that is the same as the newly added fault type among the existing fault types, update the processing strategy and prediction basis information corresponding to the historical fault type according to the processing strategy and prediction basis information corresponding to the newly added fault type.
[0246] Among them, after obtaining the newly added fault type and the processing strategy and prediction basis information corresponding to the newly added fault type, the network management device compares the basic information of the new fault type with the basic information of the fault type that has been imported and stored. If there is a historical fault type in the fault types that have been imported and stored whose basic information is the same as the basic information of the new fault type, it means that the new fault type has been imported before, and this time it is an update processing of the fault type. Then, according to the processing strategy and prediction basis information corresponding to the new fault type, the processing strategy and prediction basis information corresponding to the historical fault type can be updated.
[0247] It can be understood that after the processing strategy and prediction basis information corresponding to the historical fault type are updated, when predicting this fault type in subsequent operation, the updated prediction basis information is used, and when the failure risk of this fault type is predicted, the updated processing strategy is used for processing.
[0248] S503: If there is no historical fault type identical to the newly added fault type in the stored fault types, the newly added fault type and the processing strategy and prediction basis information corresponding to the newly added fault type are stored.
[0249] Among them, if there is no historical fault type with the same basic information as the new fault type among the fault types that have been imported and stored, it means that the new fault type has not been imported before, and this is a new processing of the fault type, and then the new fault type, the processing strategy corresponding to the new fault type, and the prediction basis information can be stored.
[0250] It can be understood that after the newly added fault types, the processing strategies corresponding to the newly added fault types, and the prediction basis information are stored, the prediction of the new fault scenarios is added in the subsequent operation. Based on the prediction basis information of the new fault types, it is predicted whether there is a failure risk of the new fault scenario. When it is predicted that there is a failure risk of the new fault scenario, the processing strategy of the new fault scenario is used to handle it.
[0251] The embodiments of the present application can protect services according to different fault types by configuring different fault types and fault type processing strategies and prediction basis information. Different redundant paths can be configured for different fault types to further ensure the operation of services.
[0252] Taking into account that when protecting a service, multiple redundant paths may be calculated using the path resources in the redundant resource pool, in order to obtain the optimal redundant path, in an embodiment of the present application, redundant paths can also be allocated to the service using the path resources in the redundant resource pool based on the service constraints and processing strategies of the service.
[0253] Each service is configured with a service constraint condition, and the service constraint condition of each service is associated with the service identifier of the service. Each service has a unique service identifier.
[0254] In an embodiment of the present application, the service constraint conditions of the service include one or more of the following conditions: signal transmission time, bandwidth, energy consumption, and path utilization.
[0255] Exemplarily, when the fault prediction result indicates that there is a risk of failure in using the path, the initial redundant path can be calculated using the path resources in the redundant resource pool according to the processing strategy of the fault type corresponding to the fault risk, and then the business constraints can be obtained according to the business identifier of the business, and the optimal redundant path can be obtained from the initial redundant path according to the business constraints.
[0256] For example, when the service constraint is that the signal transmission time cannot be greater than a, after calculating the initial redundant path, the initial redundant path whose signal transmission time is not greater than a can be used as a candidate redundant path, and then the candidate redundant path with the shortest transmission time is selected as the optimal redundant path and configured.
[0257] For another example, when the service constraint conditions are that the path utilization cannot exceed b and the signal transmission time cannot be greater than a, after calculating the initial redundant path, the initial redundant path whose signal transmission time is not greater than a and whose path utilization cannot exceed b can be used as a candidate redundant path, and then the candidate redundant path with the lowest transmission time or the lowest path utilization is selected as the optimal redundant path and configured.
[0258] It is understandable that the above is only an example of the service constraint condition, and is not a specific limitation of the service constraint condition in the embodiment of the present application. The service constraint condition can be set according to actual needs. For example, in some embodiments, the service constraint condition can also be that the difference between the signal transmission time of the redundant path and the signal transmission time of the used path cannot exceed c, etc.
[0259] It should be noted that if none of the initial redundant paths meet the service constraint conditions, that is, the optimal redundant path cannot be obtained from the initial redundant paths according to the service constraint conditions, the initial redundant paths can be directly compared, and a configurable redundant path can be obtained from the initial redundant paths, and a path prompt can be given to the user to prompt the user that the optimal redundant path that meets the service constraint conditions has not been obtained. For example, when the service constraint condition is that the signal transmission time cannot be greater than a, after the initial redundant paths are calculated, the signal transmission time of the initial redundant paths is greater than a, the signal transmission time of the initial redundant paths can be compared, and the initial redundant path with the lowest signal transmission time can be selected for configuration, and then a path prompt can be given to the user to prompt the user that the optimal redundant path that meets the service constraint conditions has not been obtained.
[0260] It can be understood that after the optimal redundant path is obtained and configured for the service, when a failure occurs in the path used by the service, the service can be switched to the redundant path to ensure the normal operation of the service.
[0261] In some embodiments, when the fault prediction result indicates that there are multiple fault risks in the use path, for each fault type, the path resources in the redundant resource pool can be used to calculate the optimal redundant path corresponding to the fault type based on the processing strategy and business constraints of the fault type, and then the optimal redundant path corresponding to each fault type can be configured to the business. When a certain fault occurs in the use path of the business, the business can be switched to the redundant path corresponding to the fault to ensure the normal operation of the business.
[0262] In some embodiments, the limited nature of redundant resources is taken into consideration. When the fault prediction result indicates that there are multiple fault risks of the usage path, after obtaining the optimal redundant path corresponding to the fault type, the optimal redundant path corresponding to each fault type can also be matched with the road section information where the fault risk is located, and a target redundant path that can avoid multiple risk sections at the same time is selected from the optimal redundant paths corresponding to each fault type. Then, the target redundant path is configured to the business. When a certain fault occurs in the usage path of the business, the business can be switched to the target redundant path corresponding to the fault, thereby ensuring the normal operation of the business.
[0263] For example, for a certain service, if both section A and section B of the path used by the service have failure risks, a target redundant path that does not include section A and section B can be found from the optimal redundant path.
[0264] In order to improve the security of the operation of the service set, in an embodiment of the present application, the path resources of the redundant resource pool can be dynamically managed to ensure that the redundant resource pool has path resources that meet the operation of each service in the service set.
[0265] Please refer to Fig.16 After using the path resources in the pre-configured redundant resource pool to allocate redundant paths for the service, the path processing method provided in the embodiment of the present application also includes steps S601 to S603.
[0266] S601: Mark the status of the path resources included in the redundant path as occupied.
[0267] Among them, each path resource in the redundant resource pool has a status mark for indicating whether the path resource is occupied. When the path resource in the redundant resource pool is occupied, the status mark of the path resource is occupied; when the path resource in the redundant resource pool is not occupied, the status mark of the path resource is not occupied.
[0268] In the embodiment of the present application, after a redundant path of a service is generated, the state of the path resource on the redundant path may be marked as an occupied state to indicate that the path resource on the redundant path is occupied.
[0269] S602: Detect, according to the status mark of the path resource, whether the available path resources in the redundant resource pool are greater than the minimum path resources required by multiple services.
[0270] When the path resources included in the redundant path are marked as occupied, the available path resources in the redundant resource pool can be obtained based on the status marks of each path resource in the redundant resource pool, and then it is calculated whether the available path resources in the redundant resource pool are greater than the minimum path resources required to ensure the operation of multiple services (i.e., services in the business concentration).
[0271] The available path resources refer to path resources whose status is marked as unoccupied.
[0272] In an embodiment of the present application, the minimum path resources have been calculated in constructing the redundant resource pool. Therefore, after obtaining the available path resources in the redundant resource pool, the available path resources are compared with the minimum path resources to detect whether the available path resources in the redundant resource pool can still meet the operation of multiple services.
[0273] S603: If the number of path resources is less than the minimum number of path resources, increase the number of path resources in the redundant resource pool.
[0274] Among them, when the available path resources in the redundant resource pool are not less than the minimum path resources, it means that the available path resources in the redundant resource pool can meet the operation of multiple services, and there is no need to add path resources to the redundant resource pool. When the available path resources in the redundant resource pool are less than the minimum path resources, it means that the available path resources in the redundant resource pool cannot meet the operation of multiple services, so it is necessary to add path resources to the redundant resource pool.
[0275] Accordingly, in order to reduce the occupation of the redundant resource pool by invalid path resources, in the embodiment of the present application, the path resources of the redundant resource pool may also be released. Based on this, the path processing method provided in the embodiment of the present application further includes the steps of:
[0276] When the resource release condition is met, the path resources matching the resource release condition in the redundant resource pool are released.
[0277] The resource release conditions include one or more of the following conditions: path resource failure, service unbinding, and service cancellation of redundant path configuration.
[0278] In the embodiment of the present application, the network management device can collect the fault information of each node and each device in the optical network system, and analyze the collected fault information, so as to obtain the failed path resource in the redundant resource pool. It can be understood that when a path resource fails, the path resource is unavailable, so the failed path resource can be removed from the redundant resource pool to release the path resource.
[0279] In the embodiment of the present application, service unbinding refers to unbinding a service from a redundant resource pool. It is understandable that when a service is unbinded from a redundant resource pool, the redundant resource pool does not need to guarantee the operation of the service, so the path resources that guarantee the operation of the service can be removed from the redundant resource pool to release the path resources.
[0280] It is understandable that when a new service is bound to the redundant resource pool, the path resources that guarantee the operation of the new service also need to be allocated to the redundant resource pool from all the path resources in the entire network, so as to ensure the operation of the new service.
[0281] In an embodiment of the present application, the service cancels the configuration of the redundant path, which means that when the service adopts the redundant path for signal transmission, that is, the current path used by the service is the redundant path, after the failure of the original path of the service is restored and the service switches from the current path used to the original path, the user cancels the configuration of the redundant path for the service. After the user cancels the configuration of the redundant path for the service, the network management device responds to the user's operation and updates the status mark of the path resource on the redundant path to an unoccupied state. After the status mark of the path resource on the redundant path is updated to an unoccupied state, it can be detected whether the available path resources in the redundant resource pool are greater than the minimum path resources required by multiple services based on the status mark of the path resources in the redundant resource pool. If the path resources in the redundant resource pool are greater than the minimum path resources, the redundant path resources in the redundant resource pool can be eliminated to release the path resources.
[0282] The embodiment of the present application dynamically manages the path resources in the redundant resource pool, so that on the one hand, the path resources in the redundant resource pool can guarantee the operation of each service in the service set, and on the other hand, it can reduce the occupation of the redundant resource pool by invalid path resources.
[0283] In some embodiments, resource slicing can also be used to ensure the security of some specific service sets (such as service sets with higher importance), that is, a resource set is first cut out from all the path resources in the entire network, called a resource slice, for use by a specific service set. The path resources in the resource slice can only be used by the specific service set, and services outside the specific service set cannot use the resources in the resource slice.
[0284] The path processing method provided in the embodiment of the present application monitors the current use path of the service. When it is detected that there is a risk of failure in the use path, the path resources in the pre-configured redundant resource pool are used to allocate redundant paths to the service, and the redundant paths are configured for the service. When a failure occurs in the use path, the service is switched from the use path to the redundant path. In this way, compared to configuring redundant paths when the service is allocated, the embodiment of the present application calculates and configures redundant paths only when it is predicted that a failure is about to occur, which can ensure the effectiveness of the redundant paths and avoid the problem of redundant paths failing when a failure occurs. At the same time, by calculating and configuring redundant paths only when it is predicted that a failure is about to occur, the optimal redundant path can be configured for the failure, so that the configured redundant path can cope with the failure that occurs.
[0285] Furthermore, since the redundant resource pool includes path resources of multiple services, for one of the services, by allocating redundant paths based on the path resources of the redundant resource pool, not only can the path resources of the service itself be used, but also the path resources of other services can be used, thereby realizing the coordinated use of path resources and reducing the waste of resources. The embodiment of the present application can achieve better service guarantee effects with fewer resources by guaranteeing multiple services through the redundant resource pool.
[0286] At the same time, the embodiments of the present application utilize redundant resource pools to provide redundant paths with the same source but different destinations for services with fixed sources but unfixed destinations. When the destination is unavailable, it can also provide protection. For example, in a computing power network, when the currently connected computing power center is about to fail, redundant paths from the computing point to other computing power centers can be calculated for protection.
[0287] In addition, the embodiment of the present application does not rely on device protocols for prediction, but collects path operation information on the path through network management equipment, can collect a variety of information, can predict various types of faults, and can be used on a large scale.
[0288] Based on the same inventive concept, an embodiment of the present invention provides an electronic device, which may be a network management device in the above embodiment. The electronic device may specifically include a communication interface, a memory, a processor, and one or more computer programs, and the above devices may be connected via one or more communication buses. The one or more computer programs are stored in the above storage and configured to be executed by the one or more processors, and the one or more computer programs include instructions, which may be used to execute the relevant steps performed by the network management device in the above embodiment.
[0289] like Fig.17 As shown, in an embodiment of the present application, the electronic device may include a data acquisition module 210, a fault prediction module 220, a fault processing module 230 and a redundant path allocation module 240. Among them, the data acquisition module 210 can be connected to each node through a communication interface, and the data acquisition module 210 is used to collect path operation information. The fault prediction module 220 is used to perform path fault prediction based on the path operation information collected by the data acquisition module 210 to obtain a fault prediction result. The fault processing module 230 is used to give redundant path parameters (such as business constraints, processing strategies) when the fault prediction result indicates that the use path is about to fail. The redundant path allocation module 240 is used to calculate the redundant path based on the redundant path parameters and the path resources in the redundant resource pool. Among them, the maintenance and update of the redundant resource pool can be achieved through the redundant path allocation module.
[0290] Please refer to Fig.18 , Fig.18The working principle diagram of the electronic device provided in the embodiment of the present application is shown in FIG. Fig.18 As shown, the embodiment of the present application can ensure the operation of the service through the following process:
[0291] When the service is running, the data collection module 210 collects the path operation information of the service, and sends the collected path operation information to the fault prediction module 220. The fault prediction module 220 predicts the path failure of the current service usage path according to the path operation information, obtains the prediction result, and sends the prediction result to the fault processing module 230. The fault processing module 230 analyzes the prediction result. If the prediction result indicates that the service usage path has a failure risk and the failure is about to occur, the redundant path parameters (service constraints and processing strategies) are given according to the prediction result, and the redundant path parameters are sent to the redundant path allocation module 240. The redundant path allocation module 240 calculates the redundant path according to the service constraints and processing strategies using the path resources in the redundant resource pool, and sends the calculated redundant path to the fault processing module 230. The fault processing module 230 configures the calculated redundant path to the service. In this way, after the service usage path fails, the service can be switched to the redundant path to ensure the normal operation of the service.
[0292] In some embodiments, when configuring redundant paths for services, for each service, if the source node corresponding to the service has the function of automatically switching paths, the fault processing module 230 can configure the redundant path to the source node of the service, so that when the service's use path fails, the source node can automatically switch the service from the use path to the redundant path. If the source node corresponding to the service does not have the function of automatically switching paths, the fault processing module 230 can save the redundant path and automatically switch the service from the use path to the redundant path when the service's use path fails.
[0293] In some embodiments, the data acquisition module 210 can also collect path resource information in the optical network system, and send the collected path resource information to the redundant path allocation module 240. After receiving the path resource information, the redundant path allocation module 240 can update the path resources in the redundant resource pool according to the path resource information, such as removing unavailable path resources in the redundant resource pool and adding available path resources to the redundant resource pool.
[0294] Based on the structure of the electronic device, the electronic device provided in the embodiment of the present application can execute the following process, such as Fig.19As shown, first import the fault type to be monitored, including basic information of the fault type, prediction basis information and processing strategy. When service S1 is created, the redundant allocation module calculates whether the path resources in the redundant resource pool meet the minimum path resources required by service S1. If not, the required path resources are allocated from outside the redundant resource pool to the pool. When service S1 is running, the use path of service S1 is monitored. The fault prediction module predicts that service S1 has a fault risk of fault type F1, and sends the fault prediction result to the fault processing module. The fault module generates redundant path parameters (including business constraints and processing strategies) according to service S1 and fault type F1, and sends the redundant path parameters to the redundant path allocation module. The redundant path allocation module uses the path resources in the redundant resource pool according to the redundant path parameters to calculate the redundant path, and sends the calculated redundant path to the fault processing module. At the same time, the path resources on the redundant path are marked as occupied, and the path resources of the redundant resource pool are refreshed. If the available resources in the redundant resource pool do not meet the minimum path resources for the service set, the required path resources are allocated from outside the pool to the pool. The fault processing module configures the redundant path to the service.
[0295] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the electronic device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0296] It should be understood that the embodiments of the present application can divide the electronic device into functional modules. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0297] It should also be understood that each module in the electronic device can be implemented in software and / or hardware form, without specific limitation. In other words, the electronic device is presented in the form of functional modules. The "module" here can refer to a specific application integrated circuit ASIC, a circuit, a processor and a memory that executes one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the above functions.
[0298] In an optional manner, when data transmission is implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is implemented in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. 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 site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disk (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.
[0299] The steps of the method or algorithm described in conjunction with the embodiments of the present application can be implemented in hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a mobile hard disk, a CD-ROM or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in an electronic device. Of course, the processor and the storage medium can also be present in an electronic device as discrete components.
[0300] The embodiment of the present application further provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processing circuit, the functions or steps in the above-mentioned materialized view update method are implemented.
[0301] In addition, an embodiment of the present application may also provide a chip system, which includes a processing circuit and a storage medium, wherein the storage medium stores computer program instructions that implement the functions or steps in the above-mentioned materialized view update method when the computer program instructions are executed by the processing circuit.
[0302] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the computer-readable storage medium and the chip system described above can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.
[0303] The above is only a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto, and any changes or replacements within the technical scope disclosed in the embodiment of the present application should be included in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiment of the present application should be based on the protection scope of the claims.
Claims
1. A path processing method, characterized in that: The method comprises: According to the path operation information of the service, a fault prediction is performed on the current use path of the service to obtain a fault prediction result of the service; When the fault prediction result indicates that the used path has a fault risk, using path resources in a preconfigured redundant resource pool to allocate a redundant path for the service, the redundant resource pool including path resources for multiple services; When a failure occurs in the used path, the service is switched from the used path to the redundant path.
2. The method according to claim 1, characterized in that The redundant resource pool includes the minimum path resources required by the multiple services, and the minimum path resources required by the multiple services include at least the path resources of one redundant path corresponding to each of the services.
3. The method according to claim 2, characterized in that The minimum path resources required by the multiple services included in the redundant resource pool meet the following conditions: Based on the path resources in the redundant resource pool, each of the services can be allocated at least K redundant paths that do not overlap with the original path of the service, and each of the path resources can be used simultaneously by at most N redundant paths of the services, where K and N are positive integers, and the original path refers to the path configured for the service when the service is created.
4. The method according to claim 3, characterized in that When the multiple services include services with a fixed source node and a non-fixed sink node, the redundant resource pool further includes path resources from the source node to the candidate sink node and path resources of a redundant path from the source node to the sink node.
5. The method according to any one of claims 1 to 4, characterized in that: When the fault prediction result indicates that the use path has a fault risk, the fault prediction result includes a fault type corresponding to the fault risk; The using path resources in a preconfigured redundant resource pool to allocate redundant paths to the service includes: According to the processing strategy corresponding to the fault type, redundant paths are allocated to the service using the path resources in the redundant resource pool, wherein each fault type is correspondingly configured with the processing strategy.
6. The method according to claim 5, characterized in that The using the path resources in the redundant resource pool to allocate redundant paths for the service includes: Allocating redundant paths for the service using path resources in the redundant resource pool according to the service constraints of the service and the processing strategy; The service constraint conditions of the service include one or more of the following conditions: signal transmission time, bandwidth, energy consumption, and path utilization.
7. The method according to any one of claims 1 to 6, characterized in that: After allocating redundant paths to the service using path resources in a preconfigured redundant resource pool, the method further includes: Marking the status of the path resources included in the redundant path as occupied; According to the status mark of the path resource, detecting whether the available path resource in the redundant resource pool is greater than the minimum path resource required by the multiple services; If it is less than the minimum path resource, the path resource in the redundant resource pool is increased.
8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: When a resource release condition is met, releasing the path resources in the redundant resource pool that match the resource release condition; The resource release condition includes one or more of the following conditions: path resource failure, service unbinding, and service cancellation of redundant path configuration.
9. The method according to any one of claims 1 to 8, characterized in that: The performing of fault prediction on the current use path of the service according to the path operation information of the service to obtain the fault prediction result of the service includes: According to pre-configured fault basis information, the path operation information is filtered to obtain target path operation information, wherein the fault basis information is used to indicate the information required to predict the fault risk; According to the target path operation information, a fault prediction is performed on the path currently used by the service to obtain a fault prediction result of the service.
10. The method according to claim 9, characterized in that The performing fault prediction on the current use path of the service according to the target path operation information to obtain the fault prediction result of the service includes: According to the fault prediction model and the target path operation information, a path fault prediction is performed on the path currently used by the service to obtain a fault prediction result of the service.
11. The method according to claim 9, characterized in that The prediction basis information also includes a prediction rule, and the fault prediction is performed on the current use path of the service according to the target path operation information to obtain the fault prediction result of the service, including: According to the prediction rule and the target path operation information, a path fault prediction is performed on the path currently used by the service to obtain a fault prediction result of the service.
12. The method according to any one of claims 1 to 11, characterized in that: The method further comprises: In response to the fault type configuration operation, a newly added fault type and a processing strategy and prediction basis information corresponding to the newly added fault type are obtained; If there is a historical fault type that is the same as the newly added fault type among the stored fault types, updating the processing strategy and prediction basis information corresponding to the historical fault type according to the processing strategy and prediction basis information corresponding to the newly added fault type; If there is no historical fault type identical to the newly added fault type in the stored fault types, the newly added fault type and the processing strategy and prediction basis information corresponding to the newly added fault type are stored.
13. The method according to any one of claims 1 to 12, characterized in that: The method further comprises: In response to the fault simulation operation, obtaining a target fault type for fault simulation and a target location of a current usage path of the service; Performing a fault simulation according to the target position and the target fault type to obtain a fault simulation result; Displaying the fault simulation result to the user; In response to a user indicating that the target fault type is effective, during the operation of the service, it is predicted whether a current usage path of the service has a fault risk of the target fault type.
14. An electronic device, characterized in that: The electronic device comprises: A communication interface, used to communicate with other electronic devices; a memory for storing computer program instructions; A processor, configured to execute the computer program instructions to support the electronic device to implement the method as described in any one of claims 1-13.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processing circuit, the method according to any one of claims 1 to 13 is implemented.
16. A computer program product comprising instructions, characterized in that When the computer program product is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 13.
17. A chip system, characterized in that: The chip system includes a processing circuit and a storage medium, wherein the storage medium stores computer program instructions; when the computer program instructions are executed by the processing circuit, the method according to any one of claims 1 to 13 is implemented.