Disclosure of Invention
The invention provides a risk separation protection route searching method for a safety and stability control service, which aims to solve the problem of how to obtain two risk separated safety and stability control service protection routes.
In order to solve the above problem, according to an aspect of the present invention, there is provided a risk separation protection path-finding method for a stable control class service, the method including:
step 1, acquiring a service in a stable control service list, and if a configured service path corresponding to the service does not meet a preset service requirement, releasing an optical fiber time slot resource occupied by a protection channel where the service is located;
step 2, acquiring all paths from a source node to a destination node corresponding to the service, determining a first node set and a first optical fiber set according to all the paths, screening out nodes and optical fibers which meet preset requirements in the first node set and the first optical fiber set to acquire a second node set and a second optical fiber set, and constructing a service association logic graph according to the second node set and the second optical fiber set;
step 3, when determining that an available path from a source node to a destination node corresponding to the service exists in the service association logic graph, determining at least one alternative working route according to the weight of the optical fiber link of each optical fiber;
step 4, selecting an optional working route from the main path list as a main path, and screening a first SRNG set and a first SRLG set which contain nodes and optical fibers in the main path from a preset shared risk node group SRNG set and a shared risk link group SRLG set;
step 5, acquiring all nodes according to the sites corresponding to the nodes in the main path to construct a third node set, and screening out elements which exist in the third node set, do not belong to the first SRNG set, and belong to the node set corresponding to the service association logic diagram to construct an alternative node set;
step 6, determining a third optical fiber set based on the service association logic diagram, and screening out elements which exist in the third optical fiber set and do not belong to the first SRLG set so as to construct an alternative optical fiber set;
step 7, judging whether a standby path meeting the physical same path of the main path and the standby path exists according to the standby node set and the standby optical fiber set, if so, determining the standby path, and configuring a protection channel and loading service according to the determined main path and the standby path; if not, returning to the step 4 for recalculation when the next alternative working route exists in the alternative working routes.
Preferably, the preset service requirement includes:
the main path and the standby path of the protection channel where the service is located meet the following conditions: physical same way, logical different way; and the node or fiber through which the backup path passes is not in the SRNG or SRLG contained in the primary path; and the traffic does not pass through the power station of the preset level.
Preferably, the screening out nodes and optical fibers that meet preset requirements from the first node set and the first optical fiber set includes:
deleting subordinate nodes of power stations of preset levels and subordinate nodes of sites only including single nodes in the first node set; and deleting the optical fibers in the first optical fiber set, wherein the optical fiber capacity utilization rate of the optical fibers exceeds a preset optical fiber utilization rate threshold value.
Preferably, wherein the method further comprises:
and determining the optical fiber link weight of each optical fiber according to the weighted sum of the optical fiber capacity utilization rate, the link transmission delay, the optical fiber risk probability, the source node risk probability and the destination node risk probability.
Preferably, wherein the method further comprises:
and when determining that an available path from a source node to a destination node corresponding to the service does not exist in the service association logic graph or when a next alternative working route does not exist in the alternative working routes, feeding back a service loading failure reason and a service processing suggestion.
Preferably, wherein said determining at least one alternative working route comprises:
at least one alternative working route is determined using the K shortest route KSP algorithm.
According to another aspect of the present invention, there is provided a risk separation protection routing system for a safety control class service, the system including:
the device comprises an optical fiber time slot resource releasing unit, a service processing unit and a service processing unit, wherein the optical fiber time slot resource releasing unit is used for acquiring one service in a stable control service list, and releasing an optical fiber time slot resource occupied by a protection channel where the service is located if a configured service path corresponding to the service does not meet a preset service requirement;
a service association logic graph construction unit, configured to acquire all paths from a source node to a destination node corresponding to the service, determine a first node set and a first optical fiber set according to all the paths, screen out nodes and optical fibers that meet preset requirements in the first node set and the first optical fiber set, so as to acquire a second node set and a second optical fiber set, and construct a service association logic graph according to the second node set and the second optical fiber set;
a candidate working route determining unit, configured to determine, when it is determined that an available path from a source node to a destination node corresponding to the service exists in the service association logic graph, at least one candidate working route according to an optical fiber link weight of each optical fiber;
the SRNG and SRLG set screening unit is used for selecting one of the alternative working routes as a main path and screening a first SRNG set and a first SRLG set which contain nodes and optical fibers in the main path from a preset shared risk node group SRNG set and a shared risk link group SRLG set;
an alternative node set constructing unit, configured to acquire all nodes according to a site corresponding to a node in the main path to construct a third node set, and screen out elements that exist in the third node set, do not belong to the first SRNG set, and belong to a node set corresponding to the service association logic graph, so as to construct an alternative node set;
an alternative optical fiber set construction unit, configured to determine a third optical fiber set based on the service association logic diagram, and screen out elements that are present in the third optical fiber set and do not belong to the first SRLG set, so as to construct an alternative optical fiber set;
a backup path determining unit, configured to determine whether a backup path that satisfies the physical same path of the primary and backup paths exists according to the backup node set and the backup optical fiber set, and if so, determine the backup path, and perform configuration of the protection channel and loading of the service according to the determined primary path and the backup path; and if the alternative working route does not exist, entering the SRNG and SRLG set screening unit for recalculation when the next alternative working route exists in the alternative working routes.
Preferably, the preset service requirement includes:
the main path and the standby path of the protection channel where the service is located meet the following conditions: physical same way, logical different way; and the node or fiber through which the backup path passes is not in the SRNG or SRLG contained in the primary path; and the traffic does not pass through the power station of the preset level.
Preferably, the screening out nodes and optical fibers that meet preset requirements in the first node set and the first optical fiber set by the service association logic graph building unit includes:
deleting subordinate nodes of power stations of preset levels and subordinate nodes of sites only including single nodes in the first node set; and deleting the optical fibers in the first optical fiber set, wherein the optical fiber capacity utilization rate of the optical fibers exceeds a preset optical fiber utilization rate threshold value.
Preferably, wherein the system further comprises:
and the optical fiber link weight determining unit is used for determining the optical fiber link weight of each optical fiber according to the weighted sum of the optical fiber capacity utilization rate, the link transmission delay, the optical fiber risk probability, the source node risk probability and the destination node risk probability.
Preferably, wherein the system further comprises:
and the feedback unit is used for feeding back the reason of service loading failure and a service processing suggestion when determining that an available path from a source node to a destination node corresponding to the service does not exist in the service association logic diagram or when a next alternative working route does not exist in the alternative working routes.
Preferably, the alternative working route determining unit determines at least one alternative working route, including:
at least one alternative working route is determined using the K shortest route KSP algorithm.
The invention provides a risk separation protection path-finding method and system for a security control service, aiming at the unreasonable situation of the existing security control service path-finding method, a KSP algorithm, an SRNG set and an SRLG set are introduced, and the SRLG and the SRNG are configured according to optical fiber node information; the method has the advantages that factors such as the utilization rate of optical fiber capacity, transmission delay, node risk probability and the like are comprehensively considered, two risk-separated safety and stability control type service protection routes are obtained, the problem that the factors such as risk association, identical stations and the like are not considered in the existing method is solved, reasonable and reliable protection channels can be distributed for the safety and stability control type service, and the stable operation of a power grid system is maintained; the invention uses the improved KSP algorithm, obtains the link weight by weighting according to a plurality of factors such as load distribution, transmission delay, risk probability and the like, obtains the path with the minimum weight, can realize the balance among the load distribution, the delay and the risk, and ensures the reasonability of the security control service protection route; SRLG is introduced, the main and standby paths of the safety and stability control type service protection channel are configured to be not intersected, and the optical fiber which belongs to the same SRLG is not contained, so that the reliability of the safety and stability control type service protection route is improved; in the obtained security control service protection channel, the nodes corresponding to the main path and the standby path belong to the same site but do not belong to the same SRNG, so that the requirement of the security control service on the physical same path is met, and the reliability of the protection route is improved.
Detailed Description
The exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, however, the present invention may be embodied in many different forms and is not limited to the embodiments described herein, which are provided for complete and complete disclosure of the present invention and to fully convey the scope of the present invention to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the accompanying drawings is not intended to be limiting of the invention. In the drawings, the same units/elements are denoted by the same reference numerals.
Unless otherwise defined, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Further, it will be understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense.
Fig. 1 is a flowchart of a risk separation protection path-finding method 100 for a safety and stability control service according to an embodiment of the present invention. As shown in fig. 1, in a risk separation protection path-finding method 100 for a stable control service according to an embodiment of the present invention, for an unreasonable path-finding method for an existing stable control service, a KSP algorithm, an SRNG set and an SRLG set are introduced, and an SRLG and an SRNG are configured according to optical fiber node information; the method has the advantages that factors such as the utilization rate of optical fiber capacity, transmission delay, node risk probability and the like are comprehensively considered, two risk-separated safety and stability control type service protection routes are obtained, the problem that the factors such as risk association, identical stations and the like are not considered in the existing method is solved, reasonable and reliable protection channels can be distributed for the safety and stability control type service, and stable operation of a power grid system is maintained. The embodiment of the invention uses the improved KSP algorithm, obtains the link weight by weighting according to a plurality of factors such as load distribution, transmission delay, risk probability and the like, obtains the path with the minimum weight, can realize the balance among the load distribution, the delay and the risk, and ensures the reasonability of the security control service protection route; SRLG is introduced, the main and standby paths of the safety and stability control type service protection channel are configured to be not intersected, and the optical fiber which belongs to the same SRLG is not contained, so that the reliability of the safety and stability control type service protection route is improved; in the obtained security control service protection channel, the nodes corresponding to the main path and the standby path belong to the same site but do not belong to the same SRNG, so that the requirement of the security control service on the physical same path is met, and the reliability of the protection route is improved.
The risk separation protection path-finding method 100 for a safety and stability control-type service, provided by the embodiment of the present invention, starts from step 101, obtains a service in a safety and stability control-type service list in step 101, and releases an optical fiber time slot resource occupied by a protection channel where the service is located if a configured service path corresponding to the service does not meet a preset service requirement.
Preferably, the preset service requirement includes:
the main path and the standby path of the protection channel where the service is located meet the following conditions: physical same way, logical different way; and the node or fiber through which the backup path passes is not in the SRNG or SRLG contained in the primary path; and the traffic does not pass through the power station of the preset level.
In the embodiment of the invention, the loading service in the current network is traversed, the stable control service is screened out and stored in the stable control service list, and the operation is carried out one by one according to the service sequence. Specifically, for each service, it needs to be determined whether two paths of a protection channel where the service is located satisfy the following conditions: (1) physical same way, logical different way; (2) the nodes passed by the standby path and the optical fibers are not in the first SRNG set and the first SRLG set contained in the main path; (3) the traffic does not pass through the power station of the preset level. The power stations at the preset level can be set according to the use specification of the power system and set as power-saving company stations. Secondly, if the protection channel does not meet the conditions, releasing the service and the optical fiber time slot resources occupied by the protection channel, and carrying out re-routing of the stable control service; if so, determining that the protection channel of the service meets the requirement of the stable control service, and inquiring the next service.
In step 102, all paths from the source node to the destination node corresponding to the service are obtained, a first node set and a first optical fiber set are determined according to all the paths, nodes and optical fibers meeting preset requirements in the first node set and the first optical fiber set are screened out to obtain a second node set and a second optical fiber set, and a service association logic graph is constructed according to the second node set and the second optical fiber set.
Preferably, the screening out nodes and optical fibers that meet preset requirements from the first node set and the first optical fiber set includes:
deleting subordinate nodes of power stations of preset levels and subordinate nodes of sites only including single nodes in the first node set; and deleting the optical fibers in the first optical fiber set, wherein the optical fiber capacity utilization rate of the optical fibers exceeds a preset optical fiber utilization rate threshold value.
In the embodiment of the invention, for a stable control service needing to seek a path again, firstly, all paths from a source node of the service to a destination node of the service are obtained according to the source node and the destination node of the service, a first node set is determined according to nodes of all the paths, and a first optical fiber set is determined according to nodes of all the paths; then, deleting subordinate nodes of sites in the first node set, wherein the sites only comprise single-node subordinate nodes and power-saving company sites, and deleting optical fibers in the first optical fiber set, wherein the optical fiber capacity utilization rate of which exceeds a preset optical fiber utilization rate threshold; finally, a service association logic graph is constructed according to the obtained new node set and the optical fiber set; wherein, the fiber capacity utilization rate is the current used time slot/total time slot.
In step 103, when it is determined that an available path from the source node to the destination node corresponding to the service exists in the service association logic graph, at least one alternative working route is determined according to the optical fiber link weight of each optical fiber.
Preferably, wherein said determining at least one alternative working route comprises:
at least one alternative working route is determined using the K shortest route KSP algorithm.
Preferably, wherein the method further comprises:
and determining the optical fiber link weight of each optical fiber according to the weighted sum of the optical fiber capacity utilization rate, the link transmission delay, the optical fiber risk probability, the source node risk probability and the destination node risk probability.
In the embodiment of the invention, the weighted sum of the fiber capacity utilization rate, the link transmission delay, the fiber risk probability and the source and destination node risk probability is used as the link weight, and an improved KSP algorithm is used to obtain k optional working routes with the minimum weight.
In the embodiment of the invention, in order to reduce the failure probability of the transmission of the safety control service of the power communication network, allocate a reasonable and safe protection channel and improve the reliability of the system, an improved KSP algorithm, a shared risk link group SRLG and a shared risk node group SRNG are introduced.
The KSP algorithm is used for calculating K optimal paths. The algorithm is developed on the basis of the Dijkstra algorithm, and the Dijkstra algorithm needs to be called repeatedly when the KSP algorithm is used for calculation. The conventional KSP algorithm uses the length of a link as a reference weight to find the shortest path between two points. In practice, however, the route is selected not only by considering the length of the path, but also by considering a plurality of factors including load distribution, risk probability, and the like. Therefore, in the embodiment of the present invention, an improved KSP algorithm is adopted, and the weight of the link is calculated by integrating the capacity utilization rate of the optical fiber, the risk probability of the source and destination nodes, the optical fiber length of the link, and other factors, so as to obtain K paths with the minimum weight, and provide a reference for the protection channel configuration of the stable control service.
In optical network communication problems, it is sometimes necessary to use multiple optical fibers to transmit traffic, placing multiple fibers in the same optical link path, and these fibers have the same risk of failure under certain conditions. For example, in the event of a failure or cut in an optical link channel, all of the optical fibers within that channel will be in a failed state at the same time. In response to this problem, the SRLG concept was introduced to define a situation where a group of optical fibers share the same physical resource (share a common failure risk) for describing the fault correlation between the optical fibers. Wavelength channels in a network that share the same fiber, share the same optical link channel, or connect fibers of the same node can all be treated as a set of SRLGs, which are used to characterize the correlation between links. In many cases, the network will have a failure of the SRLG, instead of a single link or node failure, which causes communication interruption and a large amount of data loss, so that risk separation is realized for dual-route selection of a stable control service, and simultaneous use of optical fibers in the SRLG is to be eliminated.
In step 104, one of the alternative working routes is selected as a main path, and a first SRNG set and a first SRLG set which contain nodes and optical fibers in the main path are screened from a preset shared risk node group SRNG set and a shared risk link group SRLG set.
In step 105, all nodes are acquired according to the sites corresponding to the nodes in the main path to construct a third node set, and elements which exist in the third node set, do not belong to the first SRNG set, and belong to the node set corresponding to the service association logic diagram are screened out to construct an alternative node set.
And 106, determining a third optical fiber set based on the service association logic diagram, and screening out elements which exist in the third optical fiber set and do not belong to the first SRLG set so as to construct an alternative optical fiber set.
In step 107, judging whether a backup path meeting the physical same path of the main path and the backup path exists according to the backup node set and the backup optical fiber set, if so, determining the backup path, and configuring a protection channel and loading service according to the determined main path and the backup path; if not, returning to step 104 for recalculation when the next alternative working route exists in the alternative working routes.
In the embodiment of the invention, the routes in the main path list are sequentially selected in sequence. When a main path is determined, a first SRNG set and a first SRLG set which contain nodes and optical fibers in the main path are screened out from a preset shared risk node group SRNG set and a shared risk link group SRLG set. Then, according to the node elements in the selected main path, finding all nodes through the site to form a third node set, removing elements existing in the SRNG and elements not existing in the service association logic diagram set in the third node set, and constructing an alternative node set; and determining a third optical fiber set according to the optical fibers in the service association logic diagram, and removing elements existing in the SRLG in the third optical fiber set to construct an alternative optical fiber set. And then, according to the determined alternative node set and the alternative optical fiber set, searching for an alternative path which meets the physical same path of the main path and the standby path. If the backup path meeting the condition cannot be found, selecting the next alternative path in the main path list for processing, and repeating the operations in the steps 104 to 107; if the main path and the standby path meeting the conditions are found, a protection channel is set, and the stable control service is loaded.
Preferably, wherein the method further comprises: and when determining that an available path from a source node to a destination node corresponding to the service does not exist in the service association logic graph or when a next alternative working route does not exist in the alternative working routes, feeding back a service loading failure reason and a service processing suggestion.
Fig. 2 is a general flowchart of a risk separation protection way-finding method according to an embodiment of the present invention. As shown in fig. 2, the risk separation protection way-finding method according to the embodiment of the present invention includes:
s1, setting an SRLG set and an SRNG set according to the risk parameters;
s2, traversing the loading service, screening out the stable control service, and determining a service list;
s3, selecting a service, acquiring a double route corresponding to the service, judging whether the preset service requirement is met, if not, entering the step S4; otherwise, selecting the next service and judging again;
s4, releasing the optical fiber time slot resource occupied by the channel where the service is located;
s5, constructing a service association logic diagram, and excluding sites containing single nodes;
s6, removing provincial electric power company sites and the ultra-capacity optical fibers, and determining a new business association logic diagram;
s7, when determining that the service correlation logic graph has an available path from the source node to the destination node corresponding to the service, determining k optional working routes by using a KSP algorithm;
s8, selecting a selectable working route according to the sequence, and removing the associated nodes and optical fibers from the new service associated logic diagram;
s9, judging whether a standby path meeting the physical same path of the main path and the standby path exists; if yes, go to step S10; otherwise, step S8 is entered, and the working route is reselected;
s10, setting a protection channel and loading service;
s11, judging whether there is any service in the service list; if yes, entering the next service, and entering step S3; otherwise, the process is finished.
The following specifically exemplifies embodiments of the present invention
The risk separation protection and path finding method for the safety and stability control type service in the embodiment of the invention is based on a static planning system of the power communication optical transmission network, the system is compiled by using python language, the functions of SDH network frame structure encapsulation multiplexing, time slot distribution of service channels, various types of protection loading and the like can be realized, and the visual display of the optimized network service distribution condition is supported. The topological diagram of the power communication optical transmission network according to the embodiment of the present invention is shown in fig. 3, wherein the attributes of the station and the node are shown in fig. 4 and fig. 5, and the flow of calling the function is shown in fig. 6. In the embodiment of the present invention, services are loaded into a scene, and a service list is shown in table 1.
Table 1 load service list
Name of service
|
Type of service
|
Source node
|
Destination node
|
Data size
|
Service |
1
|
Stability control
|
A
|
C
| VC12
|
Service |
2
|
Stability control
|
B
|
F
| VC12
|
Service |
3
|
Stability control
|
A
|
D
|
VC12 |
Starting a program to run, calling get _ stability _ service (self, dit _ service _ key _ name) to traverse a service list, screening out the security control services, and distributing paths one by one;
calling is _ service _ route _ valid (self, service _ obj) to judge whether a configured service route meets the requirement of a stability control service, namely whether the route comprises a provincial power company node, whether a main route and a standby route are SRNG/SRLG separated, and whether the main route and the standby route are physically the same;
for the service route which does not meet the requirement, calling delete _ service _ slot (self, service _ obj) to release the resources occupied by the service;
calling a reconfiguration _ service _ topo (self, network _ topo, service _ obj) to recombine the service associated logic diagram logic _ service _ topo, and excluding the provincial electric power company site and the super-capacity optical fiber link in the newly generated logic diagram;
calling network x.has _ path (self, logic _ topo, src _ node, dest _ node) to judge whether an available path from a source node to a destination node can be found in a service association logic diagram;
if has _ path () returns True, the function is called: get _ primary _ route (self, service _ obj, logic _ service _ topo) acquires k main paths with the minimum weight, stores the k main paths to primary _ route _ list, otherwise calls storage _ protection _ record _ in _ face (self, service _ obj), and returns the reason and suggestion of service loading failure;
calling get _ standby _ route (self, logic _ service _ topo, primary _ route _ list), sequentially selecting a path of the primary _ route _ list, and calling a function:
get _ available _ node _ fiber _ list (self, primary _ route, logic _ service _ topo), obtain the same site node in the main path, and delete the SRNG contained in the main path, form an available _ node _ list; acquiring an optical fiber set in the logic _ service _ topo, deleting the SRLG contained in the main path to form an available _ fiber _ list, and searching a standby route which is located at the same site as the node corresponding to the main path in the available _ node _ list and the available _ fiber _ list;
if get _ standby _ route (), returning to True, calling set _ service _ slot (self, service _ obj) to configure the protection channel and load the service;
if get _ standby _ route (), the return result is False, then the function is called: storage _ protection _ record _ in _ face (self, service _ obj), and returning the reason and suggestion of the service loading failure;
and calling storage _ protection _ record (self, service _ obj) to record the route optimization result and store the route optimization result in the database.
After the path finding, all the service routes are shown in table 2; the traffic routing results are shown in fig. 7.
Table 2 traffic routing list
The embodiment successfully shows that the method can carry out reasonable route recommendation and resource allocation aiming at the stable control service, finds dual-route protection with risk separation for the service, and ensures the safe and stable operation of a power grid system.
Fig. 8 is a schematic structural diagram of a risk separation protection routing system 800 for a stable control service according to an embodiment of the present invention. As shown in fig. 8, the risk separation protection routing system 800 for a safety and stability control service according to an embodiment of the present invention includes: a fiber slot resource releasing unit 801, a service associated logic diagram constructing unit 802, an alternative working route determining unit 803, a SRNG and SRLG set screening unit 804, an alternative node set constructing unit 805, an alternative fiber set constructing unit 806 and a backup path determining unit 807.
Preferably, the optical fiber time slot resource releasing unit 801 is configured to acquire a service in a stable control service list, and release an optical fiber time slot resource occupied by a protection channel where the service is located if a configured service path corresponding to the service does not meet a preset service requirement.
Preferably, the preset service requirement includes: the main path and the standby path of the protection channel where the service is located meet the following conditions: physical same way, logical different way; and the node or fiber through which the backup path passes is not in the SRNG or SRLG contained in the primary path; and the traffic does not pass through the power station of the preset level.
Preferably, the service association logic graph constructing unit 802 is configured to obtain all paths from a source node to a destination node corresponding to the service, determine a first node set and a first optical fiber set according to all the paths, screen out nodes and optical fibers that meet preset requirements in the first node set and the first optical fiber set to obtain a second node set and a second optical fiber set, and construct the service association logic graph according to the second node set and the second optical fiber set.
Preferably, the screening out the nodes and fibers meeting the preset requirement in the first node set and the first fiber set by the service association logic graph constructing unit 802 includes:
deleting subordinate nodes of power stations of preset levels and subordinate nodes of sites only including single nodes in the first node set; and deleting the optical fibers in the first optical fiber set, wherein the optical fiber capacity utilization rate of the optical fibers exceeds a preset optical fiber utilization rate threshold value.
Preferably, the alternative working route determining unit 803 is configured to determine at least one alternative working route according to the optical fiber link weight of each optical fiber when it is determined that an available path from the source node to the destination node corresponding to the service exists in the service association logic graph.
Preferably, the alternative working route determining unit determines at least one alternative working route, including: at least one alternative working route is determined using the K shortest route KSP algorithm.
Preferably, wherein the system further comprises: and the optical fiber link weight determining unit is used for determining the optical fiber link weight of each optical fiber according to the weighted sum of the optical fiber capacity utilization rate, the link transmission delay, the optical fiber risk probability, the source node risk probability and the destination node risk probability.
Optionally, the SRNG and SRLG set screening unit 804 is configured to select one of the alternative working routes as a main path, and screen a first SRNG set and a first SRLG set that include nodes and optical fibers in the main path from a preset shared risk node group SRNG set and a shared risk link group SRLG set.
Preferably, the alternative node set constructing unit 805 is configured to obtain all nodes according to a site corresponding to a node in the main path to construct a third node set, and filter out elements that exist in the third node set, do not belong to the first SRNG set, and belong to a node set corresponding to the service association logic graph, so as to construct an alternative node set.
Preferably, the alternative optical fiber set constructing unit 806 is configured to determine a third optical fiber set based on the service association logic map, and screen out elements that exist in the third optical fiber set and do not belong to the first SRLG set, so as to construct an alternative optical fiber set.
Preferably, the backup path determining unit 807 is configured to determine, according to the alternative node set and the alternative fiber set, whether a backup path that satisfies a physical same path as the primary and backup paths exists, if the backup path exists, determine the backup path, and perform configuration of the protection channel and loading of the service according to the determined primary path and the determined backup path; and if the alternative working route does not exist, entering the SRNG and SRLG set screening unit for recalculation when the next alternative working route exists in the alternative working routes.
Preferably, wherein the system further comprises: and the feedback unit is used for feeding back the reason of service loading failure and a service processing suggestion when determining that an available path from a source node to a destination node corresponding to the service does not exist in the service association logic diagram or when a next alternative working route does not exist in the alternative working routes.
The risk separation protection path-finding system 800 for a safety and stability control service in the embodiment of the present invention corresponds to the risk separation protection path-finding method 100 for a safety and stability control service in another embodiment of the present invention, and is not described herein again.
The invention has been described with reference to a few embodiments. However, other embodiments of the invention than the one disclosed above are equally possible within the scope of the invention, as would be apparent to a person skilled in the art from the appended patent claims.
Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to "a/an/the [ device, component, etc ]" are to be interpreted openly as referring to at least one instance of said device, component, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.