Wireless communication environment simulation method based on virtual switch

Through the virtual switch-based wireless communication environment simulation method, wireless communication twin devices and emulators are used to simulate communication routing and signal transmission, the simulation problem of complex wireless communication environment is solved, and efficient wireless network data transmission and verification in computer networks is realized .

CN119183142APending Publication Date: 2024-12-24CHONGQING JINMEI COMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411179772.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-12-24

AI Technical Summary

Technical Problem

The prior art is difficult to effectively simulate and optimize complex wireless communication space environments, especially to realize the simulation of virtual and real communication networks in computer networks, and it is difficult to simulate the transmission process and quality equivalent to the physical wireless communication environment.

Method used

Using a wireless communication environment simulation method based on virtual switches, through wireless communication twin devices, wireless communication space environment emulators and control services, container technology and radio frequency virtual interfaces simulate communication routing and signal transmission, and combining Open vSwitch technology to realize service data packets Forwarding and traffic control, simulate multi-hop data transmission of wireless subnets and ad hoc networks.

Benefits of technology

It realizes the data transmission of simulated wireless networks in computer networks, including broadcast data transmission of wireless subnets and multi-hop data transmission of ad hoc networks, supports the rapid construction and verification of large-scale complex wireless communication networks, and improves network networking and data The authenticity of transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119183142A_ABST
    Figure CN119183142A_ABST
Patent Text Reader

Abstract

The invention discloses a wireless communication environment simulation method based on a virtual switch and a wireless communication environment simulation system. The wireless communication environment simulation system comprises a wireless communication twin device, a wireless communication space environment simulator and a wireless communication space environment control service. Simulation of a wireless communication space environment is realized through virtual exchange and software simulation, and data transmission of a wireless network can be simulated in a computer network, including wireless communication networking modes such as broadcast data transmission of a simulated wireless subnet and ad hoc network multi-hop data transmission of the wireless subnet; by using the advantages of convenience and economy of computer network and software simulation in large-scale deployment, rapid construction and the like of a large-scale complex wireless communication network can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to wireless communication environment simulation technology, and in particular to a wireless communication environment simulation method based on a virtual switch. Background Art

[0002] Network simulation technology is a technology that uses mathematical modeling and statistical analysis methods to simulate network behavior. By establishing statistical models of network devices and network links, this technology can simulate the transmission of network traffic and obtain the network performance data required for network design and optimization.

[0003] A virtual machine is a complete computer system that is simulated by software, has complete hardware system functions, and runs in a completely isolated environment. It has all the functions of a physical computer, including processor, memory, hard disk, input and output devices, etc.

[0004] Virtual switch, also known as virtual network switch, is a technology that allows multiple switching functions to be performed on the same physical device, or a switch that performs a single function on multiple physical devices in the network, thereby improving the flexibility and utilization of network resources. Currently, virtual switch technology is widely used in data centers and cloud computing environments.

[0005] Open vSwitch (OVS) is a virtual switch software. It is an open source multi-layer virtual switch that is mainly used to interconnect different virtual machines on a single physical machine or to achieve network communication between virtual machines on multiple physical machines in a virtualized environment.

[0006] The wireless communication space environment refers to the combination of all physical and technical factors that exist in the wireless communication process, which directly affect the propagation, reception and communication quality of wireless signals. The wireless communication space environment has the characteristics of complexity, spectrum characteristic simulation, mobility consideration, multi-user interaction, channel modeling, energy efficiency analysis, security and protocol compatibility in network simulation.

[0007] Wireless communication space environment simulation refers to the use of mathematical models, computer software and hardware equipment to simulate the propagation, reception and signal processing of wireless communications in a specific space environment under laboratory conditions. This simulation technology is crucial for predicting and optimizing the performance of wireless communication systems, especially simulating complex space environments, including electromagnetic interference, meteorological influences, terrain and object obstruction, etc.

[0008] A wireless communication network is a computer network that uses wireless data connections between network nodes. It allows data to be transmitted in space via radio waves without relying on physical cables. Wireless communication networks are complex in many ways, including multi-layered network architectures, such as access networks and backbone networks, multiple access technologies and technologies, such as LTE, WiFi, 4G, and 5G, which differ in data transmission rates and modulation methods; dynamically changing network environments, device mobility, signal strength, and interference.

[0009] In summary, wireless device virtualization software can be realized based on computer virtualization, network simulation and other technologies, and virtual device software can be run on a computer platform, and data intercommunication and data routing can be supported by relying on virtual switch technology. However, in this process, the wireless communication space environment is extremely complex, and wireless communication networking also has regional characteristics, which makes simulation difficult. Therefore, to achieve virtual-real communication network simulation, it is necessary to solve the problem that it is difficult to simulate the wireless communication environment in computer networks, and the simulation effect must have an equivalent transmission process and quality to the physical wireless communication environment, and the subnet and wireless routing must be the same as the physical wireless communication network. Summary of the invention

[0010] In response to the problems raised by the background technology, the present invention discloses a wireless communication environment simulation method based on a virtual switch, and a wireless communication environment simulation system, which comprises three parts: a wireless communication twin device, a wireless communication space environment simulator, and a wireless communication space environment control service; the wireless communication twin device is realized by container technology to simulate the communication routing and transmission functions of the actual wireless communication device, and a radio frequency virtual interface is virtualized by computer virtual network card technology, and the radio frequency virtual interface simulates and replaces the radio frequency interface of the actual wireless communication device; the radio frequency virtual interface of the wireless communication twin device is interconnected with the interface of the wireless communication space environment simulator to simulate the signal transmission of the real radio frequency interface in the natural space environment; the service data processing process of the wireless communication twin device is to receive the service data that needs to be transferred out from the radio frequency virtual interface, process it from the network layer to the MAC layer, and then encapsulate it into a service simulation network data packet based on the broadcast message characteristics, and transfer it out by the radio frequency virtual interface; The wireless communication space environment simulator includes a device interaction module, a data forwarding module, and a traffic control module; the device interaction module is responsible for information interaction with the wireless communication twin device, including receiving the simulated wireless characteristic HELLO message of the wireless communication twin device and sending the communication capabilities within the wireless subnet to the wireless communication twin device; the data forwarding module realizes the forwarding of business simulation network data packets encapsulated by the wireless communication twin device based on OpenvSwitch technology; the traffic control module will control the forwarding bandwidth, delay, jitter, and packet loss of the business simulation data.

[0011] The wireless communication twin devices have only one RF virtual interface per device under normal conditions, which is used to transmit business data and wireless feature HELLO messages, etc.; in special circumstances, such as precise statistical analysis of business data, high-intensity changes in wireless features, etc., in order to maintain the accuracy of data collection and the reliability of wireless feature interactive transmission, two RF virtual interfaces are set for each device to achieve separation of business and control. One of them is called the business RF virtual interface, which only transmits business data. The business data processing process of the wireless communication twin device is to receive the business data that needs to be transferred from the RF virtual interface, process it through the network layer to the MAC layer, and then encapsulate it into a business simulation network data packet based on the broadcast message characteristics, and transfer it out by the RF virtual interface; the other is called the simulated RF virtual control interface, which is used to send wireless feature HELLO messages, receive the communication capabilities in the wireless subnet to the wireless communication twin device, and send it through broadcast data. The simulated RF virtual control interface will send a handshake message that marks the interface as a simulated RF virtual control interface type through the broadcast protocol. When the wireless communication space environment emulator receives the message, it will identify the interface type; for the wireless communication space environment emulator, when the other end is identified as a simulated RF virtual control interface, the interface will not be included in the communication relationship calculation and data forwarding table. The interface is only used for control. The wireless communication space environment emulator will send the communication capabilities in the wireless subnet to the device through this interface, and will no longer send it through the business RF virtual interface.

[0012] The wireless communication space environment control service includes scenario model, wireless communication transmission model, control computing service and geographic service, and realizes the management of multiple wireless communication space environment simulators through network information interaction; scenario model includes meteorological environment and electromagnetic environment; wireless communication transmission model is the calculation model of electromagnetic wave transmission channel model, and provides multiple calculation models to control computing service; control computing service is the control processing service for calculating and generating communication capability and communication management, receiving wireless device information reported by each wireless communication space environment simulator, and sending communication relationship and communication capability to the wireless communication space environment simulator; geographic service includes basic geographic information, elevation information, landform information, land object information and geological information, and provides geographic data to control computing service; The wireless communication twin device has the configuration of device parameters through WEB interface operation, Telnet login operation, interface management control and other methods. The operation parameters need to be configured during initial operation. If the configuration is wrong or not configured, no interactive information will be sent to the wireless communication space environment simulator. After the wireless communication twin device correctly configures the parameters and runs the wireless communication space environment simulator, the wireless communication space environment simulator will autonomously build a network between the wireless communication twin devices. The steps for the wireless communication space environment simulator to autonomously build a network relationship network are as follows: Step S101, the wireless communication twin device periodically sends a simulated wireless characteristic HELLO message through the radio frequency virtual interface; Step S102, the wireless communication space environment simulator receives simulated wireless characteristic HELLO messages of multiple wireless communication twin devices, calculates and generates communication relationships according to the wireless characteristics in the HELLO messages of multiple devices, and calculates the communication capacity within the wireless subnet according to the wireless characteristics of the HELLO messages of multiple devices and the meteorological environment, geographical environment, electromagnetic environment and other information of the simulator; the wireless characteristics include modulation mode, network number, table number, frequency, position, direction information, time slot allocation mode, transmission signal-to-noise ratio, power, installation height, gain and other wireless characteristic information and the meteorological environment, geographical environment, electromagnetic environment information of the simulator; Step S103, the wireless communication space environment simulator sends the communication quality of other devices in the same subnet as the connected wireless communication twin device; Step S104, after the wireless communication space environment simulator calculates and generates the communication relationship and communication capability between the twin devices in real time, it determines whether the communication data forwarding table relationship is the same as that of the existing simulator. If different, the data forwarding table is updated. The simulator will update the data exchange forwarding table according to the new communication relationship and communication capability; it determines whether the communication capability data is the same as that of the existing simulator. If different, the control strategy of the flow control module of the wireless communication space environment simulator is updated; Step S105, the simulator performs actual interface configuration according to each group of data in the data exchange forwarding table, configures the interface information in each group of data corresponding to the switching interface of the simulator into a forwarding broadcast network, and the interface in each group of data is fully interconnected through the simulator information broadcast transmission mechanism.

[0013] The switching interface of the corresponding simulator is configured into a forwarding broadcast, which means that the wireless communication devices in the same network are organized into a forwarding broadcast network, specifically, the interfaces of the wireless communication space environment simulators connected to the wireless communication devices in the same network are organized into a forwarding broadcast network, and the wireless service data of the wireless communication devices are fully interoperable through the interface data of the simulator. Of course, this is just a simulation of the established service channel. Whether the specific wireless communication device can accurately transmit data to other wireless communication devices is also related to the communication capability of the wireless communication device.

[0014] When the wireless communication space environment control service controls the wireless communication space environment simulator to remotely generate communication relationships and communication capabilities, when the heartbeat handshake failures between the wireless communication space environment control service and the wireless communication space environment simulator exceed the preset number of times, the wireless communication space environment simulator will automatically calculate to form the communication relationship and communication capabilities. The wireless communication space environment control service controls the wireless communication space environment simulator to form a network as follows: Step S201, the wireless communication space environment control service sends remote forwarding control information to the wireless communication space environment simulator; Step S202, the wireless communication space environment simulator clears the loaded communication relationship and communication capability information and the communication data transfer table; Step S203: The wireless communication space environment simulator and the wireless communication space environment control service perform a heartbeat handshake, and the wireless communication space environment simulator dynamically reports access device information to the wireless communication space environment control service; Step S204: The wireless communication space environment control service performs comprehensive superposition calculation based on the basic wireless communication channel calculation model provided by the access device information and the wireless communication model, combined with the meteorological environment and electromagnetic environment provided by the scenario model, and the geographic information provided by the geographic service to form the communication relationship and communication capability between the twin devices. Step S205, the wireless communication space environment control service sends the communication relationship to the wireless communication space environment simulator data forwarding module, and sends the communication capability to the wireless communication space environment simulator flow control module; Step S206: The data forwarding module of the wireless communication space environment simulator forwards data according to the communication relationship issued by the wireless communication space environment control service. The flow control module of the wireless communication space environment simulator limits the data forwarding bandwidth, delay, jitter, and packet loss according to the information issued by the wireless communication space environment control service.

[0015] When the communication relationship and communication capability of the wireless communication space environment simulator are controlled through the wireless communication space environment control service, the communication capability within each wireless subnet will be carried in the communication capability data. The communication capability data flow control module will hand it over to the device interaction module, which will send it to the corresponding wireless communication twin device.

[0016] The flow control module of the wireless communication space environment simulator mainly limits the data forwarding capability of the wireless communication simulator. This function simulates the data communication capability constraint of the wireless communication space.

[0017] When performing network path optimization and network route calculation and generation, the wireless communication twin device will use the communication quality in each direction of the communication capability within the wireless subnet sent by the wireless communication space environment simulator; the wireless communication twin device will control the bandwidth, delay, jitter, and packet loss of the service simulation network data packets sent to the corresponding direction according to the communication quality in each direction. The delay is calculated based on the theoretical processing and forwarding delay of the actual simulated device minus the processing and forwarding delay of the communication twin device. Bandwidth, jitter, and packet loss are theoretically calculated device capability parameters.

[0018] The simulation design of wireless communication self-organizing network is mainly that the wireless communication twin device integrates the communication quality of other devices in the same subnet calculated by the wireless communication space environment simulator into the network path optimization and network route calculation generation. When the communication quality in different directions is different, different data transmission paths will be formed, and the data will be transmitted one by one according to the route, finally forming a multi-hop wireless communication self-organizing network.

[0019] The wireless communication twin device has a network interface and a radio frequency virtual interface. The network interface can be directly connected to other terminals or network devices. The steps for processing business data of the wireless communication twin device are as follows: Step S301: After the wireless communication twin device receives the service simulation network data packet from the RF virtual interface to the MAC layer, it removes the broadcast encapsulation of the data packet and hands it over to the MAC layer for processing; when the wireless communication twin device receives service data from the network interface, it is directly processed by the MAC layer; Step S302: After the wireless communication twin device processes the service data from the network layer to the MAC layer, it encapsulates the service data that needs to be forwarded from the RF virtual interface into a service simulation network data packet based on the broadcast message characteristics, and transfers it out from the RF virtual interface; the service data that needs to be forwarded from the network interface is directly forwarded by the network interface.

[0020] The wireless communication environment simulation system is designed in hardware deployment mode and software deployment mode. In the hardware deployment mode, the RF virtual interface of the wireless communication twin device is bridged with different physical network cards of the computer, and all virtual interfaces of the wireless communication space environment emulator are bridged with different physical network cards of the computer, so that the RF virtual interface can be directly connected to the wireless communication space environment emulator through physical cables; in the software deployment mode, the RF virtual interface of the wireless communication twin device is bridged with the virtual interface of the wireless communication space environment emulator, so that the wireless communication twin device can be connected to the wireless communication space environment emulator.

[0021] The beneficial technical effects of the present invention are as follows: the present invention realizes the simulation of the wireless communication space environment through virtual switching and software simulation, and can simulate the data transmission of the wireless network in the computer network, including simulating the broadcast data transmission of the wireless subnet and the wireless subnet's self-organizing network multi-hop data transmission and other wireless communication networking modes; utilizing the convenience and economy of computer networks and software simulation in large-scale deployment, this patent can realize the rapid construction of large-scale complex wireless communication networks, and combined with the authenticity characteristics of this patent in network networking and data transmission, it can better play a role in the application of wireless communication network capability verification, practice review, digital twins and other scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings described herein are used to provide further understanding of the present invention and constitute a part of this application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0023] Attached Figure 1 , one A network relationship diagram of a wireless communication environment simulation method based on a virtual switch; Attached Figure 2 , one A step diagram of a simulator autonomously constructing a network relationship network in a wireless communication environment simulation method based on a virtual switch; Attached Figure 3 , one A one-to-many management architecture diagram of a wireless communication space environment control service based on a wireless communication environment simulation method of a virtual switch; Attached Figure 4 , one A wireless communication space environment simulator and a control service interaction relationship diagram of a wireless communication environment simulation method based on a virtual switch; Attached Figure 5 , one A step diagram of a wireless communication space environment control service control simulator for a wireless communication environment simulation method based on a virtual switch. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0025] See attached Figure 1 As shown, this embodiment provides a network relationship diagram of a wireless communication environment simulation method based on a virtual switch. The wireless communication twin device is operated using container technology. Each wireless communication twin device has a radio frequency virtual interface, and the radio frequency virtual interface is interconnected with the wireless communication space environment simulator using bridging technology. The wireless communication space environment simulator has multiple virtual interfaces and supports the access of multiple wireless communication twin devices. The wireless communication space environment control service manages the wireless communication space environment simulator through the network. In this way, functions such as free networking, data communication, and communication quality simulation between wireless communication twin devices can be realized. As in Solution 1, wireless communication twin device 1 and wireless communication twin device 2 can send data to each other, but wireless communication twin device N cannot communicate with 1 and 2; or in Solution 2, wireless communication twin device 1, wireless communication twin device 2 and wireless communication twin device N can communicate with each other.

[0026] After the wireless communication twin device receives the service simulation network data packet from the RF virtual interface to the MAC layer, it removes the broadcast encapsulation of the data packet and hands it over to the MAC layer for processing; when the wireless communication twin device receives service data from the network interface, it is directly processed by the MAC layer; After the wireless communication twin device processes the service data from the network layer to the MAC layer, it will encapsulate the service data that needs to be forwarded from the RF virtual interface into a service simulation network data packet based on the broadcast message characteristics and transfer it out from the RF virtual interface; the service data that needs to be forwarded from the network interface will be forwarded directly by the network interface.

[0027] See attached Figure 2 As shown, this embodiment provides a step diagram of a simulator autonomously constructing a network relationship network based on a wireless communication environment simulation method of a virtual switch, and the steps are as follows: Step S101, the wireless communication twin device periodically sends a simulated wireless characteristic HELLO message through the RF virtual interface; the wireless communication twin device will operate normally if the parameters are correct, and the parameters include modulation mode, network number, table number, frequency, location, direction information, time slot allocation mode, transmission signal-to-noise ratio, power, installation height, gain and other wireless characteristic information and the meteorological environment, geographical environment, and electromagnetic environment information of the simulator; Step S102, the wireless communication space environment simulator receives simulated wireless characteristic HELLO messages of multiple wireless communication twin devices, and calculates and generates a communication relationship according to the modulation mode, network number, table number, frequency, position, and direction information in the HELLO messages of multiple devices; the communication relationship refers to the combination of the connected wireless communication twin devices in one network, such as network combination A is the wireless communication twin device W1 and the twin device W2 in a wireless network, and network combination B is the wireless communication twin devices W3, W4, and W5 in a wireless network together; according to the modulation mode and time slot allocation method of the HELLO messages of multiple devices The communication capacity within the wireless subnet is calculated based on the information such as the mode, frequency, transmission signal-to-noise ratio, power, installation height, location, gain and the meteorological environment, geographical environment, electromagnetic environment and the like of the simulator. For example, the communication capacity of the network combination A mentioned above is: the communication quality from W1 to W2, the quality includes bit error rate, data transmission packet loss rate, data transmission delay, data transmission bandwidth, etc., and the communication quality from W2 to W1; for example, the communication capacity of the network combination B mentioned above is: the communication quality from W3 to W4, the communication quality from W4 to W3, the communication quality from W3 to W5, the communication quality from W5 to W3, the communication quality from W5 to W4, and the communication quality from W4 to W5; Step S103, the wireless communication space environment simulator will send the communication quality of other devices in the same subnet as the connected wireless communication twin device; as in the example of step S102 above, the communication quality sent to W3 is: the communication quality from W3 to W4, the communication quality from W4 to W3, the communication quality from W3 to W5, and the communication quality from W5 to W3.

[0028] Step S104, after the wireless communication space environment simulator calculates and generates the communication relationship and communication capability between the twin devices in real time, it determines whether the communication data forwarding table relationship is the same as that of the existing simulator. If different, the data forwarding table is updated. The simulator will update the data exchange forwarding table according to the new communication relationship and communication capability; it determines whether the communication capability data is the same as that of the existing simulator. If different, the control strategy of the flow control module of the wireless communication space environment simulator is updated; Step S105: The simulator performs actual interface configuration according to each group of data in the data exchange forwarding table, configures the interface information in each group of data corresponding to the exchange interface into a forwarding broadcast, and the interfaces in each group of data are fully interoperable through the simulator information broadcast transmission mechanism. Figure 1 For example, if wireless communication twin device 1 and wireless communication twin device 2 are in a network, the wireless communication space environment simulator constructs E2 and E3 in a forwarding network, and E2 and E3 will directly forward the data received from the wireless communication twin device side to another interface, and forward the data received from another interface directly to the wireless communication twin device; See attached Figure 3 As shown, this embodiment provides a one-to-many management architecture diagram of a wireless communication space environment control service of a wireless communication environment simulation method based on a virtual switch. The wireless communication space environment control service is composed of a scene model, a wireless communication model, a control computing service, and a geographic service; the wireless communication space environment control service can manage multiple wireless communication space environment simulators at the same time through a network interface.

[0029] See attached Figure 4As shown, this embodiment provides an interaction relationship diagram of a wireless communication space environment simulator and a control service of a wireless communication environment simulation method based on a virtual switch. The wireless communication space environment simulator is composed of device interaction, data forwarding, and flow control modules, wherein the device interaction module is responsible for information interaction with the wireless communication twin device, including receiving the simulated wireless characteristic HELLO message of the wireless communication twin device and sending the communication capability within the wireless subnet to the wireless communication twin device; the data forwarding module implements the forwarding of business simulation network data packets encapsulated by the wireless communication twin device based on the Open vSwitch technology, and receives the remote communication relationship issuance command of the wireless communication space environment control service; the flow control module controls the forwarding bandwidth, delay, jitter, and packet loss of the business simulation data, and receives the remote communication capability issuance command of the wireless communication space environment control service.

[0030] See attached Figure 5 As shown, this embodiment provides a step diagram of a wireless communication space environment control service control simulator of a wireless communication environment simulation method based on a virtual switch.

[0031] Step S201: The wireless communication space environment control service sends remote control information to the wireless communication space environment simulator. The remote management function of the wireless communication space environment control service mainly improves the space simulation capability and calculation accuracy of the wireless communication space simulator by using the high-performance processing capability of the external computer platform. Step S202, the wireless communication space environment simulator clears the communication relationship and communication capability, as well as the data forwarding table and flow control strategy information calculated autonomously by the simulator; Step S203, after the wireless communication space environment control service issues the remote control, it will maintain a heartbeat handshake with the simulator, the handshake is to send data messages to each other at a regular interval to maintain the handshake of online status judgment; the simulator dynamically reports the access device information to the wireless communication space environment control service, and this function is also mainly implemented by the device interaction module of the simulator; S204, the environment control service forms the communication relationship and communication capability between the twin devices according to the access device information and the basic wireless communication channel calculation model provided by the wireless communication model; the calculation model of this step is basically consistent with the autonomous calculation model of the simulator, but its data accuracy is higher and the computing power is stronger; S205, the environment control service sends the communication relationship to the simulator data forwarding module, and sends the communication capability to the environment simulator flow control module. The simulator adopts a microservice architecture, and the module has an external interface capability and can directly support external control. The microservice design can improve the reliability and scalability of the simulator; S206. The data forwarding module of the simulator forwards data according to the communication relationship issued by the environment control service, and the flow control module controls the bandwidth, delay, jitter, and packet loss of data forwarding according to the flow control information issued by the control service.

Claims

1. A wireless communication environment simulation method based on a virtual switch, characterized in that: A wireless communication environment simulation system includes three parts: a wireless communication twin device, a wireless communication space environment simulator, and a wireless communication space environment control service; The wireless communication twin device realizes the wireless communication twin device through container technology, simulates the communication routing and transmission functions of the actual wireless communication device, and virtualizes the RF virtual interface through the computer virtual network card technology. The RF virtual interface replaces the RF interface of the actual wireless communication device; the RF virtual interface of the wireless communication twin device is interconnected with the interface of the wireless communication space environment simulator to simulate the signal transmission of the real RF interface in the natural space environment; the wireless communication twin device will receive the business data that needs to be transferred out from the RF virtual interface, and after processing from the network layer to the MAC layer, it will be encapsulated into a business simulation network data packet based on the broadcast message characteristics and transferred out by the RF virtual interface; The wireless communication space environment simulator includes a device interaction module, a data forwarding module, and a flow control module; the device interaction module is responsible for information interaction with the wireless communication twin device, including receiving the simulated wireless characteristic HELLO message of the wireless communication twin device and sending the communication capability within the wireless subnet to the wireless communication twin device; The data forwarding module implements the forwarding of service simulation network data packets encapsulated by wireless communication twin devices based on OpenvSwitch technology; The traffic control module will control the forwarding bandwidth, delay, jitter, and packet loss of the service simulation data; The wireless communication space environment control service includes scenario models, wireless communication transmission models, control computing services, and geographic services, and realizes the management of multiple wireless communication space environment simulators through network information interaction; the scenario model includes meteorological environment and electromagnetic environment; the wireless communication transmission model is a calculation model of the electromagnetic wave transmission channel model, and provides a variety of calculation models to the control computing service; the control computing service is a control processing service for calculating and generating communication capabilities and communication management, receiving wireless device information reported by each wireless communication space environment simulator, and issuing communication relationships and communication capabilities to the wireless communication space environment simulator; the geographic service includes basic geographic information, elevation information, landform information, land object information, and geological information, and provides geographic data to the control computing service.

2. A wireless communication environment simulation method based on a virtual switch according to claim 1, characterized in that: The steps for autonomous networking of the wireless communication space environment simulator are as follows: Step S101, the wireless communication twin device periodically sends a simulated wireless characteristic HELLO message through the radio frequency virtual interface; Step S102, the wireless communication space environment simulator receives simulated wireless characteristic HELLO messages of multiple wireless communication twin devices, calculates and generates communication relationships according to the wireless characteristics in the HELLO messages of multiple devices, and calculates the communication capacity within the wireless subnet according to the wireless characteristics of the HELLO messages of multiple devices and the meteorological environment, geographical environment, electromagnetic environment and other information of the simulator; Step S103, the wireless communication space environment simulator sends the communication quality of other devices in the same subnet as the connected wireless communication twin device; Step S104, after the wireless communication space environment simulator calculates and generates the communication relationship and communication capability between the twin devices in real time, it determines whether the communication data forwarding table relationship is the same as that of the existing simulator. If different, the data forwarding table is updated. The simulator will update the data exchange forwarding table according to the new communication relationship and communication capability; it determines whether the communication capability data is the same as that of the existing simulator. If different, the control strategy of the flow control module of the wireless communication space environment simulator is updated; Step S105, the simulator performs actual interface configuration according to each group of data in the data exchange forwarding table, configures the interface information in each group of data corresponding to the exchange interface into a forwarding broadcast network, and the interfaces in each group of data are fully interoperable through the simulator information broadcast transmission mechanism.

3. A wireless communication environment simulation method based on a virtual switch according to claim 1, characterized in that: When the wireless communication space environment control service controls the wireless communication space environment simulator to remotely generate communication relationships and communication capabilities, when the heartbeat handshake failures between the wireless communication space environment control service and the wireless communication space environment simulator exceed the preset number of times, the wireless communication space environment simulator will calculate the communication relationship and communication capability of the access device by itself. The wireless communication space environment control service controls the wireless communication space environment simulator to form a network as follows: Step S201, the wireless communication space environment control service sends remote forwarding control information to the wireless communication space environment simulator; Step S202, the wireless communication space environment simulator clears the loaded communication relationship and communication capability information, communication data forwarding table, and flow control strategy; Step S203: The wireless communication space environment simulator and the wireless communication space environment control service perform a heartbeat handshake, and the wireless communication space environment simulator dynamically reports access device information to the wireless communication space environment control service; Step S204: The wireless communication space environment control service performs comprehensive superposition calculation based on the basic wireless communication channel calculation model provided by the access device information and the wireless communication model, combined with the meteorological environment and electromagnetic environment provided by the scenario model, and the geographic information provided by the geographic service to form the communication relationship and communication capability between the twin devices. Step S205, the wireless communication space environment control service sends the communication relationship to the wireless communication space environment simulator data forwarding module, and sends the communication capability to the wireless communication space environment simulator flow control module; Step S206: The data forwarding module of the wireless communication space environment simulator forwards data according to the communication relationship issued by the wireless communication space environment control service. The flow control module of the wireless communication space environment simulator limits the data forwarding bandwidth, delay, jitter, and packet loss according to the information issued by the wireless communication space environment control service.

4. The method for simulating a wireless communication environment based on a virtual switch according to claim 1, characterized in that: When performing network path optimization and network route calculation and generation, the wireless communication twin device will use the communication quality in each direction of the communication capability within the wireless subnet sent by the wireless communication space environment simulator; the wireless communication twin device will control the bandwidth, delay, jitter, and packet loss of the service simulation network data packets sent to the corresponding direction according to the communication quality in each direction. The delay is calculated based on the theoretical processing and forwarding delay of the actual simulated device minus the processing and forwarding delay of the communication twin device. Bandwidth, jitter, and packet loss are theoretically calculated device capability parameters.

5. The method for simulating a wireless communication environment based on a virtual switch according to claim 1, characterized in that: The wireless communication twin device has a radio frequency virtual interface that simulates the air interface and a network interface that can be directly interconnected with other terminals or network devices. The steps for processing service data of the wireless communication twin device are as follows: Step S301: After the wireless communication twin device receives the service simulation network data packet from the RF virtual interface to the MAC layer, it removes the broadcast encapsulation of the data packet and hands it over to the MAC layer for processing; when the wireless communication twin device receives service data from the network interface, it is directly processed by the MAC layer; Step S302: After the wireless communication twin device processes the service data from the network layer to the MAC layer, it encapsulates the service data that needs to be forwarded from the RF virtual interface into a service simulation network data packet based on the broadcast message characteristics, and transfers it out from the RF virtual interface; the service data that needs to be forwarded from the network interface is directly forwarded by the network interface.

6. The method for simulating a wireless communication environment based on a virtual switch according to claim 1, characterized in that: A wireless communication environment simulation system is designed with hardware deployment mode and software deployment mode. In the hardware deployment mode, the radio frequency virtual interface of the wireless communication twin device is network bridged with different physical network cards of the computer, and all virtual interfaces of the wireless communication space environment emulator are network bridged with different physical network cards of the computer, so that the radio frequency virtual interface is directly connected to the wireless communication space environment emulator through a physical cable. In the software deployment mode, the radio frequency virtual interface of the wireless communication twin device is network bridged with the virtual interface of the wireless communication space environment emulator, so that the wireless communication twin device is connected to the wireless communication space environment emulator.