A network connectivity enhancement method and system based on composite cut
The CONP algorithm achieves unified protection of vertices and edges in large-scale networks, solving the problems of redundancy and inefficiency in existing technologies. It realizes efficient and low-cost composite connectivity enhancement and is suitable for large-scale communication networks, data center networks, and power communication networks.
Patent Information
- Application Number
- CN202611289369.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-25
- Publication Date
- 2026-11-20
AI Technical Summary
The lack of a unified theoretical framework for vertex-edge composite fault protection in existing technologies leads to redundancy and low computational efficiency in vertex and edge protection schemes in large-scale networks, making it impossible to efficiently achieve composite connectivity enhancement.
The Nested Network Protection Algorithm (CONP) based on composite cuts is adopted. Composite cuts are discovered through multiple rounds of random depth-first search. Key elements are marked using pruning structure and dynamic programming. The sufficiency of the protection scheme is verified by combining link cover tree, so as to achieve unified protection of vertices and edges.
It achieves composite connectivity enhancement in large-scale networks at the lowest cost, with extremely high computational efficiency, a protection rate of 99.9%, significantly accelerated computation time, and an additional cost of only 6%.
Smart Images

Figure QLYQS_33
Abstract
Description
Technical Field
[0001] This invention belongs to the field of graph computing and network reliability technology, specifically relating to a method and system for enhancing network connectivity based on composite cut for large-scale networks.
[0002] The direct application area of this invention is to enhance the robustness of critical infrastructure such as large-scale communication networks, data center networks, and the Internet of Things. By planning the unified protection of vertices and edges in the network, the composite connectivity of the network can be improved to the target level at the lowest cost, enabling the network to resist connectivity interruptions caused by vertex failures and link failures at the same time.
[0003] Potential applications of this invention include, but are not limited to: communication network topology optimization: unified protection planning for routers and fiber optic links in the core / bearer network to prevent network segmentation caused by equipment failure and link interruption; data center interconnection networks: protecting critical server nodes and network links to ensure connectivity for virtual machine migration and distributed storage; power communication network reliability enhancement: protecting substation communication nodes and transmission lines to prevent power monitoring systems from being paralyzed by compound faults; transportation network vulnerability assessment: protecting critical hubs and road sections from compound fault risks; robust design of industrial Internet of Things (IoT) backbone networks: protecting gateway nodes and communication links to improve the disaster recovery capabilities of industrial control systems.
[0004] The common features of the above applications are: they need to consider the failure risks of both vertices and edges on large-scale graphs to minimize the total protection cost and achieve target-level connectivity assurance, and the algorithms need to be able to run efficiently on networks with millions of nodes. Background Technology
[0005] Prior art related to this invention
[0006] This invention relates to the intersection of two major technical directions: (A) connectivity analysis and fast minimum cut computation for large-scale graphs, and (B) element protection methods for enhancing network reliability.
[0007] The following is a summary categorized by direction:
[0008] Direction A: Large-scale graph connectivity analysis and fast minimum cut computation
[0009] A1. An ultrafast and high-precision minimum cut approximation method based on aggregated hash cut sets (CCH / AHCA, Liu Weibing et al., 2024)
[0010] Source: Chaos, Solitons & Fractals (Elsevier, 2024, Vol. 187)
[0011] Inventors: Weibing Liu, Pengzhang Li, Weibin Yao
[0012] Technical Solution Overview: This academic method re-examines the st minimum cut problem from a novel perspective of Cut Collection Hash (CCH). It maps the cut set to a one-dimensional space to obtain a "fingerprint" (hash), and quickly determines the minimum cut by comparing aggregated hash values. Preprocessing can be completed in just 2P rounds of depth-first traversal. The algorithm, named AHCA (Aggregated Hash-based Cut Acceleration), achieves a speedup of over 7 orders of magnitude compared to the fastest current exact minimum cut implementation while maintaining an accuracy of over 99.9%.
[0013] Application scenario: Fast query of minimum cut in large-scale graphs, suitable for network reliability analysis.
[0014] Limitations: (a) Hash aggregation-based strategies may suffer from hash collisions and precision loss in extreme cases; (b) It only focuses on edge cuts and does not define a composite cut concept that can uniformly handle vertices and edges; (c) It does not transform the cut discovery results into optimization schemes for network element protection; (d) It does not provide verification structures such as link coverage trees to ensure the adequacy of the protection scheme.
[0015] Source link: https: / / doi.org / 10.1016 / j.chaos.2024.115405
[0016] A2. Near-linear time stochastic approximation algorithm for network unreliability (Cen Ruoxu et al., 2024)
[0017] Source: arXiv preprint (2024); authors from Duke University and Carnegie Mellon University
[0018] Inventors: Ruoxu Cen, Jason Li, Debmalya Panigrahi
[0019] Technical Solution Summary: This academic work is the first to propose a solution for network unreliability—the probability that a graph will break after each edge of the graph fails independently with a given probability—that operates on [a specific platform / system]. A fully polynomial-time stochastic approximation scheme (FPRAS) is proposed. The upper bound is essentially optimal because reading the input graph alone requires Ω(m) time. The core technology employs ideal tree packing—based on Thorup's spanning tree packing theory—combined with a recursive shrinking method, reducing the problem of accurately calculating the probability of exponential fault states to a near-linear time-processable approximate computation.
[0020] Application scenarios: End-to-end reliability probability assessment of large-scale networks, applicable to failure probability analysis of communication networks, power networks, etc.
[0021] Limitations: (a) It targets network reliability in a probabilistic sense (independent failure probability model for each edge), rather than deterministic worst-case connectivity protection; (b) It does not define the concept of composite cut, does not distinguish the different semantics of vertex failure and edge failure, and does not consider mixed failure scenarios of vertices and edges; (c) The output is the probability value of network disconnection, rather than a specific protection element selection scheme; (d) The algorithm is highly theoretical and has high implementation complexity, and has not been engineered for real networks with millions of nodes.
[0022] Source link: https: / / arxiv.org / abs / 2503.23526
[0023] A3. A Fast Method for Finding the Minimum Cut Set in Microgrids Based on Breadth-First Search (CN106844932A)
[0024] Technical solution summary: This patent uses breadth-first search (BFS) instead of DFS. By dividing the node levels, constructing the level matrix and root-leaf matrix, and using "leaf nodes are not completely contained" as the minimization test condition, it skips the traditional steps of "first finding the minimum path set and then inverting" and directly obtains the minimum cut set.
[0025] Application scenario: Microgrid reliability assessment.
[0026] Limitations: (a) The BFS-based search strategy cannot utilize the key property that cuts of subtrees in a DFS tree form bond cuts, and the efficiency of cut set enumeration is lower than that of the DFS method; (b) It only achieves about 2.8 times speedup on a 12-node network, which is far from sufficient to cope with large-scale networks with millions of nodes; (c) It does not involve composite fault scenarios of vertices and edges at all, and does not define the concepts of composite cuts and composite connectivity.
[0027] Source link: https: / / patents.google.com / patent / CN106844932A / zh
[0028] A4. COPCUT: Ultra-fast approximation of minimum cut by condensingtraversal trees in large-scale graphs (Ronghua Ma et al., 2025)
[0029] Source: Computers & Electrical Engineering (Elsevier, 2025)
[0030] Technical Solution Overview: This academic method uses Depth-First Search (DFS) to traverse the tree and find the optimal tree with a local minimum cut for each node. Then, it performs a graph condensation operation—pre-computing the minimum cut value for fixed-length tree path segments and establishing a compressed representation. The compressed data structure can separate arbitrary node pairs, and queries only require microseconds. The preprocessing complexity is O(M) (where M is the number of edges).
[0031] Application scenario: Fast connectivity query for general large-scale graphs.
[0032] Limitations: (a) It uses graph condensation instead of pruning, which changes the original graph topology and makes it difficult to maintain verifiability after element protection; (b) It does not define the concept of composite cut, only handles edge cut, and does not uniformly handle mixed cuts of vertices and edges; (c) It does not propose a complete protection pipeline from cut discovery to element protection; (d) It does not introduce a link cover tree for efficient verification of the adequacy of the protection scheme.
[0033] Source link: https: / / doi.org / 10.1016 / j.compeleceng.2025.110527
[0034] Direction B: Element protection methods for enhancing network reliability
[0035] B1. Complex network protection methods for critical node protection links (CN103200118A)
[0036] Application date: 2013-03-13
[0037] Applicant: Nanjing University of Science and Technology (Inventors: Zhang Kun, Zhu Baoping, Yuan Yi, Li Qianmu, Tian Chunshan, Zhang Hong)
[0038] Technical solution overview: By establishing the concepts of critical balance loops and critical chains, and adding protection links around critical nodes, the solution protects critical nodes in complex networks, thereby improving the network's fault tolerance and connectivity.
[0039] Application scenario: Topology protection for complex networks.
[0040] Limitations: (a) It treats vertex protection and edge protection as independent strategies and does not establish a unified composite cut theory framework to simultaneously handle the combined failure effects of the two; (b) It relies on link addition strategies rather than direct protection selection of existing elements, which cannot be applied to scenarios where only protection of existing infrastructure is allowed and no new links are allowed; (c) It does not provide a systematic small cut enumeration and coverage optimization method based on pruned traversal trees.
[0041] Source link: https: / / patents.google.com / patent / CN103200118A / zh
[0042] B2. A method for maximizing network service elasticity based on vertex cut sets (US8869035B2, IBM).
[0043] Applicant: International Business Machines Corporation (IBM)
[0044] Inventors: Dipyaman Banerjee, Venkateswara R. Madduri, Mudhakar Srivatsa
[0045] Application date: June 29, 2009 (Authorization date: October 21, 2014)
[0046] Technical Solution Summary: This patent solves the problem of optimally placing network services (such as network monitoring services) in a network to maximize fault tolerance. The method consists of three steps: (1) Finding a vertex cut-set—the smallest set of vertices that can break the graph after deletion, which constitutes candidate service placement nodes; (2) Applying Menger's theorem—transforming the graph (splitting vertices), calculating the number of edge-independent paths and vertex-independent paths from each candidate node to all other nodes, and weighting each independent path using the failure probability of each edge and vertex; (3) Ranking candidate nodes using a tournament method—the node with the higher weighted number of independent paths wins, and in case of a tie, the node with the smallest sum of shortest path distances to other nodes is selected.
[0047] Application scenario: Optimal placement of a single instance of network monitoring services (such as IBM Tivoli Netcool Precision) to maximize the time the service spends connecting to the most nodes during the accumulation of failures, thus achieving "graceful degradation".
[0048] Limitations: (a) It only addresses the optimal placement problem of a single service instance, rather than systematically protecting multiple network elements (vertices and edges) to globally improve connectivity; (b) It only uses vertex cut sets as candidates, does not define the concept of composite cuts, and does not involve the combined analysis of mixed vertex and edge faults; (c) It does not provide an efficient cut enumeration method based on traversal trees, and the search of vertex cut sets relies on traditional graph theory algorithms, which have limited scalability; (d) It does not provide a cost optimization mechanism for protection schemes, and only outputs the service placement location rather than the set of protected elements.
[0049] Source link: https: / / patents.google.com / patent / US8869035
[0050] B3. Multi-state minimum cut search algorithm for multi-state flow networks with heterogeneous state components (Zhang Shuai et al., 2025)
[0051] Source: Reliability Engineering & System Safety (Elsevier, 2025)
[0052] Inventors: Shuai Zhang, Guanghan Bai, Junyong Tao, Yang Wang, Bei Xu
[0053] Technical Solution Summary: This academic work addresses the challenge of state heterogeneity in multi-state flow networks by proposing a systematic algorithm for searching multi-state minimum cuts. Unlike traditional two-state (normal / failure) reliability models, multi-state models allow each component to have multiple different performance states, making the definition and search of minimum cuts more complex. This method extends the classic minimum cut set enumeration framework, enabling it to handle heterogeneous network scenarios with varying component state distributions and capacity constraints, providing a more accurate minimum cut analysis method for reliability assessment of complex systems.
[0054] Application scenarios: Reliability modeling and evaluation of components with different capacity levels in multi-state flow networks (such as water supply networks, oil and gas pipelines, and multi-mode communication networks).
[0055] Limitations: (a) It focuses on multi-state reliability assessment modeling rather than protection scheme design for enhancing network connectivity; (b) The search complexity of minimum cut increases exponentially with the number of component states, limiting its scalability in large-scale, high-dimensional state spaces; (c) It only considers minimum cuts for edges (flows) and does not define the concept of composite cuts that include both vertices and edges; (d) It does not provide an optimization mechanism to transform cut analysis results into minimum-cost element protection schemes.
[0056] Source link: https: / / doi.org / 10.1016 / j.ress.2024.110774
[0057] B4. A method for protecting critical links in large-scale networks based on Monte Carlo multiple random walks (Bai Qian et al., 2025)
[0058] Source: Mathematical Methods in the Applied Sciences (Wiley, 2025, Vol.48, Issue 3)
[0059] Inventors: Qian Bai, Longfei Ni, Yongxin Zhang, Weibin Yao
[0060] Technical Summary: This academic work proposes a method for locating important edges in large-scale sparse networks by enumerating small cuts using Monte Carlo random walks. Through sampling on the graph using multiple random walks, the statistical properties of the walk paths are utilized to efficiently enumerate small cuts, thereby discovering links (edges) that have a critical impact on network connectivity. On large-scale networks with millions of nodes, this method achieves a protection rate of over 99.9% against random link failures, achieving a speedup of over 100,000 times compared to exact methods, and the runtime can be reduced to sub-minute levels through parallelization.
[0061] Application scenarios: Identification and protection of critical links in large-scale sparse communication networks and sensor networks.
[0062] Limitations: (a) It only protects edges (links), not vertices, and cannot handle complex scenarios where both vertices and edges fail simultaneously; (b) The sampling quality of Monte Carlo random walks depends on the connectivity structure of the graph, and may miss some types of small cuts on graphs with highly non-uniform or bottleneck structures; (c) The concepts of composite cuts and composite connectivity are not defined, and the evaluation dimension of protection effectiveness is singular; (d) It does not provide a sufficiency verification mechanism for protection schemes based on link coverage trees.
[0063] Source link: https: / / doi.org / 10.1002 / mma.10530
[0064] shortcomings or disadvantages of existing technology
[0065] Based on the above analysis, the existing technology has the following main shortcomings:
[0066] Disadvantage 1: Lack of a unified theoretical framework for vertex-edge composite fault protection. Existing methods (A1's CCH algorithm, A3's BFS cut-set method, B2's IBM vertex cut-set method, B4's Monte Carlo random walk method, etc.) only focus on a single aspect of vertex protection or edge protection, without establishing a composite cut theory that simultaneously considers vertex and edge combined faults. However, in real-world networks, attacks and faults do not distinguish between vertex and edge types—a vertex fault and an edge fault can work together to cause network disconnection, even if the protection objectives are achieved separately from the perspectives of the vertex and edge.
[0067] Disadvantage 2: Simple combination of single-dimensional protection schemes leads to non-optimal costs. Even when existing vertex protection schemes (such as B2 service placement based on vertex cut sets) and edge protection schemes (such as critical edge identification in B4 Monte Carlo random walks) are combined, the simple combination scheme will produce redundant protection because it does not consider the interactive substitution relationship between vertices and edges in composite cuts—that is, protecting a vertex may simultaneously cover part of the edge cut, and vice versa—resulting in redundant protection and causing the total cost to be significantly higher than the necessary theoretical optimal value.
[0068] Disadvantage 3: Lack of an efficient and systematic enumeration method for composite cuts. Traditional connectivity strategies typically first find all vertices and edges belonging to the small cut, and then use heuristics to approximate the optimal protection scheme. However, using the classic maximum flow / minimum cut method for composite cut enumeration faces the combinatorial explosion problem: the minimum edge cut for each edge requires one maximum flow calculation, which is computationally infeasible in large-scale graphs; when a hybrid (vertex + edge) minimum cut is added, the complexity increases exponentially.
[0069] Disadvantage 4: Existing exact optimization methods cannot be extended to large-scale networks. Exact optimization models such as linear programming (LP) can provide optimal solutions on small graphs, but their core complexity increases explosively with the size of the graph. Once the graph size exceeds the level of hundreds of nodes, it cannot be solved in an acceptable time and cannot be applied to real large-scale networks (millions of nodes, hundreds of millions of edges).
[0070] Disadvantage 5: Lack of an efficient mechanism for verifying the sufficiency of approximate protection schemes. Existing methods, after selecting candidate protection elements, typically require exhaustively verifying whether all small cuts are covered to ensure protection sufficiency. There is a lack of an efficient verification structure similar to a link covering tree—one that can confirm the sufficiency of a protection scheme in a theoretically guaranteed manner within linear time, without enumerating all possible cuts.
[0071] Purpose of the invention
[0072] The purpose of this invention is to overcome the shortcomings of the prior art and provide a network connectivity enhancement method and system based on composite cut, which can: (1) simultaneously consider the combined fault scenarios of vertices and edges, and replace the traditional approach of considering vertex connectivity and edge connectivity separately with a unified composite cut and composite connectivity theoretical framework; (2) select the set of vertices and edges to be protected with the lowest total cost, so that the composite connectivity of the network reaches the target value H; (3) achieve computational efficiency far exceeding that of the precise method (more than 10,000 times faster) on large graphs with millions of nodes, while maintaining near-optimal protection cost (additional cost not exceeding 6%) and near-perfect protection effect (protection rate not less than 99.9%).
[0073] Overview of the technical features of the present invention
[0074] The core concept of this invention is CONP (Compound Cut-Based Nested Network Protection)—in the preprocessing stage, compound cuts are systematically discovered through multiple rounds of random depth-first search (DFS) traversal of the tree. Pruned structures and dynamic programming are used to quickly identify H-related vertices and edges (i.e., elements contained in at least one compound cut smaller than H). In the protection selection stage, a greedy set-covering strategy based on cost-benefit ratio is used to select a subset of near-optimal protection elements, and a link covering tree is used to ensure the sufficiency of the protection scheme without exhaustive verification. Its main technical features include:
[0075] Feature 1 (Unified Theoretical Framework for Compound Cuts): This section introduces for the first time a formal definition of a compound cut—a set of vertices and edges whose deletion would break the graph; and a compound connectivity metric—the minimum size of all compound cuts. Theoretically, it proves that increasing the compound connectivity to H simultaneously guarantees that both vertex connectivity and edge connectivity are not lower than H, and provides additional combinatorial protection compared to increasing them separately.
[0076] Feature 2 (Composite Cut Discovery Mechanism Based on Pruned Traversal Tree): Utilizing the property of single-threaded depth-first traversal—for a subtree rooted at any vertex o in the traversal tree, the set of vertices connected to the ancestors of o constitutes a vertex cut (when this set does not contain all the vertices of the subtree)—the cut value is further optimized through pruning operations to achieve a fast and efficient systematic discovery of small composite cuts.
[0077] Feature 3 (Key element labeling based on dynamic programming): By utilizing the composite cut transformation mechanism (a composite cut can be transformed into other composite cuts in the same cut set) and the path counting array gacu, all H-related vertices and edges are labeled in one DFS traversal with O(H) complexity through dynamic programming, avoiding the high overhead of enumerating cuts one by one.
[0078] Feature 4 (greedy protection selection based on cost-benefit ratio): Sort candidate H-related elements according to the ratio of protection cost to the number of associated elements (c / v), and incrementally merge protection components using a union-find structure, greedily selecting the element with the lowest cost-benefit ratio until all protected components are merged into a single connected whole.
[0079] Feature 5 (Sufficiency Verification Based on Link Covering Tree): The concept of a link covering tree is proposed—a tree that covers all edges of a graph (without necessarily including all vertices). It is proven that if all H-related tree edges and H-related boundary edges in the link covering tree are protected, the composite connectivity of the entire graph is improved to H. This theorem reduces the time complexity of verifying the sufficiency of the protection scheme to linear.
[0080] Feature 6 (Multi-round random ensemble reduces the probability of omission): By accumulating composite cuts through multiple rounds of independent random DFS traversal (random root node, random edge traversal order), the probability of missing any small cut decreases exponentially with the number of rounds, while maintaining a linear relationship between the overall running time and the graph size. Summary of the Invention
[0081] Technical problems to be solved
[0082] The technical problem to be solved by this invention is: how to select the set of vertices and edges to be protected in a large-scale network (with hundreds of thousands to millions of nodes and tens of millions to hundreds of millions of edges) with the lowest total cost, so as to improve the network’s composite connectivity (the ability to resist vertex failures and edge failures at the same time) to the target level H, while ensuring that the algorithm efficiency can be scaled up to large-scale networks.
[0083] Specifically, it includes the following sub-issues:
[0084] (1) Formalization and systematic discovery of composite cuts: How to efficiently discover all composite cuts (cuts containing both vertices and edges) smaller than the target value H in the space of combinatorial explosion, without having to enumerate an exponential number of possible combinations one by one.
[0085] (2) The problem of fast labeling of H-related vertices and edges: Given a set of composite cuts, how to... Within a given time, identify all vertices and edges (H-related elements) contained in at least one composite cut less than H, as a candidate set for subsequent protection selection.
[0086] (3) Minimum Cost Protected Element Selection Problem: Given a set of H-related elements and their respective protection costs, how to select the protected subset with the minimum total cost while ensuring that at least one element in each composite cut less than H is protected? This problem is an NP-hard set covering problem, requiring an efficient approximation algorithm on large-scale instances.
[0087] (4) The problem of efficient verification of the adequacy of the protection scheme: How to confirm in linear time that the selected protection scheme does indeed improve the composite connectivity to H without exhaustively verifying all composite cuts.
[0088] Technical solutions adopted to solve technical problems
[0089] Overall architecture of the solution
[0090] This invention proposes CONP (a nested network protection algorithm based on composite cuts), which transforms the traditional exhaustive exact optimization (with computational complexity exponential to the graph size) into a three-stage pipelined process: cut extraction → key element marking → optimized protection. The system consists of two main subsystems: a preprocessing stage and an optimized protection stage, as well as a protection scheme output layer.
[0091] Symbol definitions and terminology explanations
[0092] (1) Graph structure and basic symbols
[0093] An undirected connected graph, where V is the set of vertices and E is the set of edges.
[0094] Target composite connectivity
[0095] / The cost of protecting vertex v or edge e
[0096] / Whether vertex o or edge (o,z) is included in the final protection scheme.
[0097] (2) Terms for compound cut and compound connectivity
[0098] Composite cut: A set containing both vertices and edges; deleting it breaks the graph.
[0099] Composite connectivity: the minimum size of all composite cuts
[0100] H-Related Vertices / Edges: Vertices or edges contained in at least one composite cut of size < H.
[0101] Cut set: The set of all composite cuts that can be generated by a transformation of a composite cut.
[0102] (3) DFS traversal tree structure symbol
[0103] The starting (root) vertex of the h-th iteration.
[0104] The recursive state of vertex o: 0 = not reached, 1 = in progress, 2 = completed
[0105] The cardinality (cut value) of the vertex cut of the subtree rooted at o.
[0106] : The optimal cut value obtained after pruning
[0107] A flag indicating whether subtree cut information is included in subsequent calculations.
[0108] The shallowest ancestral depth achievable by the entire subtree
[0109] The minimum ancestor depth among all neighbors.
[0110] : In the child nodes of o The number of child nodes equal to depth 0
[0111] The reduction in the cut value of the parent node caused by removing a subtree from the subtree of node o.
[0112] The total number of vertices in the subtree rooted at o.
[0113] The parent node of vertex o in the DFS tree
[0114] The depth of vertex o in the DFS tree (root is 1).
[0115] : List of all ancestors of o (in ascending order of depth)
[0116] The lower bound of the cut values encountered by edge (o,z) in multiple traversals.
[0117] (4) Key element marking and protection selection symbols
[0118] : Path accumulation array Record the count of vertices with cut values ≤ i on the path from the current root to o.
[0119] When traversing to vertex o Snapshot
[0120] The most recent cut value is less than Ancestor depth
[0121] / Vertex o or edge Is it marked as relevant?
[0122] : Element matrix binned by cost c and correlation v
[0123] Disjoint-set component identifier
[0124] Path compression search: Return Specification identifier of the component
[0125] Re-bucketing: Moves elements to new bucket positions.
[0126] (5) Link Coverage Tree Terminology
[0127] Link-covered tree: A tree containing all edges of a covering graph G (not necessarily all vertices).
[0128] Boundary edge: An edge in a link-covered tree with only one endpoint inside the tree.
[0129] H-related tree edges: Edges in the link cover tree that are themselves H-related.
[0130] Core Formulas and Theorems
[0131] Theorem 1 (Advantages of Composite Connectivity): The reliability protection provided by composite connectivity to H is at least as strong as the sum of the protections provided by both link connectivity H and vertex connectivity H.
[0132] Proof: Achieving composite connectivity H means that there are no composite cuts smaller than H, and therefore, in particular, there are no pure vertex cuts or pure edge cuts smaller than H. Thus, the vertex connectivity and edge connectivity of the network are both at least H. Furthermore, composite connectivity also excludes all "mixed" composite cuts smaller than H (cuts that include both vertices and edges), which would not be discovered or excluded when considering vertex or edge connectivity individually. Q.E.D.
[0133] Theorem 2 (DFS Subtree Vertex Cut Identification): After performing a single-threaded depth-first traversal, for any vertex o that is the root node of its traversed subtree, the set of vertices connected to the ancestors of o forms a vertex cut if and only if the set does not contain all vertices in the subtree of o.
[0134] Proof: In a single-threaded Depth-First Search (DFS) traversal, for a tree rooted at vertex o, the vertices outside the tree fall into two categories: one is all ancestors of o (the path from o to the root r), and the other is all remaining vertices distributed in subtrees rooted at other vertices not on the path from o to r. Due to the properties of single-threaded DFS, if a vertex in the subtree of o connects to a vertex in the subtree rooted at another non-ancestor vertex y, then either y's subtree is traversed first (thus incorporating the connected vertex into y's subtree), or vice versa. In either case, it is impossible for independent subtrees to exist rooted at o and y respectively. Therefore, the set of vertices connected to the ancestors of o (excluding all vertices in the subtree) does indeed constitute a vertex cut.
[0135] Theorem 3 (Composite Cut Transformation): Given a composite cut and its partitioned components, a transformation operation can replace vertices in the cut with edges that are connected to only some of the components, or replace edges with vertices that are connected to a single component on only one side. The set resulting from either transformation is still a composite cut (called a member of the same cut set).
[0136] This observation means that finding any member in a cut set allows us to generate all other members of the set through transformation. This method uses depth-first traversal to locate vertex cuts, and then identifies the associated composite cut set through transformation.
[0137] Formula 1 – Recursive aggregation of cut values in subtrees:
[0138] Aggregate cut values from bottom to top during DFS backtracking:
[0139]
[0140] If a back edge is found (ncd ≠ INF): The corresponding child node y
[0141] += 1 (Records the number of child nodes at depth y whose tcd is equal to the number of child nodes at depth y)
[0142]
[0143] Where child(o) represents the set of direct children of o in the DFS tree. This recursive aggregation correctly incorporates the cut contribution of the backedge into the cut value of the subtree.
[0144] Formula 2 – Optimal pruning cut value:
[0145]
[0146] Where P is the number of... The subset of child nodes selected for pruning in ascending order. The pruning condition is: after cumulative reduction, sum < H and tum > sum (the remaining subtree still has vertices not in the cut), ensuring that pruning does not turn all remaining vertices into cut vertices.
[0147] (The amount by which the cut value of the parent node o is reduced by removing the subtree of child node z).
[0148] Formula 3 – Link Coverage Tree Protection Adequacy:
[0149] If all H-related tree edges and H-related boundary edges in the link cover tree are protected, then the composite connectivity of graph G is improved to H.
[0150] Proof: If the composite connectivity does not reach H after the above protection scheme, then there exists a composite cut of smaller than H that breaks the graph. Let a and b be any two vertices separated by this cut. Since every edge in the cut is not in the tree, the unique tree path between a and b is entirely composed of tree edges, and no tree edge passes through the cut—this contradicts the premise that the cut separates a and b. The same proof applies to vertex cuts and composite cuts.
[0151] Formula 4 – H-correlation determination on ancestor paths:
[0152] For vertex o and its neighboring ancestor z, if an ancestor exists... If the vertex cut (or pruned vertex cut) of w is less than H and o is contained in the subtree corresponding to w, then o is an H-related vertex.
[0153] Proof: Since o must be a member of every vertex cut of w, when w has a vertex cut of size less than H and that cut contains o, o must appear in that cut.
[0154] Formula 5 – gacu array snapshot comparison to determine edge correlation:
[0155] During the checkRel traversal, a snapshot is compared for the ancestor pair (w, y) of vertex o. and The value at position H−L+i+1. If the two are different, it means that there is a new vertex cut from y to w with a size smaller than H−L+i+1. Therefore, the edges connecting o to this ancestor and all ancestors above it should be H-related edges (rel=1).
[0156] Formula 6 – Greedy selection for cost-benefit ratio ranking:
[0157] Protection selection is processed in ascending order of c / v (c is the element protection cost, v is the number of H-related neighbors associated with the element). For each candidate element x, check the disjoint-set component identifier tid of its neighbors: if all neighbors belong to the same component (tid > 0 and are the same), skip the element; otherwise, select to protect the element (psg=1), and merge all different tids of its neighbors into one component.
[0158] Module Function Description
[0159] (A) Graph Input and Parsing Module: Receives the original graph G=(V,E) and the protection cost of each edge and each vertex, performs standardization processing on the graph data, and sets the target composite connectivity H.
[0160] (B) Multi-round DFS traversal tree generation module (corresponding to Algorithm 1: cut extraction): Performs K independent depth-first traversals (each time randomly selecting the root node). Each round generates a DFS tree. During each traversal, the edge traversal order is determined by the traversal control flag tcs—when tcs=1, the adjacent edge order is completely randomly shuffled; otherwise, the order is... Edges are arranged in descending order of random values within the range (using a lower bound lob as an admissible heuristic to guide the search). This module achieves comprehensive discovery of composite cuts through multiple rounds of random ensembles.
[0161] During the recursive process of reCut(o), each adjacent edge (o, z) is processed according to the state of z:
[0162] If z is not visited (ho=0): recursively enter z and aggregate its subtree cut values and size;
[0163] If z is in the recursive stack (ho=1): this edge is a back edge, and the shallowest ancestor depth ncd is recorded;
[0164] If z is complete (ho=2): append o to the ancestor list of z.
[0165] If a back edge is found during backtracking, perform cut value adjustment. +1, -1); if the cut value If the vertex is 1 and the number of back edges is ucnt=1, immediately mark the vertex and its parent edge as elements that must be protected (psg=1).
[0166] (C) Composite Cut Extraction and Accumulation Module: After each round of DFS traversal, extract all discovered vertex cuts (cuts corresponding to subtrees where sg=1 and csc < ct), apply the composite cut transformation theorem to generate a complete set of composite cuts, and accumulate them in the global deduplication cut pool. Simultaneously, update the lower bound of the cut value for each edge. This provides guidance for edge sorting in subsequent rounds.
[0167] (D) H-Related Element Marking Module (corresponding to Algorithm 2: Key Element Marking): Uses checkRel(o, tdo) recursively to maintain a global array gacu and a snapshot of each vertex aacu. Core logic:
[0168] If the subtree's sg=1 and Try pruning: Press Iterate through the child nodes in ascending order, accumulating the decrease in sum and tum, when and Stop pruning when the time is right and record the occs.
[0169] renew Array (cut value) (count +1).
[0170] Snapshot → Compare the snapshot differences of ancestor pairs to label H-related edges (rel=1);
[0171] Will the current The process is passed recursively to child nodes, and a complete rollback occurs during backtracking. change.
[0172] The output of this module is a set of all vertices and edges with rel=1.
[0173] (E) Candidate Element Sorting and Bucketing Module: Calculate the v value for each H-related element (vertex: number of associated H-related edges; edge: number of associated H-related vertices), and sort the elements into bucket matrices according to the protection cost c and the v value. During the protection selection phase, buckets are traversed in ascending order of c / v.
[0174] (F) Greedy set cover selection module (corresponding to Algorithm 3 and Algorithm 4): Traverse in ascending order of c / v Bucket, for each element x:
[0175] Obtain the canonical tid of all neighbors using propTID;
[0176] If all neighbors belong to the same... Skip the components;
[0177] Otherwise, select protection x (psg=1), and merge the different tids of the neighbors into the largest tid.
[0178] (G) Link Coverage Tree Verification Module: Constructs the link coverage tree of graph G. Verifies whether all H-related tree edges and H-related boundary edges have been protected (or marked as protected). If not fully covered, triggers a second round of greedy supplementation selection. According to Theorem 3 (Link Coverage Tree Sufficiency), the final protection scheme can be output once the verification is passed.
[0179] The beneficial effects of the technical solution compared to existing technologies
[0180] (1) A novel compound cut theoretical framework is proposed to achieve unified vertex-edge protection. This invention formally defines the concepts of compound cut and compound connectivity for the first time, solving the problem of separating vertex protection and edge protection in traditional methods. Theoretically, it is proved that achieving compound connectivity H can simultaneously guarantee that both vertex connectivity and edge connectivity are not lower than H, and provides additional hybrid protection capabilities—something that no single-dimensional protection method can achieve.
[0181] (2) Minimizing protection costs. Since the substitution / complementary relationship between vertices and edges in the cut is considered within a unified composite cut framework, the greedy selection strategy of this invention can avoid redundant protection caused by simply combining two single-dimensional methods. Experiments show that CONP achieves a near-perfect protection rate (≥99.9%) with the lowest protection cost in large-scale networks.
[0182] (3) Extremely high computational efficiency—more than 10,000 times faster. In the comparison of small graphs (N=50), the computation time ratio of CONP to the LP exact optimal algorithm is as low as [missing value]. Level (speeding up by over 100,000 times) while protecting additional costs of no more than 6%. On large-scale networks, CONP can complete protection scheme calculations for a million-node-level graph in tens of seconds.
[0183] (4) Theoretically guaranteed sufficiency of protection. The link cover tree theorem provides a theoretical guarantee for the sufficiency of protection schemes—it can be confirmed that the composite connectivity has indeed reached the target value H without exhaustively verifying all cuts, and the verification complexity is linear. ).
[0184] (5) It can be extended to large-scale networks. The computational complexity of the entire algorithm pipeline—from multi-round random DFS cut discovery, dynamic programming labeling to greedy cover selection—is linear or near-linear with the graph size, enabling the algorithm to handle large-scale real network topologies with millions of nodes and hundreds of millions of edges.
[0185] (6) Controllable precision-efficiency balance. By adjusting the number of traversal rounds K, users can flexibly balance computational precision (the probability of missing small cuts) and computational efficiency. Experiments show that 20 traversals are sufficient to cover all key small cuts with a sufficient probability in practical applications.
[0186] Key technical parameters
[0187] Target composite connectivity
[0188] Total number of generation cycles for DFS traversal of a tree
[0189] Edge traversal order control flag
[0190] Subtree pruning participation indicator
[0191] Protection Cost Protection cost of vertices or edges Detailed Implementation
[0192] Application scenarios
[0193] A typical implementation scenario of this invention is the reliability enhancement of large-scale communication backbone networks. In communication networks, hardware failures of routers (vertex failures) and physical interruptions of fiber optic links (side failures) can both lead to network partitioning, resulting in large-scale service outages. Network operators need to develop protection plans and decide which critical routers and links to harden (e.g., configuring redundant power supplies, deploying backup links) to maximize the network's resilience to compound failures within a given budget constraint.
[0194] This invention provides network planning departments with a low-cost protection scheme through offline preprocessing and one-time protection scheme generation, ensuring network connectivity under any complex fault with fewer than H elements.
[0195] Other typical application scenarios include: fault-tolerant design of Fat-Tree / Spine-Leaf topologies within data centers, reliability enhancement of power SCADA communication networks, and survivability planning for military tactical communication networks.
[0196] Implementation steps
[0197] Step 1: Network Topology Data Acquisition and Graph Construction
[0198] Based on the topology snapshot of the target network (obtained via protocols such as SNMP, NetConf, and LLDP), construct an undirected connected graph G=(V,E), where:
[0199] Vertex: Corresponds to a router, switch, or server node in the network;
[0200] Edge: The physical link or logical connection between corresponding nodes;
[0201] Edge weight: can be uniformly set to 1 (for scenarios without weight), or set to link bandwidth / capacity;
[0202] Protection cost: Evaluate the hardening cost for each vertex and edge based on the device model, link type, and deployment environment.
[0203] Step 2: Offline preprocessing – composite cut detection
[0204] The system receives graph G and target composite connectivity H. The configuration parameter K is 20 rounds of traversal.
[0205] Execute sequentially in each round:
[0206] Randomly select the root node of DFS Initialize the global depth counter;
[0207] The recursive execution of the reCut(n) process: determines the edge traversal order according to the current TCS strategy, traverses adjacent edges; updates ncd and y for visited nodes (back edges); and recursively calls and aggregates the values of ccs, ct, tcd, cdd, rg, etc. for unvisited nodes.
[0208] During backtracking, CCS adjustments are performed (back edge contribution +1, corresponding child node -1), and it is determined whether pruning is needed. (when sg=0)
[0209] Will The corresponding vertex cuts of the subtrees are transformed into a complete set of composite cuts through composite cut transformation and added to the global cut pool (for deduplication).
[0210] Update the lower bound of the LOB for all edges.
[0211] Step 3: H-related element marking
[0212] Create an array gacu of length H (initially all zeros), starting from... Begin executing the recursive traversal of checkRel(o, tdo=0):
[0213] If sg=1 and Traverse child nodes in ascending order rg and attempt pruning: cumulatively reduce sum and tum, when and Stop when the time is up, and record occs and sccs=1;
[0214] Update gacu: cut value (i is incremented by 1 from ccs or occs+1 to H-1);
[0215] Snapshot gacu→ Traverse ancestor pairs to compare snapshot differences to label H-related edges;
[0216] Recursively enter the child node (passing the updated tdo), and roll back the entire gacu during backtracking.
[0217] All vertices and edges with rel=1 constitute a candidate protection set.
[0218] Step 4: Optimize Protection Options
[0219] Initialize the bucket matrix chmat and the disjoint-set array tid (both 0);
[0220] Traverse all H-related vertices and edges, and store them in buckets according to (c, v);
[0221] Traverse the buckets in ascending order of view / view: For each element, obtain the canonical tid of all neighbors through propTID; if all neighbors belong to the same tid>0, skip it; otherwise, protect the element (psg=1) and merge the components;
[0222] Construct a link coverage tree and check if all H-related tree edges and H-related boundary edges are covered. If not fully covered, trigger supplementary selection.
[0223] Step 5: Protection Scheme Output
[0224] The system outputs a list of all vertices and edges with psg=1, along with the total protection cost. This list directly corresponds to the network elements that require hardening.
[0225] Technical effect data
[0226] The following data comes from a systematic experimental comparison between this method (CONP) and existing methods (experimental environment: CentOS 7 workstation, dual physical CPUs, 128GB RAM, single-threaded operation).
[0227] Small graph comparison (N=50, vs LP exact optimal solution)
[0228] On a small-scale graph with N=50 nodes, CONP is compared with the exact optimal algorithm of linear programming (LP). Using Erdos-Renyi random graphs as the primary reference (the experimental results for scale-independent networks and unit disk graphs show consistent trends), the ratio of CONP computation time to the solution time of the LP optimal algorithm is used as an efficiency metric; a smaller ratio indicates a more significant speedup effect of CONP relative to LP.
[0229] When the average vertex degree D of the graph is 2, the time ratio is 0.24 × 10⁻ 5 (Minimum 0.05×10⁻) 5 Maximum 1.29×10⁻ 5 When D=3, the time ratio drops to 0.11×10⁻5 (Minimum 0.02×10⁻) 5 Maximum 0.59×10⁻ 5 When D=4, the time ratio further decreases to 0.07×10⁻ 5 (Minimum 0.01×10⁻) 5 Maximum 0.34×10⁻ 5 This indicates that CONP achieves a speedup of over 100,000 times compared to the exact optimal solution of LP, and the higher the average degree of the graph, the more significant the speedup effect.
[0230] Regarding the additional overhead of protection costs, measured as the percentage by which the total CONP protection cost exceeds the optimal LP solution: the additional cost is 5.26% (range 5.05%–5.51%) when D=2, 5.16% (range 4.91%–5.52%) when D=3, and decreases to 4.67% (range 4.39%–5.24%) when D=4. The overall additional cost is consistently kept at around 5%, and shows a decreasing trend with increasing average degree.
[0231] Based on the above results, three key findings can be drawn. First, in terms of speed, CONP is more than 100,000 times faster than LP's exact optimal solution (time ratio approximately 10⁻). 5 First, in terms of level, the higher the average degree of the graph, the more obvious the acceleration advantage. Second, in terms of cost, the additional protection cost of CONP is only about 5%, and it decreases with the increase of average degree, dropping to about 4.67% when D=4. Third, in terms of protection effectiveness, CONP achieved 100% composite connectivity target achievement rate in all 900 test instances, with no failures.
[0232] Large-scale comparison (millions of nodes, vs. heuristic algorithms)
[0233] On large-scale graphs with millions of nodes, CONP is compared with four heuristic baseline algorithms. These four heuristics employ different sorting strategies to select protected elements: SWC sorts by weight first, then by cost; SCW sorts by cost first, then by weight; BWC sorts by weight in descending order, then by cost; and BCW sorts by cost in descending order, then by weight. The evaluation metric is the protection rate, which is the proportion of algorithms that successfully achieve the target composite connectivity under the same protection cost. The Erdos-Renyi random graph type is used as the primary reference, with the minimum and maximum values indicated in parentheses.
[0234] With D=2, CONP achieves 100% protection (all instances reach 100%), SWC 36.3% (range 34.5%–39.4%), SCW 36.7% (range 35.7%–39.8%), BWC 22.4% (range 19.6%–23.9%), and BCW 28.9% (range 27.4%–31.1%). With D=3, CONP remains at 100% (all instances 100%), SWC 39.4% (range 36.5%–39.9%), SCW 38.7% (range 34.3%–41.5%), BWC 30.3% (range 28.5%–31.8%), and BCW 30.2% (range 27.1%–32.7%). With D=4, CONP remains at 99.9% (range 99.9%–100%), SWC at 44.9% (range 42.3%–46.5%), SCW at 45.6% (range 41.2%–47.5%), BWC at 36.1% (range 34.9%–38.6%), and BCW at 35.4% (range 33.3%–37.9%).
[0235] Three key findings can be derived from the above data. First, CONP consistently maintains a protection rate close to 100% (100% for D=2 and D=3, and 99.9% for D=4), approximately 55 percentage points higher than the best-performing heuristic algorithm. Second, the protection rates of all four heuristic algorithms fall within the range of 22%–46%, significantly lower than CONP, indicating that simple single-dimensional sorting strategies cannot effectively cover the vertex-edge interactions involved in composite cuts. Third, the experimental trends on scale-independent networks and unit disk graphs are completely consistent with the results for Erdos-Renyi random graphs, verifying the robustness of the CONP method across different graph topologies.
[0236] Large-scale comparison (millions of nodes, vs. SOTA combinatorial algorithm)
[0237] To further verify the advantages of the unified composite cut framework compared to simple combinations of single-dimensional methods, CONP is compared with combinations of two state-of-the-art (SOTA) single-dimensional methods: COMB1 is a simple combination of PTUM (Optimal Edge Protection Method) and OMNC (Optimal Vertex Protection Method), and COMB2 is a simple combination of OPTFS (Optimal Edge Protection Method) and OMNC (Optimal Vertex Protection Method). All comparison algorithms are evaluated after terminating within the same computational time budget as CONP. The Erdos-Renyi random graph type is used as the primary reference.
[0238] Regarding reliability: Under D=2 conditions, CONP reliability is 100% (range 100%–100%), COMB1 reliability is 90.7% (range 87.4%–91.2%), and COMB2 reliability is 95.4% (range 91.3%–97.8%); Under D=3 conditions, CONP remains at 100% (range 100%–100%), COMB1 decreases to 86.3% (range 85.1%–88.2%), and COMB2 decreases to 94.3% (range 90.7%–95.7%); Under D=4 conditions, CONP remains at 99.9% (range 99.9%–100%), COMB1 further decreases to 84.1% (range 83.1%–84.5%), and COMB2 decreases to 92.3% (range 89.6%–93.5%).
[0239] Regarding protection costs: ×10 7 Using units of measurement, when D=2, the cost of CONP is 0.773, COMB1 is 0.852, and COMB2 is 0.816; when D=3, the cost of CONP is 0.347, COMB1 is 0.380, and COMB2 is 0.361; when D=4, the cost of CONP is 0.134, COMB1 is 0.146, and COMB2 is 0.143.
[0240] Three key findings can be drawn from the above data. First, CONP achieves the highest reliability (close to 100%) with the lowest protection cost, while the reliability of the two state-of-the-art (SOTA) combined methods is only 84%–95%, and the reliability of the combined methods further decreases with increasing graph density. Second, in terms of protection cost, CONP is about 8%–9% lower than COMB1 and about 5%–6% lower than COMB2, demonstrating the significant advantage of the unified composite cut framework in avoiding redundant protection. Third, simply combining the two single-dimensional protection methods (edge protection + vertex protection) does not consider the interactive substitution relationship between vertices and edges in composite cuts—protecting a vertex may simultaneously cover part of the edge cut, and vice versa—resulting in a large amount of redundant protection, leading to increased total cost and decreased reliability.
[0241] Example of parameter settings (not intended to limit the scope of the claims)
[0242] The following are recommended technical parameter configurations for reference during actual deployment:
[0243] The recommended total number of generation rounds K for the DFS traversal tree is 20 rounds. This value strikes a good balance between sufficient coverage and computational efficiency. Experiments show that 20 rounds are sufficient to cover all critical small cuts in practical applications. The edge traversal order control flag tcs is recommended to alternate between mode 0 and mode 1. Approximately half of the rounds use tcs=0 for guided search based on the lower bound of the LOB, while the other half uses tcs=1 for pure random exploration, thus balancing search depth and diversity. The target composite connectivity H is set according to the specific network protection requirements. A typical value is H=5, indicating that the network can withstand composite failures of any four elements (any combination of vertices or edges). The subtree pruning condition is that the cumulative reduction sum < H and the number of remaining vertices not in the cut tum > sum, ensuring that the pruning operation does not turn all remaining vertices into cut vertices, thus rendering the pruning meaningless.
Claims
1. A network connectivity enhancement method based on composite cut, characterized in that, Includes the following steps: Preprocessing stage – composite cut discovery and key element labeling: S1. Obtain an undirected connected graph G = (V, E), and set the target composite connectivity H (H >= 2); where each vertex and each edge has its own protection cost; S2. Perform K rounds of random depth-first search (DFS) traversal to generate K DFS traversal trees; in each round of traversal, randomly select the root node and determine the edge traversal order according to the traversal control flag tcs - when tcs = 1, the order of adjacent edges is completely randomized, and when tcs = 0, the edges are sorted according to the allowable heuristic guided edge sorting based on the lower bound of the cut value of each edge (lob) - traverse adjacent edges in descending order of priority to determine the topology of the DFS tree; S3. In each round of DFS traversal, the subtree property of a single-threaded traversal tree is used to find vertex cuts: For a subtree rooted at any vertex o in the traversal tree, if the set of vertices connected to the ancestors of o does not contain all the vertices of the subtree, the set constitutes a vertex cut; for each vertex cut found, a composite cut transformation operation is applied—replacing the vertices in the cut with edges that are only connected to some components, or replacing the edges with vertices that are only connected to a single component on one side—to generate a complete set of composite cuts, which are accumulated, deduplicated, and then added to the global cut pool; S4. Perform a recursive traversal of checkRel, maintaining a global path accumulation array gacu (of length H) and a snapshot of each vertex aacu, and utilize dynamic programming in... Mark all H-related vertices and edges—that is, vertices and edges contained in at least one composite cut of size less than H—as a candidate set of protected elements within the time limit; Optimization Protection Phase – Protection Selection and Verification: S5. Calculate the correlation degree v value for each H-related element (vertex: number of H-related edges); Edges: (Number of related H-vertices), elements are sorted into bucket matrices in ascending order of the ratio c / v (protection cost c). ; S6. Traverse the bucket matrix in ascending order of c / v. For each candidate element x, obtain the canonical component identifiers tid of all its neighbors through disjoint-set path compression search. If all neighbors belong to the same component with tid > 0, skip the element; otherwise, select to protect the element (set a protection flag). = 1), merge all different tids of the neighbors into the representative identifier; S7. Construct the link cover tree of graph G—a tree that covers all edges of the graph, without including all vertices; check whether all H-related tree edges and H-related boundary edges (edges with only one endpoint inside the tree) in the link cover tree have been marked as protected; If not fully covered, a supplementary protection option will be triggered; S8. Output the set of all vertices and edges with protection flag psg = 1 as the final protection scheme, so that the composite connectivity of the network reaches the target value H.
2. A network connectivity enhancement system based on composite cut, characterized in that, include: The preprocessing subsystem includes: The graph input and parsing module is used to receive an undirected connected graph G = (V, E), set the target composite connectivity H, and perform normalization processing on the graph data. The multi-round DFS traversal tree generation module is used to perform K random depth-first traversals. In each round, the edge traversal order is determined according to the traversal control flag tcs, and K DFS traversal trees are generated. The compound cut extraction and accumulation module is used to discover vertex cuts by utilizing the subtree properties of a single-threaded DFS traversal of a tree, apply compound cut transformation operations to generate a complete set of compound cuts, accumulate and remove duplicates, and then add them to the global cut pool. The H-related element labeling module is used to perform checkRel recursive traversal, maintain a global path accumulation array gacu and a snapshot of each vertex aacu, and use dynamic programming to label all H-related vertices and edges; The optimized protection subsystem includes: The candidate element sorting and bucketing module is used to calculate the correlation degree v value for each H-related element and sort the elements into the bucket matrix in ascending order according to the ratio of protection cost c to v, c / v. The greedy set overlay selection module is used to traverse the bucket matrix in ascending order of c / v, find the neighbor component identifiers through disjoint set path compression, greedily select the protected elements and merge the components; The link coverage tree verification module is used to construct the link coverage tree, check whether all H-related tree edges and H-related boundary edges have been protected, and trigger supplementary protection selection when coverage is not complete; The output module is used to output the set of all vertices and edges with the protection flag set to 1, as well as a composite connectivity verification report.
3. The method according to claim 1 or the system according to claim 2, characterized in that, The compound cut is defined as a set that contains both vertices and edges. The graph is broken after all elements in the set are removed. The compound connectivity is defined as the minimum size of all compound cuts. Achieving compound connectivity H means that there are no compound cuts with a size less than H. Thus, the vertex connectivity and edge connectivity of the network are both at least H, and all compound cuts with mixed vertices and edges smaller than H are excluded.
4. The method according to claim 1, characterized in that, The method for determining the edge traversal order in step S2 is as follows: When tcs = 1, the order of adjacent edges is completely randomized to ensure the diversity of tree topology; When tcs = 0, the edge (o, z) is randomly selected. The values within the range are sorted in descending order, where Let (o,z) be the lower bound of the cut value of the corresponding subtree in the completed traversal rounds, as a heuristic that allows the search to be biased toward the known bottleneck edge.
5. The method according to claim 1, characterized in that, In step S2, the TCS configuration for the K rounds of traversal is as follows: approximately half of the rounds use TCS = 0 for guided search, and the other half use TCS = 1 for pure random exploration; the value of K ranges from 20 to 50, and is configured according to the size and topological characteristics of the target graph.
6. The method according to claim 1, characterized in that, The recursive process of finding vertex cuts by traversing the tree using a single thread in step S3 specifically includes: For the current vertex o, mark its recursion state as in progress and initialize the subtree cut value. = 0, flag = 1, number of subtree vertices = 1; Traverse all adjacent edges (o, z) of o in descending order of edge priority: if z has not been visited, recursively enter z and aggregate the subtree cut value and size; if z is in the recursion stack, then the edge is a back edge, record the ancestor depth of the shallowest neighbor ncd and accumulate the back edge count ucnt; if z has been completed, then append o to the end of the ancestor list of z. During backtracking, if a back edge exists ( ), perform cut value adjustment — Add 1 (back edge contribution), corresponding to child node y Decrease by 1, child node y Add 1; If after adjustment < If the subtree of o forms an effective vertex cut, update the lower bound of the lob of all ancestors; if = 1 then mark immediately = 1 (must protect the cut point), if ucnt = 1 at the same time, then mark it. = 1 (bridge side must be protected); if >= ,set up = 0.
7. The method according to claim 1 or 6, characterized in that, The composite cut transformation operation described in step S3 is as follows: given a composite cut and its partitioned components, replace the vertices in the cut with edges that are connected to only some of the components, or replace the edges in the cut with vertices that are connected to a single component on only one side; any set obtained through the transformation is still a composite cut, called a member of the same cut set; any member in the cut set can be transformed to generate all other members in the set.
8. The method according to claim 1, characterized in that, The recursive traversal of checkRel in step S4 specifically includes: For the current vertex o, if = 1 and Pruning by child nodes reduces the amount of branches. Traverse the child nodes in ascending order and accumulate the reduction sum. Stop pruning when sum < H and the remaining subtree still has vertices not in the cut (tum > sum), and record the optimal pruning cut value. = sum; Update the global array gacu: for index i, from the current cut value to H-1, Add 1, where Record the cut value on the path from the current root to O. Vertex count; Snapshot gacu to Traverse the ancestor pairs (w, y) of o and compare snapshot differences to label H-related edges; If the current vertex cut value is less than H, update the depth tdo of the nearest small cut ancestor; Before recursing to child nodes, temporarily undo the GACU updates caused by pruning, and restore them after recursion; during backtracking, completely roll back the GACU changes.
9. The method according to claim 8, characterized in that, The method of comparing H-related edges via snapshot is as follows: for the ancestor pair (w, y) of vertex o (which are respectively... and ), Compare snapshots and The value at position H-L+i+1, where L is the length of the ancestor list; if the two are different, it means that there is a new vertex cut from y to w with a size smaller than H-L+i+1, and the edges from o to this ancestor and all ancestors above it are marked as H-related edges.
10. The method according to claim 8, characterized in that, The optimal pruning cut value occs is calculated as follows:
11. Where P is the number of... The subset of child nodes selected for pruning in ascending order. The reduction in the cut value of parent node o by removing the subtree of child node z; the pruning condition is that after the cumulative reduction, sum < H and tum > sum, ensuring that pruning will not turn all remaining vertices into cut vertices.
Citation Information
Patent Citations
Complex network protective method oriented towards adding of protective links of key nodes
CN103200118A
Method for quickly solving minimum cut sets of micro-grids on basis of breadth first search
CN106844932A
Increasing resilience of a network service
US8869035B2
