A virtual-real combined communication network performance testing method
By employing a combined virtual and real-world communication network performance testing method, and utilizing the Exata platform to construct an interference device model, network simulation is performed in conjunction with real interference devices. This approach solves the problems of low reliability and high cost associated with purely virtual simulation methods, achieving efficient and accurate network performance testing.
Patent Information
- Application Number
- CN202411566121.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2044-11-05
AI Technical Summary
Existing pure virtual network simulation methods have low reliability in network performance testing, the models are not perfect, and the real-time perception of external interference affecting network quality is poor, resulting in unreliable test results and high costs.
A hybrid virtual and real-world communication network performance testing method is adopted. An interference device model is developed through the Exata platform. Combined with real interference devices and a computer simulation platform, the interference signals in the real environment are simulated to interfere with the network scenario. This includes the construction of models of the physical layer, data link layer, network layer, and application layer, the establishment of reconnaissance and interference links, signal detection and uploading, and statistical analysis of the simulation scenario.
It improves the reliability and real-time performance of network performance testing, accurately simulates the interference effects of large-scale networks in real interference scenarios, and reduces testing costs.
Smart Images

Figure CN119728485B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication network performance evaluation, and in particular to a method for testing the performance of communication networks that combines virtual and physical methods. Background Technology
[0002] With the exponential growth of network users, the scale and structure of networks are becoming increasingly complex. Only by mastering the performance parameters of networks under different environmental interferences can we accurately and effectively improve, maintain, and manage networks. Therefore, network performance testing is of great significance to the development of network technology and the improvement of network user service quality. However, performance testing in real network environments presents problems such as uncontrollable processes, high testing costs, difficulty in collecting test results, and difficulty in operating large-scale tests. Therefore, network simulation is the primary means of conducting network performance testing.
[0003] While purely virtual network simulation relying solely on software has solved problems inherent in actual measurements, current methods still suffer from low reliability, incomplete models, and poor real-time sensitivity to external interference affecting network quality. Therefore, traditional purely virtual network simulation methods are no longer sufficient for exploring and researching network performance testing methods. Summary of the Invention
[0004] To overcome the above-mentioned shortcomings, this invention provides a method for testing the performance of communication networks that combines virtual and real-world methods.
[0005] The technical solution adopted by this invention to solve its technical problem is as follows:
[0006] A method for testing the performance of a virtual-real integrated communication network includes the following steps:
[0007] Step 1: Develop and construct an interference device model based on the Exata network simulation platform. The interference device model includes a physical layer model, a data link layer model, a network layer model, and an application layer model.
[0008] Step 2: Build a communication network simulation scenario based on Exata using the control module;
[0009] Step 3: Set up an interference signal detection module and collect and upload the detected interference signals;
[0010] Step 4: Establish reconnaissance links and jamming links. The reconnaissance links are used to detect real nodes in the simulation scenario. When a real node is detected communicating in the network, the jamming device transmits jamming signals through the jamming links to interfere with the real nodes in the links.
[0011] Step 5: Run the network simulation scenario. The control module controls the start and end of the network simulation. The network simulation module receives the simulation parameters issued by the control module to perform the simulation. After the simulation starts, the control module receives the interference signal parameters detected by the signal detection module and automatically configures them to the interference devices in the virtual scenario of the simulation network.
[0012] Step 6: Perform statistical analysis on the simulation results; collect the total number of packets sent, the total number of packets received, and the time of receiving the first packet, and calculate the packet loss rate and network setup time, and perform communication network performance analysis.
[0013] The physical layer model construction method in step 1 is as follows: Complete the development of the transmitter event processing function of the jamming device model. This function is used to periodically send jamming signals under the scheduling of the upper layer. The power, frequency point, and bandwidth of the jamming signal are completely determined by the upper layer. Among them, the packet loss mechanism in the jamming device model includes two types: signal-to-noise ratio (SNR) and bit error rate (BER).
[0014] The data link layer model in step 1 is constructed as follows: develop corresponding functions to control the transmitter to send interference signals according to the interference power and interference frequency parameters specified by the interference strategy.
[0015] The method for constructing the network layer model in step 1 is as follows: Develop corresponding functions, and when certain special network interference devices need to interact with other interference devices or control centers, use standard IP protocols and routing protocols.
[0016] The method for constructing the application layer model in step 1 is as follows: complete the setting of the jamming device and the corresponding protocol model of each layer, and add the defined jamming device model to the device list for simulation use.
[0017] The specific method for building the Exata-based communication network simulation scenario in step 2 using the control module is as follows:
[0018] (1) Construct the network topology, allocate the types and quantities of devices required for the network simulation scenario, determine the network topology structure, and allocate IP addresses to each device and subnet according to the topology structure;
[0019] (2) Configure parameters, set the communication frequency of each device in the subnet to 30MHz~88MHz, the transmit power to 25dBm, the routing protocol and the service type of the node to data service parameters;
[0020] (3) Generate the .config configuration file.
[0021] The specific method for setting up the interference signal detection module in step 3 and collecting and uploading the detected interference signals is as follows:
[0022] (1) Connect the RF output port of the interference device to the RF input port of the spectrum detection device;
[0023] (2) Connect the data interface of the spectrum detection device to the data interface of the computer;
[0024] (3) Connect the computer's data interface to the network port of the control module;
[0025] (4) Turn on the interference device and the spectrum detection device. The spectrum detection device analyzes the spectrum of the interference signal and completes the analog-to-digital conversion process. The service terminal is responsible for uploading the collected interference signal parameters to the control module.
[0026] The specific steps for running the network simulation scenario in step 5 are as follows:
[0027] Parse the simulation configuration file and load the network scene;
[0028] The control module detects the devices in the simulation scenario, and the simulation begins after the devices are detected as normal.
[0029] After the reconnaissance link detects the communication signal, the jamming device begins to transmit jamming signals;
[0030] (4) Set the parameters of the virtual interference device model in the simulation network scenario according to the interference signal parameters issued by the control module.
[0031] Due to the adoption of the technical solution described above, the present invention has the following advantages:
[0032] This invention provides a virtual-real combined communication network performance testing method. Based on the Exata platform, an interference device model is developed. By combining real interference devices and a computer simulation platform, the virtual-real combined communication network performance testing method can apply interference signals from the real environment to a network scenario containing real and virtual nodes, simulating the interference effect of a large-scale network under real interference scenarios. This solves the problems of low reliability and real-time performance in network performance measurement. Attached Figure Description
[0033] Figure 1 It is a diagram of a communication network performance testing structure that combines virtual and physical elements;
[0034] Figure 2 This is a connection diagram for the interference signal detection module;
[0035] Figure 3 It is a flowchart for testing the performance of a communication network that combines virtual and real-world applications;
[0036] Figure 4 This is a diagram of a communication network performance test scenario that combines virtual and real elements. Detailed Implementation
[0037] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0038] Combined with appendix Figure 1-4 The aforementioned method for testing the performance of a virtual-real integrated communication network specifically includes the following steps:
[0039] Step 1: Develop an interference device model based on the Exata network simulation platform, including physical layer model, data link layer model, network layer model, and application layer model. The specific method is as follows:
[0040] (1) Physical layer model construction: develop the event handling functions HandleSignalArrivalEvent() and MAC_ReceivePacketFromPhy() for the transmitter of the interference device model. These functions are used to periodically send interference signals under the scheduling of the upper layer. The power, frequency, and bandwidth of the interference signal are completely determined by the upper layer. The packet loss mechanism in the interference device model includes two types: signal-to-noise ratio (SNR) and bit error rate (BER).
[0041] (2) Data link layer model construction, development of ProcessEvent() and ProcessPacket() functions to control the transmitter to send interference signals according to the interference power and interference frequency parameters specified by the interference strategy.
[0042] (3) Network layer construction,
[0043] Develop the functions MESSAGE_Send(), JammerHandleProtocolEvent(), and NetworkIpSendRawMessageToMacLayer(). The protocol of this layer does not need to be specially designed. When certain special network jamming devices need to exchange data with other jamming devices or control centers, standard IP and routing protocols can be used.
[0044] (4) Application layer construction: mainly completes the setting of jamming devices and corresponding protocol models of each layer, and adds the defined jamming device models to the device list for simulation.
[0045] Step 2: Build a communication network simulation scenario based on Exata using the control module. The specific method is as follows:
[0046] (1) Construct network topology, allocate the types and quantities of devices required for tasks in the network simulation scenario, determine the network topology structure, and allocate IP addresses to each device and subnet according to the topology structure.
[0047] (2) Configure parameters: set the communication frequency of each device in the subnet to 30MHz~88MHz, the transmission power to 25dBm, the routing protocol, and the service type of the node to data service parameters.
[0048] (3) Generate the .config configuration file.
[0049] Step 3: According to Figure 2 An interference signal detection module was built, and the detected interference signals were collected and uploaded. The specific method is as follows:
[0050] (1) Connect the RF output port of the interference device to the RF input port of the spectrum detection device.
[0051] (2) Connect the data interface of the spectrum detection device to the data interface of the computer.
[0052] (3) Connect the computer’s data interface to the network port of the control module.
[0053] (4) Turn on the interference device and the spectrum detection device. The spectrum detection device analyzes the spectrum of the interference signal and completes the analog-to-digital conversion process. The service terminal is responsible for uploading the collected interference signal parameters to the control module.
[0054] Step 4: Establish reconnaissance and jamming links. The reconnaissance link detects real nodes in the simulated scenario. When real nodes are detected communicating within the network, the jamming device transmits jamming signals through the jamming link to interfere with the real nodes in the link.
[0055] Step 5: Run the network simulation scenario. The control module controls the start and end of the network simulation, and the network simulation module receives simulation parameters from the control module to perform the simulation. Once the simulation starts, the control module receives interference signal parameters detected by the signal detection module and automatically configures them onto the interference devices in the virtual scenario of the simulated network. The specific operation is as follows:
[0056] (1) Parse the simulation configuration file and load the network scene.
[0057] (2) The control module detects the equipment in the simulation scene. The simulation begins after the equipment is detected to be normal.
[0058] (3) After the reconnaissance link detects the communication signal, the jamming device begins to transmit jamming signals.
[0059] (4) Set the parameters of the virtual interference device model in the simulation network scenario according to the interference signal parameters issued by the control module.
[0060] Step 6: Run the simulation software and perform statistical analysis on the simulation results. Collect the total number of packets sent, the total number of packets received, and the time of receiving the first packet. Calculate the packet loss rate and network setup time, and perform communication network performance analysis.
[0061] The parts not detailed above are existing technologies and therefore have not been described in detail.
Claims
1. A method for testing the performance of a communication network that combines virtual and real-world data, characterized in that: Includes the following steps: Step 1: Develop and construct an interference device model based on the Exata network simulation platform. The interference device model includes a physical layer model, a data link layer model, a network layer model, and an application layer model. Step 2: Build a communication network simulation scenario based on Exata using the control module; Step 3: Set up an interference signal detection module and collect and upload the detected interference signals; Step 4: Establish reconnaissance links and jamming links. The reconnaissance links are used to detect real nodes in the simulation scenario. When a real node is detected communicating in the network, the jamming device transmits jamming signals through the jamming links to interfere with the real nodes in the links. Step 5: Run the network simulation scenario. The control module controls the start and end of the network simulation. The network simulation module receives the simulation parameters issued by the control module to perform the simulation. After the simulation starts, the control module receives the interference signal parameters detected by the signal detection module and automatically configures them to the interference devices in the virtual scenario of the simulation network. Step 6: Perform statistical analysis on the simulation results; Collect the total number of packets sent, the total number of packets received, and the time when the first packet was received. Calculate the packet loss rate and network setup time, and perform communication network performance analysis.
2. The method for testing the performance of a virtual-real combined communication network according to claim 1, characterized in that: The physical layer model construction method in step 1 is as follows: Complete the development of the transmitter event processing function of the interference device model. This function is used to periodically send interference signals under the scheduling of the upper layer. The power, frequency point, and bandwidth of the interference signal are completely determined by the upper layer. Among them, the packet loss mechanism in the interference device model includes two types: based on signal-to-noise ratio (SNR) and based on bit error rate (BER).
3. The method for testing the performance of a virtual-real combined communication network according to claim 1, characterized in that: The data link layer model in step 1 is constructed as follows: develop corresponding functions to control the transmitter to send interference signals according to the interference power and interference frequency parameters specified by the interference strategy.
4. The method for testing the performance of a virtual-real combined communication network according to claim 1, characterized in that: The method for constructing the network layer model in step 1 is as follows: Develop corresponding functions, and when the network interference device needs to interact with other interference devices or the control center, use standard IP protocols and routing protocols.
5. The method for testing the performance of a virtual-real combined communication network according to claim 1, characterized in that: The method for constructing the application layer model in step 1 is as follows: complete the setting of the jamming device and the corresponding protocol model of each layer, and add the defined jamming device model to the device list for simulation use.
6. The method for testing the performance of a virtual-real combined communication network according to claim 1, characterized in that: The specific method for building the Exata-based communication network simulation scenario in step 2 using the control module is as follows: (1) Construct the network topology, allocate the types and quantities of devices required for the network simulation scenario, determine the network topology structure, and allocate IP addresses to each device and subnet according to the topology structure; (2) Configure parameters, set the communication frequency of each device in the subnet to 30MHz~88MHz, the transmit power to 25dBm, the routing protocol and the service type of the node to data service parameters; (3) Generate the .config configuration file.
7. The method for testing the performance of a virtual-real combined communication network according to claim 1, characterized in that: The specific method for setting up the interference signal detection module in step 3 and collecting and uploading the detected interference signals is as follows: (1) Connect the RF output port of the interference device to the RF input port of the spectrum detection device; (2) Connect the data interface of the spectrum detection device to the data interface of the computer; (3) Connect the computer's data interface to the network port of the control module; (4) Turn on the interference device and the spectrum detection device. The spectrum detection device analyzes the spectrum of the interference signal and completes the analog-to-digital conversion process. The service terminal is responsible for uploading the collected interference signal parameters to the control module.
8. The method for testing the performance of a virtual-real combined communication network according to claim 1, characterized in that: The specific steps for running the network simulation scenario in step 5 are as follows: (1) Parse the simulation configuration file and load the network scene; (2) The control module detects the equipment in the simulation scene, and the simulation begins after the equipment is detected as normal; (3) After the reconnaissance link detects the communication signal, the jamming device begins to transmit jamming signals; (4) Set the parameters of the virtual interference device model in the simulation network scenario according to the interference signal parameters issued by the control module.
Citation Information
Patent Citations
Intelligent jammer semi-physical simulation experiment system and method based on USRP
CN111107573A
Virtual and real node combined network anti-interference performance test method and system
CN116319418A