A communication network oscillation analysis system and method
By building a network oscillation analysis module and using network communication models and performance evaluation models to analyze the influencing factors of communication network oscillations, the problem of insufficient analysis of communication network oscillations is solved and the network robustness and stability are improved.
Patent Information
- Application Number
- CN202410869863.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-07-01
AI Technical Summary
Existing technologies are difficult to effectively analyze and solve the problem of communication network oscillation. Especially in a dynamic routing protocol environment, network topology changes and traffic redistribution caused by router or link failures lead to network oscillation and affect network robustness.
A communication network oscillation analysis system and method is designed. By constructing a network oscillation analysis module, the influencing factors of network oscillation are analyzed from the perspective of the mutual influence of the data plane and the control plane, including an input module, an interference module and a network oscillation analysis module. The network communication model is used , network oscillation stochastic model and network performance evaluation model, generate network performance data to evaluate network stability.
By analyzing the performance under different network configurations, we can find out the influencing factors of communication network oscillation, lay a solid foundation for optimizing network design and improving network robustness, be able to respond to and evaluate network performance changes in the presence of external interference, and provide performance indicators for oscillating networks. .
Smart Images

Figure CN118400276B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of communication networks, and in particular to a communication network oscillation analysis system and method. Background Art
[0002] Network oscillation usually occurs in a network environment with dynamic routing protocols. When a router or link fails or a link is disconnected, the dynamic routing protocol in the network will try to recalculate the best path. This may cause path changes and traffic redistribution, causing network oscillation. The fundamental reason is due to inconsistent routing decisions and rapid changes in network topology. When adding or deleting routers, adjusting link capacity, etc., dynamic routing protocols may not be able to adapt to these changes in time. Different routers may choose different forwarding paths based on their own routing information. If the routing decisions between these routers are inconsistent, traffic may be forwarded back and forth in the network, causing network oscillation.
[0003] In order to solve the problem of network oscillation, a system and method that can analyze the communication network oscillation is needed to find out the influencing factors of the communication network oscillation and lay a solid foundation for optimizing network design and improving network robustness. Summary of the invention
[0004] To solve the above problems, the present invention discloses a communication network oscillation analysis system and method, which constructs a network oscillation analysis module to analyze the factors affecting network oscillation from the perspective of the mutual influence between the data plane and the control plane.
[0005] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present invention discloses a communication network oscillation analysis system, the system comprising: an input module, an interference module and a network oscillation analysis module;
[0006] The input module is used to input initial network configuration information and send the initial network configuration information to the network oscillation analysis module; the initial network configuration information includes router information, link information, routing strategy, and gateway information; the router information includes the size of the router queue, whether it is a gateway, etc.; the link information includes the bandwidth size of the link, etc.; the routing strategy includes the shortest path strategy, the minimum degree strategy, the congestion avoidance strategy, etc.; the gateway information includes the communication flow between hosts and the communication flow data size, etc.
[0007] The interference module is used to generate network interference information and send the network interference information to the network shock analysis module; the network interference information includes random damage and malicious damage.
[0008] The network oscillation analysis module includes: a network communication model, a network oscillation random model, and a network performance evaluation model.
[0009] The network communication model is used to construct a communication network, including a data plane unit, a control plane unit, a network configuration unit and a traffic density unit; the data plane unit is used to construct an initial communication network from the data plane; the control plane unit is used to configure the network load of the initial communication network from the control plane; the network configuration unit is used to generate different network configurations according to the initial network configuration information; the traffic density unit is used to configure the bandwidth and queue size of the link in the communication network.
[0010] The network oscillation random model is used to process the communication network and generate an oscillating network according to network configuration information and network interference information; the network oscillation random model includes: a link state classification unit and a link state transfer unit; the link state classification unit is used to classify routers in the communication network; the link state transfer unit is used to calculate the link state transfer probability in the communication network and update all routers in the communication network.
[0011] The network performance evaluation model is used to evaluate the performance of the oscillating network and generate network performance data; it includes a flow-level throughput real-time calculation unit, a link-level packet loss calculation unit, a network oscillation duration calculation unit, a gateway connectivity rate calculation unit, and a normal link ratio calculation unit. The network performance data includes network flow-level throughput real-time data, link-level packet loss data, network oscillation duration data, gateway connectivity rate data, and normal link ratio data; the flow-level throughput real-time calculation unit is used to calculate the network real-time throughput change in the communication network, the link-level packet loss calculation unit is used to calculate the packet loss number of each link in the communication network, the network oscillation duration calculation unit is used to calculate the network oscillation duration in the communication network, and the gateway connectivity rate calculation unit is used to calculate the connectivity rate between gateways in the communication network; the normal link ratio calculation unit is used to calculate the normal link ratio in the communication network.
[0012] A second aspect of an embodiment of the present invention discloses a communication network oscillation analysis method, which is applied to the communication network oscillation analysis system disclosed in the first aspect of an embodiment of the present invention. The method includes:
[0013] S1. Generate network interference information using an interference module; the network interference information includes random damage and malicious damage;
[0014] S2. Obtain initial network configuration information using an input module; the initial network configuration information includes router information, link information, routing strategy, gateway information, etc.;
[0015] S3. Generate a communication network using a network communication model according to the initial network configuration information;
[0016] S4. Based on the initial network configuration information, generate a network configuration information set using a network configuration unit; the network configuration information set includes a plurality of network configuration information;
[0017] S5. Based on the network interference information, traverse the network configuration information set, use the network oscillation random model and the network performance evaluation model to process the communication network, and obtain network performance information; the network performance information represents the network performance under different network configuration information.
[0018] As an optional implementation manner, generating a communication network using a network communication model according to the initial network configuration information includes:
[0019] S31, constructing an initial communication network using data plane units in the network;
[0020] The initial communication network G is expressed as:
[0021] G=(R,L)
[0022] Where R = {r i |i=1,2,...,N} represents a router set, the r i represents the i-th router; N represents the number of routers in the network; L = {l j |j=1,2,...,M} represents the set of communication links, l j represents the jth link; M represents the number of communication links in the network.
[0023] The adjacency matrix A of the initial communication network G is expressed as
[0024] A=(a ur ) N×N
[0025] Among them, A represents the adjacency matrix of the initial communication network G, a ur represents the connection relationship between router u and router r in the initial communication network G; if there is a link between router u and router r, the adjacency matrix is a ur =1, otherwise a ur =0;
[0026] The set of communication flows F in the initial communication network G is:
[0027] F={f i |i∈(1,...,n f )}
[0028] Among them, the n fRepresents the total number of communication flows between hosts; the host represents any terminal in the initial communication network G; the communication flow F represents the communication data flow between hosts;
[0029] The communication flow f i It is defined as a sequence of tuples of all routers and links it passes through:
[0030]
[0031] Among them, the F r (f i ,j) and F l (f i ,j) is represented as along the communication flow f i The jth router and link passed, |f i |Represented as communication flow f i The last router and link traversed;
[0032] S32. According to a preset routing strategy, using a control plane unit to perform network load configuration on the initial communication network;
[0033] S33. Use the traffic density unit to configure the bandwidth and queue size of the link in the initial communication network to achieve a trusted network initial capacity configuration and obtain a communication network.
[0034] As an optional implementation manner, the configuring the network load of the initial communication network by using a control plane unit according to a preset routing strategy includes:
[0035] S321, using a control plane unit to calculate and process a communication flow set in the initial communication network to obtain a data packet generation rate of the communication flow; the communication flow represents a communication data flow between hosts; the host represents any terminal in the initial communication network;
[0036] S322, using the control plane unit to process the link set to obtain a link load information set; the link set represents a set of all links in the initial communication network; the router load information set includes a plurality of link load information;
[0037] The link load information is:
[0038]
[0039] Among them, L i (t) represents the load information of link i at time t; q i (t-1) is the remaining data packets in the queue corresponding to link i at time t-1, F(i) is the set of communication flows passing through link i, is the communication flow f at time t k The arrival rate of packets arriving at link i;
[0040] The communication flow f at time t k The arrival rate of data packets arriving at link i is related to the arrival rate of data packets at time t-1, link bandwidth, and queue size, and is expressed as:
[0041]
[0042] Among them, y is the previous link before the communication flow reaches link i, is the communication flow f at time t-1 k The arrival rate of packets arriving at link y, is the arrival rate of all packets arriving at link y at time t-1, L y (t-1) is the load of link y at time t-1; B y is the bandwidth of link y;
[0043] S323, using the control plane unit to process the link set to obtain link weights; specifically, the weight w of link i at time t i (t), the weight w i (t) represents the congestion of the communication flow passing through link i, that is,
[0044]
[0045] Among them B i is the bandwidth of link i, L i (t) is the load size of link i at time t.
[0046] As an optional implementation, the bandwidth and queue size of the link in the initial communication network are configured by using the traffic density unit to achieve a trusted initial capacity configuration of the network and obtain the communication network;
[0047] The link bandwidth is:
[0048]
[0049] Among them, B i is the bandwidth of link i; For the communication flow f i The average packet sending rate of ; α is the bandwidth rate tolerance coefficient, which controls the richness of the link bandwidth compared to the normal operating state; F(i) is the set of communication flows passing through link i;
[0050] The queue size is:
[0051] Q i =(1+β)·max{[Li (t)-B i ],t∈T},β≥0
[0052] Among them, Q i is the queue size of link i; max{[L i (t)-B i ], t∈T} is the maximum remaining length of data when the load exceeds the bandwidth size within time T, β is the tolerance coefficient of the queue size, which controls the richness of the queue size compared to the normal operation state;
[0053] The calculation formula for the remaining length of the data is:
[0054]
[0055] Among them, L i (t)>B i is the link load L at time t i (t) is greater than the link bandwidth B i , indicating that there are packets remaining in the queue, [L i (t)-B i The value of ] is L i (t)-B i On the contrary, [L i (t)-B i ] has a value of 0.
[0056] As an optional implementation manner, based on the network interference information, traversing the network configuration information set, processing the communication network using a network oscillation random model and a network performance evaluation model, and obtaining network performance information includes:
[0057] S51, obtaining any unselected network configuration information from the network configuration information set;
[0058] S52, based on any of the unselected network configuration information and the network interference information, the communication network is processed using a network oscillation random model and a network performance evaluation model to obtain network performance data corresponding to any of the unselected network configuration information; the network performance data includes network flow-level throughput real-time data, link-level packet loss data, network oscillation duration data, gateway connectivity rate data, and normal link ratio data;
[0059] S53, traversing the network configuration information set, if there is any unselected network configuration information in the network configuration information set, go to step S51; if there is no unselected network configuration information in the network configuration information set, go to step S54;
[0060] S54. Integrate and process all network performance data corresponding to the network configuration information in the network configuration information set to obtain network performance information.
[0061] As an optional implementation manner, based on any unselected network configuration information and the network interference information, the communication network is processed using a network oscillation random model and a network performance evaluation model to obtain network performance data corresponding to any unselected network configuration information, including:
[0062] S521, based on any unselected network configuration information and the network interference information, using a network oscillation random model to process the communication network to obtain an oscillating network;
[0063] S522: Process the oscillating network using a network performance evaluation model to obtain network performance data corresponding to any unselected network configuration information.
[0064] As an optional implementation manner, based on any of the unselected network configuration information and the network interference information, the communication network is processed using a network oscillation random model to obtain an oscillating network, including:
[0065] S5211. According to any of the unselected network configuration information and the network interference information, using a link state classification unit to identify the link state in the communication network, to obtain a link state information set; the link state information set includes state information corresponding to all links in the communication network; the link state information is normal, or congested, or overloaded;
[0066] S5212, using a link state transfer unit, calculating link state transfers in the network to obtain a link state transfer probability set; the link state transfer probability set includes state transfer probabilities corresponding to all links in the communication network;
[0067] S5213: According to the link state information set and the link state transition probability set, the link state transition unit updates all routers in the communication network to obtain an oscillating network.
[0068] As an optional implementation manner, the using of a network performance evaluation model to process the oscillating network to obtain network performance information, and obtaining network performance data corresponding to any of the unselected network configuration information, includes:
[0069] S5221. Process the oscillating network using a flow-level throughput real-time calculation unit to obtain network flow-level throughput real-time data; the network flow-level throughput real-time data represents the number of data packets successfully forwarded by all network flows in the network;
[0070] The real-time data calculation formula for network flow-level throughput is:
[0071]
[0072] Among them, F is the set of all communication flows in the network, is the communication flow f at time t i Arriving at the last one, i.e. the first |f i |The packet arrival rate at each router.
[0073] S5222. Process the oscillating network using a link-level packet loss calculation unit to obtain link-level packet loss data; the link-level packet loss data represents packet loss data of each link in the network; the specific calculation method is:
[0074] At time t, the number of packet losses on link i is loss i (t) is calculated as:
[0075] loss i (t) = L i (t)-B i -Q i
[0076] Among them, L i (t) is the load information of link i at time, B i represents the bandwidth of link i, Q i represents the queue size of the router in link i.
[0077] S5223. Use a network oscillation duration calculation unit to process the oscillating network to obtain network oscillation duration data; the network oscillation duration data is represented by the difference between the time after the network is attacked and the time after the network is stable.
[0078] S5224, using a gateway connectivity rate calculation unit to process the oscillating network to obtain gateway connectivity rate data; the gateway connectivity rate data represents the network gateway connectivity; at time t, the gateway connectivity rate C in the oscillating network gate (t) Calculation The specific calculation method is as follows:
[0079]
[0080] Among them, C gate (t) represents the gateway connectivity rate in the oscillating network at time t, which describes the network gateway connectivity (single hop or multi-hop) at time t and characterizes the network's ability to provide connectivity services. G(t) is the network at time t, g is the connected subgraph of G, and h g is the number of gateways in the connected subgraph g.
[0081] S5225. Process the oscillating network using a normal link ratio calculation unit to obtain normal link ratio data; the normal link ratio data represents the ratio of the number of links in the oscillating network that are in a normal state to the total number of links in the oscillating network; specifically, the normal link ratio Ln(t) at time t is calculated as follows:
[0082]
[0083] Where Ln(t) represents the normal link ratio at time t, M represents the total number of links in the oscillating network, L represents the link set in the oscillating network, and l i (t) = normal table link l i At time t the state is normal.
[0084] S5226. Integrate and process the network flow-level throughput real-time data, the link-level packet loss data, the network oscillation duration data, the gateway connectivity rate data, and the normal link ratio data to obtain network performance data corresponding to any of the unselected network configuration information.
[0085] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0086] The embodiment of the present invention discloses a communication network oscillation analysis system and method, which analyzes the network oscillation situation after the communication network faces a fault, further determines the key factors affecting the network oscillation by controlling variables, and controls the operation of the system by inputting external interference, the network communication model and the network oscillation random model to respond to the external interference. The network performance evaluation model analyzes the change of network performance when the network is stable, and obtains the performance index of the oscillating network. It can be seen that by using the technical solution provided by the present invention, by constructing a communication network based on a real situation, when subjected to external interference, by analyzing the performance of the communication network under different network configurations, the influencing factors of the communication network oscillation are found, laying a solid foundation for optimizing network design and improving network robustness. BRIEF DESCRIPTION OF THE DRAWINGS
[0087] Figure 1 A schematic diagram of the structure of a communication network oscillation analysis system disclosed in an embodiment of the present invention;
[0088] Figure 2 The present invention discloses a flow chart of a communication network oscillation analysis method. DETAILED DESCRIPTION
[0089] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0090] Definitions of Abbreviations and Key Terms
[0091] Communication network. Refers to a network system consisting of multiple nodes and the connections between them. These nodes can be computers, routers, servers, sensors, people, etc.
[0092] Data plane. Refers to the part of the network device that is responsible for actually processing and forwarding data flows. The data plane performs packet forwarding operations and forwards packets from input ports to appropriate output ports according to pre-configured rules.
[0093] Control plane. Refers to the part responsible for managing and controlling the behavior of network devices. It includes the software, protocols, and algorithms running on network devices to configure, monitor, and maintain the status and behavior of network devices.
[0094] External interference. When the network is subject to external interference, some routers in the network may be damaged and the network topology may change. This will trigger changes in the network traffic path, leading to cascading failures. In order to trigger network shocks, the present invention mainly considers two types of network failures, random damage and malicious damage. We define the ratio of the number of faulty routers to the total number of routers as follows: Random failure randomly selects routers to be removed from the network. This type of failure can simulate a network that has suffered a natural disaster (such as Hurricane Sandy, the 2008 China earthquake). Malicious attacks, select nodes based on important / critical degree indicators, this type of attack may be caused by man-made disasters (for example, APT attacks). The present invention uses node degree as an indicator (called degree attack). Degree attack sorts all routers in the network by degree, and the router removal sequence runs in order from large to small without exceeding the attack rate.
[0095] Performance indicators. Analyzing network performance from different angles can fully reflect the performance characteristics of complex dynamic communication networks. The technical solution proposed in this invention analyzes changes in network performance from five aspects: flow-level real-time throughput, link-level packet loss, network oscillation duration, gateway connectivity rate, and normal link ratio.
[0096] Network oscillation: refers to an unstable phenomenon that occurs in computer networks, characterized by network traffic fluctuating or oscillating back and forth in the network. Network oscillation usually occurs in network environments with dynamic routing protocols, such as large enterprise networks or Internet service provider networks using protocols such as OSPF or BGP.
[0097] Network oscillation usually occurs in a network environment with dynamic routing protocols. When a router fails or a link is disconnected, the dynamic routing protocol in the network will try to recalculate the best path. This may cause path changes and traffic redistribution, thus causing network oscillation.
[0098] Aiming at the problems that the existing network oscillation analysis methods are insufficient and the influencing factors of network oscillation are unclear, this paper proposes an oscillation analysis method for complex dynamic communication networks based on multi-plane mutual influence, constructs a network oscillation analysis model, and analyzes the influencing factors of network oscillation from the perspective of mutual influence between data plane and control plane, laying a solid foundation for optimizing network design and improving network robustness.
[0099] The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0100] Embodiment 1
[0101] See also Figure 1 . Figure 1 The present invention discloses a communication network oscillation analysis system.
[0102] like Figure 1 As shown, an embodiment of the present invention discloses a communication network oscillation analysis system, the system comprising:
[0103] The input module 10 is used to input initial network configuration information and send the initial network configuration information to the network shock analysis module 30; the initial network configuration information includes router information, link information, routing strategy, and gateway information; the above router information includes the size of the router queue, whether it is a gateway, etc.; the link information includes the bandwidth size of the link, etc.; the above routing strategy includes the shortest path strategy, the minimum degree strategy, the congestion avoidance strategy, etc.; the gateway information includes the communication flow between hosts and the communication flow data size, etc.
[0104] The interference module 20 is used to generate network interference information and send the network interference information to the network shock analysis module 30; the network interference information includes random damage and malicious damage.
[0105] The network oscillation analysis module 30 includes a network communication model 301, a network oscillation random model 302, and a network performance evaluation model 303;
[0106] The above-mentioned network communication model 301 is used to construct a communication network, including: a data plane unit 3011, a control plane unit 3012, a network configuration unit 3013 and a traffic density unit 3014; the above-mentioned data plane unit 3011 is used to construct an initial communication network with complex dynamic communication network properties from the data plane; the above-mentioned control plane unit 3012 is used to configure the network load of the initial communication network from the control plane; the above-mentioned network configuration unit 3013 is used to generate different network configurations according to the initial network configuration information; the above-mentioned traffic density unit 3014 is used to configure the bandwidth and queue size of the link in the communication network.
[0107] The above-mentioned network oscillation random model 302 is used to process the communication network according to the network configuration information and the network interference information to generate an oscillating network, including: a link state classification unit 3021 and a link state transfer unit 3022; the above-mentioned link state classification unit 3021 is used to classify the routers in the communication network; the link state transfer unit 3022 is used to calculate the link state transfer probability in the communication network and update all routers in the communication network.
[0108] The network performance evaluation model 303 is used to evaluate the performance of the oscillating network and obtain network performance data, including: a flow-level throughput real-time calculation unit 3031, a link-level packet loss calculation unit 3032, a network oscillation duration calculation unit 3033, a gateway connectivity rate calculation unit 3034 and a normal link ratio calculation unit 3035. The network performance data includes network flow-level throughput real-time data, link-level packet loss data, network oscillation duration data, gateway connectivity rate data, and normal link ratio data;
[0109] The above-mentioned flow-level throughput real-time calculation unit 3031 is used to calculate the change of network real-time throughput in the communication network, the above-mentioned link-level packet loss calculation unit 3032 is used to calculate the number of packet losses of each link in the communication network, the above-mentioned network oscillation duration calculation unit 3033 is used to calculate the duration of network oscillation in the communication network, and the above-mentioned gateway connectivity rate calculation unit 3034 is used to calculate the connectivity rate between gateways in the communication network; the above-mentioned normal link ratio calculation unit 3035 is used to calculate the normal link ratio in the communication network.
[0110] Embodiment 2
[0111] A second aspect of an embodiment of the present invention discloses a communication network oscillation analysis method, which is applied to the communication network oscillation analysis system disclosed in the first embodiment of the present invention.
[0112] See also Figure 2 . Figure 2 FIG. 1 is a flow chart of a communication network oscillation analysis method disclosed in an embodiment of the present invention. Figure 2As shown, a communication network oscillation analysis method disclosed in an embodiment of the present invention includes:
[0113] S1. Generate network interference information using an interference module; the network interference information includes random damage and malicious damage;
[0114] S2. Obtain initial network configuration information using an input module; the initial network configuration information includes router information, link information, routing strategy, and gateway information;
[0115] S3, generating a communication network using a network communication model according to the initial network configuration information;
[0116] S4. Based on the initial network configuration information, generate a network configuration information set using a network configuration unit; the network configuration information set includes a plurality of network configuration information;
[0117] S5. Based on the network interference information, traverse the network configuration information set, use the network oscillation random model and the network performance evaluation model to process the communication network, and obtain network performance information; the network performance information represents the network performance under different network configuration information.
[0118] It should be noted that the network performance is reflected in the network performance under different network configurations when the network is oscillating, so as to find out the influencing factors of the communication network oscillation and lay a solid foundation for optimizing the network design and improving the network robustness.
[0119] It can be seen that the communication network oscillation analysis method described in this embodiment analyzes the factors affecting network oscillation from the perspective of the mutual influence between the data plane and the control plane, generates the impact of network oscillation on network performance under different configuration conditions, and lays a solid foundation for optimizing network design and improving network robustness.
[0120] In another optional embodiment, generating a communication network using a network communication model according to the initial network configuration information includes:
[0121] S31, constructing an initial communication network using data plane units in the network;
[0122] The initial communication network G is expressed as:
[0123] G=(R,L)
[0124] Where R = {r i |i=1,2,...,N} represents a router set, the r i represents the i-th router; N represents the number of routers in the network; L = {l j |j=1,2,…,M} represents the set of communication links, l jrepresents the jth link; M represents the number of communication links in the network.
[0125] The adjacency matrix A of the initial communication network G is expressed as
[0126] A=(a ur ) N×N
[0127] Among them, A represents the adjacency matrix of the initial communication network G, a ur represents the connection relationship between router u and router r in the initial communication network G; if there is a link between router u and router r, the adjacency matrix is a ur =1, otherwise a ur =0;
[0128] The set of communication flows F in the initial communication network G is:
[0129] F={f i |i∈(1,...,n f )}
[0130] Among them, the n f Represents the total number of communication flows between hosts; the host represents any terminal in the initial communication network G; the communication flow F represents the communication data flow between hosts;
[0131] The communication flow f i It is defined as a sequence of tuples of all routers and links it passes through:
[0132]
[0133] Among them, the F r (f i ,j) and F l (f i ,j) represents the jth router and link along the communication flow fi,|f i | represents the flow f i The last router and link traversed.
[0134] It should be noted that the communication network system architecture can be divided into the routing layer and the device layer. The device layer consists of a large number of hosts, including mobile phones, computers, cars, and servers. The hosts use gateways to access the communication network and communicate with each other to form a communication flow. The routing layer consists of routers and communication links, and is mainly responsible for transmitting data packets. There are two types of routers in the network, including gateways and ordinary routers. Ordinary routers are responsible for storing and forwarding data packets according to routing protocols. Gateways connect hosts and aggregate data packets from hosts. Therefore, the communication between hosts can be completely mapped to the routing layer according to the routing protocol.
[0135] S32. According to a preset routing strategy, using a control plane unit to perform network load configuration on the initial communication network;
[0136] S33. Use the traffic density unit to configure the bandwidth and queue size of the link in the initial communication network to achieve a trusted network initial capacity configuration and obtain a communication network.
[0137] In yet another optional embodiment, the configuring the network load of the initial communication network by using a control plane unit according to a preset routing strategy includes:
[0138] S321, using a control plane unit to calculate and process a communication flow set in the initial communication network to obtain a data packet generation rate of the communication flow; the communication flow represents a communication data flow between hosts; the host represents any terminal in the initial communication network;
[0139] S322, using the control plane unit to process the link set to obtain a link load information set; the link set represents a set of all links in the initial communication network; the router load information set includes a plurality of link load information;
[0140] The link load information is:
[0141]
[0142] Among them, L i (t) represents the load information of link i at time t; q i (t-1) is the remaining data packets in the queue corresponding to link i at time t-1, F(i) is the set of communication flows passing through link i, is the communication flow f at time t k The arrival rate of packets arriving at link i;
[0143] The communication flow f at time t k The arrival rate of data packets arriving at link i is related to the arrival rate of data packets at time t-1, link bandwidth, and queue size, and is expressed as:
[0144]
[0145] Among them, y is the previous link before the communication flow reaches link i, is the communication flow f at time t-1 k The arrival rate of packets arriving at link y, is the arrival rate of data packets of all communication flows arriving at link y at time t-1, L y (t-1) is the load of link y at time t-1; B y is the bandwidth of link y;
[0146] S323, using the control plane unit to process the link set to obtain link weights; specifically, the weight w of link i at time t i (t), the weight w i (t) represents the congestion of the communication flow passing through link i, that is,
[0147]
[0148] Among them B i is the bandwidth of link i, L i (t) is the load size of link i at time t.
[0149] It should be noted that the processing of data packets by each host is divided into four parts: data packet generation, data packet transmission, data packet discard and data packet release. At each time step, the data packet generation rate of the communication flow is set to The routing layer path relied on is determined according to the routing strategy. This method mainly considers three types of routing: shortest path, minimum number of routes and congestion avoidance.
[0150] The shortest path routing is to find the path with the minimum number of hops from the source host to the destination host. If there are multiple shortest paths in the network, the model randomly selects one.
[0151] Minimum degree routing aims to minimize the sum of the degrees of all routers on the path. Since the routers with the largest degrees often cause congestion, the minimum degree routing strategy can control congestion and redistribute the load from the central router to other non-central routers.
[0152] Congestion avoidance routing seeks the least congested route from the source host to the destination host, with the goal of minimizing the sum of the congestion weights of all routers on the path.
[0153] During data packet transmission, router i sends data packets in the form of B according to the first-in-first-out (FIFO) principle. i bandwidth to the next hop. At the same time, each router has a queue Q i Used to store data packets. When the total number of packets on the queue is reached, the unprocessed packets will be discarded. If the packets have reached the destination host, they will be released from the queue. The load of router i at time t is the sum of the remaining packets in the queue, the packets sent by the neighbor router last time, and the packets generated by the host at time t.
[0154] In yet another optional embodiment, the bandwidth and queue size of the links in the initial communication network are configured using the traffic density unit to implement a trusted initial capacity configuration of the network and obtain the communication network;
[0155] The link bandwidth is:
[0156]
[0157] Among them, B i is the bandwidth of link i; For the communication flow f i The average packet sending rate of ; α is the bandwidth rate tolerance coefficient, which controls the richness of the link bandwidth compared to the normal operating state; F(i) is the set of communication flows passing through link i;
[0158] The queue size is:
[0159] Q i =(1+β)·max{[L i (t)-B i ],t∈T},β≥0
[0160] Among them, Q i is the queue size of link i; max{[L i (t)-B i ], t∈T} is the maximum remaining length of data when the load exceeds the bandwidth size within time T, β is the tolerance coefficient of the queue size, which controls the richness of the queue size compared to the normal operation state;
[0161] The calculation formula for the remaining length of the data is:
[0162]
[0163] Among them, L i (t)>B i is the link load L at time t i (t) is greater than the link bandwidth B i , indicating that there are packets remaining in the queue, [L i (t)-B i The value of ] is L i (t)-B i On the contrary, [L i (t)-B i ] has a value of 0.
[0164] It should be noted that in a communication network, traffic density is the ratio of the rate at which data arrives at a queue to the forwarding rate. The golden rule in flow engineering is that the flow intensity cannot be greater than 1 when designing a system. The network is in a free flow state before s is damaged. In the free flow state, there is no packet loss or oscillation in the network. Therefore, the data packet arriving at time t can be saved in the queue and transmitted. Our model assumes that the initial transmission rate and cache of the router are linearly related to the maximum load of the router. If the maximum load of the router is 0, the basic transmission rate and cache are set according to the number of neighbor routers.
[0165] In another optional embodiment, based on the network interference information, traversing the network configuration information set, processing the communication network using a network oscillation random model and a network performance evaluation model to obtain network performance information includes:
[0166] S51, obtaining any unselected network configuration information from the network configuration information set;
[0167] S52, based on any of the unselected network configuration information and the network interference information, the communication network is processed using a network oscillation random model and a network performance evaluation model to obtain network performance data corresponding to any of the unselected network configuration information; the network performance data includes network flow-level throughput real-time data, link-level packet loss data, network oscillation duration data, gateway connectivity rate data, and normal link ratio data;
[0168] S53, traversing the network configuration information set, if there is any unselected network configuration information in the network configuration information set, go to step S51; if there is no unselected network configuration information in the network configuration information set, go to step S54;
[0169] S54. Integrate and process all network performance data corresponding to the network configuration information in the network configuration information set, that is, organize and comprehensively analyze the network performance data under different network configuration information to obtain network performance information. The network performance information presents the network performance data under different network configuration information to the user as a whole. The user selects different network configurations according to different network requirements.
[0170] In another optional embodiment, based on any of the unselected network configuration information and the network interference information, the communication network is processed using a network oscillation random model and a network performance evaluation model to obtain network performance data corresponding to any of the unselected network configuration information, including:
[0171] S521, based on any unselected network configuration information and the network interference information, using a network oscillation random model to process the communication network to obtain an oscillating network;
[0172] S522: Process the oscillating network using a network performance evaluation model to obtain network performance data corresponding to any unselected network configuration information.
[0173] In yet another optional embodiment, the processing of the communication network using a network oscillation random model based on any unselected network configuration information and the network interference information to obtain an oscillating network includes:
[0174] S5211. According to any of the unselected network configuration information and the network interference information, a link status classification unit is used to identify the link status in the communication network to obtain a link status information set; the link status information set includes status information corresponding to all links in the communication network; the link status information is normal, or congested, or overloaded.
[0175] It should be noted that overloading of routers in a communication network will not cause irreversible physical damage, and packet loss is the main negative impact. The sender must retransmit to make up for the packets lost due to queue overflow, and more and more packets will fill the entire network, causing network congestion. When the number of arriving packets exceeds the processing capacity of the router, the router may be overloaded and unable to operate due to congestion.
[0176] This method converts the link status Defined as three possible states: normal, congested, and overloaded, represented as:
[0177]
[0178] Among them, r i Indicates router i, normal means normal, congestion means congestion, and overload means overload.
[0179] Before the link is damaged, the network is in a free flow state, and each link stores and forwards the arriving data packets normally. When the link is damaged, the router will reroute and change the network communication path. The generation of rerouting will further cause network oscillation, resulting in reduced network performance. This will further change the distribution of network load, causing more links to be overloaded due to congestion. When there is no packet loss on the link, the router is in a normal state, that is, it can operate normally. If the corresponding queue of the link is too small or the transmission speed is too slow, the data packets arriving at the link will be discarded, that is, it is in a congested state, that is, the link cannot process the arriving data packets in time. Generally speaking, the link with more packet loss is more likely to be overloaded than the link with less packet loss. When the link is overloaded, it cannot generate, transmit and receive data packets.
[0180] S5212. Utilize a link state transfer unit to calculate link state transfers in the network to obtain a link state transfer probability set; the link state transfer probability set includes state transfer probabilities corresponding to all links in the communication network.
[0181] S5213: According to the link state information set and the link state transition probability set, the link state transition unit updates all routers in the communication network to obtain an oscillating network.
[0182] Settings i (t) is the overload probability of link i when it is overloaded at time t. This probability is proportional to the number of link packet losses and the basic unit overload rate, and inversely proportional to the size of the router queue.
[0183]
[0184] Among them, a i is the basic unit overload rate, which is related to the performance of router i, such as heat dissipation capacity, CPU performance, etc. i (t)-B i represents the number of packet losses of link i at time t, L i (t) is the load information of router i at time t, B i represents the bandwidth of link i, Q i represents the queue size on router i. As can be seen from the above formula, high-cache routers have a lower probability of failure, and high-performance routers have higher stability. However, the overload of the link is not an irreversible physical damage, and the link will recover after the time is up. When Δt expires, the link will work normally again. When Δt is close to the unit time, it means that the overloaded link can be restored to normal immediately. When Δt is close to +∝, the link will be directly and permanently removed from the network.
[0185] In yet another optional embodiment, the using of a network performance evaluation model to process the oscillating network to obtain network performance information, and obtaining network performance data corresponding to any of the unselected network configuration information, includes:
[0186] S5221. Process the oscillating network using a flow-level throughput real-time calculation unit to obtain network flow-level throughput real-time data; the network flow-level throughput real-time data represents the number of data packets successfully forwarded by all network flows in the network;
[0187] The real-time data calculation formula for network flow-level throughput is:
[0188]
[0189] Among them, F is the set of all communication flows in the network, is the communication flow f at time t i Arriving at the last one, i.e. the first |f i |The packet arrival rate at each router.
[0190] S5222. Process the oscillating network using a link-level packet loss calculation unit to obtain link-level packet loss data; the link-level packet loss data represents packet loss data of each link in the network; the specific calculation method is:
[0191] At time t, the number of packet losses on link i is loss i (t) is calculated as:
[0192] loss i (t) = L i (t)-B i -Q i
[0193] Among them, L i (t) is the load information of link i at time, B i represents the bandwidth of link i, Q i represents the queue size of the router in link i.
[0194] S5223. Use a network oscillation duration calculation unit to process the oscillating network to obtain network oscillation duration data; the network oscillation duration data is represented by the difference between the time after the network is attacked and the time after the network is stable.
[0195] S5224, using a gateway connectivity rate calculation unit to process the oscillating network to obtain gateway connectivity rate data; the gateway connectivity rate data represents the network gateway connectivity; at time t, the gateway connectivity rate C in the oscillating network gate (t) The specific calculation method is as follows:
[0196]
[0197] Among them, C gate (t) represents the gateway connectivity rate in the oscillating network at time t, which describes the network gateway connectivity (single hop or multi-hop) at time t and characterizes the network's ability to provide connectivity services. G(t) is the network at time t, g is the connected subgraph of G, and h g is the number of gateways in the connected subgraph g.
[0198] S5225. Process the oscillating network using a normal link ratio calculation unit to obtain normal link ratio data; the normal link ratio data represents the ratio of the number of links in a normal state in the oscillating network to the total number of links in the oscillating network; specifically, the normal link ratio Ln(t) at time t can be calculated as follows:
[0199]
[0200] Where Ln(t) represents the normal link ratio at time t, M represents the total number of links in the oscillating network, L represents the link set in the oscillating network, and l i (t) = normal table link l i At time t the state is normal.
[0201] S5226. Integrate and process the network flow-level throughput real-time data, the link-level packet loss data, the network oscillation duration data, the gateway connectivity rate data, and the normal link ratio data to obtain network performance data corresponding to any of the unselected network configuration information.
[0202] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, a magnetic disk storage, a magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0203] Finally, it should be noted that the communication network oscillation analysis system and method disclosed in the embodiments of the present invention disclose only the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A communication network oscillation analysis method, characterized in that: The method comprises: S1. Generate network interference information using an interference module; the network interference information includes random damage and malicious damage; S2. Obtain initial network configuration information using an input module; the initial network configuration information includes router information, link information, routing strategy, and gateway information; S3. Generate a communication network using a network communication model according to the initial network configuration information; S4. Based on the initial network configuration information, generate a network configuration information set using a network configuration unit; the network configuration information set includes a plurality of network configuration information; S5. Based on the network interference information, traverse the network configuration information set, and use the network oscillation random model and the network performance evaluation model to process the communication network to obtain network performance information; specifically: S51, obtaining any unselected network configuration information from the network configuration information set; S52: Based on the any unselected network configuration information and the network interference information, the communication network is processed using a network oscillation random model and a network performance evaluation model to obtain network performance data corresponding to the any unselected network configuration information, including: S521, based on any unselected network configuration information and the network interference information, using a network oscillation random model to process the communication network to obtain an oscillating network; S522: Process the oscillating network using a network performance evaluation model to obtain network performance data corresponding to any of the unselected network configuration information, including: S5221. Process the oscillating network using a flow-level throughput real-time calculation unit to obtain network flow-level throughput real-time data; the network flow-level throughput real-time data represents the number of data packets successfully forwarded by all network flows in the network; the specific calculation method is: The real-time data calculation formula for network flow-level throughput is: Among them, F is the set of all communication flows in the network, is the communication flow f at time t i Arriving at the last one, i.e. the first i |The packet arrival rate of each router; S5222. Process the oscillating network using a link-level packet loss calculation unit to obtain link-level packet loss data; the link-level packet loss data represents packet loss data of each link in the network; the specific calculation method is: At time t, the number of packet losses on link i is loss i (t) is calculated as: loss i (t)=L i (t)-B i -Q i Among them, L i (t) is the load information of link i at time B i represents the bandwidth of link i, Q i represents the queue size of the router in link i; S5223. Process the oscillating network using a network oscillation duration calculation unit to obtain network oscillation duration data; the network oscillation duration data represents the difference between the time after the network is attacked and the time after the network is stable; S5224, using a gateway connectivity rate calculation unit to process the oscillating network to obtain gateway connectivity rate data; the gateway connectivity rate data represents the network gateway connectivity; at time t, the gateway connectivity rate C in the oscillating network gate (t) The specific calculation method is as follows: Among them, C gate (t) represents the gateway connectivity rate at time t, G(t) is the network at time t, g is the connected subgraph of G, and h g is the number of gateways in the connected subgraph g; S5225. Process the oscillating network using a normal link ratio calculation unit to obtain normal link ratio data; the normal link ratio data represents the ratio of the number of links in a normal state in the oscillating network to the total number of links in the oscillating network; the normal link ratio Ln(t) at time t is calculated as follows: Where Ln(t) represents the normal link ratio at time t, M represents the total number of links in the oscillating network, L represents the link set in the oscillating network, and l i (t) = normal table link l i At time t the state is normal; S5226, integrating and processing the network flow-level throughput real-time data, link-level packet loss data, network oscillation duration data, gateway connectivity rate data, and normal link ratio data to obtain network performance data corresponding to any of the unselected network configuration information; the network performance data includes network flow-level throughput real-time data, link-level packet loss data, network oscillation duration data, gateway connectivity rate data, and normal link ratio data; S53, traversing the network configuration information set, if there is any unselected network configuration information in the network configuration information set, go to step S51; if there is no unselected network configuration information in the network configuration information set, go to step S54; S54. Integrate and process all network performance data corresponding to the network configuration information in the network configuration information set to obtain network performance information.
2. The communication network oscillation analysis method according to claim 1, characterized in that: The step of generating a communication network using a network communication model according to the initial network configuration information includes: S31, constructing an initial communication network using a data plane unit; S32. According to a preset routing strategy, using a control plane unit to perform network load configuration on the initial communication network; S33, using the traffic density unit to configure the bandwidth and queue size of the link in the initial communication network, to achieve a trusted network initial capacity configuration, and to obtain a communication network; The link bandwidth is: Among them, B i is the bandwidth of link i; For the communication flow f i The average packet sending rate of ; α is the bandwidth rate tolerance coefficient, which controls the richness of the link bandwidth compared to the normal operating state; F(i) is the set of communication flows passing through link i; The queue size is: Q i =(1+β)·max{[L i (t)-B i ],t∈T},β≥0 Among them, Q i is the queue size of link i; max{[L i (t)-B i ], t∈T} is the maximum remaining length of data when the load exceeds the bandwidth size within time T, β is the tolerance coefficient of the queue size, which controls the richness of the queue size compared to the normal operation state; The calculation formula for the remaining length of the data is: Among them, L i (t)>B i is the link load L at time t i (t) is greater than the link bandwidth B i , indicating that there are packets remaining in the queue, [L i (t)-B i The value of ] is L i (t)-B i On the contrary, [L i (t)-B i ] has a value of 0.
3. The communication network oscillation analysis method according to claim 2, characterized in that: The method of configuring the network load of the initial communication network by using a control plane unit according to a preset routing strategy comprises: S321, using a control plane unit to calculate and process a communication flow set in the initial communication network to obtain a data packet generation rate of the communication flow; the communication flow represents a communication data flow between hosts; the host represents any terminal in the initial communication network; S322, using a control plane unit to process a link set to obtain a link load information set; the link set represents a set of all links in the initial communication network; The link load information is: Among them, L i (t) represents the load information of link i at time t; q i (t-1) is the remaining data packets in the queue corresponding to link i at time t-1, F(i) is the set of communication flows passing through link i, is the communication flow f at time t k The arrival rate of packets arriving at link i; The communication flow f at time t k The arrival rate of data packets arriving at link i is related to the arrival rate of data packets at time t-1, link bandwidth, and queue size, and is expressed as: Among them, y is the previous link before the communication flow reaches link i, is the communication flow f at time t-1 k The arrival rate of packets arriving at link y, is the arrival rate of all packets arriving at link y at time t-1, L y (t-1) is the load of link y at time t-1; B y is the bandwidth of link y; S323, using the control plane unit to process the link set to obtain link weights; specifically, the weight w of link i at time t i (t), the weight w i (t) represents the congestion of the communication flow passing through link i, that is, Among them B i is the bandwidth of link i, L i (t) is the load size of link i at time t.
4. The communication network oscillation analysis method according to claim 1, characterized in that: The method of processing the communication network by using a network oscillation random model based on any unselected network configuration information and the network interference information to obtain an oscillating network includes: S5211. According to any of the unselected network configuration information and the network interference information, using a link state classification unit to identify the link state in the communication network, to obtain a link state information set; the link state information set includes state information corresponding to all links in the communication network; the link state information is normal, or congested, or overloaded; S5212, using a link state transfer unit, calculating link state transfers in the network to obtain a link state transfer probability set; the link state transfer probability set includes state transfer probabilities corresponding to all links in the communication network; S5213: According to the link state information set and the link state transition probability set, the link state transition unit updates all links in the communication network to obtain an oscillating network.
5. A communication network oscillation analysis system, characterized in that: Used to execute the communication network oscillation analysis method according to any one of claims 1 to 4, the system comprises: an input module, an interference module and a network oscillation analysis module; The input module is used to input initial network configuration information and send the initial network configuration information to the network shock analysis module; the initial network configuration information includes router information, link information, routing strategy, and gateway information; The interference module is used to generate network interference information and send the network interference information to the network shock analysis module; the network interference information includes random damage and malicious damage; The network oscillation analysis module includes a network communication model, a network oscillation random model, and a network performance evaluation model; The network communication model is used to construct a communication network, including a data plane unit, a control plane unit, a network configuration unit and a traffic density unit; the data plane unit is used to construct an initial communication network from the data plane; the control plane unit is used to configure the network load of the initial communication network from the control plane; the network configuration unit is used to generate different network configurations according to the initial network configuration information; the traffic density unit is used to configure the bandwidth and queue size of the link in the communication network; The network oscillation random model is used to process the communication network according to the network configuration information and the network interference information and generate an oscillation network, including a link state classification unit and a link state transfer unit; the link state classification unit is used to classify the link operation status in the communication network; the link state transfer unit is used to calculate the link state transfer probability in the communication network and update all links in the communication network; The network performance evaluation model is used to evaluate the performance of the oscillating network and generate network performance data, including a flow-level throughput real-time calculation unit, a link-level packet loss calculation unit, a network oscillation duration calculation unit, a gateway connectivity rate calculation unit, and a normal link ratio calculation unit; the network performance data includes network flow-level throughput real-time data, link-level packet loss data, network oscillation duration data, gateway connectivity rate data, and normal link ratio data; the flow-level throughput real-time calculation unit is used to calculate the network real-time throughput change in the communication network; the link-level packet loss calculation unit is used to calculate the packet loss number of each link in the communication network; the network oscillation duration calculation unit is used to calculate the network oscillation duration in the communication network; the gateway connectivity rate calculation unit is used to calculate the connectivity rate between gateways in the communication network; and the normal link ratio calculation unit is used to calculate the normal link ratio in the communication network.
