Software radio platform test method, device, medium and system based on generalized example waveform
By integrating GPP, DSP, and FPGA waveform components on a software radio platform to form a generalized example waveform, the problem of inconsistent testing in existing technologies is solved, enabling cross-platform traceable and reusable testing and adapting to dynamic switching of diverse hardware architectures.
Patent Information
- Application Number
- CN202611619766.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-20
- Publication Date
- 2026-11-20
AI Technical Summary
In the existing technology, the testing of software radio hardware devices relies on waveforms developed by hardware manufacturers, which leads to inconsistent testing, difficulty in cross-platform portability, and inconsistent test case formats, making it impossible to achieve traceability and reusability.
A test method based on generalized example waveforms is adopted, which integrates GPP, DSP and FPGA waveform components on the software radio platform under test, performs tests through a general-purpose computer, generates example waveforms suitable for specific hardware, and achieves cross-platform portability and deployment through standard interface design.
It enables cross-platform portability and deployment of test cases, possesses traceability and reusability, adapts to diverse hardware processor architectures, and supports dynamic switching and processing of multiple standards and waveforms.
Smart Images

Figure CN123144871A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of software-defined radio technology, and more specifically, to a software-defined radio platform testing method, apparatus, medium, and system based on a generalized example waveform. Background Technology
[0002] The introduction of the software-defined radio (SDR) concept breaks away from the traditional hardware-centric development model of radios, decoupling waveform implementation from hardware resource implementation. With the rapid development of applications such as 5G / 6G communication and the Internet of Things (IoT), SDR systems need to support dynamic switching and processing of multiple standards and waveforms, placing higher demands on the performance indicators of SDR equipment.
[0003] However, there are significant shortcomings in the existing technology for testing software radio hardware devices: (1) Testing relies on software radio platform hardware manufacturers to develop corresponding waveforms, which on the one hand deviates from the design concept of software and hardware decoupling; on the other hand, the waveforms developed by different manufacturers are different and cannot objectively reflect the hardware level; (2) The lack of standardization of test cases leads to difficulties in cross-unit collaboration. Different research and development units adopt different test schemes, and each software radio device has its own test system. The test data format is not uniform, making it difficult to form traceable and reusable test cases. Summary of the Invention
[0004] The purpose of this invention is to overcome the shortcomings of the prior art and provide a software radio platform testing method, device, medium and system based on a generalized example waveform. This solves the problems mentioned in the background, realizes the cross-platform portability and deployment of test cases, and has the advantages of traceability and reusability.
[0005] The objective of this invention is achieved through the following solution: A software radio platform testing method based on a generalized example waveform includes the following steps: First, the software performance testing software for the software radio platform is deployed on a general-purpose computer, and the test cases for GPP waveform components, DSP waveform components, and FPGA waveform components are integrated on the software radio platform under test. Next, the appropriate waveform component test cases are selected and combined and trimmed by the software radio platform under test to form a sample waveform suitable for the specific software radio platform hardware under test. The test is then initiated by the hardware performance testing software to stimulate the sample waveform in the software radio platform under test to run and execute the test.
[0006] Furthermore, the GPP waveform component test cases, DSP waveform component test cases, and FPGA waveform component test cases are all developed by the tester and do not depend on the hardware of the software radio platform under test.
[0007] Furthermore, the GPP waveform component test cases specifically include a first message sending and receiving module, a first message parsing and encapsulation module, a first excitation data simulation module, a first test function module, and a first thread management module; The first message sending and receiving module is used for CORBA message sending and receiving, MHAL message sending and receiving, and TCP / UDP message sending and receiving, wherein CORBA message sending and receiving enables communication with the core framework; The first message parsing and encapsulation module is used for MHAL message parsing and encapsulation and TCP / UDP message parsing and encapsulation; The first excitation data simulation module is used for simulating modulation data; The first test function module is used for output frequency testing, channel bandwidth, output power and frequency hopping rate testing functions; The first thread management module is used for thread creation and destruction.
[0008] Furthermore, the DSP waveform component test cases specifically include: a second message sending and receiving module, a second message parsing and encapsulation module, a second excitation data simulation module, a second test function module, and a second thread management module; The second message sending and receiving module is used for MHAL message sending and receiving; The second message parsing and encapsulation module is used for MHAL message parsing and encapsulation; The second excitation data simulation module is used for simulating modulation data; The second test function module is used for output frequency testing, channel bandwidth, output power and frequency hopping rate testing functions; The second thread management module is used for thread creation and destruction.
[0009] Furthermore, the FPGA waveform component test cases specifically include: a third message sending and receiving module, a third message parsing and encapsulation module, a third excitation data simulation module, a third test function module, a timing module, and a FIFO module; The third message sending and receiving module is used for MHAL message sending and receiving; The third message parsing and encapsulation module is used for MHAL message parsing and encapsulation; The third excitation data simulation module is used for simulating modulation data; The third test function module is used for output frequency testing, channel bandwidth, output power and frequency hopping rate testing functions; The timing module is used to generate test timing control signals to realize time synchronization and clock control of excitation data transmission, response data reception and various test processes. The timing accuracy of the timing module is adaptively adjusted and is not limited by the hardware clock of the software radio platform under test. The FIFO module is used for data buffering and asynchronous transmission between modules with different rates, temporary storage of test stimulus data, and smooth transition of received data. By selecting FIFO modules of different sizes, both large data transmission in broadband mode and small data transmission in narrowband mode are taken into account, so as to ensure reliability and save hardware resources.
[0010] Furthermore, the GPP waveform component test cases, DSP waveform component test cases, and FPGA waveform component test cases are specifically designed using standard interfaces that comply with SCA / SRTF requirements, and are independent of the hardware platform, thus enabling cross-platform portability.
[0011] Furthermore, after generating example waveforms applicable to the specific software radio platform hardware under test, the process also includes the following steps: The example waveform is encapsulated to form a generalized example waveform. This is then compiled with the driver project of the software radio platform to generate an executable object file that can be directly ported and embedded into the software radio under test.
[0012] A software radio platform testing apparatus based on a generalized example waveform includes a processor and a memory, wherein the memory stores a computer program that, when loaded by the processor, executes the software radio platform testing method based on the generalized example waveform as described above.
[0013] A computer-readable storage medium storing a computer program that, when loaded by a processor, executes the software radio platform test method based on a generalized example waveform as described in any of the preceding claims.
[0014] A software radio platform test system based on a generalized example waveform includes the software radio platform test apparatus based on the generalized example waveform as described above.
[0015] The beneficial effects of this invention include: This invention's method, on the one hand, encapsulates different test example waveforms into different test example waveform components (GPP waveform component, DSP waveform component, FPGA waveform component). When integrating on the software-defined radio platform under test (SDRT), the appropriate component is selected to adapt to the diverse heterogeneous processor architecture combinations of the SDRT platforms. Based on these test example waveform components, it can adapt to pure GPP SDRT platforms, GPP+DSP SDRT platforms, GPP+FPGA SDRT platforms, and GPP+DSP+FPGA SDRT platforms, thus possessing good versatility and reusability. On the other hand, it can be directly ported and embedded into the SDRT radio, decoupling the test case code from the host radio. It utilizes the host radio software platform's development environment and support libraries for compilation, generating executable target files, thus achieving cross-platform portability and deployment of test cases. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention 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 some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a schematic diagram of a waveform test case according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the functional composition of the GPP waveform component test case according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the functional composition of the DSP waveform component test case according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the functional composition of the FPGA waveform component test case according to an embodiment of the present invention; Figure 5 This is a flowchart illustrating the workflow of an embodiment of the present invention; In the diagram, 10 is a general-purpose computer, 101 is the software performance testing software for the software radio platform, 20 is the software radio platform under test, 201 is the GPP waveform component test case, 202 is the DSP waveform component test case, and 203 is the FPGA waveform component test case. Detailed Implementation
[0018] All features disclosed in all embodiments of this specification, or steps in all methods or processes implied in the disclosure, may be combined and / or extended or replaced in any way, except for mutually exclusive features and / or steps.
[0019] It should be noted that relational terms such as "first" and "second" 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.
[0020] In a preferred embodiment, a software radio platform testing method based on a generalized example waveform is provided. Software radio platform hardware performance testing software 101 is deployed on a general-purpose computer 10. The method integrates GPP waveform component test cases 201, DSP waveform component test cases 202, and FPGA waveform component test cases 203 on the software radio platform under test 20. (See [link to documentation]). Figure 1 GPP stands for General Purpose Processor.
[0021] Furthermore, the GPP waveform component test cases include five functional modules: the first message sending and receiving module, the first message parsing and encapsulation module, the first stimulus data simulation module, the first test function module, and the first thread management module. (See...) Figure 2 Their main functions are described as follows: First Message Transceiver Module: Implements CORBA message transmission and reception, MHAL message transmission and reception, and TCP / UDP message transmission and reception. CORBA message transmission and reception primarily enables communication with the core framework. First Message Parsing and Encapsulation Module: Implements MHAL message parsing and encapsulation, and TCP / UDP message parsing and encapsulation. First Excitation Data Simulation Module: Implements modulation data simulation, currently supporting AM, MSK, and 16QAM modulation. First Test Function Module: Implements output frequency testing, channel bandwidth, output power, and frequency hopping rate testing functions, mainly through DA control and RFC control. First Thread Management Module: Implements thread creation and termination, mainly including timer threads, completing timeout handling and timing functions. CORBA stands for Common Object Request Broker Architecture. MHAL stands for Modem Hardware Abstraction Layer.
[0022] Furthermore, the DSP waveform component test cases include five functional modules: a second message sending and receiving module, a second message parsing and encapsulation module, a second excitation data simulation module, a second test function module, and a second thread management module. (See...) Figure 3 Their main functions are described as follows: Second message transceiver module: implements MHAL message transceiver; Second message parsing and encapsulation module: implements MHAL message parsing and encapsulation; Second excitation data simulation module: implements modulation data simulation, currently implementing AM, MSK, and 16QAM modulation; Second test function module: implements output frequency testing, channel bandwidth, output power, and frequency hopping rate testing functions, mainly through DA control and RFC control; Second thread management module: implements thread creation and cancellation, mainly including timer threads, completing timeout handling and timing functions.
[0023] Furthermore, the FPGA waveform component test cases include six functional modules: a third message transmission and reception module, a third message parsing and encapsulation module, a third stimulus data simulation module, a third test function module, a timing module, and a FIFO module. (See...) Figure 4 Their main functions are described as follows: Third Message Transceiver Module: Implements MHAL message transmission and reception; Third Message Parsing and Encapsulation Module: Implements MHAL message parsing and encapsulation; Third Excitation Data Simulation Module: Implements modulation data simulation, currently supporting AM, MSK, and 16QAM modulation; Third Test Function Module: Implements output frequency testing, channel bandwidth, output power, and frequency hopping rate testing functions, mainly achieved through DA control and RFC control. Timing Module: Generates test timing control signals, realizing time synchronization and clock control for excitation data transmission, response data reception, and various test processes. The timing accuracy of the timing module can be adaptively adjusted and is not limited by the hardware clock of the software radio platform under test; FIFO Module: Enables data buffering and asynchronous transmission between modules at different rates, achieving temporary storage of test excitation data and smooth transition of received data. Especially in the buffering of example waveforms (wideband mode) and example waveforms (narrowband mode), a large FIFO is used to ensure data reliability when transmitting large amounts of data in wideband mode, and a small FIFO is used to save hardware resources when transmitting small amounts of data in narrowband mode. DA control represents analog-to-digital control, and RFC control represents radio frequency control.
[0024] In other embodiments, the workflow of the software radio platform based on the generalized example waveform described above is also provided, see [link to documentation]. Figure 5 It includes three processes: test preparation, test adaptation, and test execution. 1) Test preparation: The tester provides waveform test cases from the database and the testee submits sample projects.
[0025] 2) Test adaptation: The tester embeds, compiles, and generates executable files based on the sample project of the test subject.
[0026] 3) Test execution: The test subject writes the executable file into the device under test, and the test cases are executed by the software radio platform hardware performance test software.
[0027] It should be noted that, within the scope of protection defined in the claims of this invention, the following embodiments can be combined and / or extended or replaced in any logical manner from the above specific embodiments, such as the disclosed technical principles, disclosed technical features or implicitly disclosed technical features.
[0028] Example 1 A software radio platform testing method based on a generalized example waveform includes the following steps: First, the software performance testing software for the software radio platform is deployed on a general-purpose computer, and the test cases for GPP waveform components, DSP waveform components, and FPGA waveform components are integrated on the software radio platform under test. Next, the appropriate waveform component test cases are selected and combined and trimmed by the software radio platform under test to form a sample waveform suitable for the specific software radio platform hardware under test. The test is then initiated by the hardware performance testing software to stimulate the sample waveform in the software radio platform under test to run and execute the test.
[0029] Example 2 Based on Example 1, the GPP waveform component test cases, DSP waveform component test cases, and FPGA waveform component test cases are all developed by the tester and do not depend on the hardware of the software radio platform under test.
[0030] Example 3 Based on Example 1, the GPP waveform component test case specifically includes a first message sending and receiving module, a first message parsing and encapsulation module, a first excitation data simulation module, a first test function module, and a first thread management module; The first message sending and receiving module is used for CORBA message sending and receiving, MHAL message sending and receiving, and TCP / UDP message sending and receiving, wherein CORBA message sending and receiving enables communication with the core framework; The first message parsing and encapsulation module is used for MHAL message parsing and encapsulation and TCP / UDP message parsing and encapsulation; The first excitation data simulation module is used for simulating modulation data; The first test function module is used for output frequency testing, channel bandwidth, output power and frequency hopping rate testing functions; The first thread management module is used for thread creation and destruction.
[0031] Example 4 Based on Example 1, the DSP waveform component test case specifically includes: a second message sending and receiving module, a second message parsing and encapsulation module, a second excitation data simulation module, a second test function module, and a second thread management module; The second message sending and receiving module is used for MHAL message sending and receiving; The second message parsing and encapsulation module is used for MHAL message parsing and encapsulation; The second excitation data simulation module is used for simulating modulation data; The second test function module is used for output frequency testing, channel bandwidth, output power and frequency hopping rate testing functions; The second thread management module is used for thread creation and destruction.
[0032] Example 5 Based on Example 1, the FPGA waveform component test case specifically includes: a third message sending and receiving module, a third message parsing and encapsulation module, a third excitation data simulation module, a third test function module, a timing module, and a FIFO module; The third message sending and receiving module is used for MHAL message sending and receiving; The third message parsing and encapsulation module is used for MHAL message parsing and encapsulation; The third excitation data simulation module is used for simulating modulation data; The third test function module is used for output frequency testing, channel bandwidth, output power and frequency hopping rate testing functions; The timing module is used to generate test timing control signals to realize time synchronization and clock control of excitation data transmission, response data reception and various test processes. The timing accuracy of the timing module is adaptively adjusted and is not limited by the hardware clock of the software radio platform under test. The FIFO module is used for data buffering and asynchronous transmission between modules with different rates, temporary storage of test stimulus data, and smooth transition of received data. By selecting FIFO modules of different sizes, both large data transmission in broadband mode and small data transmission in narrowband mode are taken into account, so as to ensure reliability and save hardware resources.
[0033] Example 6 Based on Example 2, the GPP waveform component test cases, DSP waveform component test cases and FPGA waveform component test cases are specifically designed using standard interfaces that comply with SCA / SRTF requirements, which are independent of the hardware platform and thus can be ported across platforms.
[0034] Example 7 Based on Example 1, after forming an example waveform suitable for the specific software radio platform hardware under test, the following steps are also included: The example waveform is encapsulated to form a generalized example waveform. This is then compiled with the driver project of the software radio platform to generate an executable object file that can be directly ported and embedded into the software radio under test.
[0035] Example 8 A software radio platform testing apparatus based on a generalized example waveform includes a processor and a memory. The memory stores a computer program, which, when loaded by the processor, executes the software radio platform testing method based on a generalized example waveform as described in any one of Embodiments 1 to 7.
[0036] Example 9 A computer-readable storage medium storing a computer program that, when loaded by a processor, executes a software radio platform test method based on a generalized example waveform as described in any one of Embodiments 1 to 7.
[0037] Example 10 A software radio platform test system based on a generalized example waveform includes the software radio platform test apparatus based on a generalized example waveform as described in Example 8.
[0038] The units described in the embodiments of the present invention can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.
[0039] According to one aspect of the present invention, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described above.
[0040] In another aspect, embodiments of the present invention also provide a computer-readable medium, which may be included in the electronic device described in the above embodiments; or it may exist independently and not assembled into the electronic device. The computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods described in the above embodiments.
Claims
1. A software radio platform testing method based on a generalized example waveform, characterized in that, Includes the following steps: First, the software performance testing software for the software radio platform is deployed on a general-purpose computer, and the test cases for GPP waveform components, DSP waveform components, and FPGA waveform components are integrated on the software radio platform under test. Next, the appropriate waveform component test cases are selected and combined and trimmed by the software radio platform under test to form a sample waveform suitable for the specific software radio platform hardware under test. The test is then initiated by the hardware performance testing software to stimulate the sample waveform in the software radio platform under test to run and execute the test.
2. The software radio platform testing method based on a generalized example waveform according to claim 1, characterized in that, The test cases for the GPP waveform components, DSP waveform components, and FPGA waveform components are all developed by the tester and do not depend on the hardware of the software radio platform under test.
3. The software radio platform testing method based on a generalized example waveform according to claim 1, characterized in that, The GPP waveform component test cases specifically include a first message sending and receiving module, a first message parsing and encapsulation module, a first excitation data simulation module, a first test function module, and a first thread management module; The first message sending and receiving module is used for CORBA message sending and receiving, MHAL message sending and receiving, and TCP / UDP message sending and receiving, wherein CORBA message sending and receiving enables communication with the core framework; The first message parsing and encapsulation module is used for MHAL message parsing and encapsulation and TCP / UDP message parsing and encapsulation; The first excitation data simulation module is used for simulating modulation data; The first test function module is used for output frequency testing, channel bandwidth, output power and frequency hopping rate testing functions; The first thread management module is used for thread creation and destruction.
4. The software radio platform testing method based on a generalized example waveform according to claim 1, characterized in that, The DSP waveform component test cases specifically include: a second message sending and receiving module, a second message parsing and encapsulation module, a second excitation data simulation module, a second test function module, and a second thread management module; The second message sending and receiving module is used for MHAL message sending and receiving; The second message parsing and encapsulation module is used for MHAL message parsing and encapsulation; The second excitation data simulation module is used for simulating modulation data; The second test function module is used for output frequency testing, channel bandwidth, output power and frequency hopping rate testing functions; The second thread management module is used for thread creation and destruction.
5. The software radio platform testing method based on a generalized example waveform according to claim 1, characterized in that, The FPGA waveform component test cases specifically include: a third message sending and receiving module, a third message parsing and encapsulation module, a third excitation data simulation module, a third test function module, a timing module, and a FIFO module; The third message sending and receiving module is used for MHAL message sending and receiving; The third message parsing and encapsulation module is used for MHAL message parsing and encapsulation; The third excitation data simulation module is used for simulating modulation data; The third test function module is used for output frequency testing, channel bandwidth, output power and frequency hopping rate testing functions; The timing module is used to generate test timing control signals to realize time synchronization and clock control of excitation data transmission, response data reception and various test processes. The timing accuracy of the timing module is adaptively adjusted and is not limited by the hardware clock of the software radio platform under test. The FIFO module is used for data buffering and asynchronous transmission between modules with different rates, temporary storage of test stimulus data, and smooth transition of received data. By selecting FIFO modules of different sizes, both large data transmission in broadband mode and small data transmission in narrowband mode are taken into account, so as to ensure reliability and save hardware resources.
6. The software radio platform testing method based on a generalized example waveform according to claim 2, characterized in that, The GPP waveform component test cases, DSP waveform component test cases, and FPGA waveform component test cases are designed using standard interfaces that comply with SCA / SRTF requirements, and are independent of hardware platforms, thus enabling cross-platform portability.
7. The software radio platform testing method based on a generalized example waveform according to claim 1, characterized in that, After generating example waveforms applicable to the specific software radio platform hardware under test, the following steps are also included: The example waveform is encapsulated to form a generalized example waveform. This is then compiled with the driver project of the software radio platform to generate an executable object file that can be directly ported and embedded into the software radio under test.
8. A software radio platform test apparatus based on a generalized example waveform, characterized in that, It includes a processor and a memory, wherein the memory stores a computer program that, when loaded by the processor, executes the software radio platform test method based on a generalized example waveform as described in any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that, A computer program is stored in a readable storage medium, which, when loaded by a processor, executes the software radio platform test method based on a generalized example waveform as described in any one of claims 1 to 7.
10. A software radio platform test system based on a generalized example waveform, characterized in that, The software radio platform test apparatus based on a generalized example waveform as described in claim 8 is included.
