Large-scale extensible networking protocol real-time simulation test method

By using the combination method of Exata system and Docker container in large-scale network simulation test, the problem of difficult to guarantee real-time, accuracy and confidence caused by large network scale is solved, and efficient large-scale network simulation test is achieved.

CN119449626AActive Publication Date: 2025-02-14MILITARY INTELLIGENCE RES INST OF THE CHINESE PEOPLES LIBERATION ARMY ACAD OF MILITARY SCI
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510019836.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-07
Publication Date
2025-02-14
Estimated Expiration
2045-01-07

AI Technical Summary

Technical Problem

In large-scale network simulation tests, due to the large scale of networking and the simplified mathematical modeling, real-time, accuracy and confidence are difficult to guarantee.

Method used

Using the method based on Exata system and Docker container, the Docker container is connected to the Ubuntu system by writing a pipe program, and the Ubuntu system is connected to the Exata system through Socket packet transmission and reception, to build a large-scale expandable network, and realize routing switching and routing interruption. Test of rerouting, observe packet transmission and reception interrupts, delays and packet loss.

Benefits of technology

It improves real-time, accuracy and confidence, can effectively complete large-scale network simulation tests, reduces server resource consumption and license costs, and supports routing switching and interrupt rerouting testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119449626A_ABST
    Figure CN119449626A_ABST
Patent Text Reader

Abstract

The invention discloses a real-time simulation test method for a large-scale extensible networking protocol, which comprises the following steps of: S1, writing a pipe program, connecting a Docker container with a Ubuntu system through an original socket, receiving and sending a packet through a socket, connecting the Ubuntu system with an Exata system, and constructing a large-scale extensible networking, simulation routing switching and real-time simulation testing method. The conditions of data packet transceiving interruption, time delay and packet loss during routing interruption and reconnection; s2, a plurality of virtual network nodes are constructed by utilizing a Docker container, and the nodes have independent protocol stacks and can be added into an Exata simulation environment as independently running Exata nodes, so that real-time simulation testing of a large-scale networking protocol is realized; and S3, real-time testing is carried out on the large-scale expandable networking by observing data packet receiving and transmitting interruption, time delay and packet loss conditions among the Docker containers. According to the method, the real-time simulation test of the large-scale expandable networking protocol can be completed, and the real-time performance, the accuracy and the confidence coefficient are effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer science, builds a large-scale scalable networking simulation scenario based on an Exata system and a Docker container, and specifically discloses a large-scale scalable networking protocol real-time simulation test method. Background Art

[0002] Network simulation is an important branch of computer science. It is a method of simulating network behavior using mathematical modeling and statistical methods. It is mainly used to simulate and analyze the performance, behavior and characteristics of network systems. It is of great significance to the study of network behavior and network structure.

[0003] Today, the scale of the entire Internet is constantly expanding, the number of computers and various mobile devices is constantly increasing, the types of applications on computers and mobile devices are constantly increasing, various protocols and algorithms are emerging in an endless stream, the entire Internet structure is becoming increasingly complex, network traffic is superimposed on each other, and the difficulty of studying network structure, network protocols and other related contents is gradually increasing. The cost of testing, collecting, researching and analyzing in a real network environment is gradually increasing, so network simulation testing technology has emerged. Network simulation testing can get high returns at low cost and obtain a large amount of test data.

[0004] Network simulation related research and applications have been developed for many years, and the various simulation technologies and models used are still in the process of rapid development. At present, many excellent network simulation software have been widely accepted, such as some free and open source simulation software such as NS2 (Network Simulator Version 2), NS3 and OMNeT++ (Objective Modular Network TestBed in C++). In addition, there are also some commercially used OPNET (Optimal Network Engineering Tools) and Exata.

[0005] Currently, in large-scale network simulation tests, it is difficult to ensure real-time performance, accuracy and confidence due to the large scale of the network and excessive simplification in the mathematical modeling process. Summary of the invention

[0006] The purpose of the present invention is to address the deficiencies of the above-mentioned background technology and provide a large-scale scalable networking protocol real-time simulation test method. The method is based on the Exata system and the Docker container to build a large-scale scalable network, which can perform tests such as route switching and route interruption rerouting, observe the interruption, delay and packet loss of data packets, realize real-time testing, analyze network performance and characteristics, and effectively improve real-time performance, accuracy and confidence.

[0007] To achieve the above object, the present invention provides a large-scale scalable networking protocol real-time simulation test method, the test method comprising the following steps: S1: Write a pipe program to connect the Docker container to the Ubuntu system through the original socket, and then connect the Ubuntu system to the Exata system through socket packet sending and receiving, build a large-scale scalable network, simulate routing switching, packet sending and receiving interruption, delay and packet loss when routing is interrupted and reconnected; S2: Use Docker containers to build multiple virtual network nodes. These nodes have independent protocol stacks and can be added to the Exata simulation environment as independently running Exata nodes to achieve real-time simulation testing of large-scale networking protocols. S3: Perform real-time testing of large-scale scalable networking by observing packet transmission and reception interruptions, latency, and packet loss between Docker containers.

[0008] Further, in step S1, the pipe program writing includes the following steps: S1.1. On the Docker server, build multiple virtual network nodes and build a virtual network card for each virtual network node; S1.2. On the Ubuntu system, build a corresponding virtual network card and connect it to the virtual network card of the virtual network node; S1.3. Use the original socket to enable the corresponding network card to send data; S1.4. On the Ubuntu system, process the received data and add a header part to the packet header. The header part includes the IP and MAC addresses of the corresponding Exata node. S1.5. Encapsulate the processed packets and send the packets to Exata in the form of Socket packets; S1.6. On the Exata server, the received data packets are processed so that the virtual nodes in the Docker container correspond one-to-one with the Exata nodes, thus completing the connection.

[0009] Further, in step S2, the construction of a large-scale scalable network includes the following steps: S2.1. On the Exata server, write the interface file and connect to other servers through Socket data packet sending and receiving; S2.2. Open the Docker server and install the routing driver; S2.3. On the Docker server, build multiple virtual network nodes; S2.4. On the Docker server, start the pipe program you wrote; S2.5. On the Exata server, start the simulation scenario.

[0010] Further, in step S2.1, the Exata server is installed with the Windows 10 Professional operating system and the Exata 7.2.0 version of the simulation software.

[0011] Further, step S2.2 specifically includes: S2.2.1. On the Docker server, open the terminal and enter the system administrator mode using the command sudo -s; S2.2.2. Install the routing driver. The command is . / batman-adv-xs.ko.

[0012] Further, step S2.3 specifically includes: S2.3.1. On the Docker server, enter the administrator mode in each node using the command sudo -s; S2.3.2. Install and update the corresponding command, the command is apt-get update; apt-get install -y batctl net-tools iputils-ping iproute2 iperf S2.3.3. Configure the node.

[0013] Further, in step S2.4, on the Docker server, enter the manager mode, the command is sudo -s, and then open the pipe program, the command is . / batman_udp_pipe.

[0014] Furthermore, in step S2, large-scale networking can be arbitrarily expanded in network scale by adding servers.

[0015] Furthermore, in step S3, in the Exata simulation environment, large-scale scalable networking can be simulated in real time, with a deviation from physical time of less than 2 seconds.

[0016] Furthermore, in step S3, in the Exata simulation environment, the environment configuration is modified to perform PS domain routing switching and routing interruption rerouting tests.

[0017] The present invention has the following beneficial effects: 1. The present invention uses Docker containers, thereby improving server efficiency and reducing server resource consumption and licensing costs. The method can complete large-scale networking simulation tests.

[0018] 2. The pipe program used in the present invention enables Docker containers and Exata systems to be connected arbitrarily. Multiple virtual network nodes are constructed on different Docker servers and connected through the pipe program, so that network nodes can be added arbitrarily and the network scale can be expanded. This method can complete large-scale scalable networking simulation tests.

[0019] 3. The present invention is a large-scale scalable networking test method based on Exata and Docker. It is designed for new wireless communication technologies and can communicate with people, devices, and software in real networks in real time, with extremely strong real-time performance.

[0020] 4. The present invention has a wide variety of communication modes, and can perform switching tests according to different routes in large-scale scenarios, and can test route interruption and rerouting, thereby ensuring the comprehensiveness and confidence of the test.

[0021] 5. The node of the present invention has high comprehensiveness and can configure the physical layer transceiver model parameters, jammer model parameters, antenna parameters, etc.; it can configure the MAC layer TDMA protocol model, including automatic time slot allocation, packet aggregation, frequency hopping, etc. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a flowchart of the large-scale scalable networking protocol real-time testing method of the present invention; Figure 2 It is a flow chart of constructing the pipe program of the large-scale scalable networking of the present invention; Figure 3 This is a schematic diagram of a large-scale networking of the Exata software interface according to an embodiment of the present invention; Figure 4 This is a schematic diagram of a large-scale networking of the Exata software interface according to an embodiment of the present invention; Figure 5 This is a schematic diagram of an expandable networking of the Exata software interface according to an embodiment of the present invention; Figure 6 This is a real-time schematic diagram of the Exata software interface according to an embodiment of the present invention; Figure 7 This is a schematic diagram of Exata software interface routing switching according to an embodiment of the present invention; Figure 8 This is a schematic diagram of the Exata software interface routing interruption and rerouting according to an embodiment of the present invention. DETAILED DESCRIPTION

[0023] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. 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.

[0024] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0025] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0026] The following combination Figure 1-Figure 8 The specific embodiments of the present invention are described in detail. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0027] The present invention provides a large-scale scalable networking protocol real-time simulation test method based on Exata and Docker, including writing a pipe program, the program relies on the original socket to connect the Docker container and the Ubuntu system, and relies on the Socket data packet transmission and reception to connect the Ubuntu system and the Exata system, to create a networking protocol real-time test platform, and form a simulated network simulation scene based on Exata; the PS domain and the PL domain of the communication radio are simulated separately, the PS domain code is mapped to the Docker container to create a large-scale networking node, the PL domain performs equivalent network simulation and realizes one-to-one mapping with the PS domain node; a plurality of virtual network nodes with independent protocol stacks are virtualized by using the Docker container, and the virtual network nodes are added to the self-organizing network as Exata nodes that can independently run various application programs, so as to obtain a large-scale scalable self-organizing network protocol real-time test platform that can perform real-time simulation tests; by observing the Docker container routing switching time, routing interruption rerouting time and data packet transmission and reception delay, the function and performance of the developed networking protocol are tested by using actual business. The present invention can complete the large-scale scalable networking protocol real-time simulation test. In the present invention, large-scale means that the network scale is greater than or equal to 100 (that is, the number of virtual nodes in the virtual simulation mode is greater than or equal to 100).

[0028] Specifically, Figure 1 As shown, a large-scale scalable networking protocol real-time simulation test method according to the present invention includes the following steps: Step S1: Write a pipe program to connect the Docker container to the Ubuntu system through the original socket, and then connect the Ubuntu system to the Exata system through socket packet sending and receiving, to build a large-scale scalable network, simulate routing switching, and packet sending and receiving interruption, delay and packet loss when routing is interrupted and reconnected; The application of Docker containers is one of the key points of the present invention. Most of the existing technologies are implemented using traditional virtual machines. Compared with traditional virtual machine containers, Docker containers are lighter and start faster. Docker containers provide process isolation and reduce resource usage while sharing the same operating system kernel. Traditional virtual machines require a complete operating system, while Docker containers only share the operating system kernel of the host machine, thereby reducing overhead. In addition, Docker containers provide a layer of isolation, which can limit the permissions and scope of applications to a certain extent, reduce the impact on the host system, and help improve the security of applications.

[0029] The difficulty of using Docker containers lies in port mapping, so the present invention completes data transmission by writing a pipe program to perform port mapping. The pipe program is another focus of the present invention.

[0030] like Figure 2 As shown, in step S1, the pipe program writing of the large-scale scalable networking of the present invention includes the following steps: S1.1. On the Docker server, build multiple virtual network nodes and build a virtual network card for each virtual network node, such as eth1, eth2, eth3, etc.; S1.2. On the Ubuntu system, build the corresponding virtual network card and connect it to the virtual network card of the virtual network node, such as veth1, veth2, veth3, etc.; S1.3. Use the original socket to make the corresponding network card send data, such as eth1 sends data to veth1, and eth2 sends data to veth2; S1.4. On the Ubuntu system, process the received data and add a header part to the packet header. The header part includes the IP and MAC addresses of the corresponding Exata node. S1.5. Encapsulate the processed packets and send the packets to Exata in the form of Socket packets; S1.6. On the Exata server, the received data packets are processed so that the virtual nodes in the Docker container are mapped one-to-one with the Exata nodes to complete the connection.

[0031] The key of the pipe program is to combine the original socket with the conventional socket to form a pipe program. In the present invention, when the Docker system is connected to the Ubuntu system, the pipe program uses the original socket instead of the virtual network interface Docker0 that comes with the Docker container. Docker0 is a bridge network that connects all Docker containers under the default network mode (i.e., bridge mode), which is suitable for stand-alone basic application scenarios, but not suitable for large-scale, multi-host container applications. In the pipe program, the present invention closes Docker0, uses the original socket to directly access the network layer, monitors the traffic of a specific network interface, and captures packets, so that the virtual nodes on the Docker system are mapped one by one with the virtual network card of the Ubuntu system. When the Ubuntu system is connected to the Exata system, a conventional socket is used to send a udp data packet. A header part is added to the packet header, including the ip and mac addresses of the Exata node, so that the virtual node is mapped one by one with the Exata node, and the data packet is sent and received. So far, through the pipe program, the one-to-one mapping of the PL domain simulation node and the PS domain node is realized.

[0032] Step S2: Use Docker containers to build multiple virtual network nodes. These nodes have independent protocol stacks and can be added to the Exata simulation environment as independently running Exata nodes to achieve real-time simulation testing of large-scale networking protocols. Large-scale means that the network scale is ≥ 100 (the scale of virtual nodes in pure virtual simulation mode), and scalable means that the network scale can be expanded by adding servers.

[0033] Step S3: Perform real-time testing on large-scale scalable networking by observing the interruption, delay and packet loss of data packets between Docker containers, and whether the node routing table conforms to the network topology.

[0034] The network performance is tested through the ping packet UDP packet filling test.

[0035] Detection process: Select any two Docker nodes to perform ping and UDP packet injection tests to see whether the ping and UDP packet injection results are in line with expectations; check whether the routing table is consistent with the network topology.

[0036] Judgment conditions: If the ping protocol test lasts for more than 10 seconds without communication interruption, the UDP data stream receiving packet loss rate is less than 10%, and the routing table conforms to the network topology, then it is judged that the large-scale scalable networking performance meets the requirements.

[0037] like Figure 3 As shown, in step S2, the construction of a large-scale scalable network of the present invention includes the following steps: Step S2.1. On the Exata server, write the interface file and connect to other servers through Socket data packet sending and receiving; Among them, the Exata server is installed with Windows 10 Professional operating system and Exata 7.2.0 version of simulation software; Step S2.2. Open the Docker server and install the routing driver; the details are as follows: Step S2.2.1. On the Docker server, open the terminal and enter the system administrator mode using the command sudo -s; Step S2.2.2. Install the routing driver, the command is . / batman-adv-xs.ko; Step S2.3. On the Docker server, build multiple virtual network nodes; the details are as follows: Step S2.3.1. On the Docker server, enter the administrator mode in each node using the command sudo -s; Step S2.3.2. Install and update the corresponding command, the command is apt-get update apt-get install -y batctl net-tools iputils-ping iproute2 iperf; Step S2.3.3. Build the node and start the Docker container of the node; attach to the terminal of the batman-adv1 container; clear the IP address of the first virtual Ethernet interface eth0 interface to ensure that the interface has no IP address so that it can be added to other interfaces later; create the second virtual Ethernet interface eth2 and set the MAC address of the second virtual Ethernet interface eth2; enable the second virtual Ethernet interface eth2; bind the eth0 interface to eth2 and specify eth2 as the primary interface of eth0; add the second virtual Ethernet interface eth2 interface to the interface list of the batman-adv protocol; set the MAC address of the bat0 interface; assign an IP address to the bat0 interface and enable the interface; clear the ARP cache and reload the ARP table to ensure that the ARP table of the devices in the network is updated and applicable to the newly configured interface.

[0038] Taking node 1 as an example, the specific command is: docker start batman-adv1 (start the Docker container named node1); docker attach batman-adv1 (attach to the terminal of the batman-adv1 container to execute further commands in it); ifconfig eth0 0.0.0.0 (clear the IP address of the eth0 interface, which ensures that the interface has no IP address so that it can be added to other interfaces later); ip link add name eth2 type virteth (create a new virtual Ethernet interface named eth2); ifconfig eth2 hw ether b8:8e:df:00:01:01 (set the MAC address of the newly created eth2 interface to b8:8e:df:00:01:01); ifconfig eth2 up (enable eth2 interface); ip link set dev eth0 master eth2 (bind eth0 interface to eth2 and specify eth2 as the master interface of eth0); batctl if add eth2 (add the eth2 interface to the interface list of the batman-adv protocol); ifconfig bat0 hw ether b8:8e:df:01:01:01 (set the MAC address of bat0 interface to b8:8e:df:01:01:01); ifconfig bat0 192.168.2.1 up (assign IP address 192.168.2.1 to bat0 interface and enable the interface); arp -f (flushes the ARP cache and reloads the ARP table to ensure that the ARP tables of devices on the network are updated for the newly configured interface).

[0039] Step S2.4. On the Docker server, start the written pipe program; On the Docker server, enter the administrator mode with the command sudo -s, and then open the pipe program with the command . / batman_udp_pipe.

[0040] Step S2.5. Start the simulation scenario on the Exata server. Observe the time of route switching and route interruption and rerouting between Docker containers, as well as the interruption, delay and packet loss of data packet sending and receiving, and conduct real-time testing of large-scale scalable networking.

[0041] Therefore, the network topology between Docker nodes can be simulated and tested through the network topology built by Exata software.

[0042] like Figure 4 As shown, it is a schematic diagram of large-scale networking of the Exata software interface of an embodiment of the present invention, which can set the simulation parameters such as the number, location, routing protocol, transmitter center frequency, transmission power, air interface rate, bandwidth parameters, antenna height, gain environment, time slot length, protection interval, number of time slots per frame, interference mode parameters, etc. of Exata nodes. Among them, Docker nodes and Exata nodes are mapped one by one.

[0043] In this large-scale networking scenario, you can add servers as needed to expand the network scale. Figure 5 As shown, you need to repeat it on the new Docker server Figure 2 The large-scale networking construction process shown in the figure can achieve scalable functions.

[0044] like Figure 6As shown, the real-time schematic diagram of the Exata software interface of an embodiment of the present invention, the Exata platform runs according to physical time, real-time simulation, and the deviation between simulation time and physical time is ≤2s; the physical time: the time occupied by the actual operation of the simulation, which can be viewed in the Exata simulation interface; the simulation time: the time advanced in the simulation space, which can be viewed in the Exata simulation interface.

[0045] like Figure 7 As shown, the schematic diagram of the routing switching of the Exata software interface of the embodiment of the present invention. In this large-scale scalable networking protocol real-time testing method, the communication recovery time after routing switching can be tested, and the specific testing process is as follows: Step P1. Set up the simulation environment, connect the two hosts to the same LAN through a switch, and configure the corresponding IP address parameters; Step P2. Open the network simulation software in the Exata system and load the routing switching simulation scenario; at 50 seconds, nodes 2 and 3 move to the target location instantly; Step P3. Check the routing table of the two specified nodes on host 2, and use UDP data to send between the two nodes; Step P4. When the Exata system simulation scenario runs for 50 seconds, start timing T1; check the time T2 when UDP data reception returns to normal in Ubuntu; Step P5. Check the new routing table. If the routing table is consistent with the network topology after routing switching, and T2-T1≤4s, the routing switching time is determined to be qualified.

[0046] The routing switch is a process in which any node on the Exata server moves instantly at a predetermined time to form a new routing table. According to the configuration of the routing protocol and the information in the routing table, the data packet is sent from the source to the destination and the best path is dynamically selected.

[0047] like Figure 8 As shown, the schematic diagram of the Exata software interface routing interruption rerouting of the embodiment of the present invention. In this large-scale scalable networking protocol real-time testing method, the time required for routing interruption rerouting can be tested, and the specific test process is as follows: Step R1. Set up a simulation environment, connect the two hosts to the same LAN through a switch, and configure the corresponding IP address parameters; Step R2. Open the network simulation software in the Exata system and load the routing interruption and rerouting simulation scenario. At 50 seconds, nodes 2 and 3 move to the target location instantly, causing the original routing to be interrupted. Step R3. Check the routing table of the two specified nodes on host 2, and use UDP data to send between the two nodes; Step R4. When the Exata system simulation scenario runs for 50 seconds, start timing T1; check the time T2 when UDP data reception returns to normal in the Ubuntu system; Step R5. Check the new routing table. If the routing table is consistent with the network topology after the routing is interrupted and re-routing, and T2-T1≤4s, the routing switching time is determined to be qualified.

[0048] The routing interruption rerouting is a process in which any node on the Exata server instantly moves beyond the maximum communication distance of the original adjacent node at a predetermined time, causing the original path to be unavailable and causing routing interruption, so that the router recalculates and selects another available path to send the data packet to the destination.

[0049] Any process or method description in the flowchart of the present invention or described in other ways herein can be understood as a module, segment or part of a code including one or more executable instructions for implementing the steps of a specific logical function or process, which can be implemented in any computer-readable medium for use by an instruction execution system, device or equipment, and the computer-readable medium can be any medium containing storage, communication, propagation or transmission programs for use by execution systems, devices or equipment, including read-only memories, magnetic disks or optical disks, etc.

[0050] In the description of this specification, the description with reference to the terms "embodiment", "example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. In addition, those skilled in the art can combine or combine different embodiments or examples described in this specification and the features therein without causing any contradiction.

[0051] Although the above content has shown and described the embodiments of the present invention, it can be understood that the above embodiments are exemplary and cannot be understood as limitations of the present invention. Ordinary technicians in the field can change, modify, replace, modify and other update operations on the above embodiments within the scope of the present invention.

Claims

1. A large-scale scalable networking protocol real-time simulation test method, characterized in that: The test method includes the following steps: S1: Write a pipe program to connect the Docker container to the Ubuntu system through the original socket, and then connect the Ubuntu system to the Exata system through the socket to send and receive packets, build a large-scale scalable network, simulate route switching, and the interruption, delay and packet loss of data packets when the route is interrupted and reconnected; S2: Use Docker containers to build multiple virtual network nodes. These nodes have independent protocol stacks and are added to the Exata simulation environment as independently running Exata nodes to achieve real-time simulation testing of large-scale networking protocols. S3: Perform real-time testing of large-scale scalable networking by observing packet transmission and reception interruptions, latency, and packet loss between Docker containers.

2. The large-scale scalable networking protocol real-time simulation test method according to claim 1, characterized in that: In step S1, the pipe program writing includes the following steps: S1.

1. On the Docker server, build multiple virtual network nodes and build a virtual network card for each virtual network node; S1.

2. On the Ubuntu system, build a corresponding virtual network card and connect it to the virtual network card of the virtual network node; S1.

3. Use the original socket to enable the corresponding network card to send data; S1.

4. On the Ubuntu system, process the received data and add a header part to the packet header. The header part includes the IP and MAC addresses of the corresponding Exata node. S1.

5. Encapsulate the processed packets and send the packets to Exata in the form of Socket packets; S1.

6. On the Exata server, the received data packets are processed so that the virtual nodes in the Docker container correspond one-to-one with the Exata nodes, thus completing the connection.

3. The large-scale scalable networking protocol real-time simulation test method according to claim 1, characterized in that: In step S2, the construction of a large-scale scalable network includes the following steps: S2.

1. On the Exata server, write the interface file and connect to other servers through Socket data packet sending and receiving; S2.

2. Open the Docker server and install the routing driver; S2.

3. On the Docker server, build multiple virtual network nodes; S2.

4. On the Docker server, start the pipe program you wrote; S2.

5. On the Exata server, start the simulation scenario.

4. The large-scale scalable networking protocol real-time simulation test method according to claim 3 is characterized in that: In step S2.1, the Exata server is installed with the Windows 10 Professional operating system and the Exata 7.2.0 version of the simulation software.

5. The large-scale scalable networking protocol real-time simulation test method according to claim 3 is characterized in that: Step S2.2 specifically includes: S2.2.

1. On the Docker server, open the terminal and enter the system administrator mode using the command sudo -s; S2.2.

2. Install the routing driver. The command is . / batman-adv-xs.ko.

6. The large-scale scalable networking protocol real-time simulation test method according to claim 3 is characterized in that: Step S2.3 specifically includes: S2.3.

1. On the Docker server, enter the administrator mode in each node using the command sudo -s; S2.3.

2. Install and update the corresponding command, the command is apt-get update; apt-get install -y batctl net-tools iputils-ping iproute2 iperf S2.3.

3. Configure the node.

7. The large-scale scalable networking protocol real-time simulation test method according to claim 3, characterized in that: In step S2.4, on the Docker server, enter the administrator mode with the command sudo -s, and then open the pipe program with the command . / batman_udp_pipe.

8. The large-scale scalable networking protocol real-time simulation test method according to claim 1, characterized in that: In step S2, large-scale networking is performed by arbitrarily expanding the network scale by adding servers.

9. The large-scale scalable networking protocol real-time simulation test method according to claim 1, characterized in that: In step S3, in the Exata simulation environment, large-scale scalable networking is used to perform real-time simulation, with a deviation from physical time of less than 2 seconds.

10. The large-scale scalable networking protocol real-time simulation test method according to claim 1, characterized in that: In the step S3, in the Exata simulation environment, the environment configuration is modified to perform PS domain routing switching and routing interruption rerouting tests.

Citation Information

Patent Citations

  • Wireless network simulation method based on Exata and Docker

    CN114071529A

  • Semi-physical simulation verification method and system

    CN114527679A

  • Method, device and equipment for docker containerization operation and medium

    CN116974701A

  • Container-based routing simulation system and method

    CN118250180A

  • Automated application deployment

    US20240078101A1