Whole-process network simulation method for communication simulator

Through the combination of communication simulator and the virtual and real grid simulation system, the problem of inaccurate feedback on wireless channel link quality in the prior art is solved, and the effectiveness of wireless communication channel electromagnetic calculation and networking protocol in different environments is realized. Improve the accuracy of simulation results and real-time feedback of business data.

CN118890118AActive Publication Date: 2024-11-01ARMY ENG UNIV OF PLA
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410934999.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-11-01
Estimated Expiration
2044-07-12

AI Technical Summary

Technical Problem

The existing simulation system for communication simulators cannot truly feedback the quality of wireless channel links, and cannot simulate the wireless communication networking performance of communication equipment. The service data and transmission delay and bit error rate are transmitted independently from the real communication network. The transmission process does not match.

Method used

Through the combination of the communication simulator and the virtual and real grid simulation system, service data is transmitted to the communication device model of the grid simulation system through the virtual and real interface, and through the application layer, transmission layer, network layer, data link layer, The physical layer transmission is provided, and the basic support for radio communication is provided through electromagnetic environment simulation and grid-electric environment planning, ensuring the accuracy of the electromagnetic calculation of wireless communication channel of communication equipment model and the effectiveness of network communication protocol under different terrain and topographic environments.

Benefits of technology

Significantly improve the accuracy of simulation results, ensure the electromagnetic calculation accuracy of wireless communication channels of communication equipment model in different environments and the effectiveness of network communication protocols, and realize real-time input and feedback of service data, configuration data, interference data, etc. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118890118A_ABST
    Figure CN118890118A_ABST
Patent Text Reader

Abstract

The invention discloses a communication simulator-oriented whole-process network simulation method. The method comprises the following steps of: converting a first voice signal into an input service data packet through first voice equipment and a first communication simulator; an interference signal is sent through the jammer simulator, and the communication process of the first communication simulator and the grid power simulation system is interfered in real time; an input service data packet is received through a network power simulation system, an output service data packet and performance data are obtained based on a first communication equipment model, a second communication equipment model, an interference model and the input service data packet set by the network power simulation system, and the output service data packet and the performance data are received through a second communication simulator. The output service data packet is converted into a second digital signal, and the interference signal interferes the communication process between the second communication simulator and the grid power simulation system in real time; and converting the second digital signal into a to-be-played second voice signal through the second voice device, playing the second voice signal and displaying the performance data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to the field of simulation technology, and more specifically, to a full-process network simulation method for a communication simulator. Background Art

[0002] With the rapid development of communication technology and the increasing demand for people's quality of life, communication methods based on wireless transmission are becoming increasingly important. Wireless communication transmission is a way of transmitting data or information through radio waves or other wireless communication technologies. Compared with wired transmission, wireless transmission has the advantages of flexibility and is not restricted by geographical and environmental conditions. For example, you can keep in touch with your friends and family anytime and anywhere through a smartphone. In the medical field, remote diagnosis and monitoring can assist doctors in providing timely treatment to patients. In the fields of industrial automation, intelligent transportation and smart grid, wireless communication technology plays an important role. Summary of the invention

[0003] Some embodiments of the present disclosure provide a full-process network simulation method for a communication simulator, the full-process network simulation method comprising:

[0004] Receiving a first voice signal through a first voice device, and converting the first voice signal into a first digital signal;

[0005] Converting the first digital signal into a service data packet through a first communication simulator;

[0006] Sending a jammer signal through a jammer simulator, wherein the jammer signal interferes with the communication process between the first communication simulator and the network power simulation system in real time;

[0007] An input service data packet is received through a network electrical simulation system, and an output service data packet and performance data are obtained based on a first communication device model, a second communication device model, an interference model and the input service data packet set by the network electrical simulation system, wherein the network electrical simulation system is connected to the first communication simulator and the second communication simulator through a first virtual-real interface and a second virtual-real interface respectively, and the network electrical simulation system is also connected to the jammer simulator through a third virtual-real interface, wherein the first communication device model corresponds to the first communication simulator, the second communication device model corresponds to the second communication simulator, and the interference model corresponds to the jammer simulator;

[0008] Receiving output service data packets and performance data through a second communication simulator, and converting the output service data packets into a second digital signal, wherein the interference signal interferes with the communication process between the second communication simulator and the network power simulation system in real time; and

[0009] The second digital signal is converted into a second voice signal to be played through a second voice device, the second voice signal is played and the performance data is displayed.

[0010] In some embodiments, the first communication simulator sends a first configuration data packet to the network power simulation system through the first virtual-real interface;

[0011] The second communication simulator sends a second configuration data packet to the network power simulation system through the second virtual-real interface;

[0012] The jammer simulator sends a third configuration data packet to the network electrical simulation system through the third virtual-real interface; and

[0013] Wherein, the network electrical simulation system modifies the model parameters of the first communication device model, the second communication device model and the interference model based on the first configuration data packet, the second configuration data packet and the third configuration data packet respectively.

[0014] In some embodiments, the model parameters of the interference model include interference interval time, interference duration, interference start time, interference end time, interference frequency, interference power and interference bandwidth. In response to receiving an interference instruction, the jammer simulator simulates sending interference electromagnetic waves to interfere with the first communication simulator and / or the second communication simulator within the radiation range in the same frequency band.

[0015] In some embodiments, the first communication device model includes a first application layer, a first transport layer, a first network layer, a first data link layer, and a first physical layer;

[0016] The second communication device model includes a second application layer, a second transport layer, a second network layer, a second data link layer and a second physical layer; and

[0017] The first physical layer and the second physical layer are connected via a virtual wireless channel.

[0018] In some embodiments, the first application layer receives the input service data packet through the first virtual-real interface, encapsulates the input service data packet into an application layer data packet, and sends the application layer data packet to the first transport layer;

[0019] The second application layer receives a transport layer data packet from the second transport layer, decapsulates the transport layer data packet into an application layer data packet, and sends the application layer data packet as the output service data packet to the second communication simulator through the second virtual-real interface; and

[0020] The first application layer and the second application layer record performance data, and the performance data includes throughput, packet loss rate and latency.

[0021] In some embodiments, the first transport layer receives an application layer data packet from the first application layer, encapsulates the application layer data packet into a transport layer data packet, and sends the transport layer data packet to the first network layer;

[0022] The second transport layer receives a network layer data packet from the second network layer, decapsulates the network layer data packet into a transport layer data packet, and sends the transport layer data packet to the second application layer; and

[0023] The first transport layer and the second transport layer can both support multiple applications simultaneously.

[0024] In some embodiments, the first network layer receives a transport layer data packet from the first transport layer, encapsulates the transport layer data packet into a network layer data packet based on a routing table, and sends the network layer data packet to the first data link layer;

[0025] The second network layer receives a link layer data packet from the second data link layer. If the current node is the destination node, the link layer data packet is decapsulated into a network layer data packet, and the network layer data packet is sent to the second transport layer. If the current node is not the destination node, the next hop node in the routing table is queried, and the received link layer data packet is forwarded based on the next hop node.

[0026] In some embodiments, the first data link layer receives a network layer data packet from the first network layer, obtains a MAC address of a next hop based on a mapping match between a MAC address and an IP address, encapsulates the network layer data packet into a link layer data packet, monitors a virtual wireless channel, and sends the link layer data packet to the first physical layer when the virtual wireless channel is idle;

[0027] The second data link layer receives a physical layer data packet from the second physical layer, and when it is determined that the physical layer data packet is not interference data or erroneous data, and when the current node is the destination node, decapsulates the physical layer data packet into a link layer data packet, and sends the link layer data packet to the second network layer.

[0028] In some embodiments, the first physical layer receives a link layer data packet from the first data link layer, encapsulates the link layer data packet into a physical layer data packet, and sends the physical layer data packet through the virtual wireless channel when detecting that the virtual wireless channel does not receive other data packets;

[0029] The second physical layer receives a physical layer data packet from the virtual wireless channel, decapsulates the physical layer data packet into a link layer data packet, and sends the link layer data packet to the second data link layer; and

[0030] Among them, the first physical layer determines the noise in the virtual wireless channel and calculates performance data, and the performance data includes transmit power, path loss, receive power and propagation delay. The second physical layer also determines the error bits in the physical layer data packet and calculates performance data, and the performance data includes the current frame signal-to-noise ratio and bit error rate.

[0031] According to the technical solution of the embodiment of the present disclosure, the communication simulator and the network power simulation system are combined in a virtual-real way, so that the service data of the communication simulator at one end is transmitted to the communication equipment model of the network power simulation system through the virtual-real interface, and then transmitted to the physical layer, data link layer, network layer, transport layer, application layer of the communication equipment model at the other end through the application layer, transport layer, network layer, data link layer, and physical layer of the communication equipment model, and the communication equipment model transmits the service data to the corresponding external communication simulator through the virtual-real interface. Within the network power simulation system, electromagnetic environment simulation, network power environment planning, and network environment simulation are also used to provide basic support for radio station communication, ensuring the accuracy of electromagnetic calculation of the wireless communication channel of the communication equipment model and the effectiveness of the networking communication protocol under different terrain environments. The communication simulator, the jammer simulator, and the network power simulation system are connected through a virtual-real interface, which can realize the real-time input of service data, configuration data, interference data, etc. into the network power simulation system. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The above and other features of the present disclosure will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which:

[0033] Figure 1 A schematic structural diagram of a full-process network simulation system for a communication simulator according to an embodiment of the present disclosure is shown;

[0034] Figure 2 Another structural diagram of the full-process network simulation system for a communication simulator according to an embodiment of the present disclosure is shown;

[0035] Figure 3 The embodiment of the present disclosure is shown based on Figure 1 A flowchart of a full-process network simulation method for a communication simulator implemented by a full-process network simulation system;

[0036] Figure 4 The embodiment of the present disclosure is shown based on Figure 2 The whole process simulation flow chart of the whole process network simulation system;

[0037] Figure 5 The parameter configuration process of the full-process network simulation system according to an embodiment of the present disclosure is shown;

[0038] Figure 6The business data format conversion process of the full-process network simulation system according to an embodiment of the present disclosure is shown;

[0039] Figure 7 The application layer interoperation process of the full-process network simulation system according to the embodiment of the present disclosure is shown;

[0040] Figure 8 The transport layer interoperation process of the full-process network simulation system according to an embodiment of the present disclosure is shown;

[0041] Fig. 9 The network layer interoperation process of the full-process network simulation system according to the embodiment of the present disclosure is shown;

[0042] Fig.10 The data link layer interoperation process of the full-process network simulation system according to the embodiment of the present disclosure is shown;

[0043] Fig.11 The physical layer interoperation process of the full-process network simulation system according to an embodiment of the present disclosure is shown;

[0044] Fig.12 A flow chart for obtaining performance data of a full-process network simulation system according to an embodiment of the present disclosure is shown.

[0045] In the drawings, the same or similar structures are marked with the same or similar reference numerals. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings. It should be noted that the following description is only for illustration and is not intended to limit the present disclosure. In the following description, in order to provide a thorough understanding of the present disclosure, a large number of specific details are set forth. However, it is obvious to a person of ordinary skill in the art that these specific details do not have to be adopted to implement the present disclosure. In other examples, in order to avoid confusing the present disclosure, known circuits, materials or methods are not specifically described.

[0047] Throughout the specification, references to "one embodiment," "an embodiment," "an example," or "an example" mean that a particular feature, structure, or characteristic described in conjunction with the embodiment or example is included in at least one embodiment of the present disclosure. Therefore, the phrases "in one embodiment," "in an embodiment," "an example," or "an example" appearing in various places throughout the specification do not necessarily all refer to the same embodiment or example. In addition, particular features, structures, or characteristics may be combined in one or more embodiments or examples in any suitable combination and / or sub-combination. In addition, it will be appreciated by those of ordinary skill in the art that the figures provided herein are for illustrative purposes and that the figures are not necessarily drawn to scale. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0048] First, the terms used in the present disclosure are described below.

[0049] Host: Computer.

[0050] Communication simulator: Also known as a communication simulator, it is a device that uses a computer to simulate wireless communications.

[0051] Jammer simulator: A drone simulator that can generate jamming signals, which can interfere with wireless communication frequencies and affect the quality of wireless communication links and communication effects.

[0052] Network communication: connecting isolated communication devices through the network and exchanging information between devices.

[0053] Power grid simulation system: can realize network simulation, electromagnetic environment simulation, power grid environment planning and other functions through the simulation model library.

[0054] Business data: Voice data of actual communication in the communication simulator.

[0055] Configuration data: various parameter data and status data that ensure the communication simulator and jammer simulator can work, such as frequency, bandwidth, modulation mode, location, etc.

[0056] Communication link data: information reflecting the quality of link communication, such as bit error rate, latency, packet loss rate, throughput, etc.

[0057] Transmission delay: The time required for business data to be transmitted from one communication simulator to another.

[0058] Bit error rate: The ratio of the erroneous bits of a data packet received at the receiving end to the total bits of the data packet.

[0059] Packet loss rate: the ratio of the number of data packets lost during transmission to the total number of data packets transmitted per unit time.

[0060] Signal-to-noise ratio: The ratio of the power of the output signal to the noise power output at the same time, often expressed in decibels. Generally speaking, the larger the signal-to-noise ratio, the smaller the noise mixed in the signal, and the higher the quality of the sound playback, otherwise the opposite is true.

[0061] The embodiments of the present disclosure provide a full-process network simulation system for a communication simulator. Figure 1 A schematic diagram of the structure of the whole process network simulation system according to an embodiment of the present disclosure is shown. Figure 1 As shown, the full-process network simulation system includes a first voice device, a second voice device, a first communication simulator, a second communication simulator, a jammer simulator and a network electrical simulation system.

[0062] In some embodiments, the first voice device is configured to receive a first voice signal and convert the first voice signal into a first digital signal. The first communication simulator is configured to receive a first digital signal and convert the first digital signal into an input service data packet. The second communication simulator is configured to receive an output service data packet and performance data, and convert the output service data packet into a second digital signal. The second voice device is configured to receive a second digital signal and performance data, convert the second digital signal into a second voice signal to be played, play the second voice signal and display performance data. The jammer simulator is configured to send an interference signal, which can interfere with the communication process between the first communication simulator and the second communication simulator and the network power simulation system in real time. The network power simulation system is connected to the first communication simulator and the second communication simulator through the first virtual-real interface and the second virtual-real interface respectively. The network power simulation system is provided with a first communication device model corresponding to the first communication simulator and a second communication device model corresponding to the second communication simulator. The network power simulation system is also connected to the jammer simulator through a third virtual-real interface, and the network power simulation system is provided with an interference model corresponding to the jammer simulator. In some embodiments, the network electrical simulation system is configured to receive an input service data packet from a first communication simulator, and obtain an output service data packet and performance data based on the first communication device model, the second communication device model, the interference model and the input service data packet.

[0063] Traditional communication simulators usually rely on wired networks for connection. The service data is unrelated to the quality of the wireless communication link. Generally, the corresponding random bit error rate is qualitatively superimposed on the output data to produce an intuitive feeling that the service data is affected by the link quality.

[0064] According to the embodiments of the present disclosure, the communication simulator, the jammer simulator and the network electrical simulation system are connected through a virtual-real interface, which can realize the real-time input of business data, configuration data, interference data, etc. into the network electrical simulation system. Compared with the simulation system based on wired network connection, the accuracy of the simulation results can be significantly improved.

[0065] Figure 2 Another structural diagram of the full-process network simulation system according to an embodiment of the present disclosure is shown. Figure 2 As shown, the full-process network simulation system includes voice equipment A, voice equipment B, communication simulator A, communication simulator B, interference simulator and network power simulation system.

[0066] In some embodiments, the voice device at one end receives the voice information of the trainee and converts it into a digital signal and transmits it to the communication simulator. The voice device at the other end converts the voice digital signal received from the communication simulator into a voice signal that the trainee can recognize. The communication simulator realizes the generation and reception of business data of the equipment, the configuration and reception of equipment parameters, and the display and reception of link quality data. The jammer simulator is used to set interference parameters, modes and levels. The network power simulation system is deployed on a computer and includes multiple models, among which the communication simulator model, the jammer model and the external communication simulator and the jammer simulator have a mapping relationship. The electromagnetic environment simulation, network power environment planning and network environment simulation provide basic support for communication between devices, ensuring the accuracy of electromagnetic calculation of the wireless communication channel of the communication simulator model and the effectiveness of the networking communication protocol under different terrain environments.

[0067] In the related technology, the existing simulation systems for communication simulators usually have the following shortcomings. First, they are not close to the real electromagnetic environment of the simulated communication equipment. The quality of the wireless channel link in the real environment cannot be truly fed back during the communication process of the communication simulator, and the wireless communication networking efficiency of the communication equipment cannot be simulated. Second, the service data and wireless communication link quality data such as transmission delay and bit error rate are transmitted independently during the communication process of the communication simulator, which is inconsistent with the transmission process of the real communication network.

[0068] According to the embodiments of the present disclosure, the communication simulator and the network and electrical simulation system are combined in a virtual-real way, so that the business data of the communication simulator at one end is transmitted to the communication equipment model of the network and electrical simulation system through the virtual-real interface, and then the business data is transmitted to the corresponding external communication simulator through the communication equipment model and the virtual-real interface. Inside the network and electrical simulation system, electromagnetic environment simulation, network and electrical environment planning, and network environment simulation are also used to provide basic support for radio station communication, ensuring the accuracy of electromagnetic calculation of the wireless communication channel of the communication equipment model and the effectiveness of the networking communication protocol under different terrain environments. The communication simulator, the jammer simulator, and the network and electrical simulation system are connected through a virtual-real interface, so that business data, configuration data, interference data, etc. can be input into the network and electrical simulation system in real time. At the same time, the physical layer link of the communication equipment model corresponding to the communication simulator is affected by the simulated electromagnetic environment of different interference levels, and the receiving end voice device can output the affected voice data in real time.

[0069] Figure 3 The embodiment of the present disclosure is shown based on Figure 1 The flowchart of the wireless communication simulation method implemented by the whole process network simulation system is shown in FIG. Figure 3 As shown, based on Figure 1 The wireless communication simulation method implemented by the whole process network simulation system includes the following steps:

[0070] S31. Receive a first voice signal through a first voice device, and convert the first voice signal into a first digital signal.

[0071] S32. Convert the first digital signal into an input service data packet through a first communication simulator.

[0072] S33, sending an interference signal through the jammer simulator, the interference signal interferes with the communication process between the first communication simulator and the network power simulation system in real time.

[0073] S34. Receive input business data packets through the network and electrical simulation system, and obtain output business data packets and performance data based on the first communication device model, the second communication device model, the interference model and the input business data packets set by the network and electrical simulation system, wherein the network and electrical simulation system is connected to the first communication simulator and the second communication simulator through the first virtual-real interface and the second virtual-real interface respectively, and the network and electrical simulation system is also connected to the jammer simulator through the third virtual-real interface, the first communication device model corresponds to the first communication simulator, the second communication device model corresponds to the second communication simulator, and the interference model corresponds to the jammer simulator.

[0074] S35. Receive the output service data packet and performance data through the second communication simulator, and convert the output service data packet into a second digital signal. The interference signal interferes with the communication process between the second communication simulator and the network power simulation system in real time.

[0075] S36. Convert the second digital signal into a second voice signal to be played through a second voice device, play the second voice signal and display performance data.

[0076] Examples of the above wireless communication simulation method can be further seen in Figure 4 . Figure 4 The embodiment of the present disclosure is shown based on Figure 2 The whole process simulation flow chart of the whole process network simulation system. Figure 4 ①-⑨ in it reflect the process sequence of the whole process simulation process.

[0077] like Figure 4As shown, the voice data of voice device A is connected to communication simulator A, injected into the network power simulation system in real time through the virtual-real interface, output to communication simulator B through the virtual-real interface, and then transmitted to voice device B. The whole process is affected by the interference data of the jammer simulator in real time. If the jammer simulator does not send out an interference signal, the voice device A can normally recognize the other party's voice when communicating with voice device B. If the jammer simulator sends out a weak interference signal, the voice device A can hear the other party's voice when communicating with voice device B, but it is not very clear, and it will not be heard clearly. If the jammer simulator sends out a strong interference signal, only noise can be heard when voice device A communicates with voice device B. When interference exists, the physical layer of the communication device model in the network power simulation system calculates link quality data such as bit error rate and delay according to the electromagnetic propagation model, thereby affecting the communication quality of the communication simulator in real time.

[0078] In some embodiments, the parameters of the communication simulator are configured before simulation, and the parameter configuration is mapped to the model of the network electrical simulation system. In some embodiments, the first communication simulator sends a first configuration data packet to the network electrical simulation system through a first virtual-real interface, the second communication simulator sends a second configuration data packet to the network electrical simulation system through a second virtual-real interface, and the jammer simulator sends a third configuration data packet to the network electrical simulation system through a third virtual-real interface, wherein the network electrical simulation system is further configured to modify the model parameters of the first communication device model, the second communication device model, and the interference model based on the first configuration data packet, the second configuration data packet, and the third configuration data packet, respectively.

[0079] In some embodiments, before communication, the communication simulator A sets the device parameters of the communication simulator locally to form a configuration data packet, and injects it into the network electrical simulation system through the virtual-real interface to modify the model parameters of the communication device model A, and achieves complete mapping between the communication simulator A and the communication device model A. Similarly, before communication, the communication simulator B and the jammer simulator also need to set the device parameters of the simulator locally to form a corresponding configuration data packet, and inject it into the network electrical simulation system through the virtual-real interface to modify the model parameters of the communication device model B and the model parameters of the jammer model, and achieve complete mapping with the communication device model B and the jammer model.

[0080] The mapping of parameter configuration data is realized by sending configuration data packets from the communication simulator to the network power simulation system. The received configuration data packets are parsed in the virtual-real interface module, and the modules whose parameters are to be modified in the network are found according to the different keywords in the data packets, and the corresponding parameters are modified. Figure 5 The parameter configuration process of the full-process network simulation system according to an embodiment of the present disclosure is shown.

[0081] like Figure 5As shown, in some embodiments, the elements in the iterator are stored in the form of "attribute: value", taken out one by one in pointer mode, and it is determined whether the attribute fields are "PlatID", "RadioID", "PhysicID" and "Pos" respectively. Among them, the value corresponding to the RadioID of the interfering device is different from that of the radio station. After finding the corresponding device, there are generally three operations: modifying the location information, modifying the parameter information of the radio station or the interfering device, and modifying the status information of the radio station or the interfering device. The modification of the position information is determined by the "Pos" field and implemented by the mobile module of the device. The parameter information of the device is determined by the message type "argsConfig" and implemented by the miniRadio module using the parse method. The status information message type of the device is determined by the "argsStatus" and implemented by the miniRadio module using the par method.

[0082] In some embodiments, after completing the settings of each simulator, the voice device A receives the trainee's voice simulation signal, converts it into a digital signal, and sends it to the communication simulator A.

[0083] In some embodiments, the communication simulator A encapsulates the voice data received from the voice device A according to a pre-agreed protocol to form a service data packet, and sends it to the network power simulation system through the virtual-real interface.

[0084] In some embodiments, after receiving the service data packet through the virtual-real interface, the network-power simulation system converts the service data packet into the service data packet format of the network-power simulation system. Figure 6 The business data format conversion process of the full-process network simulation system according to an embodiment of the present disclosure is shown.

[0085] like Figure 6 As shown, in some embodiments, the received service data packet is parsed in the handleExtServData method of the virtual-real interface, converted into a DSITLPayload type data packet that can be recognized by the network electrical simulation system, and the timingSimMessage method is called to further pass the data packet to the UDP application layer module of the communication device model A, and then sent to the simulated wireless channel after being passed from top to bottom through the five-layer structure of the communication device model.

[0086] In some embodiments, the sending of service data is processed by the handleMessage method of the UDP application layer module calling the sendMsgToSocket method of the statistics module. After the communication device model B at the other end receives the service data packet from the simulated wireless channel, it is transmitted from bottom to top through the five-layer structure of the communication device model to reach the UDP application layer module. In the sendMsgToSocket method, the service data packet to be sent is parsed, the port address and port number of the other end are extracted, and the sendMessage method of the virtual-real interface module is called to send the data packet from the virtual-real interface to the communication simulator B outside the network power simulation system.

[0087] In some embodiments, the datagram is then wirelessly transmitted between the communication device models. The virtual-real interface passes the converted service data packet to the communication device model corresponding to the communication simulator A in the network power simulation system. The application layer of the communication device model adds control information to the original data packet and sends it to the transport layer, and the transport layer adds the control information of the layer and sends it to the network layer. If the route has been established, it will continue to be transmitted to the lower layer, otherwise it will be transmitted after the route is established through the routing protocol. After receiving the upper layer data, the data link layer adds the control information of this layer and passes it to the physical layer again, and then sends it to the wireless channel. After the physical layer of the communication device model corresponding to the communication simulator B receives the service data packet sent by the communication device model corresponding to the communication simulator A in the simulated wireless channel, it passes the data to the top application layer through its own data link layer, network layer, and transport layer. In some embodiments, link quality information such as bit error rate and signal-to-noise ratio is calculated during the physical layer communication process, and link quality information such as delay, packet loss rate, and throughput is calculated at the application layer. The application layer converts the data packet and transmits it out of the network power simulation system through the virtual-real interface.

[0088] The following will be combined Figures 7 to 11 The illustrated embodiment details the interoperation process of each layer of the communication device model.

[0089] The main function of the application layer is to process the service data packets sent by the virtual and real interfaces, output service data packets to the virtual and real interfaces, and record various statistical information of the sent / received data, such as the number of packets, throughput, latency, etc. The external service data packets are converted to the DSITLPayload type in advance before they can be passed to the lower transport layer through the application layer.

[0090] In some embodiments, the first application layer is configured to receive an input service data packet through a first virtual-real interface, encapsulate the input service data packet into an application layer data packet, and send the application layer data packet to the first transport layer. The second application layer is configured to receive a transport layer data packet from the second transport layer, decapsulate the transport layer data packet into an application layer data packet, and send the application layer data packet as an output service data packet to the second communication simulator through a second virtual-real interface. In some embodiments, the first application layer and the second application layer are further configured to record performance data, and the performance data includes throughput, packet loss rate, latency, etc. Figure 7 The application layer interoperation process of the full-process network simulation system according to an embodiment of the present disclosure is shown.

[0091] like Figure 7 As shown, in some embodiments, the handleMessage method of the application layer processes the received service data packet, calls the sendMsgToSocket method of the virtual-real interface to decapsulate the data packet and send it to the virtual-real interface. Before sending it to the transport layer, control information is added, the data packet is encapsulated, and the sendToUdp method is called to send it to the transport layer.

[0092] The transport layer mainly implements the UDP transport layer protocol and provides an end-to-end data transmission channel, but does not guarantee the reliability of data transmission. In the communication device model structure, it is above the network layer and below the application layer. It can support the access of multiple UDP applications at the same time and interact through the interface between UDP and the application layer. It supports IPv4, IPv6 and other network layer protocols and interacts through the interface between UDP and IP.

[0093] In some embodiments, the first transport layer is configured to receive an application layer packet from the first application layer, encapsulate the application layer packet into a transport layer packet, and send the transport layer packet to the first network layer. The second transport layer is configured to receive a network layer packet from the second network layer, decapsulate the network layer packet into a transport layer packet, and send the transport layer packet to the second application layer. In some embodiments, both the first transport layer and the second transport layer can support multiple applications simultaneously. Figure 8 The transport layer interoperation process of the full-process network simulation system according to an embodiment of the present disclosure is shown.

[0094] like Figure 8As shown, in some embodiments, the control data packet of the UDP_C_BIND type of the application layer is created and sent by the bindToPort method, and the service data packet of the UDP_C_DATA type is set and sent by the sendToUDP method. The port binding of the UDP transport layer is implemented by the processCommandFromApp method. After receiving the service data packet from the application layer, the processMsgFromApp method encapsulates it and sends it to the lower network layer. After receiving the data packet from the network layer, the processUdpPacket method sets the data packet according to the IP control interface and sends it to the upper application layer.

[0095] The network layer mainly completes the IPv4 and AODV protocols, and realizes functions such as route establishment, route maintenance, and data packet forwarding. In the communication device model structure, it is above the data link layer and below the transport layer. To the upper layer, the network layer transmits information from the upper layer through IPControlInfo, and to the lower layer, the network layer communicates with the CSMA protocol through the data adaptation module and the radio station management module.

[0096] In some embodiments, the first network layer is configured to receive a transport layer data packet from the first transport layer, encapsulate the transport layer data packet into a network layer data packet based on the routing table, and send the network layer data packet to the first data link layer. The second network layer is configured to receive a link layer data packet from the second data link layer, decapsulate the link layer data packet into a network layer data packet if the current node is the destination node, and send the network layer data packet to the second transport layer, and query the next hop node in the routing table if the current node is not the destination node, and forward the received link layer data packet based on the next hop node. Fig. 9 The network layer interoperation process of the full-process network simulation system according to an embodiment of the present disclosure is shown.

[0097] like Fig. 9 As shown, in some embodiments, the handleMessageFromHL method of the IP module handles the data from the upper layer UDP. When the route cannot be found, the controlMessageToManetRouting method is called to establish the routing information according to the parameter type. After the route is established, the data packet is encapsulated into an IP layer data packet and forwarded to the next hop node. If the data comes from the data link layer and the current node is the destination node, the IP layer data packet is unpacked, the IP layer control information is removed, and it is sent to the upper transport layer.

[0098] The data link layer mainly completes the CSMA protocol, implements the non-continuous carrier monitoring mechanism, and realizes the mapping of IP addresses and MAC addresses. At the data link layer, the channel is monitored before data is sent. If the channel is busy, it does not continuously monitor the channel, but waits for a period of time randomly and repeats the same process again.

[0099] In some embodiments, the first data link layer is configured to receive a network layer data packet from the first network layer, obtain the MAC address of the next hop based on the mapping match between the MAC address and the IP address, encapsulate the network layer data packet into a link layer data packet, monitor the virtual wireless channel, and send the link layer data packet to the first physical layer when the virtual wireless channel is idle. The second data link layer is configured to receive a physical layer data packet from the second physical layer, and when it is determined that the physical layer data packet is not interference data or errored data, and when the current node is the destination node, decapsulate the physical layer data packet into a link layer data packet, and send the link layer data packet to the second network layer. Fig.10 The data link layer interoperation process of the full-process network simulation system according to an embodiment of the present disclosure is shown.

[0100] like Fig.10 As shown, in some embodiments, the handleData method of the MGMT module processes the data from the AL, realizes the mapping and matching of the MAC address and the IP address, encapsulates the MAC layer data packet, and queries the MAC address of the next hop. The CSMA module subscribes to the state change information of the wireless channel, the handleUpperMessage method receives the MAC layer data packet to be sent, and sets the state of the data packet to sensing in the txFrame method to start monitoring the channel. When the channel is idle, the data packet is sent to the physical layer, otherwise it waits for a period of time and monitors whether the channel is idle again.

[0101] like Fig.10 As shown, in some embodiments, the data from the physical layer is processed by the handleLowerMessage method of the CSMA module, and it is determined whether it is interference data or errored data according to the data packet type and label. If the determination is not established, the data is sent to the Mgmt module, which is processed by its handleRadioData method and determines whether the current node is the destination node. If so, the MAC layer data packet is unpacked, the MAC layer control information is removed, and it is sent to the network layer.

[0102] The physical layer mainly completes the data transmission and reception of the wireless channel, calculates parameters such as transmission power, transmission loss, receiving power, signal-to-noise ratio, bit error rate, propagation delay, etc., and handles background noise, collision detection, acceptability judgment, etc.

[0103] In some embodiments, the first physical layer is configured to receive a link layer data packet from the first data link layer, encapsulate the link layer data packet into a physical layer data packet, and send the physical layer data packet through the virtual wireless channel when it is detected that the virtual wireless channel does not receive other data packets. The second physical layer is configured to receive a physical layer data packet from the virtual wireless channel, decapsulate the physical layer data packet into a link layer data packet, and send the link layer data packet to the second link layer. In some embodiments, the first physical layer is also configured to determine the noise in the virtual wireless channel and calculate performance data, which may include transmit power, path loss, receive power, and propagation delay. The second physical layer is also configured to determine the error bits in the physical layer data packet and calculate performance data, which may include the current frame signal-to-noise ratio and bit error rate. Fig.11 The physical layer interoperation process of the full-process network simulation system according to an embodiment of the present disclosure is shown.

[0104] like Fig.11 As shown, in some embodiments, the handleUpperPacket method processes the data packet received from the data link layer, and when it is detected that other data packets are being received, the current data packet is characterized as noise. Otherwise, the channel state is set to TRANSMIT, and the sending end self-message RADIO_TRANSMISSION_OVER is set. The sendToChannel method handles the calculation of the transmission power, path loss, receiving power, propagation delay, etc., and calls the sendDirect method to send the data packet to the wireless channel. When the sending end self-message is triggered, it is determined whether the current noise level is lower than the sensitivity, and the channel state is set to IDLE or RECV.

[0105] like Fig.11 As shown, in some embodiments, when the physical layer receives a data packet through a wireless channel, the handleAirFrameStart method is triggered for processing. The current channel state is set to RECV, and the reception completion self-message RADIO_RECEPTION_COMPLETE is set. When the reception completion self-message is triggered, the handleAirFrameEnd method is called to calculate the signal-to-noise ratio and the number of bit errors of the current data packet, and further determine whether the number of bit errors is 0. If there are error bits, the data packet is labeled BITERROR. Unpack the physical layer data packet, remove the physical layer control information, and call the sendToMac method to send the data packet to the data link layer.

[0106] In some embodiments, the jammer simulator is configured to simulate sending an interference electromagnetic wave in response to receiving an interference instruction, interfering with the first communication simulator and / or the second communication simulator within the radiation range of the same frequency band. Accordingly, the interference model set in the network electrical simulation system sends an interference signal based on the configured model parameters, and the interference model is a full mapping of the jammer simulator.

[0107] In some embodiments, the parameters of the jammer model mainly include the jamming interval time, jamming duration, jamming start time, jamming end time, jamming frequency, jamming power and jamming bandwidth, etc. After receiving the instruction to send jamming, it can simulate the sending of jamming electromagnetic waves to jam the communication device model within the radiation range of the same frequency band. Different jamming parameters can achieve different forms of jamming.

[0108] In some embodiments, the application layer of the communication device model corresponding to the communication simulator B sends a performance data packet and a service data packet composed in a certain format to the communication simulator B through the virtual-real interface. The performance data packet includes link quality data for indicating communication quality.

[0109] In some embodiments, after receiving the data packet, the communication simulator B can parse the received data packet, realize the simulation of data wireless communication, and display the link quality data representing the link quality information such as bit error rate, delay, packet loss rate, etc. in the wireless communication process. In some embodiments, the link quality data refers to the performance data such as throughput, packet loss, bit error, delay, etc. related to the communication quality of the wireless communication simulator. Fig.12 A flow chart for obtaining performance data of a full-process network simulation system according to an embodiment of the present disclosure is shown.

[0110] like Fig.12 As shown, in some embodiments, performance data includes two types: statistical data and real-time data. Link statistical data mainly include throughput, packet loss rate, bit error rate and delay, etc. Among them, the data related to the bit error rate is recorded and calculated by the physical layer module, and other data is recorded and calculated by the application layer module. The staExtServInfo method of the statistical module is responsible for extracting data, processing data and forming link data packets, and then sending them to the external communication simulator through the virtual-real interface. The real-time data of the link mainly includes bit error rate and delay. With the real-time transmission of each service data packet, the bit error rate is reflected in the IP layer data packet of the physical layer, and the delay is reflected in the service data in the application layer module. In some embodiments, it can be sent to the external communication simulator by calling the sendMsgToSocket method of the statistical module. Finally, the service data packet is decapsulated into a voice data packet and output.

[0111] When the whole process network simulation system of the embodiment of the present disclosure is used for simulation, the interference parameters and levels are set on the jammer simulator. When the voice information of voice device A is sent from communication simulator A to communication simulator B via the network power simulation system and output to voice device B, the voice information of voice device B will have voice quality problems related to interference, such as unclear intelligibility and loud noise. Relevant link data such as bit error rate, throughput, packet loss rate, etc. can be synchronously displayed on communication simulator B.

[0112] Those skilled in the art will appreciate that the methods shown above are exemplary only. The methods disclosed herein are not limited to the steps and sequences shown above. Those skilled in the art may make many changes and modifications based on the teachings of the illustrated embodiments.

[0113] Although the present disclosure has been illustrated above in conjunction with the preferred embodiments of the present disclosure, it will be understood by those skilled in the art that various modifications, substitutions and changes may be made to the present disclosure without departing from the spirit and scope of the present disclosure. Therefore, the present disclosure should not be limited by the above embodiments, but by the attached claims and their equivalents.

Claims

1. A full-process network simulation method for communication simulators, It is characterized in that include: Receiving a first voice signal through a first voice device, and converting the first voice signal into a first digital signal; Converting the first digital signal into a service data packet through a first communication simulator; Sending a jammer signal through a jammer simulator, wherein the jammer signal interferes with the communication process between the first communication simulator and the network power simulation system in real time; An input service data packet is received through a network electrical simulation system, and an output service data packet and performance data are obtained based on a first communication device model, a second communication device model, an interference model and the input service data packet set by the network electrical simulation system, wherein the network electrical simulation system is connected to the first communication simulator and the second communication simulator through a first virtual-real interface and a second virtual-real interface respectively, and the network electrical simulation system is also connected to the jammer simulator through a third virtual-real interface, wherein the first communication device model corresponds to the first communication simulator, the second communication device model corresponds to the second communication simulator, and the interference model corresponds to the jammer simulator; Receiving output service data packets and performance data through a second communication simulator, and converting the output service data packets into a second digital signal, wherein the interference signal interferes with the communication process between the second communication simulator and the network power simulation system in real time; as well as The second digital signal is converted into a second voice signal to be played through a second voice device, the second voice signal is played and the performance data is displayed.

2. The full-process network simulation method according to claim 1, in, The first communication simulator sends a first configuration data packet to the network power simulation system through the first virtual-real interface; The second communication simulator sends a second configuration data packet to the network power simulation system through the second virtual-real interface; The jammer simulator sends a third configuration data packet to the network electrical simulation system through the third virtual-real interface; and Wherein, the network electrical simulation system modifies the model parameters of the first communication device model, the second communication device model and the interference model based on the first configuration data packet, the second configuration data packet and the third configuration data packet respectively.

3. The full-process network simulation method according to claim 2, in, The model parameters of the interference model include interference interval time, interference duration, interference start time, interference end time, interference frequency, interference power and interference bandwidth. In response to receiving an interference instruction, the jammer simulator simulates sending interference electromagnetic waves to interfere with the first communication simulator and / or the second communication simulator within the radiation range in the same frequency band.

4. The full-process network simulation method according to any one of claims 1 to 3, in, The first communication device model includes a first application layer, a first transport layer, a first network layer, a first data link layer and a first physical layer; The second communication device model includes a second application layer, a second transport layer, a second network layer, a second data link layer and a second physical layer; and The first physical layer and the second physical layer are connected via a virtual wireless channel.

5. The full-process network simulation method according to claim 4, in, The first application layer receives the input service data packet through the first virtual-real interface, encapsulates the input service data packet into an application layer data packet, and sends the application layer data packet to the first transport layer; The second application layer receives a transport layer data packet from the second transport layer, decapsulates the transport layer data packet into an application layer data packet, and sends the application layer data packet as the output service data packet to the second communication simulator through the second virtual-real interface; and The first application layer and the second application layer record performance data, and the performance data includes throughput, packet loss rate and latency.

6. The full-process network simulation method according to claim 4, in, The first transport layer receives an application layer data packet from the first application layer, encapsulates the application layer data packet into a transport layer data packet, and sends the transport layer data packet to the first network layer; The second transport layer receives a network layer data packet from the second network layer, decapsulates the network layer data packet into a transport layer data packet, and sends the transport layer data packet to the second application layer; and The first transport layer and the second transport layer can both support multiple applications simultaneously.

7. The full-process network simulation method according to claim 4, in, The first network layer receives a transport layer data packet from the first transport layer, encapsulates the transport layer data packet into a network layer data packet based on a routing table, and sends the network layer data packet to the first data link layer; The second network layer receives a link layer data packet from the second data link layer. If the current node is the destination node, the link layer data packet is decapsulated into a network layer data packet, and the network layer data packet is sent to the second transport layer. If the current node is not the destination node, the next hop node in the routing table is queried, and the received link layer data packet is forwarded based on the next hop node.

8. The full-process network simulation method according to claim 4, in, The first data link layer receives a network layer data packet from the first network layer, obtains a MAC address of a next hop based on a mapping match between a MAC address and an IP address, encapsulates the network layer data packet into a link layer data packet, monitors a virtual wireless channel, and sends the link layer data packet to the first physical layer when the virtual wireless channel is idle; The second data link layer receives a physical layer data packet from the second physical layer, and when it is determined that the physical layer data packet is not interference data or erroneous data, and when the current node is the destination node, decapsulates the physical layer data packet into a link layer data packet, and sends the link layer data packet to the second network layer.

9. The full-process network simulation method according to claim 4, in, The first physical layer receives a link layer data packet from the first data link layer, encapsulates the link layer data packet into a physical layer data packet, and sends the physical layer data packet through the virtual wireless channel when detecting that the virtual wireless channel does not receive other data packets; The second physical layer receives a physical layer data packet from the virtual wireless channel, decapsulates the physical layer data packet into a link layer data packet, and sends the link layer data packet to the second data link layer; and Among them, the first physical layer determines the noise in the virtual wireless channel and calculates performance data, and the performance data includes transmit power, path loss, receive power and propagation delay. The second physical layer also determines the error bits in the physical layer data packet and calculates performance data, and the performance data includes the current frame signal-to-noise ratio and bit error rate.

Citation Information

Patent Citations

  • Distributed semi-physical network simulation system and controlling method of semi-physical port thereof

    CN101645813A

  • Hardware In The Loop simulation system and communication method therefor

    CN105634902A

  • Unmanned aerial vehicle information attack semi-physical test architecture design method

    CN116224835A

  • Virtual and real equipment communication method and device, electronic equipment and storage medium

    CN116319491A

  • Information network virtuality and reality combination verification system based on signal interconnection

    CN117675602A