A control method, system and related apparatus of a channel emulator

CN120582729BActive Publication Date: 2026-10-09BEIJING RUNKE GENERAL TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511028074.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-24
Publication Date
2026-10-09
Estimated Expiration
2045-07-24

AI Technical Summary

Technical Problem

[0004]有鉴于此,本申请提供了一种信道模拟器的控制方法、系统及相关装置,以解决现有技术存在的实时性差、操作复杂和跨平台适应性弱的问题,其技术方案如下:

Benefits of technology

[0046]Using the above technical solution, the channel simulator control method provided in this application can be applied to a main control device. This main control device is equipped with main control software developed using QT tools for controlling the channel simulator. This allows the main control device to control the channel simulator based on the main control software. The control process may include: obtaining a target configuration file adapted to the current operating system; generating simulation control commands based on the target configuration file; sending the simulation control commands to the channel simulator through a target interface; enabling the channel simulator to perform channel transmission simulation based on the simulation control commands; obtaining performance statistics generated during the channel transmission simulation process; adjusting configuration parameters when the performance statistics returned by the channel simulator through the target interface do not meet the requirements; and returning to obtain a target configuration file adapted to the current operating system until the performance statistics meet the requirements. This application uses a target interface with a data transmission rate greater than a preset threshold to transmit simulation control commands and performance statistics, achieving real-time data transmission and improving data transmission efficiency. Furthermore, this application can develop target configuration files adapted to the current operating system based on QT tools, allowing any operating system supported by QT tools to apply this solution, resulting in stronger cross-platform adaptability. Moreover, users only need to input configuration parameters in the graphical user interface to automatically generate the configuration file, reducing the complexity of user operations and saving labor costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120582729B_ABST
    Figure CN120582729B_ABST
Patent Text Reader

Abstract

The application discloses a control method and system of a channel simulator and related devices, and relates to the technical field of wireless communication, and comprises the following steps: obtaining a target configuration file adapted to a current operating system, generating simulation control instructions based on the target configuration file, sending the simulation control instructions to the channel simulator through a target interface, so that the channel simulator performs channel transmission simulation based on the simulation control instructions, obtains performance statistical data generated in a channel transmission simulation process, adjusts configuration parameters in the case that the performance statistical data returned by the channel simulator through the target interface does not meet requirements, returns to obtain the target configuration file adapted to the current operating system, and the performance statistical data meets requirements until the performance statistical data meets requirements. The application transmits data through the target interface with a data transmission rate greater than a preset threshold, realizes real-time data transmission, develops the target configuration file adapted to the current operating system based on a QT tool, improves cross-platform adaptability, and reduces operation complexity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technology, and in particular to a control method, system and related apparatus for a channel simulator. Background Technology

[0002] Channel simulators are widely used in the research and development of wireless communication systems to simulate phenomena such as attenuation, reflection, and multipath effects of wireless signals during actual transmission. Currently, the control method for channel simulators involves a master control device on a specialized hardware or software platform issuing control commands. The channel simulator then performs channel transmission simulation based on these commands, and the simulation results are returned to the master control device.

[0003] However, the above channel simulator control method has the following problems: (1) The main control device only supports the Windows operating system and cannot be ported to other operating systems, resulting in insufficient cross-platform capability; (2) When the control instructions and simulation results are transmitted between the main control device and the channel simulator, a low-bandwidth interface is used, resulting in transmission delay and thus poor real-time performance; (3) The main control device generates control instructions based on manually written command lines or configuration files, and manually written command lines or configuration files have the problem of complex operation. Summary of the Invention

[0004] In view of this, this application provides a control method, system, and related apparatus for a channel simulator to solve the problems of poor real-time performance, complex operation, and weak cross-platform adaptability in the prior art. The technical solution is as follows:

[0005] The first aspect of this application provides a control method for a channel simulator, applied to a main control device, wherein the main control device is equipped with main control software developed using QT tools for controlling the channel simulator;

[0006] The control method for the channel simulator includes:

[0007] Obtain a target configuration file adapted to the current operating system. The target configuration file is generated by the QT tool based on configuration parameters pre-input to the graphical user interface. The current operating system supports target interfaces with a data transfer rate greater than a preset threshold.

[0008] Simulation control instructions are generated based on the target configuration file;

[0009] The simulation control command is sent to the channel simulator through the target interface, so that the channel simulator performs channel transmission simulation based on the simulation control command and obtains the performance statistics generated during the channel transmission simulation process.

[0010] If the performance statistics returned by the channel simulator through the target interface do not meet the requirements, the configuration parameters are adjusted, and the target configuration file adapted to the current operating system is obtained, until the performance statistics meet the requirements.

[0011] In one possible implementation, generating simulation control instructions based on the target configuration file includes:

[0012] Based on the target configuration file, terminal pose, and antenna information, link calculation is performed to obtain the first control parameter;

[0013] The current port information is determined from a preset time slot table based on the current software interrupt count value and used as the second control parameter. The current software interrupt count value is obtained by counting software interrupts generated based on a preset time synchronization pulse signal.

[0014] The simulation control command is generated based on the first control parameter and the second control parameter.

[0015] In one possible implementation, the first control parameters include: free space decay and link delay.

[0016] A second aspect of this application provides a control method for a channel simulator, applied to QT tools, including:

[0017] Install and configure the current operating system so that the current operating system supports target interfaces with data transfer rates greater than a preset threshold.

[0018] A development environment is set up on the current operating system to obtain the main control device;

[0019] After setting the target interface in the channel simulator, establish a communication connection between the channel simulator and the main control device;

[0020] Generate a graphical user interface so that the user can input configuration parameters in the graphical user interface;

[0021] Based on the configuration parameters, a target configuration file adapted to the current operating system is generated so that the main control device can interact with the channel simulator based on the target configuration file.

[0022] A third aspect of this application provides a control system for a channel simulator, comprising: a main control device, a channel simulator, a transmitter, and a receiver, wherein the main control device is equipped with main control software developed using QT tools for controlling the channel simulator;

[0023] The main control device is used to obtain a target configuration file adapted to the current operating system, generate simulation control instructions based on the target configuration file, and send the simulation control instructions to the channel simulator through the target interface. The target configuration file is generated by the QT tool based on configuration parameters pre-input to the graphical user interface, and the target interface is an interface supported by the current operating system and whose data transmission rate is greater than a preset threshold.

[0024] The channel simulator is used to generate a simulated channel based on the simulation control command, so that the transmitter and receiver can transmit data based on the simulated channel;

[0025] The channel simulator is also used to acquire performance statistics generated during the data transmission process and return the performance statistics to the main control device through the target interface;

[0026] The main control device is also used to adjust the configuration parameters and return to the process of obtaining a target configuration file adapted to the current operating system when the performance statistics do not meet the requirements, until the performance statistics meet the requirements.

[0027] In one possible implementation, the control system of the channel simulator further includes: a target switch;

[0028] The target switch is used to forward target data between the master control device and the channel simulator, wherein the target data includes the simulation control commands and the performance statistics.

[0029] The fourth aspect of this application provides a control device for a channel simulator, applied to a main control device, wherein the main control device is equipped with main control software developed using QT tools for controlling the channel simulator;

[0030] The control device for the channel simulator includes:

[0031] The file acquisition module is used to acquire a target configuration file that is compatible with the current operating system. The target configuration file is generated by the QT tool based on the configuration parameters pre-input to the graphical user interface. The current operating system supports target interfaces with a data transfer rate greater than a preset threshold.

[0032] The instruction generation module is used to generate simulation control instructions based on the target configuration file;

[0033] The instruction sending module is used to send the simulation control instruction to the channel simulator through the target interface, so that the channel simulator performs channel transmission simulation based on the simulation control instruction and obtains the performance statistics generated during the channel transmission simulation process.

[0034] The parameter adjustment module is used to adjust the configuration parameters and return the target configuration file adapted to the current operating system when the performance statistics returned by the channel simulator through the target interface do not meet the requirements, until the performance statistics meet the requirements.

[0035] The fifth aspect of this application provides a control device for a channel simulator, applied to QT tools, comprising:

[0036] The system configuration module is used to install and configure the current operating system so that the current operating system supports target interfaces with data transmission rates greater than a preset threshold.

[0037] The software configuration module is used to build a development environment on the current operating system to obtain the main control device;

[0038] The communication configuration module is used to enable the communication connection between the channel simulator and the main control device after the target interface is set in the channel simulator;

[0039] The parameter acquisition module is used to generate a graphical user interface so that the user can input configuration parameters in the graphical user interface;

[0040] The file generation module is used to generate a target configuration file adapted to the current operating system based on the configuration parameters, so that the main control device can interact with the channel simulator based on the target configuration file.

[0041] The sixth aspect of this application provides a computer program product including computer-readable instructions that, when executed on an electronic device, cause the electronic device to implement the control method of the channel simulator described in the first aspect or any implementation thereof.

[0042] A seventh aspect of this application provides an electronic device, comprising at least one processor and a memory connected to the processor, wherein:

[0043] The memory is used to store computer programs;

[0044] The processor is used to execute the computer program so that the electronic device can implement the control method of the channel simulator of the first aspect or any implementation thereof.

[0045] The eighth aspect of this application provides a computer storage medium carrying one or more computer programs that, when executed by an electronic device, enable the electronic device to implement the channel simulator control method of the first aspect or any implementation thereof.

[0046] Using the above technical solution, the channel simulator control method provided in this application can be applied to a main control device. This main control device is equipped with main control software developed using QT tools for controlling the channel simulator. This allows the main control device to control the channel simulator based on the main control software. The control process may include: obtaining a target configuration file adapted to the current operating system; generating simulation control commands based on the target configuration file; sending the simulation control commands to the channel simulator through a target interface; enabling the channel simulator to perform channel transmission simulation based on the simulation control commands; obtaining performance statistics generated during the channel transmission simulation process; adjusting configuration parameters when the performance statistics returned by the channel simulator through the target interface do not meet the requirements; and returning to obtain a target configuration file adapted to the current operating system until the performance statistics meet the requirements. This application uses a target interface with a data transmission rate greater than a preset threshold to transmit simulation control commands and performance statistics, achieving real-time data transmission and improving data transmission efficiency. Furthermore, this application can develop target configuration files adapted to the current operating system based on QT tools, allowing any operating system supported by QT tools to apply this solution, resulting in stronger cross-platform adaptability. Moreover, users only need to input configuration parameters in the graphical user interface to automatically generate the configuration file, reducing the complexity of user operations and saving labor costs. Attached Figure Description

[0047] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0048] Figure 1 A flowchart illustrating a control method for a channel simulator applied to a master control device, provided in an embodiment of this application;

[0049] Figure 2 This application provides a schematic diagram of a channel transmission simulation process using a channel simulator.

[0050] Figure 3 A schematic diagram of a time slot table provided in an embodiment of this application;

[0051] Figure 4 A flowchart illustrating a control method for a channel simulator applied to QT tools, provided as an embodiment of this application;

[0052] Figure 5 This is a schematic diagram of the control system of a channel simulator provided in an embodiment of this application;

[0053] Figure 6 A schematic diagram of the control system of another channel simulator provided in this application embodiment;

[0054] Figure 7 A schematic diagram of the structure of a control device for a channel simulator applied to a master control device, provided in an embodiment of this application;

[0055] Figure 8 A schematic diagram of the structure of a control device for a channel simulator applied to QT tools, provided in an embodiment of this application;

[0056] Figure 9 This is a hardware structure block diagram of the device provided in the embodiments of this application. Detailed Implementation

[0057] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0058] To facilitate understanding of this application by those skilled in the art, the relevant terms used in this application are explained below.

[0059] Main control equipment (main control software): A high-performance computer running the current operating system, requiring high-bandwidth, high-transmission-rate interfaces (such as 10 Gigabit Ethernet interfaces) and the ability to handle large-scale data transmission.

[0060] Channel simulator: A channel simulator device with a high-bandwidth, high-transmission-rate interface (such as a 10 Gigabit Ethernet interface), supports remote control, and can respond to simulation control commands transmitted in real time and return simulation data (i.e., performance statistics below).

[0061] Network equipment: Target switch (e.g., 10 Gigabit Ethernet switch) to ensure high-speed and stable data transmission between the main control device and the channel simulator.

[0062] The preferred operating system is Linux (Ubuntu 22.04 or later is recommended). This operating system is highly stable and can efficiently handle multitasking and parallel data transmission. Of course, Windows, macOS, and other operating systems can also be used.

[0063] Development tools: QT Creator is the main development tool used to develop the user graphical interface; C++ is the core programming language of QTCreator used to implement low-level data transmission and control logic.

[0064] This application provides a control method for a channel simulator applied to a master control device. The master control device is equipped with master control software developed using QT tools for controlling the channel simulator, enabling the master control device to control the channel simulator based on the master control software. To enable those skilled in the art to better understand this application, the following embodiments will provide a detailed description of the control method for a channel simulator applied to a master control device.

[0065] Please see Figure 1 The diagram illustrates a flow chart of a control method for a channel simulator applied to a master control device, according to an embodiment of this application. The method may include:

[0066] Step S101: Obtain the target configuration file that is compatible with the current operating system.

[0067] The target configuration file is generated by the QT tool based on the configuration parameters pre-input to the graphical user interface. The current operating system supports target interfaces with data transfer rates greater than a preset threshold.

[0068] Specifically, this application pre-generates a graphical user interface (GUI), allowing users to input configuration parameters on the GUI. Then, the QT tool (i.e., QT Creator) can generate a target configuration file adapted to the current operating system based on the configuration parameters input by the user.

[0069] Optionally, the graphical user interface pre-generated in this application can be generated using QT tools.

[0070] The aforementioned current operating system refers to the operating system used by the main control device. Optionally, the current operating system can be any one of the following: Windows, Linux, or macOS.

[0071] Of course, the current operating system can be other than that, and this application does not specify any particular limitation.

[0072] In this application, the current operating system supports target interfaces with data transmission rates greater than a preset threshold. The preset threshold may refer to the maximum data transmission rate used by the master control device in the prior art when performing channel transmission simulation control on the channel simulator.

[0073] Optionally, the target interface is a 10 Gigabit Ethernet interface. Of course, the target interface can also be other types, and this application does not impose specific limitations.

[0074] Step S102: Generate simulation control instructions based on the target configuration file.

[0075] In this application, simulation control instructions can be automatically generated based on the target configuration file. These simulation control instructions are the instructions that the master control device needs to use when performing channel transmission simulation control on the channel simulator.

[0076] In this application, the simulation control instructions include control parameters, which include one or more of the following parameters: receiver power, link delay, sampling rate, free space attenuation, Doppler frequency offset, and current port information of the end units (i.e., transmitter and receiver).

[0077] Optionally, in this embodiment, the receiver's receiving power can be set to -45dBm.

[0078] Of course, the control parameters can be other than those specified in this application.

[0079] Step S103: Send the simulation control command to the channel simulator through the target interface so that the channel simulator can perform channel transmission simulation based on the simulation control command and obtain the performance statistics generated during the channel transmission simulation process.

[0080] The simulation control commands generated above can be sent to the channel simulator via the target interface to perform channel transmission simulation control on the channel simulator. Taking a 10 Gigabit Ethernet interface as an example, this application can send simulation control commands to the channel simulator via 10 Gigabit Ethernet.

[0081] Optionally, the Transmission Control Protocol (TCP) can be used when sending simulation control commands to the channel simulator to ensure reliable transmission of simulation control commands.

[0082] After receiving the simulation control command, the channel simulator can perform channel transmission simulation based on the simulation control command. Specifically, it can perform channel transmission simulation based on the control parameters in the simulation control command.

[0083] The aforementioned channel transmission simulation refers to the channel simulator generating a simulated channel based on the control parameters in the simulation control command, and then the transmitter and receiver transmitting data on the simulated channel.

[0084] It should be understood that when the simulated channel is affected by multipath effects, data transmission between the transmitter and receiver may result in packet loss, bit errors, etc. Based on this, this embodiment can collect performance statistics (i.e., simulation results) generated during the channel transmission simulation process to evaluate the performance of the simulated channel.

[0085] Optionally, performance statistics may include one or more of the following: packet loss rate, bit error rate.

[0086] Of course, the performance statistics can be other types, and this application does not specify any particular type.

[0087] Taking the control parameters in the simulation control command, including link delay, sampling rate, free space attenuation, Doppler frequency offset, and current port information, as an example, see [link to example]. Figure 2 This is a schematic diagram of a channel transmission simulation process provided by an embodiment of this application. Figure 2 By inputting link delay, sampling rate, free space attenuation, Doppler frequency offset, and current port information into the channel simulator, the performance statistics output by the channel simulator can be obtained.

[0088] Optionally, performance statistics can be displayed on a graphical user interface for users to view.

[0089] Step S104: Determine whether the performance statistics returned by the channel simulator through the target interface meet the requirements. If not, adjust the configuration parameters and then return to step S101.

[0090] In this embodiment, the channel simulator can return performance statistics to the master control device through the target interface.

[0091] Optionally, the channel simulator uses the User Datagram Protocol (UDP) to return performance statistics. This UDP protocol has the advantages of low overhead and high efficiency, making it more suitable for the high-bandwidth, high-speed scenarios of this application, and more conducive to the real-time transmission of performance statistics.

[0092] As mentioned earlier, performance statistics can be used to evaluate the performance of the simulated channel. Therefore, this step can preset the requirements for performance statistics, such as the packet loss rate not being lower than the packet loss rate threshold, the bit error rate not being lower than the bit error rate threshold, etc. Then it can be determined whether the performance statistics meet the requirements. If not, it means that the configuration parameters set by the user in the previous step are unreasonable. At this time, the configuration parameters can be adjusted. After adjustment, the target configuration file is generated again according to the previous step, so that the main control device can interact with the channel simulator based on the target configuration file. The specific interaction process can be referred to the description of steps S102 to S104 in the previous step, which will not be repeated here.

[0093] When the performance statistics meet the requirements, it means that the simulated channel generated by the channel simulator is a superior channel, which can effectively improve the data transmission performance of the transmitter and receiver. At this time, the configuration parameters can be saved for use in subsequent actual channel transmission scenarios.

[0094] In one possible implementation, in order to enable more stable data transmission between the master control device and the channel simulator, this application may also set up a target switch between the master control device and the channel simulator, so that the target switch can forward target data between the master control device and the channel simulator. Here, the target data includes the simulation control commands and performance statistics mentioned above.

[0095] The channel simulator control method provided in this application can be applied to a main control device. This main control device is equipped with main control software developed using QT tools for controlling the channel simulator. This allows the main control device to control the channel simulator based on the main control software. The control process may include: obtaining a target configuration file adapted to the current operating system; generating simulation control commands based on the target configuration file; sending the simulation control commands to the channel simulator through a target interface; enabling the channel simulator to perform channel transmission simulation based on the simulation control commands; obtaining performance statistics generated during the channel transmission simulation process; adjusting configuration parameters if the performance statistics returned by the channel simulator through the target interface do not meet the requirements; and returning to obtain a target configuration file adapted to the current operating system until the performance statistics meet the requirements. This application uses a target interface with a data transmission rate greater than a preset threshold to transmit simulation control commands and performance statistics, achieving real-time data transmission and improving data transmission efficiency. Furthermore, this application can develop target configuration files adapted to the current operating system based on QT tools, allowing any operating system supported by QT tools to apply this solution, resulting in stronger cross-platform adaptability. Moreover, users only need to input configuration parameters in the graphical user interface to automatically generate the configuration file, reducing user operation complexity and saving labor costs.

[0096] In some embodiments of this application, the process of step S102, "generating simulation control instructions based on the target configuration file", is described.

[0097] In one possible implementation, this embodiment can perform link calculations based on the target configuration file, terminal pose, and antenna information to obtain the first control parameters. Here, terminal pose refers to the pose of the transmitter and the pose of the receiver.

[0098] Optionally, the first control parameters include: free space attenuation and link delay.

[0099] The aforementioned free-space attenuation, also known as free-space loss, refers to the energy loss of electromagnetic waves propagating through air. This loss is related to factors such as transmit power, receive power, transmit frequency, receive frequency, transmit antenna height, receive antenna height, the distance between the transmit and receive antennas, and air density. The free-space fading formula is as follows:

[0100] Formula (1);

[0101] Where D represents the distance between the transmitter and receiver, in km; f represents the carrier frequency, in MHz; This indicates the decay of free space.

[0102] The above 'f' can be a configuration parameter input by the user in the graphical user interface, that is, a configuration parameter in the target configuration file. The above 'D' refers to the terminal pose.

[0103] Link latency refers to the time it takes for data to travel from the sender to the receiver, affecting the data transmission rate and efficiency. The calculation formula is:

[0104] Formula (2);

[0105] Where τ represents the link delay in seconds (s); D represents the distance between the transmitter and receiver in meters (m); and c represents the speed of electromagnetic wave propagation (i.e., the speed of light) in millimeters (m). m / s.

[0106] In another possible implementation, this embodiment may also determine the current port information from a preset time slot table based on the current software interrupt count value as a second control parameter, wherein the current software interrupt count value is obtained by counting software interrupts generated based on a preset time synchronization pulse signal.

[0107] Optionally, the preset time synchronization pulse signal can be a time synchronization pulse signal generated by an external device, so that the time accuracy can meet the requirements.

[0108] To ensure clock stability and enable the channel simulator to determine which channel to use for channel transmission simulation, this embodiment can generate a software interrupt using a preset time synchronization pulse signal, and then count the number of software interrupts to obtain the current software interrupt count value.

[0109] Optionally, the current software interrupt count value can be obtained by counting using timeslot++ (software interrupt count parameter).

[0110] Here, the current software interrupt count refers to the number of software interrupts that have occurred up to the time when the simulation control instructions need to be generated. The current software interrupt count determines which time slot in the time slot table the time slot when the simulation control instructions need to be generated falls within. The port information in the determined time slot is then used as the current port information, i.e., the second control parameter.

[0111] See Figure 3 This is a schematic diagram of a time slot table provided in an embodiment of this application. Figure 3Each row of data represents a time slot. Specifically, the first row of data (within the cluster, 0, 1) represents the first time slot, the second row of data (within the cluster, 2, 3) represents the second time slot, the third row of data (within the cluster, 4, 5) represents the third time slot, and so on.

[0112] The term "within cluster" refers to transmitters and receivers that belong to the same group as the channel simulator (the channel simulator, transmitter, and receiver can be pre-grouped). The transmit port refers to the port of the transmitter, and the receive port refers to the port of the receiver (the ports of each time slot in the time slot table correspond one-to-one with the ports in the real scene).

[0113] like Figure 3 Different rows of data represent different channel transmission channels and correspond to different channel models. Assuming that the time slot determined by the current software interrupt count is the third time slot, and the current port information, i.e. the second control parameter, is (within cluster, 4, 5), it means that the channel simulator needs to use the transmit port 4 and receive port 5 within this group for the current channel transmission simulation.

[0114] Optionally, in some possible scenarios, simulation control commands can be generated based solely on the first and second control parameters mentioned above.

[0115] In other possible scenarios, in addition to the first and second control parameters mentioned above, a third control parameter may also be included, such as the receiver's receiving power (which can be input by the user into the graphical user interface). Of course, the third control parameter may also be other parameters, and this application does not impose any specific limitations on it.

[0116] Therefore, this embodiment can generate simulation control commands based on the first control parameter, the second control parameter, and the third control parameter.

[0117] In summary, this application can generate control parameters suitable for a specific application scenario, and then generate simulation control commands suitable for that application scenario, enabling the channel simulator to simulate a simulated channel suitable for that application scenario, thereby improving the accuracy and realism of channel transmission simulation.

[0118] This application also provides a control method for a channel simulator applied to QT tools, which is described below.

[0119] See Figure 4 This is a flowchart illustrating a control method for a channel simulator applied to QT tools, as provided in an embodiment of this application. Figure 4 The method may include:

[0120] Step S401: Install and configure the current operating system so that it supports the target interface with a data transfer rate greater than a preset threshold.

[0121] Specifically, in order to enable the interaction between the main control device and the channel simulator mentioned above, this embodiment can first install and configure the current operating system using the QT tool before the main control device and the channel simulator interact, i.e. before step S101, and ensure that the current operating system supports the target interface with a data transmission rate greater than a preset threshold.

[0122] Step S402: Set up a development environment on the current operating system to obtain the main control device.

[0123] After configuring the current operating system, you can further use QT tools to set up the development environment, that is, to build the main control software, and then obtain the main control device.

[0124] In this embodiment, during the process of setting up the development environment, it is necessary to ensure that the QT library and network communication library are available, that is, to ensure that the above-mentioned UDP protocol is available.

[0125] Step S403: After setting the target interface in the channel simulator, establish a communication connection between the channel simulator and the main control device.

[0126] In this application, a target interface (i.e., a target interface supported by the current operating system) can also be set on the channel simulator, such as setting the parameters of the 10 Gigabit Ethernet interface, to ensure that the network connection between the channel simulator and the main control device (e.g., the main control computer) is unobstructed, that is, to ensure that the channel simulator and the main control device can interact.

[0127] Step S404: Generate a graphical user interface so that the user can input configuration parameters in the graphical user interface.

[0128] In a specific implementation, this embodiment can also use QT tools to develop an interactive graphical user interface. In order to enable interaction between the channel simulator and the main control device, the graphical user interface may optionally include functional modules such as channel model selection, parameter setting, and real-time status monitoring, so that users can input configuration parameters in the graphical user interface and display performance statistics data in the graphical user interface.

[0129] It is worth noting that, in order to facilitate user operation, the graphical user interface needs to be simple and intuitive.

[0130] Step S405: Generate a target configuration file adapted to the current operating system based on the configuration parameters, so that the main control device can interact with the channel simulator based on the target configuration file.

[0131] As mentioned earlier, the QT tool can generate a target configuration file that is compatible with the current operating system based on the configuration parameters. After the target configuration file is generated, the main control device can interact with the channel simulator based on the target configuration file. The interaction process can be referred to the description of steps S101 to S104 above, and will not be repeated here.

[0132] Therefore, this application can create a control environment using QT tools before actually controlling the channel simulator, thus achieving the goal of real-time control of the channel simulator by the main control device within the created control environment. Furthermore, this real-time control process has stronger cross-platform adaptability and lower operational complexity.

[0133] This application also provides a control system for a channel simulator, see [link to relevant documentation]. Figure 5 This is a schematic diagram of the control system of a channel simulator provided in an embodiment of this application.

[0134] like Figure 5 The control system of the channel simulator may include: a main control device 11, a channel simulator 12, a transmitter 13 and a receiver 14. Here, the main control device 11 is equipped with main control software developed by QT tools for controlling the channel simulator 12.

[0135] In the specific implementation, the QT tool can first create a control environment according to the previous embodiment. After the control environment is created, the channel simulator 12 can be controlled according to the following.

[0136] First, the main control device 11 obtains a target configuration file adapted to the current operating system, generates simulation control commands based on the target configuration file, and sends the simulation control commands to the channel simulator 12 through the target interface. The target configuration file is generated by the QT tool based on configuration parameters pre-input to the graphical user interface, and the target interface is an interface supported by the current operating system with a data transmission rate greater than a preset threshold.

[0137] Next, the channel simulator 12 generates a simulated channel based on the simulation control command, so that the transmitter 13 and the receiver 14 can transmit data based on the simulated channel. Then, the performance statistics generated during the data transmission process are obtained and the performance statistics are returned to the main control device 11 through the target interface.

[0138] Finally, if the performance statistics do not meet the requirements, the main control device 11 adjusts the configuration parameters, then re-acquires the target configuration file adapted to the current operating system, and performs channel transmission simulation control on the channel simulator 12 as described above (i.e., steps S101 to S104 above) until the performance statistics meet the requirements.

[0139] See Figure 6This is a schematic diagram of the control system of another channel simulator provided in an embodiment of this application. Figure 6 As shown, in order to enable more stable data transmission between the master control device and the channel simulator, this application can also set up a target switch 15 between the master control device 11 and the channel simulator 12, so that the target switch 15 can forward target data between the master control device and the channel simulator, wherein the target data includes simulation control commands and performance statistics.

[0140] Optionally, to make the transmission of target data more efficient, the target switch 15 can be a 10 Gigabit Ethernet switch.

[0141] Of course, the target switch 15 can be other types, and this application does not impose any specific limitations.

[0142] The control system of the channel simulator provided in this application corresponds to the control method of the channel simulator applied to the main control device and the control method of the channel simulator applied to the QT tool provided above. For details, please refer to the above introduction, and it will not be repeated here.

[0143] In summary, this application provides a solution for real-time control of a channel simulator using QT software tools and a 10 Gigabit Ethernet interface under a current operating system (preferably Linux), addressing the problems of poor real-time performance, complex operation, and weak cross-platform adaptability in existing control schemes. This application achieves flexible real-time control of the channel simulator through efficient data transmission and optimized graphical user interface (GUI) design.

[0144] Specifically, this application has at least the following advantages:

[0145] (1) Cross-platform adaptability: The graphical user interface developed based on QT in this application has good cross-platform adaptability and can run on operating systems such as Linux, Windows, and macOS, which greatly improves the flexibility and applicability of the system.

[0146] (2) High-efficiency real-time control: High-speed data transmission is achieved through the 10 Gigabit Ethernet interface, which greatly improves the real-time control performance of the channel simulator and meets the requirements for high bandwidth and high-speed communication.

[0147] (3) Easy to operate: Users can control the channel simulator and adjust the parameters through the intuitive QT graphical user interface, which reduces the threshold brought by the traditional complex command line operation, and makes it easy for non-professional users to use the system.

[0148] (4) Flexible configuration and scalability: The system supports multiple channel models and flexible parameter configuration, which can meet the simulation needs of different application scenarios. The target interface of the main control device is an open interface. As long as other simulation platforms or devices have the same target interface as the main control device, they can interact with the main control device. Through the open interface design, the system has good scalability and can be used in conjunction with other simulation platforms or devices.

[0149] (5) Real-time feedback and optimization: The simulation results of the channel simulator can be returned in real time via 10 Gigabit Ethernet. Users can adjust the configuration parameters in real time based on the feedback results, which ensures the accuracy and efficiency of the simulation.

[0150] This application also provides a control device for a channel simulator applied to a master control device, wherein the master control device is equipped with master control software developed using QT tools for controlling the channel simulator. The control device for a channel simulator applied to a master control device provided in this application is described below, and the control device described below corresponds to the control method described above.

[0151] Please see Figure 7 This illustration shows a schematic diagram of the structure of a control device for a channel simulator applied to a main control device, as provided in an embodiment of this application. Figure 7 As shown, the device may include: a file acquisition module 701, an instruction generation module 702, an instruction sending module 703, and a parameter adjustment module 704.

[0152] The file acquisition module 701 is used to acquire a target configuration file that is compatible with the current operating system. The target configuration file is generated by the QT tool based on the configuration parameters pre-input to the graphical user interface. The current operating system supports target interfaces with a data transfer rate greater than a preset threshold.

[0153] The instruction generation module 702 is used to generate simulation control instructions based on the target configuration file.

[0154] The instruction sending module 703 is used to send simulation control instructions to the channel simulator through the target interface, so that the channel simulator can perform channel transmission simulation based on the simulation control instructions and obtain performance statistics generated during the channel transmission simulation process.

[0155] The parameter adjustment module 704 is used to adjust the configuration parameters and return to the executable file acquisition module when the performance statistics returned by the channel simulator through the target interface do not meet the requirements, until the performance statistics meet the requirements.

[0156] The control device for a channel simulator applied to a main control device provided in this application can be used on a main control device equipped with main control software developed using QT tools for controlling the channel simulator. This allows the main control device to control the channel simulator based on the main control software. The control process may include: obtaining a target configuration file adapted to the current operating system; generating simulation control commands based on the target configuration file; sending the simulation control commands to the channel simulator through a target interface; enabling the channel simulator to perform channel transmission simulation based on the simulation control commands; obtaining performance statistics generated during the channel transmission simulation process; adjusting configuration parameters if the performance statistics returned by the channel simulator through the target interface do not meet the requirements; and returning to obtain a target configuration file adapted to the current operating system until the performance statistics meet the requirements. This application uses a target interface with a data transmission rate greater than a preset threshold to transmit simulation control commands and performance statistics, achieving real-time data transmission and improving data transmission efficiency. Furthermore, this application can develop target configuration files adapted to the current operating system based on QT tools, allowing any operating system supported by QT tools to apply the solution of this application, resulting in stronger cross-platform adaptability. Moreover, users only need to input configuration parameters in the graphical user interface to automatically generate the configuration file, reducing the complexity of user operations and saving labor costs.

[0157] In one possible implementation, the instruction generation module may include: a first parameter determination module, a second parameter determination module, and an instruction determination module.

[0158] The first parameter determination module is used to perform link calculations based on the target configuration file, terminal pose, and antenna information to obtain the first control parameters.

[0159] The second parameter determination module is used to determine the current port information from a preset time slot table based on the current software interrupt count value, as the second control parameter. The current software interrupt count value is obtained by counting software interrupts generated based on a preset time synchronization pulse signal.

[0160] The instruction determination module is used to generate simulation control instructions based on the first control parameters and the second control parameters.

[0161] In one possible implementation, the first control parameter mentioned above includes, but is not limited to, the following parameters: free space attenuation and link delay.

[0162] This application also provides a control device for a channel simulator applied to QT tools. The control device for a channel simulator applied to QT tools provided in this application will be described below. The control device for a channel simulator applied to QT tools described below can be referred to in correspondence with the control method for a channel simulator applied to QT tools described above.

[0163] Please see Figure 8 This illustration shows a schematic diagram of the control device for a channel simulator applied to QT tools, as provided in an embodiment of this application. Figure 8 As shown, the device may include: a system configuration module 801, a software configuration module 802, a communication configuration module 803, a parameter acquisition module 804, and a file generation module 805.

[0164] System configuration module 801 is used to install and configure the current operating system so that the current operating system supports target interfaces with data transfer rates greater than a preset threshold.

[0165] Software configuration module 802 is used to set up a development environment on the current operating system to obtain the master control device.

[0166] The communication configuration module 803 is used to enable communication between the channel simulator and the main control device after the target interface is set in the channel simulator.

[0167] The parameter acquisition module 804 is used to generate a graphical user interface so that the user can input configuration parameters in the graphical user interface.

[0168] The file generation module 805 is used to generate a target configuration file adapted to the current operating system based on configuration parameters, so that the main control device can interact with the channel simulator based on the target configuration file.

[0169] The control device for the channel simulator applied to QT tools provided in this application can create a control environment through QT tools before actually controlling the channel simulator. This achieves the purpose of real-time control of the channel simulator by the main control device within the created control environment. Furthermore, this real-time control process has stronger cross-platform adaptability and lower operational complexity.

[0170] This application also provides an electronic device. Optionally, Figure 9 A hardware block diagram of the electronic device is shown, with reference to... Figure 9 The hardware structure of the electronic device may include: at least one processor 901, at least one communication interface 902, at least one memory 903 and at least one communication bus 904;

[0171] In this embodiment of the application, the number of processor 901, communication interface 902, memory 903 and communication bus 904 is at least one, and processor 901, communication interface 902 and memory 903 communicate with each other through communication bus 904;

[0172] The processor 901 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.

[0173] The memory 903 may include high-speed RAM, or it may also include non-volatile memory, such as at least one disk storage device;

[0174] The memory 903 stores a computer program, and the processor 901 can call the computer program stored in the memory 903 to enable the electronic device to implement any of the above-mentioned control methods for the channel simulator applied to the main control device or the control methods for the channel simulator applied to the QT tool.

[0175] Optionally, the refined and extended functions of the computer program can be referred to the description above.

[0176] This application also provides a computer program product including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device enables the electronic device to implement any of the above-mentioned control methods for a channel simulator applied to a main control device or for a channel simulator applied to a QT tool.

[0177] Optionally, the refined and extended functions of the program can be found in the description above.

[0178] This application also provides a computer-readable storage medium that carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any of the above-mentioned control methods for a channel simulator applied to a main control device or for a channel simulator applied to a QT tool.

[0179] Optionally, the refined and extended functions of the program can be found in the description above.

[0180] Finally, it should be noted that in this document, relational terms such as "second" and "etc." are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0181] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0182] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A control method for a channel simulator, characterized in that, It is applied to a main control device, which is equipped with main control software developed using QT tools for controlling the channel simulator; The control method for the channel simulator includes: Obtain a target configuration file adapted to the current operating system. The target configuration file is generated by the QT tool based on configuration parameters pre-input to the graphical user interface. The current operating system supports target interfaces with a data transfer rate greater than a preset threshold. Simulation control instructions are generated based on the target configuration file; The simulation control command is sent to the channel simulator through the target interface, so that the channel simulator performs channel transmission simulation based on the simulation control command and obtains the performance statistics generated during the channel transmission simulation process. If the performance statistics returned by the channel simulator through the target interface do not meet the requirements, the configuration parameters are adjusted, and the target configuration file adapted to the current operating system is obtained, until the performance statistics meet the requirements. The step of generating simulation control instructions based on the target configuration file includes: Based on the target configuration file, terminal pose, and antenna information, link calculation is performed to obtain the first control parameter; The current port information is determined from a preset time slot table based on the current software interrupt count value and used as the second control parameter. The current software interrupt count value is obtained by counting software interrupts generated based on a preset time synchronization pulse signal. The simulation control command is generated based on the first control parameter and the second control parameter.

2. The control method for the channel simulator according to claim 1, characterized in that, The first control parameters include: free space attenuation and link delay.

3. A control system for a channel simulator, characterized in that, include: The system includes a main control device, a channel simulator, a transmitter, and a receiver. The main control device is equipped with main control software developed using QT tools to control the channel simulator. The main control device is used to obtain a target configuration file adapted to the current operating system, generate simulation control instructions based on the target configuration file, and send the simulation control instructions to the channel simulator through the target interface. The target configuration file is generated by the QT tool based on configuration parameters pre-input to the graphical user interface, and the target interface is an interface supported by the current operating system and whose data transmission rate is greater than a preset threshold. The channel simulator is used to generate a simulated channel based on the simulation control command, so that the transmitter and receiver can transmit data based on the simulated channel; The channel simulator is also used to acquire performance statistics generated during the data transmission process and return the performance statistics to the main control device through the target interface; The main control device is also used to adjust the configuration parameters and return to the process of obtaining a target configuration file adapted to the current operating system when the performance statistics do not meet the requirements, until the performance statistics meet the requirements. The step of generating simulation control instructions based on the target configuration file includes: Based on the target configuration file, terminal pose, and antenna information, link calculation is performed to obtain the first control parameter; The current port information is determined from a preset time slot table based on the current software interrupt count value and used as the second control parameter. The current software interrupt count value is obtained by counting software interrupts generated based on a preset time synchronization pulse signal. The simulation control command is generated based on the first control parameter and the second control parameter.

4. The control system of the channel simulator according to claim 3, characterized in that, Also includes: Target switch; The target switch is used to forward target data between the master control device and the channel simulator, wherein the target data includes the simulation control commands and the performance statistics.

5. A control device for a channel simulator, characterized in that, It is applied to a main control device, which is equipped with main control software developed using QT tools for controlling the channel simulator; The control device for the channel simulator includes: The file acquisition module is used to acquire a target configuration file that is compatible with the current operating system. The target configuration file is generated by the QT tool based on the configuration parameters pre-input to the graphical user interface. The current operating system supports target interfaces with a data transfer rate greater than a preset threshold. The instruction generation module is used to generate simulation control instructions based on the target configuration file; The instruction sending module is used to send the simulation control instruction to the channel simulator through the target interface, so that the channel simulator performs channel transmission simulation based on the simulation control instruction and obtains the performance statistics generated during the channel transmission simulation process. The parameter adjustment module is used to adjust the configuration parameters when the performance statistics returned by the channel simulator through the target interface do not meet the requirements, and return to obtain the target configuration file adapted to the current operating system until the performance statistics meet the requirements. The step of generating simulation control instructions based on the target configuration file includes: Based on the target configuration file, terminal pose, and antenna information, link calculation is performed to obtain the first control parameter; The current port information is determined from a preset time slot table based on the current software interrupt count value and used as the second control parameter. The current software interrupt count value is obtained by counting software interrupts generated based on a preset time synchronization pulse signal. The simulation control command is generated based on the first control parameter and the second control parameter.

6. An electronic device, characterized in that, It includes at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs; The processor is used to execute the computer program to enable the electronic device to implement the control method of the channel simulator as described in any one of claims 1 to 2.

7. A computer storage medium, characterized in that, The storage medium carries one or more computer programs that, when executed by an electronic device, enable the electronic device to implement the control method of the channel simulator as described in any one of claims 1 to 2.

Citation Information

Patent Citations

  • Airborne wireless channel simulator for typhoon detection application

    CN112087268A

  • Hardware interface signal generation method and device and electronic equipment

    CN116848519A