Virtual node construction and simulation method in semi-physical simulation platform
By designing virtual nodes in the wireless communication network simulation platform and combining it with container servers and software radio baseband boards, we have achieved refined simulation of the link layer and physical layer, solving the problem of insufficient simulation accuracy in existing technologies and improving the accuracy and scalability of the simulation platform.
Patent Information
- Application Number
- CN202510666139.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-22
- Publication Date
- 2025-10-10
AI Technical Summary
In existing wireless communication network simulation environments, the construction method of virtual nodes fails to effectively simulate the behaviors of the link layer and physical layer, resulting in insufficient simulation accuracy.
Design virtual nodes, including container servers and software radio baseband boards, and implement full protocol stack simulation by exchanging waveform protocol layer data, combining the container server to deploy network layer components and the software radio baseband board to deploy link layer and physical layer components.
The accuracy and scalability of the simulation platform have been improved, and it is possible to build a large-scale test network and realize refined simulation of physical nodes.
Smart Images

Figure CN120769293A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer simulation, and in particular to a virtual node construction and simulation method in a semi-physical simulation platform. Background Art
[0002] With the continuous development of wireless communication technology, the application of wireless communication tools has reached a new stage, and wireless communication networks are also developing towards complexity and large-scale development. To study wireless communication networks, semi-physical simulation is often used. However, due to the complexity and diversity of radio propagation environments, simulation accuracy is often difficult to guarantee.
[0003] Virtual nodes are an important part of the semi-physical simulation platform of wireless communication networks. Virtual nodes are the mapping of wireless network nodes in the simulation environment. They are used to simulate the real behavior of network nodes and then perform relevant simulations on the network environment. Therefore, the construction method of virtual nodes is crucial.
[0004] Currently, most virtual nodes in simulation environments are constructed using simulations above the network layer. This method loses simulation data at the link layer, resulting in a decrease in accuracy. Summary of the Invention
[0005] In view of this, the present invention provides a method for constructing and simulating virtual nodes in a semi-physical simulation platform. By constructing virtual nodes, the virtual nodes in the simulation platform can simulate physical nodes, effectively building a refined simulation test environment.
[0006] To achieve the above object, the technical solution of the present invention is: designing virtual nodes, each of which includes a container server and a software radio baseband board.
[0007] The container server is connected to the software radio baseband board through the network port to exchange data between waveform protocol layers.
[0008] The container server is used to deploy containers, and the containers are used to deploy some waveform components of the network layer. A single container server can deploy multiple containers.
[0009] The software radio baseband processing board includes a waveform component and an analog transmission end; a single software radio baseband processing board integrates and deploys multiple groups of waveform components and multiple groups of analog transmission ends.
[0010] The simulated transmission end is responsible for intercommunication with the waveform MAC layer and simulating the transmission of MAC frames. The simulated transmission end includes a middleware interface and a transmission simulation module. The middleware interface is responsible for intercommunication with the waveform MAC layer, transmitting channel state information to the MAC layer, and receiving MAC frames and transmission parameters. The transmission simulation module is responsible for simulating the transmission of waveform MAC frames, calculating the received SNR and mapping the SNR to FER based on the MCS, and deciding whether to forward the MAC frame to the receiving virtual node or discard it.
[0011] Furthermore, the deployment steps of the container server are as follows:
[0012] 1) Build and configure the Docker environment to run virtual node network layer data.
[0013] 2) Configure the waveform network layer component in the Docker environment to process virtual node network layer data.
[0014] 3) Build and configure the Kubernetes environment for automatic deployment, scaling, and management of Docker containers.
[0015] Furthermore, the container is used to deploy some waveform components of the network layer, where the simulation time of the waveform components deployed in the container exceeds the time threshold of the actual system by more than milliseconds. The waveform components deployed in the container include the routing protocol of the network layer and the transport layer protocol content in the OSI five-layer protocol.
[0016] Furthermore, the waveform components deployed on the software radio baseband processing board have real-time accuracy reaching millisecond to nanosecond levels.
[0017] The waveform components deployed on the software radio baseband processing board include the physical layer protocol and link layer protocol content in the OSI five-layer protocol.
[0018] Another embodiment of the present invention further provides a virtual node simulation method in a hardware-in-the-loop simulation platform, wherein the simulation steps are as follows:
[0019] 1) Construct a virtual node according to the virtual node construction method according to claim 1 or 2.
[0020] 2) Load the waveform file into the virtual node and divide the virtual node into the sending end and the receiving end.
[0021] 3) The sending end processes the waveform network layer data in the docker environment and transmits the processed network layer data to the software radio baseband processing board of the sending end.
[0022] 4) The waveform component in the software radio baseband processing board at the transmitter processes the received data and transmits the processed MAC frame and waveform parameters to the analog transmission end of the transmitter.
[0023] 5) The simulated transmission end at the sending end processes the received data and transmits the processed MAC frame data to the virtual node at the receiving end.
[0024] 6) The analog transmission end at the receiving end receives the MAC frame data and transmits the data to the software radio baseband processing board at the receiving end.
[0025] 7) The waveform component in the software radio baseband processing board at the receiving end processes the waveform and transmits the data to the docker environment at the receiving end.
[0026] 8) The receiving end processes the waveform network layer data in the Docker environment.
[0027] 9) After completing one communication process, repeat steps 3)-8) until the communication process is completed.
[0028] Furthermore, the waveform file includes transport layer, network layer, link layer and physical layer protocol files in the OSI five-layer protocol.
[0029] Beneficial effects:
[0030] 1. The present invention proposes a method for constructing virtual nodes in a semi-physical simulation platform. Through the accurate simulation of physical nodes by virtual nodes, the system can have good scalability and can build a large-scale test network.
[0031] 2. The present invention provides a virtual node simulation method in a semi-physical simulation platform. By constructing virtual nodes, the virtual nodes in the simulation platform can simulate physical nodes, effectively building a refined simulation test environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 This is a flow chart of a method for constructing a virtual node in a hardware-in-the-loop simulation platform of the present invention;
[0033] Figure 2 Specific deployment flow chart for container servers;
[0034] Figure 3 Build a flow chart for the environment;
[0035] Figure 4 A schematic diagram of data flow in the environment;
[0036] Figure 5 This is the system simulation flow chart. DETAILED DESCRIPTION
[0037] The present invention is described in detail below with reference to the accompanying drawings and embodiments.
[0038] like Figure 1As shown, a method for constructing virtual nodes in a semi-physical simulation platform is described. The method constructs a semi-physical simulation platform, the main content of which is to construct simulated virtual nodes. The platform can also connect virtual nodes with physical nodes (real communication terminals).
[0039] First, virtual nodes are designed. Each virtual node includes a container server and a software radio baseband board.
[0040] The container server is connected to the software radio baseband board through the network port to exchange waveform protocol layer data;
[0041] The container server is used to deploy containers, which are used to deploy some waveform components of the network layer. A single container server can deploy multiple containers.
[0042] The container server is used to deploy containers. The container is a lightweight virtualization technology. Each container can independently run the communication waveform protocol and is mainly used to deploy some waveform components with low real-time requirements such as the network layer. In the embodiment of the present invention, low real-time performance means that the simulation time of the waveform component exceeds the time threshold of the actual system by more than milliseconds. For example, the waveform components deployed in the container include the routing protocol of the network layer and the transport layer protocol in the OSI five-layer protocol. This part of the components can be disconnected from the waveform components with high real-time requirements such as the link layer and the physical layer in the OSI five-layer protocol deployed on the software radio baseband processing board. When it is not interconnected with physical communication equipment, the simulation of the network layer and the transport layer can be completed without strict synchronization with the real-world time, and sub-real-time simulation and super real-time simulation can be achieved. Depending on the scale of the simulation, the simulation time is not synchronized with the real-world time. When the number of nodes is small, the simulation computing power is strong, and super real-time simulation can be achieved at this time, that is, the system simulation time process is faster than the actual system time. When the number of nodes is large, sub-real-time simulation is achieved, that is, the system simulation time process is slower than the actual system time. When interconnected with physical communication equipment, real-time simulation can be achieved, and the simulation time is strictly synchronized with the physical system time, and the real-time accuracy reaches millisecond to nanosecond level.
[0043] A single server can flexibly deploy multiple containers. The specific deployment process of the container server is as follows: Figure 2 The steps are as follows:
[0044] 1) Build and configure the Docker environment, which is mainly used to run virtual node network layer data.
[0045] 2) Configure the waveform network layer component in the Docker environment, which is mainly used to process virtual node network layer data (IP data packets). The processing process includes routing signaling sending and receiving processing, path search and calculation, and IP data forwarding.
[0046] 3) Build and configure the Kubernetes cluster environment, mainly used to manage the Docker cluster, including deploying Docker containers, viewing, creating and deleting containers, configuring networks, monitoring containers and analyzing logs.
[0047] In an embodiment of the present invention, a software radio baseband processing board includes a waveform component and an analog transmission end; a single software radio baseband processing board integrates and deploys multiple sets of waveform components and multiple sets of analog transmission ends;
[0048] The simulated transmission end is responsible for intercommunication with the waveform MAC layer and simulating the transmission of MAC frames. The simulated transmission end includes a middleware interface and a transmission simulation module. The middleware interface is responsible for intercommunication with the waveform MAC layer, transmitting channel state information to the MAC layer, and receiving MAC frames and transmission parameters. The transmission simulation module is responsible for simulating the transmission of waveform MAC frames, calculating the received SNR and mapping the SNR to FER based on the MCS, and deciding whether to forward the MAC frame to the receiving virtual node or discard it.
[0049] The software radio baseband processing board deploys waveform MAC and other waveform components with high real-time requirements. In the embodiment of the present invention, high real-time requirements refer to real-time accuracy reaching milliseconds to nanoseconds. Specifically, they include the physical layer protocol and link layer protocol in the OSI five-layer protocol. These components can be combined with the container-based network layer waveform components. When interconnected with physical communication equipment, real-time simulation is completed. The simulation time is strictly synchronized with real-world time, and the simulation real-time time accuracy reaches milliseconds to nanoseconds. A single software radio baseband processing board can integrate and deploy multiple groups of waveform components; the simulation transmission end is distributedly deployed in the software baseband hardware, responsible for intercommunication with the waveform MAC layer and MAC frame simulation transmission; the container server connects to the software radio baseband board through the network port to exchange data between waveform protocol layers.
[0050] The container server and the network layer and protocol layer it contains, as well as the software radio baseband board and the link layer and physical layer it contains, are combined to form a simulated virtual node of the full protocol stack. This is a new method for constructing virtual nodes.
[0051] The simulated transmission end includes a middleware interface and a transmission simulation module, which transmit information to the MAC layer and simulate MAC frame packet loss during over-the-air transmission. The middleware interface communicates with the waveform MAC layer, transmits channel state information to the MAC layer, and receives MAC frames and transmission parameters. The transmission simulation module simulates the transmission of waveform MAC frames, calculates the received signal-to-noise ratio (SNR), maps the SNR to a forwarding error rate (FER) based on the MCS, and decides whether to forward the MAC frame to the receiving virtual node or discard it.
[0052] The entire environment is built like Figure 3 The steps are as follows:
[0053] 1) Deploy the container server environment
[0054] 2) Deploy the software radio baseband processing board environment and deploy the analog transmission end
[0055] 3) Connect the container server to the software radio baseband processing board through the network port
[0056] Another embodiment of the present invention also provides a simulation method corresponding to the semi-physical simulation platform constructed by the above virtual node construction method, which is embodied as a data flow between the sending end and the receiving end. Figure 4 The simulation steps are as follows. Figure 5 As shown below:
[0057] 1) Follow the above steps to build the environment
[0058] 2) Loading the waveform file into the virtual node, wherein the waveform file includes the transport layer, network layer, link layer and physical layer protocol files in the OSI five-layer protocol.
[0059] 3) Transmitter: Processes waveform network layer data in the docker environment and transmits the processed network layer data to the software radio baseband processing board
[0060] 4) Transmitter: The waveform component in the software radio baseband processing board processes the received data and transmits the processed MAC frame and waveform parameters to the analog transmission end
[0061] 5) Transmitter: simulates the transmission end to process the received data and transmits the processed MAC frame data to the virtual node of the receiving end
[0062] 6) Receiving end: simulates the transmitting end to receive MAC frame data and transmits the data to the software radio baseband processing board
[0063] 7) Receiver: The waveform component in the software radio baseband processing board processes the waveform and transmits the data to the docker
[0064] 8) Receiver: Processing waveform network layer data in a Docker environment
[0065] 9) Complete one communication process and repeat steps 3)-8)
[0066] The current communication network simulation environment lacks the construction precision of virtual nodes, mostly only constructs the simulation above the network layer and the link layer, and uses the behavior level simulation method for the link layer or the physical layer, only simulates the statistical characteristics, this way loses the simulation data below the link layer, thereby causes the accuracy to drop.The method of the present application transplants the protocols of the link layer and the physical layer to the processing board through the software radio baseband processing board which is the same as the hardware environment of the real communication node, combines with the protocols above the network layer, completes the full protocol stack simulation of the virtual node, greatly improves the accuracy of the communication simulation.
[0067] To sum up, the above is only the preferred embodiment of the present application, and is not used to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for constructing virtual nodes in a hardware-in-the-loop simulation platform, characterized in that: Design virtual nodes, each of which includes a container server and a software radio baseband board; The container server is connected to the software radio baseband board through the network port to exchange waveform protocol layer data; The container server is used to deploy containers, and the containers are used to deploy some waveform components of the network layer. A single container server is used to deploy multiple containers. The software radio baseband processing board includes a waveform component and an analog transmission terminal; A single software radio baseband processing board integrates and deploys multiple sets of waveform components and multiple sets of analog transmission ends; The analog transmission end is responsible for intercommunication with the waveform MAC layer and analog transmission of MAC frames; The simulated transmission end includes a middleware interface and a transmission simulation module; The middleware interface is responsible for communicating with the waveform MAC layer, transmitting channel state information to the MAC layer, and receiving MAC frames and transmission parameters; the transmission simulation module is responsible for simulating the transmission of waveform MAC frames, calculating the received SNR, and mapping the SNR to FER based on the MCS, and deciding whether to forward the MAC frame to the receiving virtual node or discard it.
2. The method for constructing virtual nodes in a hardware-in-the-loop simulation platform according to claim 1, characterized in that: The deployment steps of the container server are specifically as follows: 1) Build and configure the Docker environment to run virtual node network layer data; 2) Configure the waveform network layer component in the Docker environment to process virtual node network layer data; 3) Build and configure the Kubernetes environment for automatic deployment, scaling, and management of Docker containers.
3. The method for constructing virtual nodes in a hardware-in-the-loop simulation platform according to claim 1, wherein: The container is used to deploy some waveform components of the network layer, wherein the simulation time of the waveform components deployed in the container exceeds the time threshold of the actual system by more than milliseconds. The waveform components deployed in the container include the routing protocol of the network layer and the transport layer protocol content in the OSI five-layer protocol.
4. The method for constructing virtual nodes in a hardware-in-the-loop simulation platform according to claim 1, wherein: The waveform components deployed on the software radio baseband processing board have real-time accuracy reaching millisecond to nanosecond levels; The waveform components deployed on the software radio baseband processing board include the physical layer protocol and link layer protocol content in the OSI five-layer protocol.
5. A virtual node simulation method in a semi-physical simulation platform, characterized in that: The simulation steps are as follows: 1) constructing a virtual node according to the virtual node construction method according to claim 1 or 2; 2) Load the waveform file into the virtual node and divide the virtual node into the sending end and the receiving end; 3) The sending end processes the waveform network layer data in the Docker environment and transmits the processed network layer data to the software radio baseband processing board of the sending end; 4) The waveform component in the software radio baseband processing board at the transmitter processes the received data and transmits the processed MAC frame and waveform parameters to the analog transmission end of the transmitter. 5) The simulated transmission end at the sending end processes the received data and transmits the processed MAC frame data to the virtual node at the receiving end; 6) The analog transmission end of the receiving end receives the MAC frame data and transmits the data to the software radio baseband processing board of the receiving end; 7) The waveform component in the software radio baseband processing board at the receiving end processes the waveform and transmits the data to the docker environment at the receiving end; 8) The receiving end processes the waveform network layer data in the Docker environment; 9) After completing one communication process, repeat steps 3)-8) until the communication process is completed.
6. The method for simulating virtual nodes in a hardware-in-the-loop simulation platform according to claim 5, characterized in that: The waveform file includes the transport layer, network layer, link layer and physical layer protocol files in the OSI five-layer protocol.