A method for implementing a platform for controlling congestion of low-orbit satellites based on NS3
By building a low-orbit satellite control congestion platform in the NS3 simulator, using TCP/IP protocol and display load balancing routing control strategy, the problems of insufficient construction of the NS3 platform and links on and off and load unbalanced during low-orbit satellite operation are solved. It has achieved efficient simulation testing and performance improvements in low-orbit satellite communications.
Patent Information
- Application Number
- CN202110765817.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-05
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2041-07-05
AI Technical Summary
The existing technology lacks a detailed system study on the NS3 platform construction process and the problems of link on and off and load imbalance during low-orbit satellite operation, especially the development of new routing protocols and the combination of internal data flow and callback technology is not specific enough. .
Build a low-orbit satellite control congestion platform in the NS3 simulator, create satellite nodes through the TCP/IP communication protocol, install network equipment and channels, and set up routing control strategies for displaying load balancing, including queue ratio thresholds and traffic reduction ratios to realize satellite room The routing table update and traffic scheduling detects link on and off and load status, and dynamically adjusts the transmission rate to avoid congestion.
The NS3-based low-orbit satellite congestion control routing protocol open source platform has been established, which solves the problems of link on and off and load imbalance during low-orbit satellite operation, provides simulation test verification methods, and improves the performance and reliability of satellite communications. .
Smart Images

Figure CN113507722B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of low-orbit satellite simulation, and in particular to a method for realizing a platform for controlling congestion of low-orbit satellites based on NS3. Background Art
[0002] As a branch of the simulation field, network simulation technology is increasingly becoming a powerful tool for analysis, research and design. Network simulation has become an important means of network research due to its flexibility, high efficiency and low cost. Network simulation can be regarded as a network virtualization technology that uses relevant software to build network topology, implement network protocols and evaluate network performance, including network topology simulation, protocol simulation and traffic analysis. Network simulation is not only suitable for the construction and design of network models, the evaluation and analysis of protocol performance, but also for the development and research of network protocols, and even for fault diagnosis of real networks. Therefore, the construction of a network simulation platform has become an important issue that needs to be studied.
[0003] At present, there are many excellent network simulation software, such as OPNET, Network Simulator 2 (NS2), and Network Simulator 3 (NS3). OPNET, as a simulation platform software developed by the military, can simulate various networks such as local area networks, wide area networks, integrated services digital networks, satellite communication networks, and existing network protocols (such as TAM, Ethernet, etc.). However, due to its high price, poor openness, and large learning barriers, the network element modeling involved in the underlying programming has a high technical difficulty. NS2 uses a split-object-model development mechanism and can support C++ and Otcl working languages. Considering the efficiency and convenience of operation, NS2 separates the data channel and the control channel. In order to reduce the processing time of data packets and events, the event scheduler and basic network component objects on the data channel are written in C++, and the simulation scene is configured with Otcl scripts. NS3 draws on the existing successful technologies and experiences of NS2, OPNET, etc., and only uses C++ language to develop extension modules and write simulation scripts. In recent years, NS3 has made great progress with its rich network component object library and relatively complete underlying programming model. NS3 is very friendly to the simulation of wireless networks, wired LANs and satellite networks.
[0004] There have been many studies to solve the problem of uneven distribution of inter-satellite traffic in low-orbit satellites, but most of the current studies lack research on the construction of system simulation platforms. Based on this, the present invention proposes a technical solution for the system construction of a low-orbit satellite simulation platform based on NS3. The NS3 simulator has made great progress with the advancement of network technology, but the current use of NS3 is mostly based on slight modifications and comparisons to existing protocols, lacking the construction of a detailed system for the platform construction process, insufficient research on the overall development process of new routing protocols, insufficient specificity in the combination of data flow and callback technology between internal levels, and insufficient detail in the implementation methods within the levels. Summary of the invention
[0005] The present invention aims to solve the technical problems of low-orbit satellite platform construction based on NS3 and inter-satellite routing in low-orbit constellation systems. Currently, there are problems such as lack of simulation technology for NS3 open source platform construction and insufficient research on open source platform construction, as well as problems such as link disconnection and load imbalance in low-orbit satellite operation. In order to solve the above technical problems, the present invention proposes a method for implementing a platform for low-orbit satellite congestion control based on NS3, provides a platform construction solution for low-orbit satellite network simulation, and can better simulate, test and verify low-orbit satellite communications.
[0006] The present invention provides a method for implementing a platform for low-orbit satellite congestion control based on NS3. According to the hierarchical structure of the TCP / IP communication protocol, the platform for low-orbit satellite congestion control is built in the simulation simulator NS3, and satellite nodes are created in sequence, network equipment and channels are installed, a network protocol stack is installed, an IP address is installed, a transceiver application device is installed, and data flow monitoring is installed.
[0007] When creating a satellite node, the satellite position coordinates are added by the position distributor in NS3, and the satellite position coordinates are updated over time according to the satellite movement module in NS3.
[0008] When installing network equipment and channels, a communication task queue is established for each satellite to record the data packets input and output by the network equipment.
[0009] When installing the network protocol stack, a routing control strategy for displaying load balancing is set; the routing control strategy for displaying load balancing includes the following steps:
[0010] (31) The satellite continuously monitors its own communication task queue to determine its own status, which includes three states: idle, warning, and busy. Set queue ratio thresholds α and β, with α set to half of β. Suppose the packet occupancy rate of the satellite's communication task queue at time t is q(t). When q(t)<α, it indicates that the satellite is idle. When q(t)>β, it indicates that the satellite is busy. When α≤q(t)≤β, it indicates that the satellite is about to be congested and is in a warning state.
[0011] (32) For satellite A, when it is detected that it is in a warning state, satellite A sends a warning message to the adjacent satellite, and the adjacent satellite requests to update its own routing table and search for an alternative path that does not include satellite A; when satellite A is in a busy state, it sends a busy state announcement BSA signaling to the adjacent satellite, requesting the adjacent satellite to reduce the traffic transmission rate transmitted to satellite A to x times the original rate, and transmit the remaining (1-x) times the traffic data through the retrieved alternative path; where x is the traffic reduction ratio, which is set by satellite A and sent to the adjacent satellite through BSA signaling;
[0012] set up Among them I s represents the traffic rate from adjacent satellites, indicates the new traffic rate allowed from the neighboring satellite; Where P avg is the average packet size, η is the time interval for detecting satellite load, Q l is the total length of the satellite communication task queue, q(t BSA ) represents the occupancy rate of the communication task queue of satellite A when the BSA signaling reaches the adjacent satellite.
[0013] The routing table of satellite communication is initially established using the shortest path algorithm of global routing. The satellite regularly detects the connectivity of the inter-satellite link and updates the routing table when the satellite link status changes. The satellite regularly detects the satellite load and identifies the satellite status. When the satellite status changes from idle to warning, it sends a warning message to the adjacent satellite. When the satellite receives a warning message sent by an adjacent satellite, it will also update the routing table.
[0014] Compared with the prior art, the advantages and positive effects of the method of the present invention are:
[0015] (1) This invention implements a complete set of strategies and implementation methods for building an open source platform for routing protocols for low-orbit satellite congestion control based on NS3, providing some technical ideas and implementation methods for promoting the development of satellite routing algorithm simulation testing;
[0016] (2) The method of the present invention uses the NS3 simulation platform to implement routing congestion control of low-orbit satellite communications. In order to better simulate and test low-orbit satellite communications, the congestion control platform implemented by the method of the present invention solves the problems of link disconnection and load imbalance during the operation of low-orbit satellites, and can handle faults in a timely manner when an inter-satellite link is broken. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a schematic diagram of the process of building a platform for low-orbit satellite congestion control based on NS3 of the present invention;
[0018] Figure 2 is a low-orbit satellite constellation network topology design diagram in an embodiment of the present invention;
[0019] Figure 3 is a schematic diagram of earth coordinates for identifying the position of a low-orbit satellite in an embodiment of the present invention;
[0020] Figure 4 It is a throughput simulation result diagram of the ELB routing protocol and the Global routing protocol of the present invention at different transmission rates;
[0021] Figure 5 It is a diagram of the packet loss rate simulation results of the ELB routing protocol and the Global routing protocol of the present invention at different transmission rates. DETAILED DESCRIPTION
[0022] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
[0023] The present invention realizes a complete set of NS3-based routing protocol open source platform construction solutions for low-orbit satellite congestion control, combines the top-level framework implementation process of NS3 with the modularization of the underlying network element unit, and provides some ideas and thoughts for promoting the development of satellite routing algorithm simulation testing.
[0024] like Figure 1 As shown, the platform for low-orbit satellite congestion control built by the present invention adopts TCP / IP communication protocol for wireless channels between satellite nodes. According to the hierarchical structure of TCP / IP protocol, data communication is simulated in the simulation simulator NS3 to construct the top-level model and bottom-level modules. In the top-level model, the present invention creates satellite nodes, installs network equipment and channels, installs network protocol stacks, installs IP addresses, installs transceiver application equipment, installs data flow monitoring, etc., and implements satellite constellation and mobile model design, queue flow control, route establishment and forwarding strategy, flow load detection strategy, etc. at the bottom level. The upper-level framework is built and connected to the bottom-level modules through the Helper assistant.
[0025] The present invention will call the designed satellite constellation and mobility model when creating satellite nodes. The embodiment of the present invention considers a grid network constellation in combination with the characteristics of polar orbit satellites. Figure 2 As shown, the constellation consists of M*N satellites evenly distributed in N orbits. In each orbit, starting from the equator, the satellite nodes are evenly spaced 2π / M, and the angular interval between each two adjacent polar orbits is 2π / N. In the constellation considered, the present invention does not consider the seam where two intersatellite links are closed due to reverse motion. Therefore, it is assumed that each satellite maintains four intersatellite links with its adjacent satellites at any time.
[0026] like Figure 3 As shown, in the embodiment of the present invention, an earth coordinate system is established, with the center of the earth as the origin O and the direction pointing to the North Pole as the z-axis. The initial polar coordinates of the satellite m can be expressed as r is the distance from satellite m to the origin, is the angle formed by the half plane passing through the z-axis and the satellite node m and the coordinate plane zOx, and λ is the angle between the line segment Om and the positive direction of the z-axis. Based on the mobility module in NS3, the satellite position coordinates are added to the position allocator, and the polar coordinate formula of the satellite m position can be expressed as:
[0027]
[0028] Among them, % is the remainder operation, mod is the modulo operation, a represents the distance from the origin to satellite m, and m is the number of the satellite.
[0029] According to the spherical coordinate formula, the Cartesian coordinates of the satellite m position can be expressed as (x, y, z) as follows:
[0030]
[0031] The present invention considers that the satellite orbit groups all rotate around the axis with the north and south poles as the axis at an angular velocity w. Considering the implementation in NS3, the present invention sets the positions of all satellites to update the rotation state of the simulated satellite every time δ, so at time t c The satellite coordinates are expressed as (x1, y1, z1) as follows:
[0032]
[0033] The satellite mobile module proposed by the present invention is added to the mobile module of NS3. In the position distributor, the satellite position coordinates are added according to formula (2), the satellite position coordinates are updated according to formula (3), and the relevant help assistants are written to ensure that the written satellite mobile module can be added when the simulation is implemented.
[0034] The present invention will call the queue flow control module when installing network equipment and channels. Each satellite node is provided with a queue flow control module to establish a communication task queue and record the data packets input and output by the network equipment. The queue flow control module uses the queue class to initialize the queue and its cache in the network equipment of each satellite node. The queue flow control module also provides a queue CD class, which mainly has two functions. On the one hand, it can realize the input, output and release functions of the data packet; on the other hand, in the process of recording the data packet operation, it records the input, output and loss data volume of the data. The queue flow control module is also provided with a method for obtaining queue-related data, which can obtain the input and output flow rate, the current queue occupancy rate and the total queue length from the installed queue.
[0035] When the network protocol stack is installed, the present invention will call the ELB routing module, which includes a routing establishment and forwarding strategy module and a traffic load detection strategy module. Each satellite node is provided with a routing establishment and forwarding strategy module and a traffic load detection strategy module, and is combined with a queue traffic control module to implement a routing control strategy that displays load balancing. The traffic load detection strategy module is used to detect the state of the satellite itself and send it to the routing establishment and forwarding strategy module. The routing establishment and forwarding strategy module establishes and updates the routing table, predicts the possibility of satellite transmission congestion according to the satellite's own state, and adopts different strategies for different states to reduce the satellite's data transmission rate, so as to reduce the situation of satellite transmission congestion.
[0036] The ELB routing module of the present invention adopts an explicit load balancing (ELB) algorithm, the purpose of which is to solve the satellite congestion problem caused by uneven traffic distribution, and at the same time, it can detect the disconnection of the intersatellite link and realize the switching path. The ELB algorithm can predict congestion and notify the adjacent satellites before congestion occurs. In the ELB routing algorithm, the satellite continuously monitors the size of its own communication task queue through the traffic load detection strategy module to determine its own state. The satellite has three states: idle, warning and busy. Once the satellite state changes, it will notify its adjacent satellites through a self-state announcement packet. A satellite with a high traffic load requests its adjacent satellite to forward a part of the data to avoid the impending congestion. The data to be forwarded is specified to be transmitted through an alternative path that does not involve the congested satellite. In the ELB mechanism, satellites use three parameters to indicate their congestion status and reduce their data transmission rate respectively. These parameters include queue ratio thresholds α, β and traffic reduction ratio (Traffic Reduction Ratio, TRR) χ. The key concept behind the β setting is to reflect the probability of packet drop to avoid packet loss when the satellite is running under heavy load. Considering improving the accuracy of warnings and reducing the overhead that may be caused by frequent searches for alternative paths, the threshold α is set to half of β. The main purpose of setting the TRR parameter χ is to allow the satellite to return to its free state and stay in this state for at least a predetermined period of time. The value range of the thresholds α and β is (0,1].
[0037] The state of the satellite can be marked by comparing the queue ratio q(t) of the current queue occupancy to the total queue size with two thresholds, and the state of the satellite can be obtained by formula (4):
[0038]
[0039] In the ELB routing algorithm, satellites can dynamically exchange information about their queue occupancy status with their neighboring satellites. When satellite A undergoes a state transition from idle to warning, that is, when satellite A is in the warning state, it will send a warning message to its neighboring satellites. Then, the neighboring satellites request to update their routing tables and start searching for alternative paths that do not include satellite A as backup paths. When satellite A enters the busy state, it sends a busy state announcement (BSA) signaling packet to its neighboring satellites, requesting the neighboring satellites to reduce the transmission rate of the traffic it transmits to satellite A to x times the original rate, and the remaining 1-x part of the traffic data will be transmitted through the previously retrieved backup path. The BSA signaling packet carries the satellite identifier and TRR information.
[0040] The routing establishment and forwarding strategy module in the embodiment of the present invention is implemented based on the global routing algorithm. The routing table is mainly managed by two parts, one is to establish the initial global routing table, and the other is to update the routing table when the state changes. First, the initial routing table is established using the shortest path algorithm of the global routing. The shortest path algorithm will find the shortest routing entry according to the SPF (shortest path first) algorithm, and add the calculated routing paths of all nodes to the ELB routing module of the satellite. The ELB routing module provides an external interface that can start the routing table calculation when writing a script. The ELB routing module is mainly responsible for updating the routing table after the link state changes and the satellite state changes. First, the "Doinitialize" function is added, which is the inheritance of "initialize" and becomes the entry of the routing protocol implementation module and is added to the event list. In the algorithm implementation of the ELB routing module, two timers are designed, one of which sends a hello message regularly to detect the connection and disconnection of the link. When the hello message detects a change in the link state, it will trigger the update of the routing table. Another timer regularly detects the satellite load and uses load monitoring to regularly detect the satellite state. When the load state of a given satellite changes from idle to warning, it sends a warning packet to the corresponding neighbor satellite, triggering a routing table update to search for another path. When the satellite state changes from warning to busy, the satellite sends a BSA signal, and when the neighboring satellite receives the packet, it distributes the data through the congested path and the backup path in a ratio of x:1-x. In addition, the ELB routing module provides two external interfaces, called routing output and routing input, for receiving and forwarding data packets. The routing input receives the data packets sent by Layer 3 (L3, routing layer) and determines the next hop based on the routing table. The data packets are forwarded to the L3 layer through the routing output, completing the data packet transmission at the routing layer.
[0041] For satellite A, the formulas for the queue ratio thresholds α, β and the traffic reduction ratio χ are calculated as follows:
[0042]
[0043]
[0044]
[0045]
[0046] Where d is the link delay between satellites, Q l represents the total length of the communication task queue of satellite A, Q(t) represents the length of the data packet occupied by the communication task queue of satellite A at time t, and P avgis the average packet size, I and O represent the total input service rate and total output service rate of satellite A respectively, q(t BSA ) represents the occupancy rate of the communication task queue of satellite A when the BSA signaling packet arrives at the adjacent satellite, I s represents the traffic rate of satellite A from adjacent satellites, Represents the rate at which satellite A can allow new traffic from adjacent satellites: η represents the time interval for the timer to detect the satellite load, that is, the communication task queue of satellite A is checked once every time η.
[0047] When installing data flow monitoring, the present invention mobilizes the underlying functions, uses the tracking system to generate tr files, uses Gnuplot to draw pictures, and uses NetAnim or Pyviz to visualize.
[0048] The statistical analysis of NS3 simulation results can be divided into two categories: network scenario simulation and simulation data analysis. NetAnim and Pyviz can be used to visualize network scenarios. NS3 provides a tracing mechanism. When the information required by the user changes, the system notifies the user to process the information instead of going deep into the system kernel. The tracing mechanism includes tracing sources and tracing receivers for providing and consuming information. NS3 generates signal events during the simulation process and provides relevant data access channels. The tracing receiver is the user of events and times provided by the tracing source, and the tracing receiver must be connected to the tracing source. For example, the tracing source can provide the time when the network device receives the data packet and provide the content of the data packet according to the requirements of the tracing receiver. The tracing receiver can output useful information of the data packet into the tracing file.
[0049] After the simulation is completed, a trace file can be generated for analysis. Wireshark and Tcpdump can read NS3 trace files for network packet analysis. Linux system provides Gnuplot drawing tool. Gnuplot class is added in NS3 to generate data that can be read and used by Gnuplot tool. Gnuplot can be used to generate data graphs. NetAnim can generate xml files through the corresponding classes provided by NS3 to demonstrate the topology and mobility of satellites.
[0050] The present invention mainly uses the Gawk tool to analyze and generate the tracking file of the data packet information. The simulation results are divided into three steps, as follows:
[0051] 1. Generate a trace file with packet information.
[0052] 2. With the help of Gawk tool, analyze the data information in the trace, write a script to calculate the packet loss rate and data throughput with gawk, and generate the information file for drawing Gnuplot.
[0053] 3. The data graph is generated by Gnuplot.
[0054] Based on the above, the embodiment of the present invention implements the construction process of the low-orbit satellite congestion control platform based on NS3, provides a reference for the use of the NS3 platform in satellite modeling, and proposes the use of the ELB routing control strategy to address the problem of uneven satellite traffic distribution. The following simulates the low-orbit satellite congestion control platform constructed by the method of the present invention and compares it with other satellite routing protocols - the simulation platform using the Global routing protocol.
[0055] like Figure 4 and Figure 5 As shown, a simulation experiment is conducted on the platform for low-orbit satellite congestion control implemented by the present invention. Figure 4 The horizontal axis is the data packet transmission rate, and the vertical axis is the throughput. Figure 5 The horizontal axis is the data packet transmission rate, and the vertical axis is the packet loss rate. It can be seen that at the same transmission rate, the ELB routing protocol of the present invention is much lower than the Global routing protocol in terms of packet loss rate, and is superior to the global routing protocol in terms of throughput. This performance is attributed to the fact that the global routing algorithm is based on the shortest path algorithm, and the routing table is found according to the shortest path. When the satellite is congested, there is no switching mechanism, and the subsequent data stream is still sent to the congested satellite, resulting in a relatively high packet loss rate. When the satellite is congested, the ELB routing protocol of the present invention can quickly find the backup routing table through its load detection mechanism and the search of the backup routing table, disperse the data stream of some congested satellites, effectively reduce the congestion state of the satellite, and maintain a low packet loss rate.
Claims
1. A method for implementing a platform for low-orbit satellite congestion control based on NS3, according to the hierarchical structure of the TCP / IP communication protocol, to build a platform for low-orbit satellite congestion control in the simulation simulator NS3, including sequentially creating satellite nodes, installing network devices and channels, installing network protocol stacks, installing IP addresses, installing transceiver application devices, and installing data flow monitoring ; It also includes: (1) When creating a satellite node, the location distributor in NS3 adds the satellite location coordinates, and the satellite location coordinates are updated over time according to the satellite movement module in NS3; (2) When installing network equipment and channels, a communication task queue is established for each satellite to record the data packets input and output by the network equipment; (3) When installing the network protocol stack, a routing control strategy for displaying load balancing is set; the routing control strategy for displaying load balancing includes the following steps: (31) The satellite continuously monitors its own communication task queue to determine its own status, which includes three states: idle, warning, and busy. Set queue ratio thresholds α and β, with α set to half of β. Suppose the packet occupancy rate of the satellite's communication task queue at time t is q(t). When q(t)<α, it indicates that the satellite is idle. When q(t)>β, it indicates that the satellite is busy. When α≤q(t)≤β, it indicates that the satellite is about to be congested and is in a warning state. (32) For satellite A, when it is detected that it is in a warning state, satellite A sends a warning message to the adjacent satellite, and the adjacent satellite requests to update its routing table and search for an alternative path that does not include satellite A. When satellite A is in a busy state, it sends a busy state announcement (BSA) signaling to the adjacent satellite, requesting the adjacent satellite to reduce the traffic transmission rate to satellite A to x times the original rate and transmit the remaining (1-x) times the traffic data through the alternative path; where x is the traffic reduction ratio, which is set by satellite A and sent to the adjacent satellite through BSA signaling. set up Among them I s represents the traffic rate from the adjacent satellite, indicates the new traffic rate allowed from the neighboring satellite; It is characterized in that, in the step 32, the calculation Where P avg is the average packet size, η is the time interval for detecting satellite load, Q l is the total length of the satellite A communication task queue, q(t BSA ) represents the occupancy rate of the communication task queue of satellite A when the BSA signaling reaches the adjacent satellite; In the step 1, the satellite constellation is designed to consist of M*N polar-orbiting satellites evenly distributed on N orbits. On each orbit, starting from the equator, the satellite nodes are evenly spaced 2π / M, and the angular interval between every two adjacent polar orbits is 2π / N; each satellite maintains four intersatellite links with its adjacent satellites at any time; wherein M and N are both positive integers; the position allocator in NS3 adds the position coordinates (x, y, z) of satellite m as follows: in, is the polar coordinate of satellite m in the Earth coordinate system, with the direction pointing to the North Pole as the z-axis, λ is the angle between the line segment Om and the positive direction of the z-axis, is the angle formed by the z-axis and the half plane of satellite m and the coordinate plane zOx, r is the distance from satellite m to the origin O; the polar coordinates of satellite m in the earth coordinate system are expressed as follows: Among them, % is the remainder operation, mod is the modulus operation, and a represents the distance from the origin to the satellite m; Design a satellite mobile module to be added to the mobile module of NS3. The satellite mobile module sets the satellite to rotate around its axis at an angular velocity w, and updates the simulated satellite rotation state and the positions of all satellites every time δ. Then at time t c Update the coordinates of satellite m to (x 1 ,y 1 ,z 1 ),as follows: In the step 2, a queue flow control module is set for each satellite node; In the step 3, the ELB routing module is called when the network protocol stack is installed, and ELB stands for display load balancing; the ELB routing module includes a routing establishment and forwarding strategy module and a traffic load detection strategy module; each satellite node is provided with a routing establishment and forwarding strategy module and a traffic load detection strategy module, and is combined with a queue traffic control module to implement a routing control strategy for display load balancing; the traffic load detection strategy module continuously monitors the size of its own communication task queue to determine the satellite's own state, and when the satellite state changes from idle to warning, a warning message is sent to an adjacent satellite; the routing establishment and forwarding strategy module establishes and updates a routing table, initially using the shortest path algorithm of global routing to establish a routing table for satellite communication, and updates the routing table when the satellite receives a warning message sent by an adjacent satellite; The method also includes step 4, generating a tracking file with data packet information when installing data flow monitoring, analyzing the tracking data using the Gawk tool, using gawk to write a script for calculating the packet loss rate and data throughput, generating an information file for Gnuplot drawing, and using Gnuplot to generate a data graph.
