CN108011784B - Dynamic optimization method for worst network connectivity - Google Patents

Dynamic optimization method for worst network connectivity Download PDF

Info

Publication number
CN108011784B
CN108011784B CN201711304021.2A CN201711304021A CN108011784B CN 108011784 B CN108011784 B CN 108011784B CN 201711304021 A CN201711304021 A CN 201711304021A CN 108011784 B CN108011784 B CN 108011784B
Authority
CN
China
Prior art keywords
node
network
diameter
optimization
node pair
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711304021.2A
Other languages
Chinese (zh)
Other versions
CN108011784A (en
Inventor
谭虎
雷杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan Institute of Engineering
Original Assignee
Hunan Institute of Engineering
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan Institute of Engineering filed Critical Hunan Institute of Engineering
Priority to CN201711304021.2A priority Critical patent/CN108011784B/en
Publication of CN108011784A publication Critical patent/CN108011784A/en
Application granted granted Critical
Publication of CN108011784B publication Critical patent/CN108011784B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a dynamic optimization method for worst network connectivity. The method comprises the following steps: calculating the network diameter to obtain a corresponding node pair set; counting the number of shortest paths with the length being the diameter to obtain a shortest path number set; reducing the node pair set, and judging whether to optimize according to the number of elements in the reduced set; selecting to execute or finish optimization according to the judgment result; and randomly selecting a plurality of node pairs in the set, building a new direct connection edge to form a new network, and re-executing the steps to realize dynamic optimization. The method of the invention optimizes the whole connectivity performance of the network dynamically from the worst situation by comparing the worst situation of the connectivity between the nodes, optimizing the node pairs and adding edges in a targeted manner. The invention can be widely applied to a large number of actual complex systems, such as Internet, traffic network and the like, and provides important reference basis for the optimization design of optical fiber routing layout, newly-added air routes, rail traffic and the like.

Description

Dynamic optimization method for worst network connectivity
Technical Field
The invention relates to a dynamic optimization method of network connectivity.
Background
Human life and production activities depend on a large number of complex systems, both natural and man-made, and for a given system, the connections and interaction patterns between the components can be represented by networks, the components of the system can be abstracted into vertices in the network, and the connections between the components can be abstracted into edges.
The overall connectivity of the network represents the transmission and service capabilities of the carrier to a greater extent, and therefore, the network is widely concerned in many application fields, such as the Internet, traffic networks, trade networks, and the like. Current considerations for network connectivity usually focus on the ratio relationship between the actual edge and all possible edges in both cases of intentional attack on nodes with high index (degree, betweenness, etc.) and random attack on all nodes (refer to the review on the Ecology letters published in Banks et al 2015).
For dynamic change of network connectivity, current research mostly focuses on network evolution generated by randomly adding edges or being dragged by external factors, and influences on overall robustness of the network after the evolution. For example, Foti et al (j.econ. dyn. control,2013) consider the change in robustness of a network in the face of random and deliberate attacks after adding edges, whereas the addition of edges in its trading network is affected by economic policies. The improvement of network connectivity is more considered on the statistical characteristics of edges and the connectivity among most nodes, and the increase of the edges has randomness. Current techniques lack proactive and targeted optimization and also lack the preferred way to add edges.
Disclosure of Invention
In order to solve the problem of targeted optimization of network connectivity, the invention evaluates the worst condition of connectivity between nodes by combining the robustness of the shortest path between the nodes, provides an optimal mode of edges to be added and realizes the dynamic optimization of the network connectivity.
In order to achieve the above technical object, the technical solution of the present invention is a method for dynamically optimizing the worst connectivity performance of a network, including the following steps,
the method comprises the following steps: calculating the network diameter and acquiring a node pair set corresponding to the diameter;
step two: counting the shortest path number between each node pair according to the node pair set obtained in the step one to obtain a shortest path number set corresponding to the node pair;
step three: according to the shortest path number set obtained in the step two, reducing the node pair set obtained in the step one to obtain node pairs under the condition of worst connectivity; judging whether to execute optimization according to the number of elements in the reduced set;
step four: according to the optimization execution situation in the judgment result obtained in the third step, randomly selecting a plurality of node pairs in the set obtained in the third step, and respectively adding a direct connection edge to generate a new network; and returning to the step one again, and circulating the steps to implement dynamic optimization.
In the method, the step one of calculating the network diameter and obtaining the node pair set corresponding to the diameter includes:
step 1: calculating the length of the shortest path between any two nodes in the network;
dij=min{P1 i→j,P2 i→j,...,Pn i→j}
wherein d isijRepresenting the length of the shortest path from node i to node j (i < j), n is the statistical number of the shortest paths from node i to node j, Pk i→jThe length value of the k path from the node i to the node j is represented, namely the number of edges passed by the k path; { P1 i→j,P2 i→j,...,Pn i→jIs the set of all path length values from node i to node j.
Step 2: calculating the diameter of the network;
calculating the maximum value of the shortest path length between any two nodes in the network according to the length of the shortest directed path between the two nodes obtained in the step 1 in the step one, namely the diameter:
D=maxdij
wherein D represents the diameter of the network; maxdijRepresents the maximum value of the shortest path length between any two nodes.
And step 3: acquiring a node pair set corresponding to the diameter;
according to the diameter obtained in the step 2 in the step one, solving a node pair set corresponding to the diameter, wherein the step is as follows:
U={(i,j)|dij=D}
wherein U represents a node pair set corresponding to the diameter, and (i, j) represents that the condition d is satisfiedijPair D.
In the method, the step of obtaining the shortest path number set corresponding to the node pair in the step two is as follows:
according to the node pair set obtained in the step 3 in the step one, counting the shortest path number between each node pair to obtain a shortest path number set corresponding to the node pair, wherein the step is as follows:
V={Mij|(i,j)∈U}
wherein M isijRepresenting a set of shortest path numbers corresponding to the node pair (i, j); v represents MijA collection of (a).
In the method, the step three of reducing the node pair set and judging whether to optimize is as follows:
step 1: acquiring node pairs under the situation of worst connectivity;
extracting node pairs with the shortest paths of only 1 according to the node pair set obtained in the step 3 in the step one, wherein the step is as follows:
U′={(i,j)|Mij=1}
where U' represents the set of node pairs after reduction of U, Mij1 means that the shortest path between the node pair (i, j) is only 1; in this case, the minimum cut set of edges between node pairs is 1, and any node and edge on the path is destroyed, which results in an increase in the diameter of the network, so that the worst connectivity performance of the network is deteriorated.
Step 2: judging whether to optimize;
judging whether to optimize according to the node pair set obtained in the step 1 in the third step and the number of elements in the set, wherein the steps are as follows:
Figure BDA0001501550610000041
wherein (card (U') > 1)
Figure BDA0001501550610000042
The method is characterized in that the proposition that the number of elements in U is more than or equal to 1 is judged to be true or false; t represents that the proposition judgment result is true, namely entering the next optimization stage; f represents that the proposition judgment result is false, namely the optimization is terminated.
In the method, the step four of performing optimization includes:
optimizing according to the situation that step 2 in the step three needs to execute optimization, and the steps are as follows:
randomly selecting t node pairs (i, j) in U', and directly connecting one edge; wherein t < card (U'); here, the optimization implementer is given a certain degree of freedom to select the number of newly added edges for each optimization according to the actual situation.
The invention carries out active optimization on the network connectivity performance by comparing the worst situation of the connectivity among the nodes. Compared with the prior art, the addition of the edges is more targeted, the worst condition of the network connectivity is improved from the viewpoint of improving the robustness of the connection between the nodes, and the influence caused by deliberately attacking or randomly attacking some nodes under the worst condition is avoided, so that the worst condition is prevented from getting worse. The optimization process may result in the reduction of the network diameter, so that the purpose of optimizing the worst connectivity can also be achieved.
The dynamic optimization method is not only suitable for simple networks without directions and weights, but also suitable for directed networks and weighted networks. The condition of step one in the directed network is changed to i ≠ j. For the weighting network, the weight of the edge is converted into the path length for calculation. Therefore, the invention can be widely applied to a large number of actual complex systems, such as Internet, traffic network and other networks, and provides important reference basis for the implementation of optical fiber routing layout, newly-added air routes, tracks and the like.
The invention will be further explained with reference to the drawings.
Drawings
FIG. 1 is a flow chart of the present invention.
Fig. 2 is a schematic diagram of a complex network according to the present invention.
FIG. 3 is a schematic diagram of the optimization performed by the present invention.
Detailed Description
Referring to fig. 1, fig. 1 is a flow chart of the present invention. The following illustrates a specific embodiment of the present invention.
Example 1: dynamic optimization of worst-case connectivity performance of random networks
1) Obtaining complex networks
In this embodiment, a random complex network with 50 nodes is denoted as DN. The network is denoted as DN ═ (V, E), where V is the set of nodes and E is the set of edges between the nodes. The nodes contained in V are { V1, V2, …, V50 }. In the network, nodes v1-v9, v1-v18, v1-v20, v1-v34, v3-v6, v5-v12, v5-v16, v5-v37, v37-v 37, v37-v 37, v-v 37, v37-v 37, v-v 37, v31-v34, v32-v3, v32-v6, v32-v36, v32-v41, v33-v47, v34-v7, v7-v 7, v7-v 7, v7-v 7, v7-v 7, v7-v 7-v, An undirected and unweighted edge exists among v43-v47, v43-v48, v44-v39, v45-v38, v46-v28, v46-v33, v47-v14, v47-v34, v47-v45, v48-v42, v49-v44, v50-v3, v50-v30 and v50-v43, and other nodes are not connected.
Fig. 2 is a schematic diagram of a complex network obtained according to connection between nodes in embodiment 1 of the present invention.
2) Computing network diameter and corresponding node pair set
The network diameter is defined as the maximum value of the shortest path length between any two reachable nodes in the network. First, the length of the shortest path between any two nodes in the network is calculated. Taking the length calculation of the shortest path between the node pairs (v1, v2) as an example, the shortest paths existing between them are v1 to v38 to v2, wherein the shortest path includes 2 edges, and therefore has a length of 2. And sequentially calculating the length of the shortest path between any other two nodes, and then solving the maximum value in all length values. The maximum value of 6 is obtained, i.e. the diameter of the network. The corresponding node pair sets are { (v2, v10), (v3, v10), (v4, v10), (v10, v25), (v10, v49), (v25, v29) }.
2) Counting the shortest path number with the length as the diameter to obtain the shortest path number set
The number of shortest paths between the node pairs (v2, v10) is first determined, the node v2 walks along the edges, the number of walking edges is limited to 6, and the node v10 is reached, so that 3 shortest paths can be obtained. The number of shortest paths between the node pairs (v3, v10), (v4, v10), (v10, v25), (v10, v49), (v25, v29) is 6,1,6, and 20, respectively. The set of shortest path numbers obtained is {6,6,1,6,20 }.
3) Reducing node pairs and determining elements in a set
The node pairs with the shortest path number of only 1 are extracted, and the sets of { (v2, v10), (v3, v10), (v4, v10), (v10, v25), (v10, v49), (v25, v29) } are reduced to { (v10, v25) }. Judging the number of elements in the set, wherein the number of the elements exceeds 1, and executing the next optimization.
4) Randomly selecting a plurality of node pairs in the set, and newly building a direct connection edge
Here, only one element remains in the reduced set, so that 1 node pair is extracted, namely (v10, v25), and an undirected unweighted edge v10-v25 is added to the network to form a new network.
Fig. 3 is a schematic diagram of optimization performed in embodiment 1 of the present invention.
5) New round of optimization
And calculating the diameter of the new network and the corresponding node pair, obtaining the diameter as 6, and setting the corresponding node pair as { (v10, v49) }. The set of shortest path numbers obtained is {9 }. And extracting the node pairs with the shortest path number of only 1 to obtain an empty set. And judging the number of the elements in the set to be less than 1, thus finishing the optimization.
The above is an example analysis of the dynamic optimization of the worst performance of the network.

Claims (5)

1. A method for dynamically optimizing the worst-case network connectivity performance includes the following steps,
the method comprises the following steps: calculating the network diameter and acquiring a node pair set corresponding to the diameter;
step two: counting the shortest path number between each node pair according to the node pair set obtained in the step one to obtain a shortest path number set corresponding to the node pair;
step three: according to the shortest path number set obtained in the step two, reducing the node pair set obtained in the step one to obtain node pairs under the condition of worst connectivity; judging whether to execute optimization according to the number of elements in the reduced set;
step four: according to the situation of executing optimization in the judgment result obtained in the third step, randomly selecting a plurality of node pairs in the set obtained in the third step, and respectively adding a direct connection edge to generate a new network; and then returning to the step one again, and circulating the steps to realize dynamic optimization.
2. The method of claim 1, wherein the step of calculating the diameter of the network and obtaining the set of node pairs corresponding to the diameter in the first step comprises:
step 1: calculating the length of the shortest path between any two nodes in the network;
dij=min{P1 i→j,P2 i→j,...,Pn i→j}
wherein d isijRepresenting nodes i to j (i)<j) Length of shortest path, n is the number statistic of shortest paths from node i to node j, Pk i→jThe length value of the k path from the node i to the node j is represented, namely the number of edges passed by the k path; { P1 i→j,P2 i→j,...,Pn i→jThe set of all path length values from node i to node j;
step 2: calculating the diameter of the network;
calculating the maximum value of the shortest path length between any two nodes in the network according to the length of the shortest directed path between the two nodes obtained in the step 1 in the step one, namely the diameter:
D=maxdij
wherein D represents the diameter of the network; maxdijThe maximum value of the shortest path length between any two nodes is represented;
and step 3: acquiring a node pair set corresponding to the diameter;
according to the diameter obtained in the step 2 in the step one, solving a node pair set corresponding to the diameter, wherein the step is as follows:
U={ (i,j)|dij=D}
wherein U represents a set of node pairs corresponding to a diameter, ((ii) ((iii)), (i, j) indicates that the condition d is satisfiedijPair D.
3. The method of claim 2, wherein the step of obtaining the shortest path number set corresponding to the node pair in the step two comprises:
according to the node pair set obtained in the step 3 in the step one, counting the shortest path number between each node pair to obtain a shortest path number set corresponding to the node pair, wherein the step is as follows:
V={ Mij|(i,j)∈U}
wherein M isijRepresenting a set of shortest path numbers corresponding to the node pair (i, j); v represents MijA collection of (a).
4. The method of claim 3, wherein the step of reducing the set of nodes and determining whether to perform optimization in the third step comprises:
step 1: acquiring node pairs under the situation of worst connectivity;
extracting node pairs with the shortest paths of only 1 according to the node pair set obtained in the step 3 in the step one, wherein the step is as follows:
U'={(i,j)|Mij=1}
wherein U' represents the node pair set after reduction of U, Mij1 means that the shortest path between the node pair (i, j) is only 1; in this case, the minimum cut set of the edges between the node pairs is 1, and any node and edge on the broken path will cause the increase of the network diameter, so that the worst connectivity performance of the network is deteriorated;
step 2: judging whether to optimize;
judging whether to optimize according to the node pair set obtained in the step 1 in the third step and the number of elements in the set, wherein the steps are as follows:
Figure FDA0002585873100000031
wherein
Figure FDA0002585873100000032
The method is characterized in that the proposition that the number of elements in U' is more than or equal to 1 is judged to be true or false; t represents that the proposition judgment result is true, namely entering the next optimization stage; f represents that the proposition judgment result is false, namely the optimization is terminated.
5. The method of claim 4, wherein the step four of performing the optimization comprises:
optimizing according to the situation that step 2 in the step three needs to execute optimization, and the steps are as follows:
randomly selecting t node pairs (i, j) in U', and directly connecting one edge; wherein t < card (U'); here, the optimization implementer is given a certain degree of freedom to select the number of newly added edges for each optimization according to the actual situation.
CN201711304021.2A 2017-12-11 2017-12-11 Dynamic optimization method for worst network connectivity Active CN108011784B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711304021.2A CN108011784B (en) 2017-12-11 2017-12-11 Dynamic optimization method for worst network connectivity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711304021.2A CN108011784B (en) 2017-12-11 2017-12-11 Dynamic optimization method for worst network connectivity

Publications (2)

Publication Number Publication Date
CN108011784A CN108011784A (en) 2018-05-08
CN108011784B true CN108011784B (en) 2020-09-08

Family

ID=62057942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711304021.2A Active CN108011784B (en) 2017-12-11 2017-12-11 Dynamic optimization method for worst network connectivity

Country Status (1)

Country Link
CN (1) CN108011784B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120452B (en) * 2018-08-31 2020-09-04 湖南工程学院 Complex network overall efficiency optimization method based on network pruning

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051533A (en) * 2011-10-11 2013-04-17 中兴通讯股份有限公司 Method and device for calculating route with protection service
CN103973564A (en) * 2013-01-31 2014-08-06 清华大学 Interconnection network system and self-adaptation routing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7761569B2 (en) * 2004-01-23 2010-07-20 Tiversa, Inc. Method for monitoring and providing information over a peer to peer network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051533A (en) * 2011-10-11 2013-04-17 中兴通讯股份有限公司 Method and device for calculating route with protection service
CN103973564A (en) * 2013-01-31 2014-08-06 清华大学 Interconnection network system and self-adaptation routing method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《利用路径优先级实现传感器网络中的拥塞避免》;赵成林 等;《北京邮电大学学报》;20120228;第35卷;第15-18页 *
《战术自组网的分群与连通性问题的研究》;靳超;《中国优秀硕士学位论文全文数据库(信息科技辑)》;20110715(第07期);I136-420 *

Also Published As

Publication number Publication date
CN108011784A (en) 2018-05-08

Similar Documents

Publication Publication Date Title
Yang et al. BrainIoT: Brain-like productive services provisioning with federated learning in industrial IoT
EP2498440B1 (en) Configuration method and system of complex network and configuration and management module of server resources
US11968122B2 (en) Joint optimization method and system for delay and spectrum occupation in cloud-edge collaborative network
US20150074198A1 (en) Social network grouping method and system, and computer storage medium
CN113422695B (en) Optimization method for improving robustness of topological structure of Internet of things
CN113641500A (en) Offshore edge calculation unloading method for comprehensive trust evaluation
CN108011784B (en) Dynamic optimization method for worst network connectivity
CN105471770B (en) A kind of message processing method and device based on multi-core processor
CN110136019B (en) Social media abnormal group user detection method based on relational evolution
CN109561129B (en) Cooperative computing unloading method based on optical fiber-wireless network
Wang et al. WSLC: Weighted semi-local centrality to identify influential nodes in complex networks
CN115022067B (en) Network security defense method and device under game-based asymmetric information
CN110889467A (en) Company name matching method and device, terminal equipment and storage medium
CN112784962B (en) Super-network training method and device, electronic equipment and storage medium
Shukla et al. Iso-Failure in Web Browsing using Markov Chain Model and Curve Fitting Analysis
Xue et al. The global evaluation strategy for many‐objective partial collaborative computation offloading problem
Zhao et al. A social network model with proximity prestige property
CN114626523A (en) Method, device and equipment for training deep learning model and storage medium
Zhang et al. Parallel computation offloading between MEC servers with metro optical network
CN115208818B (en) QoS routing method based on genetic algorithm
Prabavathi et al. Design and development of overlapping community detection algorithm using multi-level propagation
FI3777047T3 (en) System and method for resource management and resource allocation in a self-optimizing network of heterogeneous processing nodes
CN117811992B (en) Network bad information propagation inhibition method, device, equipment and storage medium
Chowdhury et al. A new cyber-secure countermeasure for LTI systems under dos attacks
Shukla et al. Stochastic modeling of Internet traffic management

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant