IPv6 AS level network key node identification method based on multi-attribute fusion
By combining a multi-attribute fusion method that integrates k-shell centrality, first-order neighbor node influence, and autonomous system business relationships, this method solves the problem of a single perspective in the identification of key network nodes in existing technologies, and achieves a more accurate and stable assessment of node importance, which is applicable to IPv6 AS-level networks.
Patent Information
- Application Number
- CN202410793048.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-11-01
AI Technical Summary
Existing methods for identifying critical network nodes are mainly based on a single perspective and cannot comprehensively consider global, local, and economic factors, resulting in unstable evaluation results and a lack of robustness. They also cannot effectively identify the impact of autonomous domain business relationships on traffic routing and network dependency structures in the Internet.
This paper proposes a method for identifying key IPv6 AS-level nodes based on multi-attribute fusion. It combines k-shell centrality, first-order neighbor node influence, and autonomous system business relationship. The method evaluates the importance of a node by calculating the multi-attribute node importance (MNI) of the node, taking into account global, local, and economic attributes.
It provides a more comprehensive assessment of node importance, improves the accuracy and robustness of identifying key network nodes, is suitable for large and complex networks, and has a time complexity of O(n2), making it suitable for IPv6 AS-level networks.
Smart Images

Figure CN118890283A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of complex network analysis and relates to some complex network key node identification methods. Background Art
[0002] With the continuous growth of IPv6 network scale and the improvement of various related technologies, its importance has gradually increased, and the network structure has become more complex. The global Internet is composed of interconnected autonomous domain systems (AS), presenting a complex and huge topological structure. In this network environment, the research on network key node identification is one of the most important and meaningful directions. Its purpose is to find key nodes that play an important role in transmitting information between multiple nodes in the network structure, so as to better understand the operation mechanism of the network, improve network performance and strengthen network security. For example, in 2021, Google's cloud service (Google Cloud Platform) suffered a large-scale outage worldwide, which lasted for nearly two hours and affected multiple websites and applications using its services, including YouTube, Gmail, and Google Docs. Subsequent analysis showed that the problem was caused by the key nodes of Google's internal authentication system, and the failure of these nodes led to widespread service interruptions. Therefore, the research on network key node identification is of great significance in practical scenarios.
[0003] Usually, the key nodes in a network are related to the importance of the nodes, and the importance of nodes is mostly measured based on local or global network structure information. Existing methods for identifying key network nodes are mainly based on node importance metrics such as degree centrality, closeness centrality, betweenness centrality, k-shell centrality, etc. Although the above methods take local or global structural information into consideration, they are limited to determining the importance of nodes from a single perspective and cannot comprehensively consider multiple factors, which easily leads to a one-sided assessment of node importance. In addition, when faced with changes in network structure, the assessment results may be unstable and lack robustness. In response to the one-sided assessment perspective, Yang Songqing et al. proposed a complex network node importance assessment method based on Tsallis entropy, which takes into account the global and local topological information of the nodes. Wang M et al. combined the K-shell decomposition method with node information entropy, iterated in the order of K-shell stratification from large to small, and selected the node with the highest node information entropy from the unselected nodes in each layer until all nodes in the network were selected. Although the above methods analyze the importance of nodes in the network from multiple perspectives, none of them take the economic relationship in the network into consideration. Autonomous domain business relationships such as provider-client (P2C), peer-to-peer (P2P) and client-provider (C2P) will directly affect the routing selection of Internet traffic and the dependency structure of the network. The business relationship between different ASs determines the transmission path of the traffic. Therefore, based on the existing centrality index, the present invention proposes an aggregated k-shell centrality algorithm and a neighbor node influence ranking algorithm, and fully considers the business relationship between nodes, and takes the KS value of the node, the influence of the first-order neighbor node, and the economic relationship between nodes as influencing factors with different weights. In addition, the attributes of the node itself determine the state of the node in a specific scenario network, such as the AS-level Internet topology. Therefore, in the field of the Internet, coupling network topology information with node attributes to identify key network nodes and in-depth research on the anti-destruction of Internet networks in different countries has great research value and practical significance. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide an IPv6 AS-level key node identification method based on multi-attribute fusion. Taking into account the k-shell centrality, the importance of first-order neighbor nodes and the joint impact of autonomous domain business relationships on nodes, the importance of nodes is comprehensively evaluated from global, local and economic perspectives. In order to verify the effectiveness and accuracy of this method, the proportion of the largest connected subgraph, the network connectivity component and the dependency of the average network efficiency on the number of removed key nodes are used as evaluation criteria, and compared with other analysis methods on 6 real networks from different countries or regions. In addition, it is analyzed that the time complexity of this method is only O(n 2 ), which is suitable for large and complex networks.
[0005] In order to achieve the above object, the present invention provides the following technical solutions:
[0006] A method for identifying key nodes in an IPv6 AS-level network based on multi-attribute fusion specifically comprises the following steps:
[0007] 1. Data preprocessing
[0008] (1) BGP routing table data: The BGP routing table data is obtained through the IPv6-specific collector (route-view6) of the RouteViews project located in Oregon, and parsed and merged using the bgpdump tool to extract the AS and corresponding edge sets as the original network topology data.
[0009] (2) AS organization dataset: The AS organization dataset as2org required for the experiment is provided by the CAIDA project. Through the mapping relationship between AS and organization, ASs from different countries or regions are screened out and the network topology is constructed.
[0010] (3) AS business relationship dataset: The AS-rel data contains provider-provider (p2p) and provider-customer (p2c) relationships. The number of provider ASs of the target AS is calculated based on the business relationship data as a feature from an economic perspective.
[0011] (4) Extract the as_path field of the routing table data, and then perform deduplication and format abnormal data cleaning operations to remove the interference of the data itself on the algorithm.
[0012] 2. Build network topology
[0013] (1) Let G = (V, E) be an undirected unweighted network, where V = {v1, v2, ..., v n} represents the set of nodes in G, |V| = n, E = {(v i ,v j )|v i , v j ∈V} represents the set of edges in G, |E| = m. n×n =(a ij ) n×n is the adjacency matrix corresponding to G. If the node v i and node v j If there is an edge relationship between them, then a ij =1, otherwise a ij =0.
[0014] (2) Divide the unauthorized network into subnetworks of different regions. Based on the AS-affiliated organization dataset, select IPv6 AS-level networks from different countries or regions.
[0015] (3) Build network topology based on as_path in different countries or regions.
[0016] 3. Integrate global, local and economic attributes to select key network nodes
[0017] (1) Global attributes
[0018] k-shell centrality is a method for understanding network hierarchy and revealing node importance, which considers the hierarchical position of nodes in the entire network from a global perspective. The network topology is divided into multiple levels according to the degree value, and the nodes in the inner layer are considered to have higher importance.
[0019] (2) Local attributes
[0020] The influence of neighbor nodes is an important dimension of local characteristics. By analyzing the characteristics and behaviors of neighbor nodes, the local importance of the target node can be better evaluated. The present invention considers the influence of first-order neighbor nodes. The steps for calculating the importance of first-order neighbor nodes are as follows:
[0021] 1) First, calculate the contribution probability of the node. Given a network G, where node v i A random connection is made to any of its neighbors, whose degree represents all possible connections. The inverse of the degree is defined as the node v i The contribution probability P(v i ).
[0022] 2) Secondly, the clustering probability of each node is calculated based on the node's contribution probability. The sum of the reciprocals of the degrees of all neighbors of a node in the network G is called the clustering efficiency.
[0023] 3) Then calculate the betweenness centrality. Betweenness centrality (BC) is an indicator used to measure the degree of intermediary between nodes in the network, measuring the ability of a node to act as an intermediary in the network.
[0024] 4) Finally, calculate the node v i The influence of the first-order neighbor node of v. The first-order neighbor node influence is defined as: i The betweenness centrality value of a node is multiplied by the sum of the contribution probabilities of its neighboring nodes.
[0025] (3) Economic attributes
[0026] The Internet topology at the AS level is usually modeled using a complex network, where each node is an AS and each link represents a business relationship between two ASs. AS business relationships are usually divided into three types: (1) P2C, (2) P2P, and (3) S2S. The number of provider ASs at each node is taken as an economic attribute.
[0027] (4) Fusion of multiple attributes to calculate node importance
[0028] Taking into account the k-shell centrality, the influence of neighbor nodes and the joint influence of business relationships on nodes, we can more comprehensively and accurately evaluate the status and importance of nodes in the network. i The multi-attribute node importance (MNI) is defined as the weighted sum of the node's global attributes, local attributes, and economic attributes.
[0029] 4. Time complexity analysis
[0030] The computational time complexity of the MNI algorithm proposed in this invention is analyzed, and the time complexity of the MNI algorithm is obtained to be O(n 2 ). In addition, the time complexity of the traditional methods of DC, BC, CC, KS and the PN and MNI methods that consider economic attributes are analyzed. It can be concluded that the time complexity of MNI is not the lowest, but its accuracy is better than other methods, and the network information contained in the nodes is higher than other methods. Therefore, the MNI method is not only suitable for IPv6 AS-level networks, but also for other large and complex networks.
[0031] 5. Verify the effectiveness and accuracy of the method
[0032] In order to verify the effectiveness and accuracy of the MNI method proposed in this invention, it is divided into the following steps:
[0033] (1) First, six IPv6 AS-level networks from different countries or regions are selected for the experiment, namely: CN-TW (Taiwan, China), BD (Bangladesh), CH (Switzerland), AU (Australia), IN (India), and DE (Germany).
[0034] (2) Effectiveness analysis. Comparative tests of different methods are conducted on real networks in different countries or regions. Degree centrality (DC), betweenness centrality (BC), closeness centrality (CC), K-Shell decomposition (KS), and the number of node providers (PN) are selected for comparison with the MNI method proposed in the present invention. Analysis shows that only using DC, CC, KS, PN and other methods to evaluate the importance of nodes from a single perspective will lead to coarse-grained problems, that is, multiple nodes have the same evaluation value, resulting in inaccurate estimation results. The MNI method proposed in the present invention overcomes the shortcomings of the above methods. It starts from the two perspectives of the global and local topological information of the node, comprehensively considers the influence of the KS value of the node itself and the neighboring nodes, and further improves the discrimination of the node importance through the number of providers owned by the node.
[0035] (3) Determine the evaluation indicators. The proportion of the largest connected subgraph, the proportion of network connected components, and the proportion of the average network efficiency are used as evaluation criteria to verify the accuracy of the MNI method.
[0036] (4) Accuracy analysis and verification. The present invention uses DC, BC, CC, KS, PN and the proposed multi-attribute-based node importance analysis method MNI to conduct experimental verification on data sets in six different regions, namely CN-TW, BD, CH, AU, IN and DE. The ranking results of the six algorithms were compared and analyzed based on these six real networks. In addition, a certain proportion of nodes with high node importance rankings were deleted from the initial network to simulate the change in network scale when the network was attacked, thereby evaluating the accuracy of each algorithm. According to the node ranking, the following experiment was designed to delete one node from the network at a time, shard the network, and terminate the experiment when the proportion of the largest connected subgraph of the remaining network and the average efficiency of the network were less than 20% of the original network. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to make the purpose, technical solution and beneficial effects of the present invention clearer, the present invention provides the following drawings for illustration:
[0038] Figure 1 Schematic diagram of k-shell decomposition.
[0039] Figure 2 This is the AS business relationship diagram.
[0040] Figure 3 This is the BGP data format.
[0041] Figure 4 In as2org data format.
[0042] Figure 5 The data format is as-rel.
[0043] Figure 6 This is the topology of the CN-TW network.
[0044] Figure 7 Figure 3. The relationship between the proportion of the remaining maximum connected subgraph and the number of deleted nodes in IPv6 AS-level networks in different regions: (a) CN-TW network; (b) BD network; (c) CH network; (d) AU network; (e) IN network; (f) DE network.
[0045] Figure 8 Figure 3. The relationship between the connectivity components of IPv6 AS-level networks and the number of deleted nodes in different regions: (a) CN-TW network; (b) BD network; (c) CH network; (d) AU network; (e) IN network; (f) DE network.
[0046] Fig. 9 Figure 2. The relationship between the remaining average efficiency ratio and the number of deleted nodes of IPv6 AS-level networks in different regions: (a) CN-TW network; (b) BD network; (c) CH network; (d) AU network; (e) IN network; (f) DE network.
[0047] Fig.10 This is a flow chart of the IPv6 AS-level network key node identification method based on multi-attribute fusion. DETAILED DESCRIPTION
[0048] In order to make the technical solutions, advantages and purposes of the present invention more clear, the present invention is described in detail below in conjunction with the accompanying drawings and specific implementation methods. To achieve the above-mentioned purpose, the present invention provides the following technical solutions:
[0049] A method for identifying key nodes in an IPv6 AS-level network based on multi-attribute fusion, the specific implementation of which includes the following steps:
[0050] 1. Data preprocessing
[0051] (1) BGP routing table data: The BGP routing table data on May 1, 2024 is obtained through the IPv6 dedicated collector (route-view6) of the RouteViews project located in Oregon. The data format is as follows: Figure 3 As shown, the bgpdump tool is used to parse and merge, and the AS and corresponding edge sets are extracted as the original network topology data.
[0052] (2) AS organization dataset: The AS organization dataset as2org required for the experiment is provided by the CAIDA project. The data format is as follows: Figure 4 As shown in the figure, this data contains the organizational information of global autonomous systems. Through the mapping relationship between AS and organization, AS in different countries or regions can be filtered out and the network topology can be constructed.
[0053] (3) AS business relationship dataset: The network consists of AS nodes in different regions. The business relationships between nodes come from the AS relationship dataset of the CAIDA project. The as-rel data contains provider-provider (p2p) and provider-customer (p2c) relationships. Figure 5 As shown, the number of provider ASs of the target AS is calculated based on the business relationship data as a feature from an economic perspective.
[0054] (4) Extract the as_path field of the routing table data, where the as_path field contains an ordered ASN list, describing the ASN sequence to be passed through to reach the target network. There are four types of as_path in the BGP routing table data: as_sequence (for routing AS path records), as_set (for detailed routing AS combination of aggregated routing), as_confed_sequence (for alliance routing AS path records) and as_confed_set (for alliance aggregated routing). The extraction steps are as follows:
[0055] 1) Compression processing. For example, if as_path is "47065 1200 1200 5555", it can be compressed to "4706512005555".
[0056] 2) Remove single-point paths. For example, the path "47065" that only contains one node is deleted.
[0057] 3) Split the as_set multi-node path. For example, "47065, {1200; 3209; 3320}, 5555", split the as number in "{}" and the as number outside the brackets into new sequences of "47065 1200 5555", "47065 32095555", and "47065 3320 5555".
[0058] 4) Filter the paths containing as_confed_sequence and as_confed_set.
[0059] 5) Filter as_paths with loops. For example, if as_path is "47065 5555 47065", delete the path.
[0060] After the above processing, the vertex and edge data of the AS network structure are extracted, and then deduplication and format abnormal data cleaning operations are performed to remove the interference of the data itself on the algorithm.
[0061] 2. Build network topology
[0062] (1) Let G = (V, E) be an undirected unweighted network, where V = {v1, v2, ..., v n} represents the set of nodes in G, |V| = n, E = {(v i ,v j )|v i , v j ∈V} represents the set of edges in G, |E| = m. n×n =(a ij ) n×nis the adjacency matrix corresponding to G. If the node v i and node v j If there is an edge relationship between them, then a ij =1, otherwise a ij =0.
[0063] (2) Divide the unauthorized network into subnetworks of different regions. Based on the AS-affiliated organization dataset, six IPv6 AS-level networks from different countries or regions are selected, such as CN-TW (Taiwan, China), BD (Bangladesh), CH (Switzerland), AU (Australia), IN (India), and DE (Germany).
[0064] (3) Construct network topology based on as_path of different countries or regions. When extracting edge data of AS network structure, it is extracted in pairs according to the ASN sequence characteristics in as_path attribute (the right side is the starting ASN and the left side is the target ASN).
[0065] 3. Integrate global, local and economic attributes to select key network nodes
[0066] (1) Global attributes
[0067] k-shell centrality is a method for understanding the hierarchical structure of a network and revealing the importance of nodes. It considers the hierarchical position of nodes in the entire network from a global perspective. The network topology is divided into multiple levels according to the degree value, and the nodes in the inner layer are considered to have higher importance. The specific decomposition rules are: sort all the nodes in the network according to the degree value, starting from the node with the lowest degree. When decomposing the kth layer, all nodes in the topology with a degree not greater than k are removed. After each node is removed, the degree of all nodes in the network is recalculated until all nodes are assigned to a k-shell. Figure 1 As shown in the figure, the larger the KS value, the inner layer of the node is, the closer the node is to other nodes, and the more important the node is. The KS value of a node is calculated as follows:
[0068] KS(v i )=degree(v i ) (1)
[0069] Among them, degree(v i ) indicates that after removing the outer nodes, v i The degree value of the node.
[0070] (2) Local attributes
[0071] The influence of neighbor nodes is an important dimension of local characteristics. By analyzing the characteristics and behaviors of neighbor nodes, the local importance of the target node can be better evaluated. Since the influence of neighbor nodes decreases with increasing distance, and the calculation involving more distant neighbor nodes will significantly increase the time complexity, the present invention only considers the influence of first-order neighbor nodes. The steps for calculating the importance of first-order neighbor nodes are as follows:
[0072] 1) First, calculate the contribution probability of the node. Given a network G, where node v i A random connection is made to any of its neighbors, whose degree represents all possible connections. The inverse of the degree is defined as the node v i The contribution probability P(v i ):
[0073]
[0074] Among them, d(v i ) represents node v i The degree value.
[0075] 2) Secondly, the clustering probability of each node is calculated based on the contribution probability of the node. The sum of the reciprocals of the degrees of all neighbors of a node in the network G is called the clustering efficiency, and the calculation formula is as follows:
[0076]
[0077] Among them, η(v i ) is a set of neighbor nodes.
[0078] 3) Then calculate the betweenness centrality. Betweenness centrality (BC) is an indicator used to measure the degree of intermediary between nodes in the network. It measures the ability of a node to act as an intermediary in the network, that is, the frequency of the node appearing on the shortest path between other nodes. If a node is located on more shortest paths in the network, then its betweenness centrality is higher, indicating that the node has greater influence. The calculation formula for the betweenness centrality of node v is shown in formula (4):
[0079]
[0080] Among them, g st is the number of shortest paths from node s to node t, g is the distance from node s to node t st The number of shortest paths passing through node v among the shortest paths.
[0081] 4) Finally, calculate the node v i The influence of the first-order neighbor node of v. The first-order neighbor node influence is defined as:i The betweenness centrality value of is multiplied by the sum of the contribution probabilities of the node's neighboring nodes. As shown in formula (5):
[0082]
[0083] Among them, P(v j ) represents the neighbor node v j The probability of contribution.
[0084] (3) Economic attributes
[0085] The Internet topology at the AS level is usually modeled using a complex network, where each node is an AS and each link represents a business relationship between two ASs, such as Figure 2 As shown in Figure 2. AS business relationships are usually divided into three types: (1) P2C, (2) P2P, and (3) S2S. Customers in P2C relationships need to pay providers to access the Internet, while the other two types (P2P and S2S) are usually settlement-free, which means that each party in P2P and S2S relationships does not need to exchange money and prefers a win-win partnership. Business relationships, such as P2C, C2P, and S2S, not only reveal the physical location of nodes in the network, but also provide insights into the roles of nodes at the economic and service levels. For example, a node may be located at the edge of the global network, but it has important customer ASs (C2P relationships), which means that even at the edge, the node may still have great influence. Similarly, if a node has multiple providers in a P2C relationship, it means that its position in the network is more stable and plays an important role in the reliability and stability of the network. Therefore, as a new evaluation angle, business relationships can not only provide a deeper understanding of the importance of nodes, but also provide new ideas for network planning and management.
[0086] Next, calculate the number of providers for each node. Figure 2 It can be seen that the number of providers of AS7 nodes is:
[0087] number(P AS7 )=2 (6)
[0088] (4) Fusion of multiple attributes to calculate node importance
[0089] Taking into account the k-shell centrality, the influence of neighbor nodes and the joint influence of business relationships on nodes, we can more comprehensively and accurately evaluate the status and importance of nodes in the network. i The Multi-attribute Node Importance (MNI) is defined as the weighted sum of the node's global attributes, local attributes, and economic attributes:
[0090]
[0091] Among them, a, b, and c represent the weight proportion of k-shell centrality, node provider relationship, and first-order neighbor node influence in the overall evaluation. The value range of a, b, and c is (0.3, 2), which can adjust the contribution of different attributes in evaluating node importance, determine the best weight combination, and reflect the actual importance of nodes in different application scenarios. Specifically, k-shell centrality measures the hierarchical position and importance of nodes in the global network, node provider relationships reflect their influence at the economic and service levels, and the influence of first-order neighbor nodes represents their key role in the local network structure.
[0092] By comprehensively considering these three attributes, the MNI method can provide a more comprehensive and accurate node importance evaluation index. The larger the MNI value, the greater the comprehensive influence of the node in the network, and the higher its importance. This multi-dimensional evaluation method not only makes up for the shortcomings of single attribute evaluation, but also provides a stronger theoretical basis and practical guidance for IPv6 network optimization, management and security.
[0093] 4. Time complexity analysis
[0094] The computational time complexity of the MNI algorithm proposed in the present invention is analyzed, and its specific steps are listed in Table 1. As can be seen from Table 1, MNI needs to traverse each node in the network. When calculating the KS value of a node, it is necessary to traverse the nodes and edges of the entire graph to calculate the degree of the node and decompose it, and the time complexity is O(n+m); when calculating the importance of first-order neighbor nodes, the time complexity of the node contribution probability is O(n), and the time complexity of the betweenness centrality is O(nm); the computational complexity of calculating the node business relationship is O(n). It can be seen that the time complexity of the MNI algorithm depends on the calculation of the importance of the first-order neighbor nodes, so the time complexity of the MNI algorithm proposed in the present invention is O(n+m). 2 ). Where n is the total number of nodes in the network and m is the total number of edges in the network.
[0095] Table 1 Step of the calculation
[0096]
[0097] Table 2 lists the time complexity of the traditional methods of DC, BC, CC, KS, and the PN and MNI methods that consider economic attributes, where PN represents the number of node providers. These methods are divided into three types: local, global, and hybrid according to the network information contained in the evaluation method. When n<m, O(n)<O(n 2)<O(nm), O(n 2 )<O(n 3 ). It can be seen that the time complexity of MNI is not the lowest, but its accuracy is better than other methods, and the network information contained in the nodes is higher than other methods. Therefore, the MNI method is not only applicable to IPv6 AS-level networks, but also to other large and complex networks.
[0098] Table 2 Time complexity of different methods
[0099] Method Category Time complexity DC Local O(n) BC Global <![CDATA[O(n 3 )orO(nm)]]> CC Global <![CDATA[O(n 3 )orO(nm)]]> KS Global O(n+m) PN Hybrid O(n) MNI Hybrid <![CDATA[O(n 2 )]]>
[0100] 5. Verify the effectiveness and accuracy of the method
[0101] In order to verify the effectiveness and accuracy of the MNI method proposed in this invention, it is divided into the following steps:
[0102] (1) First, we select six IPv6 AS-level networks from different countries or regions for the experiment, namely: CN-TW (Taiwan, China), BD (Bangladesh), CH (Switzerland), AU (Australia), IN (India), and DE (Germany). The statistical characteristics of each network are listed in Table 3.
[0103] Table 3 Statistical characteristics of six real networks
[0104]
[0105] (2) Effectiveness analysis. Comparative experiments of different methods are conducted on real networks in different countries or regions. The CN-TW (China Taiwan) network is used as an example for simulation analysis. Its topology diagram is shown in the figure below. Figure 6 The degree centrality (DC), betweenness centrality (BC), closeness centrality (CC), K-Shell decomposition (KS), and number of node providers (PN) were selected for comparison with the MNI method proposed in this invention, and the importance evaluation results of the first five key nodes of the network were obtained as shown in Table 4.
[0106] Table 4 Node importance evaluation results in the CN-TW network
[0107]
[0108] By combining the CN-TW network topology ( Figure 6 ) and the importance evaluation results (Table 4) show that only using DC, CC, KS, PN and other methods to evaluate the importance of nodes from a single perspective will result in coarse-grained problems, that is, multiple nodes have the same evaluation value, resulting in inaccurate estimation results. For example, in the KS method, nodes 20539 and 9924 have the same KS value, but their respective number of providers is significantly different. Therefore, only considering the KS ranking of the node cannot further distinguish the importance of the node.
[0109] The MNI method proposed in the present invention overcomes the shortcomings of the above methods. It starts from the global and local topological information of the node, comprehensively considers the influence of the KS value of the node itself and the neighboring nodes, and further improves the differentiation of node importance through the number of providers owned by the node.
[0110] (3) Determine the evaluation indicators. The proportion of the largest connected subgraph, the network connected components, and the proportion of the average network efficiency are used as evaluation criteria to verify the accuracy of the MNI method. The evaluation indicators are as follows:
[0111] 1) The proportion of the largest connected subgraph
[0112] The ratio of the number of nodes in the largest connected subgraph in the network Gr to the number of nodes in the initial network G is defined as the proportion S of the largest connected subgraph. It measures the stability of the network and its robustness to node deletion when the network is attacked by nodes. A higher S value means that the network can still maintain a larger connected structure when the node is deleted. On the contrary, a low S value may indicate that the network is more likely to split into multiple smaller connected components after the node is deleted.
[0113]
[0114] in, Represents the number of nodes in the network after deleting R nodes.
[0115] 2) Network connectivity component
[0116] The network connected component C is the number of all connected subgraphs in Gr. After deleting a node in the network, the originally connected nodes may be separated into multiple unconnected parts, forming independent connected components. The number and size of these connected components can provide information about the network structure and topology. If deleting a node causes the number of connected components in the network to increase, it means that the network structure has become more decentralized, and the deleted node has a greater impact on the network. On the contrary, if the number of connected components does not change significantly after deleting the node, it means that the network structure is relatively stable and the deleted node has a relatively weak impact on the network.
[0117] C(r)=number(Gr ) (9)
[0118] Among them, G r Represents the network after deleting r nodes.
[0119] 3) The proportion of average network efficiency
[0120] The average network efficiency is the average of the reciprocals of the shortest path lengths between all pairs of nodes in the network, and it measures the efficiency of information transmission in the network. The higher the average network efficiency, the more likely it is that the pairs of nodes in the network can be connected to each other via shorter paths. The proportion of the average network efficiency, E(r), indicates the relative importance or contribution of the average network efficiency to the overall network performance. If this proportion is high, it means that the efficiency of information transmission in the network accounts for a large proportion of the overall network performance, emphasizing the efficient communication between nodes in the network. On the contrary, if E(r) is lower, it means that the efficiency of information transmission between nodes is lower, and the deleted nodes have a greater impact on the entire network. The average efficiency E of the initial network is defined as:
[0121]
[0122] Where N is the number of nodes in the initial network, N(N-1) / 2 is the number of all possible node pairs in the initial network, and d ij It represents the shortest path length between node i and node j in the largest connected subgraph after deleting r nodes.
[0123] (4) Accuracy analysis and verification. The present invention uses DC, BC, CC, KS, PN and the proposed multi-attribute-based node importance analysis method MNI to conduct experimental verification on datasets in six different regions, namely CN-TW, BD, CH, AU, IN and DE. The ranking results of the six algorithms are compared and analyzed based on these six real networks. In addition, a certain proportion of nodes with high node importance rankings are deleted from the initial network to simulate the change in network scale when the network is attacked, thereby evaluating the accuracy of each algorithm. According to the node ranking, the following experiment is designed to delete one node from the network at a time and slice the network. The experiment is terminated when the proportion of the largest connected subgraph of the remaining network and the average efficiency of the network are less than 20% of the original network. Tables 5 and 6 show the experimental results of six real network datasets under different evaluation methods.
[0124] Table 5 Experimental results of the evaluation method for the proportion of the largest connected subgraph and the number of connected patches
[0125] subgraph and the number of the connected slices
[0126]
[0127] Table 5 shows the experimental results of six different regional data sets under the maximum connected subgraph and connected slice number evaluation method. In the CN-TW network, the DC method and the MNI method proposed in this paper have the best effect, because by deleting fewer nodes, the maximum connected subgraph ratio of the remaining network is reduced to less than 20% of the initial network, which makes the network collapse faster, and further shows that the key nodes identified by the MNI method are more accurate. In the BD network, IN network, and CH network, when the MNI method and the BC method delete the same number of nodes, the MNI method has more connected slices, which means that the greater the degree of network collapse, the better the effect. In the AU network and the DE network, the MNI method performs best, that is, the least number of nodes are deleted, and the network has more or the most connected components after sharding.
[0128] Table 6 Experimental results of the evaluation method for the proportion of average efficiency
[0129]
[0130] Table 6 shows the experimental results under the evaluation method of the proportion of average efficiency. In the CN-TW network, the DC and MNI methods performed best, that is, the least number of nodes were deleted, and the remaining network efficiency was relatively low. The lower the average efficiency, the lower the efficiency of information transmission between nodes, which further shows that the deleted nodes have a greater impact on the entire network. In the BD, CH, DE, and AU networks, the number of nodes deleted by the DC, BC, and MNI methods is the same, but the MNI method has the lowest average efficiency and the best effect. In the IN network, the PN method performed the worst, and the MNI method performed the best, deleting fewer nodes and the lowest average network efficiency.
[0131] In order to more intuitively illustrate the superiority of the MNI multi-attribute fusion method proposed in the present invention, a comparison is further made through a graphical method. Figure 7As shown in the six IPv6 AS networks, although the PN method alone is not effective in evaluating node importance, it can be seen that after the attribute is fused according to a certain weight, the MNI method proposed in this paper always performs well, in order to delete the least number of nodes and reduce the proportion of the network's largest connected subgraph to less than 20% more quickly. At the same time, Figure 8 This shows that the MNI method decomposes more network fragments with fewer deleted nodes, causing the network to collapse faster. Specifically, Figure 8 As shown in (c), except for the PN method, the effects of other methods are not much different, but overall, the MNI method always decomposes more connected components and has the best effect. Fig. 9 The figure shows the relationship between the average efficiency ratio of the remaining network and the number of deleted nodes in IPv6 AS-level networks in different countries (or regions). It can be seen from the figure that when the same number of nodes are deleted, the MNI average efficiency is the lowest. It can be seen that in the IPv6 AS-level networks in six different regions, the key nodes selected by the MNI method have a higher accuracy and the best effect, that is, deleting a small number of nodes can destroy most of the network.
[0132] The above description is only a specific implementation of the present invention, but the protection scope of the present invention is not limited thereto. Any person familiar with the technology can understand and think of any changes or substitutions within the technical scope disclosed by the present invention, which should be included in the scope of the present invention.
Claims
1. A method for identifying key nodes in an IPv6 AS-level network based on multi-attribute fusion, the method specifically comprising the following steps: Step 1: Data Preprocessing (1) BGP routing table data: The BGP routing table data on May 1, 2024 is obtained through the IPv6-specific collector (route-view6) of the RouteViews project located in Oregon, and the bgpdump tool is used to parse and merge, and the AS and corresponding edge sets are extracted as the original network topology data. (2) AS organization dataset: We obtain the as2org data provided by CAIDA, filter out ASs from different countries or regions through the mapping relationship between ASs and organizations, and construct the network topology. (3) AS business relationship dataset: Obtain as-rel data and calculate the number of provider ASs of the target AS based on the business relationship dataset as a feature from an economic perspective. (4) Extract the as_path field of the routing table data, and then perform operations such as deduplication and format abnormal data cleaning to remove the interference of the data itself on the algorithm. Step 2: Build the network topology (1) Let G = (V, E) be an undirected unweighted network, where V = {v1, v2, ..., v n } represents the set of nodes in G, |V| = n, E = {(v i ,v j )|v i , v j ∈V} represents the set of edges in G, |E| = m. n×n =(a ij ) n×n is the adjacency matrix corresponding to G. If the node v i and node v j If there is an edge relationship between them, then a ij =1, otherwise a ij =0. (2) Divide the unauthorized network into subnetworks of different regions. Based on the AS-affiliated organization dataset, six IPv6 AS-level real networks from different countries or regions are selected, such as Taiwan (CN-TW), Bangladesh (BD), Switzerland (CH), Australia (AU), India (IN), and Germany (DE). (3) Construct network topology based on as_path and as adjacency pairs in different countries or regions. Step 3: Integrate global, local and economic attributes to select key network nodes (1) Global attributes The k-shell centrality is used to consider the hierarchical position of the node in the entire network from a global perspective. The KS value of each node is calculated. The larger the KS value, the more inner the node is in the network and the more important the node is. The KS value of the node is calculated as follows: KS(v i )=degree(v i ) (1) Among them, degree(v i ) indicates that after removing the outer nodes, v i The degree value of the node. (2) Local attributes The first-order neighbor node influence is used to evaluate the local importance of the target node. The specific steps are as follows: 1) First, calculate the contribution probability of the node. Given a network G, where node v i A random connection is made to any of its neighbors, whose degree represents all possible connections. The inverse of the degree is defined as the node v i The contribution probability P(v i ): Among them, d(v i ) represents node v i The degree value. 2) Secondly, the clustering probability of each node is calculated based on the contribution probability of the node. The sum of the reciprocals of the degrees of all neighbors of a node in the network G is called the clustering efficiency, and the calculation formula is as follows: Among them, η(v i ) is a set of neighbor nodes. 3) Then calculate the betweenness centrality. The calculation formula of the betweenness centrality of node v is shown in formula (4): Among them, g st is the number of shortest paths from node s to node t, is the g from node s to node t st The number of shortest paths passing through node v among the shortest paths. 4) Finally, calculate the node v i The influence of the first-order neighbor node of v. The first-order neighbor node influence is defined as: i The betweenness centrality value of is multiplied by the sum of the contribution probabilities of the node's neighboring nodes. As shown in formula (5): Among them, P(v j ) represents the neighbor node v j The probability of contribution. (3) Economic attributes AS business relationships are generally divided into three types: (1) P2C, (2) P2P, and (3) S2S. Business relationships not only reveal the physical location of a node in the network, but also provide insights into the role of the node at the economic and service levels. If a node has multiple providers in a P2C relationship, it means that its position in the network is more stable, which plays an important role in the reliability and stability of the network. Therefore, the number of providers for each node needs to be calculated. For example, the number of providers of an AS7 node is expressed as: number(P AS7 )=2 (6) (4) Fusion of multiple attributes to calculate node importance Taking into account the k-shell centrality, the influence of neighbor nodes and the joint influence of business relationships on nodes, we can more comprehensively and accurately evaluate the status and importance of nodes in the network. iThe Multi-attribute Node Importance (MNI) is defined as the weighted sum of the node's global attributes, local attributes, and economic attributes: in, a, b, and c represent the weight proportion of k-shell centrality, the number of node providers, and the influence of first-order neighbor nodes in the overall evaluation, respectively. The value range of a, b, and c is (0.3, 2), which can adjust the contribution of different attributes in evaluating the importance of nodes, determine the best weight combination, and reflect the actual importance of nodes in different application scenarios. Specifically, k-shell centrality measures the hierarchical position and importance of nodes in the global network, the node provider relationship reflects its influence at the economic and service levels, and the influence of first-order neighbor nodes represents its key role in the local network structure. Step 4: Time complexity analysis The computational time complexity of the MNI algorithm proposed in this invention is analyzed, and the time complexity of the MNI algorithm is obtained to be O(n 2 ). In addition, the time complexity of the traditional methods of DC, BC, CC, KS and the PN and MNI methods that consider economic attributes are analyzed. It can be concluded that the time complexity of MNI is not the lowest, but its accuracy is better than other methods, and the network information contained in the nodes is higher than other methods. Therefore, the MNI method is not only suitable for IPv6 AS-level networks, but also for other large and complex networks. Step 5: Verify the effectiveness and accuracy of the method In order to verify the effectiveness and accuracy of the MNI method proposed in this invention, it is divided into the following steps: (1) First, six IPv6 AS-level real networks from different countries or regions are selected for the experiment, namely: CN-TW (Taiwan, China), BD (Bangladesh), CH (Switzerland), AU (Australia), IN (India), and DE (Germany). (2) Effectiveness analysis. Comparative tests of different methods are conducted on real networks in different countries or regions. Degree centrality (DC), betweenness centrality (BC), closeness centrality (CC), K-Shell decomposition (KS), and the number of node providers (PN) are selected for comparison with the MNI method proposed in the present invention. Analysis shows that only using DC, CC, KS, PN and other methods to evaluate the importance of nodes from a single perspective will lead to coarse-grained problems, that is, multiple nodes have the same evaluation value, resulting in inaccurate estimation results. The MNI method proposed in the present invention overcomes the shortcomings of the above methods. It starts from the two perspectives of the global and local topological information of the node, comprehensively considers the influence of the KS value of the node itself and the neighboring nodes, and further improves the discrimination of the node importance through the number of providers owned by the node. (3) Determine the evaluation indicators. The proportion of the largest connected subgraph, the network connected components, and the proportion of the average network efficiency are used as evaluation criteria to verify the accuracy of the MNI method. The evaluation indicators are as follows: 1) The proportion of the largest connected subgraph The ratio of the number of nodes in the largest connected subgraph in the network Gr to the number of nodes in the initial network G is defined as the proportion S of the largest connected subgraph. The calculation formula is as follows: in, Represents the number of nodes in the network after deleting R nodes. 2) Network connectivity component The network connected component C is the number of all connected subgraphs in Gr. After deleting nodes in the network, the originally connected nodes may be separated into multiple unconnected parts, forming independent connected components. The number and size of these connected components can provide information about the network structure and topology. The calculation formula is as follows: C(r)=number(G r ) (9) Among them, G r Represents the network after deleting r nodes. 3) The proportion of average network efficiency The average network efficiency is the average of the reciprocals of the shortest path lengths between all pairs of nodes in the network. It measures the efficiency of information transmission in the network. The average efficiency E of the initial network is defined as: in, N represents the number of nodes in the initial network, N(N-1) / 2 represents the number of all possible node pairs in the initial network, and d ij It represents the shortest path length between node i and node j in the largest connected subgraph after deleting r nodes. (4) Accuracy analysis and verification. The present invention uses DC, BC, CC, KS, PN and the proposed multi-attribute-based node importance analysis method MNI to conduct experimental verification on data sets in six different regions, namely CN-TW, BD, CH, AU, IN and DE. The ranking results of the six algorithms were compared and analyzed based on these six real networks. In addition, a certain proportion of nodes with high node importance rankings were deleted from the initial network to simulate the change in network scale when the network was attacked, and then the accuracy of each algorithm was evaluated. According to the node ranking, an experiment was designed to delete one node from the network at a time, shard the network, and terminate the experiment when the proportion of the largest connected subgraph of the remaining network and the average network efficiency were less than 20% of the original network. (5) It is finally concluded that in the IPv6 AS-level networks in six different regions, the key nodes selected by the MNI method have a higher accuracy and the best effect, that is, deleting a small number of nodes can destroy most of the network.
Citation Information
Cited By
Important node identification method and device for multilayer supply chain network, equipment and medium
CN119515428A
Complex network key node identification method based on improved dynamic sensitive centrality
CN119598336A
