A network fault locating method based on link state perception
By constructing a dual-track topology determination basis and determining the old and new topology observation shadow coefficients of candidate links, the inaccuracy of fault confirmation in link state-aware networks is solved, and more accurate fault location is achieved.
Patent Information
- Application Number
- CN202611594127.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-15
- Publication Date
- 2026-11-27
AI Technical Summary
In link-state-aware networks, existing fault location methods struggle to accurately identify candidate fault links as the network scales up and the link state propagation path becomes more complex. Furthermore, they are easily affected by the monitoring location, propagation distance, and path redundancy, leading to inaccurate fault confirmation.
By acquiring basic link status information, a fault location input object is generated, including snapshot objects of the previous and next status databases, link status event sequences, and the current monitoring location set. A dual-track topology judgment basis is constructed, the misalignment degree of the old topology three-map and the misalignment degree of the new topology three-map of the candidate link are determined, and the old topology observation shadow coefficient and the new topology observation shadow coefficient are combined to determine the consistency result of the dual-track status to confirm the faulty link.
It improves the reliability and interpretability of fault link confirmation, adapts to the alternation of old and new states and inconsistencies in topology cognition during link state propagation, and enhances the accuracy of fault location in cases of insufficient monitoring coverage and incomplete propagation evidence.
Smart Images

Figure CN123185059A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of network operation and maintenance and network fault diagnosis technology, and more specifically, it relates to a network fault location method based on link state awareness. Background Technology
[0002] In a link-state awareness network, each network device typically maintains a link-state database based on link-state update messages and forms a network topology awareness based on this database. When a link is interrupted, restored, its cost changes, or a link-state propagation anomaly occurs, the network device will detect the corresponding link-state changes. The operations and maintenance team typically analyzes the fault location by combining link-state database snapshots, alarm records, link-state update messages, and topology path relationships.
[0003] Existing network fault location methods can typically narrow down the fault scope based on link state changes, alarm sources, or abnormal forwarding paths, and are well-suited for scenarios with stable topology and sufficient monitoring coverage. However, as network scale increases, link state propagation paths multiply, and routing convergence becomes more complex, the propagation of link state changes between different network devices may exhibit time and version differences. Within the same fault window, some devices may still retain pre-fault link state database knowledge, while others may have developed post-fault link state database knowledge. Furthermore, link state update packets collected at monitoring locations may only cover a portion of the propagation paths.
[0004] In the above scenarios, relying solely on comparisons of state database snapshots before and after a failure can easily overlook the differences in visibility of link state update messages during propagation. Conversely, relying solely on actual monitored propagation evidence can be affected by factors such as the distribution of monitoring locations, propagation distance, path redundancy, and uneven visibility at both ends of the candidate link. Especially when old and new topology perceptions alternate, the same candidate link may exhibit inconsistent behavior in physical forwarding topology, monitored visibility propagation relationships, and link state flooding relationships. This necessitates considering both topology misalignment and the reliability of observational evidence when confirming a failed candidate link.
[0005] Therefore, this application proposes a network fault location method based on link state awareness. Summary of the Invention
[0006] To address the shortcomings of existing technologies, the present invention aims to provide a network fault location method based on link state awareness.
[0007] To achieve the above objectives, the present invention provides the following technical solution: A link-state-aware network fault location method, executed by a fault location device, includes the following steps: Step 1: Obtain basic link status information, and generate fault location input objects based on the basic link status information. The fault location input objects include before and after status database snapshot objects, link status event sequences, and the current monitoring location set. Step 2: Generate the dual-track topology determination basis based on the fault location input object, and generate the entire network path vector matrix; Step 3: Based on the differences in link status in the snapshot objects of the state database before and after, determine the set of candidate fault links; based on the dual-track topology judgment basis, determine the misalignment degree of the old topology three-map and the misalignment degree of the new topology three-map corresponding to the candidate links in the set of candidate fault links respectively; Step 4: For each candidate link in the fault candidate link set, based on the fault location input object and the dual-track topology judgment basis, determine the old topology observation shadow coefficient and the new topology observation shadow coefficient corresponding to the candidate link; Step 5: Determine the visibility confidence of the old topology based on the misalignment degree of the three maps of the old topology and the shadow coefficient of the old topology observation; determine the visibility confidence of the new topology based on the misalignment degree of the three maps of the new topology and the shadow coefficient of the new topology observation; determine the consistency result of the dual-track status based on the consistency between the visibility confidence of the old topology and the visibility confidence of the new topology; confirm the fault of the candidate link based on the consistency result of the dual-track status; and output the fault location result based on the path vector matrix of the whole network.
[0008] In one embodiment, the basic link state information includes the time when the network alarm occurred, the link state update message, and the link state database snapshot; taking the time when the network alarm occurred as the boundary, the sequence of the link state database snapshot before the fault and the sequence of the link state database snapshot after the fault are determined from the link state database snapshot, and the before and after link state database snapshot objects are formed; the link state update message is normalized in terms of time, sequence, version, and source to form a link state event sequence carrying normalized time, normalized sequence, normalized version, and normalized source.
[0009] In one embodiment, a basic topology map group is constructed based on the snapshot objects of the previous and next state databases, the link state event sequence, and the current set of listening locations. The basic topology map group includes the network physical forwarding topology, the listening visible propagation map, and the link state flood map group, which includes the old link state flood map and the new link state flood map. Based on the basic topology map group, the link topology projection relationship is established and the old version topology determination track and the new version topology determination track are formed to obtain the dual-track topology determination basis. The entire network path vector matrix is generated based on the network physical forwarding topology.
[0010] In one embodiment, determining the misalignment degree of the old topology three-graph and the misalignment degree of the new topology three-graph includes: for each candidate link in the set of fault candidate links, based on the link topology projection relationship, constructing the state projection of the old topology three-graph and the state projection of the new topology three-graph in the old topology decision track and the new topology decision track respectively, and determining the misalignment degree of the old topology three-graph and the misalignment degree of the new topology three-graph based on the structural relationship misalignment evaluation, the link state misalignment evaluation, the propagation timing misalignment evaluation, and the topology version misalignment evaluation respectively.
[0011] In one embodiment, the structural relationship misalignment evaluation is determined at least based on the endpoint consistency of the candidate link, the existence state of the graph edge, and the continuity of the propagation path; the link state misalignment evaluation is determined at least based on the direction of state change of the candidate link in the sequence of state database snapshots before and after the fault, as well as the direction of visible state change in the monitored visible propagation graph.
[0012] In one embodiment, the propagation timing misalignment evaluation is determined at least based on the normalized time, normalized sequence, propagation path level in the old or new link state flood map of the link state update message corresponding to the candidate link, and the degree of deviation between the propagation path level and the expected arrival order of the message; the topology version misalignment evaluation is determined at least based on the matching relationship between the normalized version of the link state update message corresponding to the candidate link and the old or new topology determination track.
[0013] In one embodiment, the determination of the old topology observation shadow coefficient and the new topology observation shadow coefficient includes: for each candidate link in the fault candidate link set, based on the fault location input object and the dual-track topology determination basis, determining the old topology expected observation domain, the new topology expected observation domain, and the measured propagation evidence set corresponding to the candidate link respectively; determining the old topology observation shadow domain based on the difference between the old topology expected observation domain and the measured propagation evidence set, and determining the new topology observation shadow domain based on the difference between the new topology expected observation domain and the measured propagation evidence set; determining the old topology observation shadow coefficient based on the old topology observation shadow domain, and determining the new topology observation shadow coefficient based on the new topology observation shadow domain.
[0014] In one embodiment, the expected observation domain of the old topology and the expected observation domain of the new topology include the expected visible propagation nodes, expected visible propagation edges and expected visible propagation paths in the old link state flood map and the new link state flood map, respectively; the measured propagation evidence set includes the actual visible propagation nodes, actual visible propagation edges, actual visible propagation paths, normalized time and normalized sequence in the monitored visible propagation graph.
[0015] In one embodiment, the old topology observation shadow coefficient and the new topology observation shadow coefficient are determined based on the coverage ratio of the old topology observation shadow domain and the coverage ratio of the new topology observation shadow domain, as well as the propagation distance from the candidate link to the current monitoring location set, the number of visible propagation nodes corresponding to the candidate link, the propagation path redundancy corresponding to the candidate link, and the dual-end visibility balance; wherein, the dual-end visibility balance is the balance parameter corresponding to the difference in visibility between the devices at both ends of the candidate link in the measured propagation evidence set.
[0016] In one embodiment, the dual-track consistency result includes dual-track consistency failure result, single-track failure result, and dual-track unconfirmed result.
[0017] Compared with the prior art, the present invention has the following beneficial effects: This invention obtains basic link status information and generates a fault location input object that includes snapshot objects of previous and subsequent status databases, link status event sequences, and a set of current monitoring locations. This enables the fault location process to simultaneously have status difference evidence, event propagation evidence, and monitoring visibility evidence, avoiding reliance on a single link status snapshot or a single alarm record for judgment. This is beneficial for more complete identification of the set of fault candidate links corresponding to changes in link status. By generating a dual-track topology judgment basis based on the fault location input object, and combining the link state differences in the snapshot objects of the state database before and after, the misalignment degree of the old topology three-map and the misalignment degree of the new topology three-map corresponding to the candidate link are determined respectively. This allows the candidate link to be evaluated under the two judgment tracks of topology cognition before and after the fault. This is beneficial to adapting to situations such as the alternation of old and new states, inconsistency of topology cognition and differences in the timing of link state updates during the link state propagation process, thereby improving the stability of candidate link anomaly identification. By determining the old topology observation shadow coefficient and the new topology observation shadow coefficient for each candidate link, and combining them with the old topology three-map misalignment degree and the new topology three-map misalignment degree to form the old topology visibility credibility and the new topology visibility credibility, and further determining the dual-track state consistency result based on the consistency between the two, the candidate link is confirmed for fault, and the fault location result is output by combining the whole network path vector matrix. This is beneficial to improve the credibility, interpretability and path correlation of the fault link confirmation result when considering insufficient monitoring coverage, incomplete propagation evidence and differences in path influence range. Attached Figure Description
[0018] Figure 1 This is a schematic diagram of the overall process of a network fault location method based on link state awareness according to the present invention. Figure 2 This is a schematic diagram illustrating the basis for dual-track topology determination and the generation of the entire network path vector matrix in this invention. Figure 3This is a schematic diagram showing the output of the dual-track state consistency result and fault location result of the present invention. Detailed Implementation
[0019] Reference Figures 1 to 3 A link-state-aware network fault location method, executed by a fault location device, includes the following steps: Step 1: Obtain basic link status information and generate a fault location input object based on the basic link status information. The fault location input object includes the before and after state database snapshot objects, the link status event sequence, and the current monitoring location set. The link status data before and after the network fault occurred, the link status update propagation data, and the monitoring location data are organized into the same fault location input object. The before-and-after state database snapshots reflect the state changes of the link state database before and after the fault. The link state event sequence reflects the changes in time, sequence, version, and source of link state update messages. The current monitoring location set reflects the location range where the fault location device can obtain evidence of link state propagation. Through this step, the fault location process does not rely solely on the network alarm itself, but incorporates state database changes, message propagation changes, and monitoring visibility range into a unified data foundation.
[0020] After receiving a network alarm related to a change in link status, the fault location device obtains the time when the network alarm occurred and collects the link status update message and link status database snapshot associated with the time when the network alarm occurred. The basic link status information consists of the time when the network alarm occurred, the link status update message, and the link status database snapshot. The fault location device divides the link state database snapshots by time, using the time of network alarm occurrence as the boundary. The link state database snapshots that reflect the stable state of the link before the time of network alarm occurrence are identified as pre-fault state database snapshots. The multiple link state database snapshots formed after the time of network alarm occurrence according to the order of collection are identified as post-fault state database snapshot sequences. The pre-fault state database snapshots record the link endpoints, link interfaces, link states, and link costs, while the post-fault state database snapshot sequences record the continuous changes in the link state after the alarm occurs. Together, they form the pre- and post-fault state database snapshot objects. The fault location device also normalizes the link status update messages in terms of time, sequence, version and source, and organizes the link status update messages obtained from different monitoring locations into a link status event sequence carrying normalized time, normalized sequence, normalized version and normalized source, and combines it with the current monitoring device location to form the current monitoring location set. The fault location device performs unified symbolization processing on the fault location input objects. Assume the network physical forwarding topology is... in, Represents a set of network devices. Represents the set of physical forwarding links in a network. Represents the set of link costs. Snapshot from the pre-fault state database and post-fault state database snapshot sequence The physical forwarding links appearing in the data are merged. Current monitoring location set. For network device collection The set of devices in the system capable of monitoring. Assume the snapshot of the state database before the fault is... The sequence of post-fault state database snapshots is as follows in, This indicates the number of state database snapshots after a failure. Let the link state event sequence be... This sequence consists of multiple link state events. Composed of, a single link status event is This indicates the link corresponding to the link status event. Indicates normalized time. Represents a normalized sequence. Indicates the normalized version. Indicates the source of normalization. This indicates the listening location for collecting link status events. This indicates the link state carried by the link state event. This indicates the link cost carried by the link state event. This indicates that the record carried by the link status event exists in a state, and .
[0021] set up To prevent extremely small positive numbers with a denominator of zero, when normalizing proportions, proportion terms where both the denominator and the corresponding measured set are empty are not included in the weighting; the remaining weights are normalized according to the original proportion. Proportion terms where the denominator is not empty but the corresponding measured set is empty are set to 0. All weights are in a state of... Within the specified range, and summed to 1 within the same composition. Weights and thresholds are recorded in the parameter configuration file of the fault location device, and are determined by network operation and maintenance policies, historical fault review records, monitoring coverage configuration, and link state update message integrity.
[0022] For example, when multiple routing devices in a certain area successively publish link state update messages, the fault location device will include the messages reported by different devices into the same link state event sequence according to the normalized time and normalized sequence, and include the link state database snapshots before and after the alarm into the before and after state database snapshot objects. At the same time, it will retain the normalized source and current listening location set corresponding to each message, so that the fault location input object includes three types of content: link state change, message propagation order and listening visibility range.
[0023] Step Two: Generate a dual-track topology determination basis based on the fault location input object, and generate a full-network path vector matrix. This forms a dual-track topology determination basis related to both the old and new topologies, building upon the fault location input object. The dual-track topology determination basis retains the topology differences before and after link status changes, and preserves the propagation judgment criteria for link status updates under different topology states. The full-network path vector matrix reflects the correlation between paths and links in the network's physical forwarding topology, facilitating the determination of the affected path range associated with a candidate link after its confirmation. This step carries the data for topology determination and path impact analysis.
[0024] The fault location device reads the before and after state database snapshot objects, link state event sequences, and current monitoring location set from the fault location input object. Based on the link endpoints, link interfaces, link states, and link costs recorded in the before and after state database snapshots, it organizes the network physical forwarding topology. Based on the normalized time, normalized sequence, normalized version, and normalization source in the link state event sequences, and combined with the visible range of each monitoring location in the current monitoring location set, it organizes the monitoring visible propagation map. Based on the topological relationships of the link states before and after the changes in the state database snapshot objects, old link state flood maps and new link state flood maps are established respectively, and the two together form a link state flood map group; the fault location device integrates the network physical forwarding topology, the listening visible propagation map and the link state flood map group into a basic topology map group, and establishes link topology projection relationships within the basic topology map group, so that the same candidate link maintains correspondence in the physical forwarding relationship, the listening propagation relationship, the old link state flood relationship and the new link state flood relationship; Based on this, the fault location equipment forms an old version of the topology determination track and a new version of the topology determination track. The old version of the topology determination track retains the flood propagation judgment basis before the link status change, and the new version of the topology determination track retains the flood propagation judgment basis after the link status change. Together, they constitute the dual-track topology determination basis. The visible propagation graph of the eavesdropping system consists of devices and propagation edges that can form visible propagation evidence from the current eavesdropping location set. Let... Represents the set of reachable link states. It consists of the state values in the link state library that indicate the link's participation in forwarding calculation or link state flooding adjacency; when there are differences in state naming between different link state protocols, the link state value normalized by the fault location device shall prevail.
[0025] set up Indicates link Pre-fault state database snapshot Link status in Indicates link State database snapshot after the last failure Link status in Indicates link Pre-fault state database snapshot The records in the record exist in a state. Indicates link State database snapshot after the last failure The records in the database exist in a state.
[0026] The old link state flood diagram is denoted as ,in The new link status flood diagram is denoted as follows: ,in set up Indicates link Pre-fault state database snapshot The normalized version in Indicates link State database snapshot after the last failure The normalized version in [the original text]. The set of normalized versions corresponding to the old topology-based orbit determination is [the set of normalized versions]. The set of normalized versions corresponding to the new topology determination orbit is: set up ,in This indicates the old version of the topology-based orbital determination. This indicates the new topology determination track. Candidate links are matched against the network physical forwarding topology, the monitored visible propagation map, and the corresponding link status flood map for link identification, endpoint device identification, and interface identification; if no matching link is found, it is treated as a miss.
[0027] Meanwhile, based on the network physical forwarding topology, the fault location device vectorizes the reachable paths between edge devices, the links traversed by the paths, and the positional relationships of the links in the paths, generating a network-wide path vector matrix. For example, when the link status between a certain aggregation device and its neighboring devices changes, the fault location device retains the propagation relationship of the link before the alarm in the old link status flood map, records the propagation relationship corresponding to the link status change after the alarm in the new link status flood map, and maps the link status update messages collected from different monitoring locations to the monitoring visible propagation map, thereby forming a dual-track topology determination basis and a full network path vector matrix that includes both forwarding path relationships and link status propagation relationships.
[0028] Step 3: Based on the differences in link states in the snapshot objects of the state database before and after, determine the set of candidate links for failure; based on the dual-track topology judgment basis, determine the misalignment degree of the old topology three-map and the misalignment degree of the new topology three-map corresponding to the candidate links in the set of candidate links for failure respectively; extract the links with link states that differ from the snapshot objects of the state database before and after, and include such links in the set of candidate links for failure. The set of candidate fault links limits the scope of fault location, avoiding indiscriminate judgment of all links in the entire network. The misalignment degree of the old and new topology three-maps reflects the misalignment of candidate links under the old and new topology judgment relationships, respectively, including the degree of difference between link state changes, topology structure relationships, and propagation performance. Through this step, candidate links are not only filtered based on whether the state database has changed, but also, combined with the dual-track topology judgment basis, it identifies whether there is consistency or deviation between link state changes and topology propagation performance.
[0029] The fault location device retrieves the state database snapshot objects before and after the fault, and compares the link endpoints, link interfaces, link status, link cost and link version relationships recorded in the state database snapshot before the fault and the state database snapshot sequence after the fault item by item. It identifies the differences in link status such as link status changing from normal to abnormal, from abnormal to normal, sudden change in link cost, missing link record or new link record, and gathers the links with link status differences into a set of fault candidate links. set up Indicates link In the Post-fault status database snapshot Link status in Indicates link In the Post-fault status database snapshot The records in the record exist in a state. Indicates link Pre-fault state database snapshot Link cost in Indicates link In the Post-fault status database snapshot Link cost in This represents the threshold for changes in link cost. The set of candidate fault links is... Link state differences and link cost differences are only considered when there are link records in both the pre-fault state database snapshot and the corresponding post-fault state database snapshot; if no record exists on either side, the link is included in the fault candidate link set according to the existence of the record state difference.
[0030] against and ,set up Indicates topologically determined orbits Next candidate link The degree of misalignment of the three images This indicates an evaluation of structural relationship misalignment. This indicates an evaluation of link status misalignment. This indicates a misalignment in the propagation timeline. This indicates the evaluation of topology version misalignment; the values for all four are within the range of [missing information]. .set up For misaligned evaluation weights, satisfying ,and The misalignment of the three images is... set up Indicates endpoint consistency. This indicates that the edges of the graph exhibit state consistency. This indicates the continuity of the propagation path. Let... For structural relation weights, satisfying ,and The structural misalignment is evaluated as... Endpoint consistency, graph edge existence state consistency, and propagation path continuity are determined according to the endpoint interface matching ratio, graph edge hit ratio, and continuous propagation path ratio of candidate links in the network physical forwarding topology, the monitored visible propagation graph, and the corresponding link state flooding graph, respectively.
[0031] set up Indicates the candidate link There exists a set of listening locations for actual visible link state events. express Visible state change direction and topological determination orbit A set of listening positions where the direction of the next state change is consistent. Link state misalignment is evaluated as... The direction of state change depends on whether the record exists and the link state belongs to a certain category. The difference in link cost is used for determination; adding or missing records has a higher priority than disconnecting or restoring, and disconnecting or restoring has a higher priority than increasing or decreasing cost. If there is no difference, it is recorded as unchanged. It can be seen that the direction of state change is from the monitoring location to the candidate link. Associated link status events and The differences in start and end states after ascending order are determined.
[0032] set up Indicates topologically determined orbits Next candidate link For listening location The expected arrival order of the messages. Indicate candidate link For listening location The actual arrival order of the messages. This represents the maximum order deviation value involved in normalization. The propagation timing misalignment is evaluated as follows: in, Determine the orbit based on topology. Next candidate link Corresponding normalization source to listening location The propagation path hierarchy is determined in ascending order; when the propagation path hierarchy is the same, it is determined in ascending order by the unique number of the monitoring location. According to the corresponding link status event And the unique number of the monitoring location is determined in ascending order.
[0033] set up Indicate candidate link The corresponding set of link state events, express Normalized version and topological determination orbit Corresponding normalized version set The set of matched link state events. Topology version misalignment is evaluated as follows: in, This indicates the degree of misalignment of the three graphs in the old topology. This indicates the degree of misalignment of the three graphs in the new topology.
[0034] When determining the set of candidate fault links, the fault location device retains the original state of each candidate link in the pre-fault state database snapshot, the direction of change in the post-fault state database snapshot sequence, the corresponding link state update message, and the normalization source, to avoid identifying the fault location based on a single alarm record. For example, if a link between an access device and an aggregation device remains stable in the pre-fault state database snapshot, but shows state revocation or abnormal cost changes in the post-fault state database snapshot sequence, and there is a corresponding link state update message in the link state event sequence, then this link is included in the set of candidate fault links. For each candidate link in the set of candidate fault links, the fault location device constructs an old topology three-map state projection in the old topology determination track and a new topology three-map state projection in the new topology determination track based on the link topology projection relationship. The old topology three-map state projection and the new topology three-map state projection correspond to the link mapping relationship between the network physical forwarding topology, the listening visible propagation map, and the old link state flood map or the new link state flood map, respectively. The fault location device performs structural relationship misalignment evaluation, link state misalignment evaluation, propagation timing misalignment evaluation, and topology version misalignment evaluation within the old and new topology three-map state projections, respectively. Among them, the structural relationship misalignment evaluation is determined based on the endpoint consistency of candidate links, the existence status of graph edges, and the continuity of propagation paths. The link state misalignment evaluation is determined based on the direction of state change of candidate links in the pre-fault state database snapshot and post-fault state database snapshot sequences, as well as the direction of visible state change in the monitored visible propagation map. The propagation timing misalignment evaluation is determined based on the normalized time, normalized sequence, propagation path level in the old or new link state flood map, and the degree of deviation between the propagation path level and the expected arrival order of the messages corresponding to the propagation path level. The topology version misalignment evaluation is determined based on the matching relationship between the normalized version of the link state update message corresponding to the candidate link and the old or new topology judgment track. Based on the above evaluation results, the fault location device obtains the misalignment degree of the old topology three-map and the misalignment degree of the new topology three-map corresponding to the candidate link. For example, the same candidate link still has a continuous propagation path in the old link state flood map, but the corresponding propagation path is interrupted in the new link state flood map. At the same time, there are similarities to the new link state flood map in the monitored visible propagation spectrum. Figure 1 If the link state update propagation traces are consistent, the misalignment under the new topology decision track will show a difference from the misalignment under the old topology decision track. This difference is incorporated into the determination process of the misalignment degree of the old topology three-graph and the misalignment degree of the new topology three-graph.
[0035] Step 4: For each candidate link in the fault candidate link set, based on the fault location input object and the dual-track topology judgment basis, determine the old topology observation shadow coefficient and the new topology observation shadow coefficient corresponding to the candidate link, and evaluate the observability of each candidate link under the current monitoring position set. The old topology observation shadow coefficient reflects the absence or obscuring of expected propagation evidence and measured propagation evidence for candidate links under the old topology conditions. The new topology observation shadow coefficient reflects the absence or obscuring of expected propagation evidence and measured propagation evidence for candidate links under the new topology conditions. This step focuses on the impact of monitoring location, propagation path, visible propagation nodes, and measured propagation evidence on the judgment result, avoiding directly equating insufficient evidence in invisible or low-visibility areas with the candidate link not being faulty, and also avoiding directly equating abnormal propagation at a single monitoring location with deterministic failure.
[0036] For each candidate link in the set of candidate fault links, the fault location device reads the link status event sequence and the current monitoring location set from the fault location input object. Combined with the old and new topology judgment tracks in the dual-track topology judgment basis, it determines the old topology expected observation domain, the new topology expected observation domain, and the measured propagation evidence set corresponding to the candidate link. The old topology expected observation domain is determined according to the propagation path hierarchy, adjacent propagation edges, expected reachable monitoring locations, and propagation path continuity of the candidate link in the old link status flood map. The old topology expected observation domain includes the expected visible propagation nodes, expected visible propagation edges, and expected visible propagation paths in the old link status flood map. The new topology expected observation domain is determined according to the propagation path hierarchy, adjacent propagation edges, expected reachable listening positions, and propagation path continuity of the candidate links in the new link state flood map. The new topology expected observation domain includes the expected visible propagation nodes, expected visible propagation edges, and expected visible propagation paths in the new link state flood map. The measured propagation evidence set is formed based on the listening visible propagation map. The measured propagation evidence set includes the actual visible propagation nodes, actual visible propagation edges, actual visible propagation paths, normalized time, and normalized sequence. Let topological decision orbit Next candidate link The expected set of visible propagation nodes, the expected set of visible propagation edges, and the expected set of visible propagation paths are respectively Candidate Links The actual set of visible propagation nodes, the actual set of visible propagation edges, and the actual set of visible propagation paths are respectively The portion of expected propagation evidence not covered by measured propagation evidence is recorded in the observation shadow record of the candidate link.
[0037] in, Candidate Links Starting from the normalized source endpoint, along the topological decision orbit The corresponding link state flood diagram leads to the set of current monitoring locations. The reachable propagation path is extracted; nodes are the devices traversed by the path, edges are the adjacent propagation edges, and paths are the continuous propagation paths from the normalized source endpoint to the reachable listening location. From link state event sequence China satisfies Event extraction; nodes are taken from the event source and listening location, edges are taken from the visible propagation relationship formed by adjacent normalized times and normalized sequences, and paths are taken from the propagation traces connected in ascending order of normalized time and normalized sequence under the same normalization version.
[0038] Topological orbit determination Next candidate link The coverage ratio is in, Indicates the coverage ratio. Represents the coverage ratio weight, satisfying ,and .
[0039] set up Indicates topologically determined orbits Next candidate link To the listening position The distance between the propagation path levels; when no reachable propagation path exists. .set up Indicates topologically determined orbits The maximum distance across all candidate links to the current listening location from the finite propagation path hierarchy. When candidate links When a reachable listening location exists, candidate links To the current listening location set The normalized propagation distance is When there is no finite propagation path hierarchy distance, or candidate links When no reachable listening location exists, Take 1.
[0040] set up Indicate candidate link The corresponding normalized value of the number of visible propagation nodes is calculated by adding the actual number of visible propagation nodes to the expected number of visible propagation nodes. The ratio is then determined, with an upper limit of 1. Let... Indicate candidate link The corresponding normalized value of propagation path redundancy is calculated by adding the actual number of visible propagation paths to the expected number of visible propagation paths. The ratio is then determined, with an upper limit of 1.
[0041] Set candidate links ,in and Indicates the devices at both ends of the candidate link. Endpoint Visibility According to the link state event sequence China satisfies and The number of duplicates for the corresponding listener position in the event, and The ratio is determined; endpoints Visibility According to the link state event sequence China satisfies and The number of duplicates for the corresponding listener position in the event, and The ratio is determined. The dual-end visible equalization is... set up Indicates topologically determined orbits Next candidate link The observed shadow coefficient, Represents the observed shadow weights, satisfying ,and The observed shadow coefficient is in, Represents the old topological observation shadow coefficient. This represents the new topological observation shadow coefficient. The larger the observation shadow coefficient, the greater the lack of expected propagation evidence.
[0042] For example, when a candidate link undergoes a link state change, the old link state flood map may record that the link state update message corresponding to the candidate link should be transmitted to several monitoring positions along the original adjacency relationship, while the new link state flood map may record another set of propagation paths of the link state update message after the link state change. The fault location device sorts out the two types of expected propagation ranges and compares them with the actual propagation traces of the link state update message obtained by the current monitoring position set. The fault location device compares the expected observation domain of the old topology with the measured propagation evidence set to determine the old topology observation shadow domain, and compares the expected observation domain of the new topology with the measured propagation evidence set to determine the new topology observation shadow domain. In the difference comparison, cases where expected visible propagation nodes do not appear in actual visible propagation nodes, expected visible propagation edges do not appear in actual visible propagation edges, expected visible propagation paths are inconsistent with actual visible propagation paths, or normalized time or normalized sequence deviates from the corresponding propagation path level are all included in the corresponding observation shadow domain. The fault location device determines the old topology observation shadow coefficient based on the coverage ratio of the old topology observation shadow domain, the propagation distance from the candidate link to the current monitoring location set, the number of visible propagation nodes corresponding to the candidate link, the propagation path redundancy corresponding to the candidate link, and the visibility balance between the two ends. It determines the new topology observation shadow coefficient based on the coverage ratio of the new topology observation shadow domain, the propagation distance from the candidate link to the current monitoring location set, the number of visible propagation nodes corresponding to the candidate link, the propagation path redundancy corresponding to the candidate link, and the visibility balance between the two ends. Among them, the visibility balance between the two ends is the balance parameter corresponding to the difference in visibility between the devices at both ends of the candidate link in the measured propagation evidence set. For example, if the link status update message of a device at one end of a candidate link has continuous propagation traces in the monitored visible propagation map, while the device at the other end only shows scattered propagation traces, the fault location device will incorporate the difference in visibility between the two ends into the dual-end visibility balance, and adjust the corresponding old topology observation shadow coefficient or new topology observation shadow coefficient in combination with the propagation distance and propagation path redundancy, so as to avoid the observation evidence of the candidate link being over-amplified or over-weakened due to the bias of the monitoring position.
[0043] Step 5: Determine the visibility confidence of the old topology based on the misalignment degree of the three old topology maps and the shadow coefficient of the old topology observation; determine the visibility confidence of the new topology based on the misalignment degree of the three new topology maps and the shadow coefficient of the new topology observation; determine the dual-track state consistency result based on the consistency between the visibility confidence of the old topology and the new topology, and confirm the faults of candidate links based on the dual-track state consistency result; output the fault location result based on the path vector matrix of the entire network; combine the misalignment degree of the three old topology maps with the shadow coefficient of the old topology observation to obtain the visibility confidence of the old topology; combine the misalignment degree of the three new topology maps with the shadow coefficient of the new topology observation to obtain the visibility confidence of the new topology. The visibility confidence levels of the old and new topologies reflect the degree of fault confidence of candidate links in the two topology decision tracks, respectively, and incorporate topology misalignment factors and observation shadow factors into the judgment. The dual-track state consistency result reflects the correspondence between the visibility confidence levels of the old and new topologies, covering situations such as dual-track consistency failure, single-track failure, and unconfirmed dual-track failure. Fault confirmation of candidate links based on the dual-track state consistency result can distinguish between actual link faults, single-track anomalies during topology migration, and unconfirmed cases due to insufficient observational evidence. The entire network path vector matrix participates in the fault location result output; the fault location result not only includes the confirmed faulty link but also correlates with the affected path range passing through that faulty link.
[0044] For each candidate link in the set of candidate fault links, the fault location device reads the misalignment degree of the old topology three-map, the old topology observation shadow coefficient, the new topology three-map misalignment degree, and the new topology observation shadow coefficient corresponding to that candidate link. The misalignment degree of the old topology three-map and the old topology observation shadow coefficient are jointly judged to obtain the old topology visibility confidence degree. The misalignment degree of the new topology three-map and the new topology observation shadow coefficient are jointly judged to obtain the new topology visibility confidence degree. Among them, the old topology visibility confidence degree reflects the degree of abnormal confidence of the candidate link under the old topology judgment track, and the new topology visibility confidence degree reflects the degree of abnormal confidence of the candidate link under the new topology judgment track. The joint judgment takes into account the strength of the misalignment between the three maps and the occlusion range of the observation evidence, avoiding fault confirmation based solely on topology misalignment or solely on listening evidence. set up Indicates topologically determined orbits Next candidate link The visibility credibility. The visibility credibility is in, Indicates the visibility confidence level of the old topology. This represents the visibility confidence level of the new topology. Let... Indicates the fault confirmation threshold. This indicates the dual-track consistency tolerance, which is determined by historical fault review records, manual confirmation results, network operation and maintenance strategies, and monitoring coverage configuration, and written into the parameter configuration file of the fault location device.
[0045] Fault Link Set The set of candidate links consists of links that simultaneously meet the following criteria: visibility reliability in the old topology reaches the fault confirmation threshold, visibility reliability in the new topology reaches the fault confirmation threshold, and the difference between the two does not exceed the dual-track consistency tolerance. Candidate links satisfying the above conditions are added to the fault link set. The result of the two-track state being consistent is recorded as the result of the two-track consistency failure.
[0046] When only one topology decision track reaches the fault confirmation threshold, the dual-track status consistency result is recorded as a single-track failure result, and the topology decision track that reached the fault confirmation threshold is recorded. If neither topology decision track reaches the fault confirmation threshold, or if both topology decision tracks reach the fault confirmation threshold but the difference exceeds the dual-track consistency tolerance, the dual-track status consistency result is recorded as a dual-track unconfirmed result. The candidate links corresponding to the single-track failure result and the dual-track unconfirmed result are written into the candidate link reliability field and retained. and .
[0047] The fault location device compares the consistency between the visibility confidence of the old topology and the visibility confidence of the new topology. When both meet the fault confirmation conditions and point to the same candidate link, the dual-track status consistency result is determined to be a dual-track consistent failure result, and the candidate link is confirmed as a faulty link. When only the visibility confidence of the old topology or only the visibility confidence of the new topology meets the fault confirmation conditions, the dual-track status consistency result is determined to be a single-track failure result, and the track record is determined to be in a topology switching, propagation lag, or local visibility anomaly state in combination with the corresponding topology. When the visibility confidence of the old topology and the visibility confidence of the new topology are both insufficient to meet the fault confirmation conditions, the dual-track status consistency result is determined as the dual-track unconfirmed result, and the observation shadow information and misalignment evaluation information of the candidate link are retained; after the fault confirmation is completed, the fault location device retrieves the path that passes through the confirmed fault link according to the network path vector matrix, and generates a fault location result that includes the fault link, the corresponding dual-track status consistency result, the affected path range, the associated link status update message, and the confidence status of the candidate link; Let the set of edge devices be , Represents the network physical forwarding topology Mid-edge devices To edge devices The set of paths, where Path set By link cost set The corresponding forwarding calculation rules are determined; when equivalent forwarding paths exist, all equivalent forwarding paths are included. The total network path vector matrix is denoted as... ,in .when hour, ;when hour .
[0048] The affected path range is defined by the set of faulty links in the entire network path vector matrix. It consists of the edge device path of any link within the network. The associated link state update message consists of a sequence of link state events. The corresponding set of faulty links The event composition. The trustworthiness of candidate links includes links not written into the set of failed links. The results include candidate links, corresponding dual-track status consistency results, topology judgment tracks that have reached the fault confirmation threshold, misalignment degree of the old topology three-map, misalignment degree of the new topology three-map, old topology observation shadow coefficient, new topology observation shadow coefficient, old topology visibility confidence level, and new topology visibility confidence level. Fault location results include the set of faulty links, corresponding dual-track status consistency results, affected path range, associated link status update messages, and candidate link confidence level.
[0049] For example, when a candidate link shows obvious three-map misalignment in both the old and new topology decision orbits, and neither type of observation shadow coefficient shows serious listening loss, the candidate link is classified as a dual-track consistent failure result; when only the new topology decision orbit shows a high-confidence anomaly, while the old topology decision orbit is still affected by propagation version differences, the candidate link is classified as a single-track failure result, and the corresponding topology decision orbit and affected path are marked in the fault location results.
[0050] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A network fault location method based on link state awareness, characterized in that, Performed by the fault location device, the method includes: Step 1: Obtain basic link status information, and generate fault location input objects based on the basic link status information. The fault location input objects include before and after status database snapshot objects, link status event sequences, and the current monitoring location set. Step 2: Generate the dual-track topology determination basis based on the fault location input object, and generate the entire network path vector matrix; Step 3: Based on the differences in link status in the snapshot objects of the state database before and after, determine the set of candidate fault links; based on the dual-track topology judgment basis, determine the misalignment degree of the old topology three-map and the misalignment degree of the new topology three-map corresponding to the candidate links in the set of candidate fault links respectively; Step 4: For each candidate link in the fault candidate link set, based on the fault location input object and the dual-track topology judgment basis, determine the old topology observation shadow coefficient and the new topology observation shadow coefficient corresponding to the candidate link; Step 5: Determine the visibility confidence of the old topology based on the misalignment degree of the three maps of the old topology and the shadow coefficient of the old topology observation; determine the visibility confidence of the new topology based on the misalignment degree of the three maps of the new topology and the shadow coefficient of the new topology observation; determine the consistency result of the dual-track status based on the consistency between the visibility confidence of the old topology and the visibility confidence of the new topology; confirm the fault of the candidate link based on the consistency result of the dual-track status; and output the fault location result based on the path vector matrix of the whole network.
2. The network fault location method based on link state awareness according to claim 1, characterized in that, The basic link state information includes the time when the network alarm occurred, the link state update message, and the link state database snapshot. Taking the time when the network alarm occurred as the boundary, the sequence of the link state database snapshots before and after the fault is determined from the link state database snapshots, and the before and after state database snapshot objects are formed. The link state update messages are normalized in terms of time, sequence, version, and source to form a link state event sequence carrying the normalized time, normalized sequence, normalized version, and normalized source.
3. The network fault location method based on link state awareness according to claim 2, characterized in that, Based on the snapshot objects of the previous and next state databases, the link state event sequence, and the current set of monitoring locations, a basic topology map group is constructed. The basic topology map group includes the network physical forwarding topology, the monitoring visible propagation map, and the link state flood map group, which includes the old link state flood map and the new link state flood map. Based on the basic topology map group, the link topology projection relationship is established and the old version topology determination track and the new version topology determination track are formed to obtain the dual-track topology determination basis. The entire network path vector matrix is generated based on the network physical forwarding topology.
4. The network fault location method based on link state awareness according to claim 3, characterized in that, The determination of the misalignment degree of the old topology three-graph and the misalignment degree of the new topology three-graph includes: for each candidate link in the set of candidate fault links, based on the link topology projection relationship, construct the state projection of the old topology three-graph and the state projection of the new topology three-graph in the old topology judgment track and the new topology judgment track respectively, and determine the misalignment degree of the old topology three-graph and the misalignment degree of the new topology three-graph respectively based on the structural relationship misalignment evaluation, link state misalignment evaluation, propagation timing misalignment evaluation and topology version misalignment evaluation.
5. The network fault location method based on link state awareness according to claim 4, characterized in that, The evaluation of structural relationship misalignment is determined at least based on the endpoint consistency of candidate links, the existence status of graph edges, and the continuity of propagation paths; the evaluation of link state misalignment is determined at least based on the direction of state change of candidate links in the sequence of state database snapshots before and after the fault, as well as the direction of visible state change in the monitored visible propagation graph.
6. The network fault location method based on link state awareness according to claim 5, characterized in that, The evaluation of propagation timing misalignment is determined at least based on the normalized time, normalized sequence, propagation path level in the old or new link state flood map, and the degree of deviation between the propagation path level and the expected arrival order of the messages corresponding to the propagation path level; the evaluation of topology version misalignment is determined at least based on the matching relationship between the normalized version of the link state update message corresponding to the candidate link and the old or new topology determination track.
7. The network fault location method based on link state awareness according to claim 1, characterized in that, The determination of the old topology observation shadow coefficient and the new topology observation shadow coefficient includes: for each candidate link in the fault candidate link set, based on the fault location input object and the dual-track topology judgment basis, determining the old topology expected observation domain, the new topology expected observation domain, and the measured propagation evidence set corresponding to the candidate link respectively; determining the old topology observation shadow domain based on the difference between the old topology expected observation domain and the measured propagation evidence set, and determining the new topology observation shadow domain based on the difference between the new topology expected observation domain and the measured propagation evidence set; determining the old topology observation shadow coefficient based on the old topology observation shadow domain, and determining the new topology observation shadow coefficient based on the new topology observation shadow domain.
8. The network fault location method based on link state awareness according to claim 7, characterized in that, The expected observation domains of the old topology and the new topology include the expected visible propagation nodes, expected visible propagation edges, and expected visible propagation paths in the old link state flood map and the new link state flood map, respectively; the set of measured propagation evidence includes the actual visible propagation nodes, actual visible propagation edges, actual visible propagation paths, normalized time, and normalized sequence in the monitored visible propagation graph.
9. A network fault location method based on link state awareness according to claim 8, characterized in that, The old topology observation shadow coefficient and the new topology observation shadow coefficient are determined based on the coverage ratio of the old topology observation shadow domain and the new topology observation shadow domain, respectively, as well as the propagation distance from the candidate link to the current monitoring location set, the number of visible propagation nodes corresponding to the candidate link, the propagation path redundancy corresponding to the candidate link, and the dual-end visibility balance. Among them, the dual-end visibility balance is the balance parameter corresponding to the difference in visibility between the devices at both ends of the candidate link in the measured propagation evidence set.
10. A network fault location method based on link state awareness according to any one of claims 1-9, characterized in that, The results of dual-track consistency include dual-track consistency failure results, single-track failure results, and dual-track unconfirmed results.
