CN117915376B - WiFi signal testing method - Google Patents

WiFi signal testing method Download PDF

Info

Publication number
CN117915376B
CN117915376B CN202410306920.XA CN202410306920A CN117915376B CN 117915376 B CN117915376 B CN 117915376B CN 202410306920 A CN202410306920 A CN 202410306920A CN 117915376 B CN117915376 B CN 117915376B
Authority
CN
China
Prior art keywords
test
module
test case
sub
wifi
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202410306920.XA
Other languages
Chinese (zh)
Other versions
CN117915376A (en
Inventor
邱建鹏
李训炎
张志其
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ouzhitong Technology Co ltd
Original Assignee
Ouzhitong Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ouzhitong Technology Co ltd filed Critical Ouzhitong Technology Co ltd
Priority to CN202410306920.XA priority Critical patent/CN117915376B/en
Publication of CN117915376A publication Critical patent/CN117915376A/en
Application granted granted Critical
Publication of CN117915376B publication Critical patent/CN117915376B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a WiFi signal testing method, which comprises the following steps: building a UVM verification platform on a PC upper computer, setting a test environment through the UVM verification platform, and setting a test case table; the system is connected to a Wi-Fi and BT two-in-one 2T2R module through a signal monitoring module; operating a Wi-Fi and BT two-in-one 2T2R module, and performing signal test on the Wi-Fi and BT two-in-one 2T2R module by the signal monitoring module according to a test case table in a test environment; and the signal monitoring module collects data of the Wi-Fi and BT two-in-one 2T2R module and uploads the data to a test result configuration item in the test case table. Multiple test cases can be quickly modified and configured by setting configuration items in batches; more test cases can be added to the test case table according to the requirement to represent other configuration information so as to meet different test requirements.

Description

WiFi signal testing method
Technical Field
The invention relates to the technical field of communication test, in particular to a WiFi signal test method.
Background
WiFi signal testing technology is a process of evaluating and measuring the signal quality, strength, and stability of a WiFi network. It generally involves using WiFi test tools and equipment to evaluate the performance and availability of a WiFi network, facilitating a user in determining potential problems and the likelihood of improvement. For the industrialization of WIFI access equipment, the efficient, reliable and intelligent comprehensive production line testing equipment is a guarantee for mass production. By establishing the WIFI terminal test platform, foundation and technical service are provided for research, development, design and application of WLAN terminal products, and a reliable evaluation environment is provided for research, development and production of WLAN technologies and products.
For some WiFi modules, BT50 protocols are also supported, for example, wi-fi+bt two-in-one 2T2R modules, which require detection of WiFi signals and bluetooth.
The existing WiFi signal testing technology is difficult to detect various signals and effectively manage test result data of various test cases.
Disclosure of Invention
The invention aims to provide a WiFi signal testing method which solves the following technical problems:
The existing WiFi signal testing technology is difficult to detect various signals and effectively manage test result data of various test cases.
The aim of the invention can be achieved by the following technical scheme:
a WiFi signal testing method comprises the following steps:
Building a UVM verification platform on a PC upper computer, setting a test environment through the UVM verification platform, and setting a test case table;
The system is connected to a Wi-Fi and BT two-in-one 2T2R module through a signal monitoring module;
Operating a Wi-Fi and BT two-in-one 2T2R module, and performing signal test on the Wi-Fi and BT two-in-one 2T2R module by the signal monitoring module according to a test case table in a test environment;
the signal monitoring module collects data of the Wi-Fi and BT two-in-one 2T2R module and uploads the data to a test result configuration item in a test case table;
and the PC upper computer monitors and analyzes the signal of the Wi-Fi and BT two-in-one 2T2R module according to the data in the test result configuration item in the test case table.
As a further scheme of the invention: the Wi-Fi and BT two-in-one 2T2R module comprises: wiFi sub-module and bluetooth sub-module.
As a further scheme of the invention: the signal monitoring module is provided with a transmitter and a receiver for the WiFi sub-module and a transmitter and a receiver for the Bluetooth sub-module.
As a further scheme of the invention: building a UVM verification platform on a PC upper computer, wherein the UVM verification platform comprises the following steps:
Installing and configuring a software tool of a UVM verification platform, the software tool of the UVM verification platform comprising: a SystemVerilog compiler, an inspector, and a UVM library;
And setting a WIFI test interface and a BT test interface of the UVM verification platform, and configuring a test environment component.
As a further scheme of the invention: the signal monitoring module is connected to a Wi-Fi+BT two-in-one 2T2R module through an SDIO interface module, wherein the SDIO interface module supports the BT5.0 protocol, and the 802.11a/b/g/n/ac/ax standard and the 802.1lac 2x2 standard.
As a further scheme of the invention: setting a test environment and a test case table through a UVM verification platform, and comprising the following steps:
The method comprises the steps of taking the integrity and transmission speed of a continuous receiving and transmitting packet, the correct rate and transmission speed of an out-of-order receiving and transmitting packet, the response state and response speed of processing of an error frame data packet and the decoding correctness and decoding corresponding time of the alternating receiving and transmitting packet of the WiFi sub-module and the Bluetooth sub-module as test targets, setting a test environment and a test case, and deploying the test case into a test case table;
Associating the test case table with a checker of the UVM verification platform, and configuring an error injection mechanism;
According to the signal state in the monitoring test environment, performing function verification and coverage rate analysis through a checker;
and debugging according to the results of the function verification and coverage rate analysis.
As a further scheme of the invention: associating the test case table with a checker of the UVM verification platform, comprising the steps of:
defining a checker class in a test environment of a UVM verification platform, and inheriting the checker class from a UVM analysis port base class;
During the construction of the test case, the inspector is bound with the input signal or the output signal associated with the inspector in the test case table.
As a further scheme of the invention: the test cases in the test case table comprise: test cases of continuous receiving and transmitting packets, test cases of out-of-order receiving and transmitting packets, test cases of error frames and test cases of alternate receiving and transmitting packets;
the signal monitoring module performs signal test on the Wi-Fi and BT two-in-one 2T2R module according to the test cases of the continuous receiving and transmitting packets, the test cases of the disordered receiving and transmitting packets, the test cases of the error frames and the test cases of the alternative receiving and transmitting packets in the test case table under the test environment.
As a further scheme of the invention: the signal monitoring module performs signal test on the Wi-Fi and BT two-in-one 2T2R module according to a test case table in a test environment, and comprises the following steps:
Sequentially carrying out signal test on the Wi-Fi and BT two-in-one 2T2R module according to the test cases of the continuous receiving and transmitting packets, the test cases of the disordered receiving and transmitting packets, the test cases of the error frames and the test cases of the alternate receiving and transmitting packets in the test case table;
The test is carried out through the test cases of the continuous receiving and transmitting package: the method comprises the steps that different numbers of data packets are randomly transmitted through a transmitter of a WiFi sub-module and a transmitter of a Bluetooth sub-module, and are stored in a fifo queue first, and when the transmitter receives a request of a receiver of a corresponding sub-module, the data packets are taken out of the fifo queue to be transmitted;
each time the receiver receives a data packet, verifying the integrity of the data packet, if the data packet is complete, carrying out the next step, otherwise, failing the test case;
Testing the transmission delay of each data packet, judging whether the transmission rate and the delay time are within a preset range, if so, passing the test case, otherwise, not passing the test case;
testing through the test cases of out-of-order receiving and transmitting packets: the method comprises the steps that data packets are sent out of order through a transmitter of a WiFi sub-module and a transmitter of a Bluetooth sub-module, whether the data packets sent out of order can be ordered correctly or not after a receiver of the WiFi sub-module and a receiver of the Bluetooth sub-module receive the corresponding data packets is tested, if the data packets are ordered correctly, the next step is carried out, otherwise, test cases do not pass;
testing the transmission delay of the data packets sent out of order, judging whether the packet loss rate and the delay time are in a preset range, if so, passing the test case, otherwise, not passing the test case;
Testing by using test cases of error frames: the method comprises the steps that a transmitter of a WiFi sub-module and a transmitter of a Bluetooth sub-module simultaneously transmit data packets containing error check codes or error formats, a receiving end is verified to be capable of correctly detecting and processing error frames, whether the receiver of the WiFi sub-module and the receiver of the Bluetooth sub-module discard the data packets containing the error check codes or the error formats or not is tested, a re-request instruction is sent, if yes, the next step is carried out, and otherwise, test cases do not pass;
Detecting whether the response time of the receiver of the WiFi sub-module and the receiver of the Bluetooth sub-module exceeds a preset response time threshold, if the response time of the receiver of the WiFi sub-module and the receiver of the Bluetooth sub-module does not exceed the preset response time threshold, passing the test case, otherwise, not passing the test case;
The test is carried out through the test cases of the alternate receiving and transmitting package: the method comprises the steps that different numbers of WiFi packets and Bluetooth packets are randomly and alternately transmitted through a transmitter of a WiFi sub-module and a transmitter of a Bluetooth sub-module, whether all receivers of the WiFi sub-module and all receivers of the Bluetooth sub-module can be decoded correctly or not is checked, if all the receivers of the WiFi sub-module and the receivers of the Bluetooth sub-module can be decoded correctly, the next step is carried out, and if not, the test cases do not pass;
Detecting whether the response time of decoding by the receiver of the WiFi sub-module and the receiver of the Bluetooth sub-module exceeds a preset response time threshold, if not, passing the test case, otherwise, not passing the test case.
As a further scheme of the invention: the PC upper computer monitors and analyzes signals of the Wi-Fi and BT two-in-one 2T2R module according to data in a test result configuration item in a test case table, and comprises the following steps:
If the data in the test result configuration items of the test case table are all the test case passing, the test is passed;
if the test result configuration item of the test case table contains data which cannot pass through the test case, carrying out a second signal test on the Wi-Fi+BT two-in-one 2T2R module according to the test case table;
if the data in the test result configuration items of the second signal test are all the test case passing, the test is passed; otherwise, marking the test cases which do not pass through the test result configuration items of the twice test case list as detection abnormality.
The invention has the beneficial effects that:
According to the invention, a UVM verification platform is built on a PC upper computer, a test environment is set through the UVM verification platform, a test case table is set, and a signal monitoring module performs signal test on a Wi-Fi and BT two-in-one 2T2R module according to the test case table under the test environment; the test cases are uniformly deployed into the test case table, so that the test cases are convenient to set and manage; multiple test cases can be quickly modified and configured by setting configuration items in batches; more test cases can be added to the test case table according to the requirement to represent other configuration information so as to meet different test requirements.
According to the invention, the signal monitoring module collects the data of the Wi-Fi and BT two-in-one 2T2R module and uploads the data to the test result configuration item in the test case table, and the PC upper computer monitors and analyzes the signal of the Wi-Fi and BT two-in-one 2T2R module according to the data in the test result configuration item in the test case table; the method is convenient for managing the test results of the test cases of the sub-modules contained in the Wi-Fi and BT two-in-one 2T2R module, is convenient for the PC upper computer to orderly acquire and analyze the results of the test cases, realizes the parallel test of Wi-Fi and BT signals of the Wi-Fi and BT two-in-one 2T2R module, and reduces the test time; meanwhile, parallel testing of a plurality of testing scenes and testing cases is facilitated, and verification efficiency is improved.
Drawings
The invention is further described below with reference to the accompanying drawings.
FIG. 1 is a schematic flow chart of the method of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, the present invention is a WiFi signal testing method, comprising the following steps:
Building a UVM verification platform on a PC upper computer, setting a test environment through the UVM verification platform, and setting a test case table;
The system is connected to a Wi-Fi and BT two-in-one 2T2R module through a signal monitoring module;
Operating a Wi-Fi and BT two-in-one 2T2R module, and performing signal test on the Wi-Fi and BT two-in-one 2T2R module by the signal monitoring module according to a test case table in a test environment;
the signal monitoring module collects data of the Wi-Fi and BT two-in-one 2T2R module and uploads the data to a test result configuration item in a test case table;
and the PC upper computer monitors and analyzes the signal of the Wi-Fi and BT two-in-one 2T2R module according to the data in the test result configuration item in the test case table.
Specifically, a UVM verification platform is built on a PC upper computer, a test environment is set through the UVM verification platform, a test case table is set, and a signal monitoring module performs signal test on a Wi-Fi+BT two-in-one 2T2R module according to the test case table in the test environment; the test cases are uniformly deployed into the test case table, so that the test cases are convenient to set and manage; multiple test cases can be quickly modified and configured by setting configuration items in batches; more test cases can be added to the test case table according to the requirement to represent other configuration information so as to meet different test requirements.
The method comprises the steps that data of a Wi-Fi and BT two-in-one 2T2R module are collected through a signal monitoring module and uploaded to a test result configuration item in a test case table, and a PC upper computer monitors and analyzes the signal of the Wi-Fi and BT two-in-one 2T2R module according to the data in the test result configuration item in the test case table; the method is convenient for managing the test results of the test cases of the sub-modules contained in the Wi-Fi and BT two-in-one 2T2R module, is convenient for the PC upper computer to orderly acquire and analyze the results of the test cases, realizes the parallel test of Wi-Fi and BT signals of the Wi-Fi and BT two-in-one 2T2R module, and reduces the test time; meanwhile, parallel testing of a plurality of testing scenes and testing cases is facilitated, and verification efficiency is improved.
In one embodiment of the present invention, the Wi-fi+bt two-in-one 2T2R module includes: wiFi sub-module and bluetooth sub-module.
Specifically, the signal monitoring module collects data of the Wi-Fi and BT two-in-one 2T2R module and uploads the data to the test result configuration item in the test case table, so that the WiFi sub-module and the Bluetooth sub-module in the Wi-Fi and BT two-in-one 2T2R module are convenient to integrate for testing and management of test results.
In one embodiment of the present invention, the signal monitoring module is provided with a transmitter and a receiver for the WiFi sub-module, and a transmitter and a receiver for the bluetooth sub-module.
In one embodiment of the invention, a UVM verification platform is built on a PC upper computer, and the method comprises the following steps:
Installing and configuring a software tool of a UVM verification platform, the software tool of the UVM verification platform comprising: a SystemVerilog compiler, an inspector, and a UVM library;
And setting a WIFI test interface and a BT test interface of the UVM verification platform, and configuring a test environment component.
In particular, wi-Fi and BT functions can be tested separately without interfering with each other by using separate test interfaces. This ensures that each function is adequately tested and that the reliability and performance of the function can be accurately assessed. Flexible configuration and control capability are also provided for the UVM verification platform, and the configuration can be customized according to test requirements. Thus, detailed tests can be performed for different test schemes, including functional tests, performance tests, compatibility tests, and the like. The UVM verification platform can realize parallel test, and the Wi-Fi test interface and the BT test interface can be arranged to test Wi-Fi and BT functions at the same time, so that the test time is shortened. Meanwhile, the method also supports the simultaneous operation of a plurality of test scenes and test cases, and improves the verification efficiency. The UVM verification platform is an extensible verification framework, and more test functions and functional coverage can be added as required. The testing team can flexibly expand and customize the testing function according to the product requirement, so that comprehensive testing coverage is realized, and the product quality is improved.
In one embodiment of the invention, the signal monitoring module is connected to a Wi-Fi+BT two-in-one 2T2R module through an SDIO interface module, wherein the SDIO interface module supports the BT5.0 protocol, and the 802.11a/b/g/n/ac/ax standard and the 802.1lac 2x2 standard.
In one embodiment of the present invention, a test environment is set by a UVM verification platform, and a test case table is set, including the following steps:
The method comprises the steps of taking the integrity and transmission speed of a continuous receiving and transmitting packet, the correct rate and transmission speed of an out-of-order receiving and transmitting packet, the response state and response speed of processing of an error frame data packet and the decoding correctness and decoding corresponding time of the alternating receiving and transmitting packet of the WiFi sub-module and the Bluetooth sub-module as test targets, setting a test environment and a test case, and deploying the test case into a test case table;
Associating the test case table with a checker of the UVM verification platform, and configuring an error injection mechanism;
According to the signal state in the monitoring test environment, performing function verification and coverage rate analysis through a checker;
and debugging according to the results of the function verification and coverage rate analysis.
In one embodiment of the present invention, associating a test case table with a checker of a UVM verification platform includes the steps of:
defining a checker class in a test environment of a UVM verification platform, and inheriting the checker class from a UVM analysis port base class;
During the construction of the test case, the inspector is bound with the input signal or the output signal associated with the inspector in the test case table.
Specifically, by binding the inspector with the input signal or the output signal associated with the inspector in the test case table, debugging and troubleshooting can be more conveniently performed. If the test result does not match the expected result, the problem can be located quickly, and the value and state of the signal can be checked to quickly fix the error. Meanwhile, the tester is bound with the input signal or the output signal, so that the test case can be ensured to have complete coverage for specific input and output conditions. Therefore, the accuracy and the comprehensiveness of the test can be improved, and the accuracy and the stability of the tested system under various conditions are ensured.
In one embodiment of the present invention, the test cases in the test case table include: test cases of continuous receiving and transmitting packets, test cases of out-of-order receiving and transmitting packets, test cases of error frames and test cases of alternate receiving and transmitting packets;
the signal monitoring module performs signal test on the Wi-Fi and BT two-in-one 2T2R module according to the test cases of the continuous receiving and transmitting packets, the test cases of the disordered receiving and transmitting packets, the test cases of the error frames and the test cases of the alternative receiving and transmitting packets in the test case table under the test environment.
In one embodiment of the present invention, the signal monitoring module performs signal testing on a Wi-fi+bt two-in-one 2T2R module according to a test case table in a test environment, including the following steps:
Sequentially carrying out signal test on the Wi-Fi and BT two-in-one 2T2R module according to the test cases of the continuous receiving and transmitting packets, the test cases of the disordered receiving and transmitting packets, the test cases of the error frames and the test cases of the alternate receiving and transmitting packets in the test case table;
The test is carried out through the test cases of the continuous receiving and transmitting package: the method comprises the steps that different numbers of data packets are randomly transmitted through a transmitter of a WiFi sub-module and a transmitter of a Bluetooth sub-module, and are stored in a fifo queue first, and when the transmitter receives a request of a receiver of a corresponding sub-module, the data packets are taken out of the fifo queue to be transmitted;
Specifically, the FIFO queue is a first-in first-out data structure, and is suitable for a scenario requiring data processing according to a certain order, and by storing the FIFO queue in the FIFO queue, when the transmitter receives a request of a receiver of a corresponding sub-module, a data packet is taken out from the FIFO queue for transmission, so that test cases can be used for continuously receiving and transmitting the test cases of the packets according to a certain order.
Each time the receiver receives a data packet, verifying the integrity of the data packet, if the data packet is complete, carrying out the next step, otherwise, failing the test case;
Testing the transmission delay of each data packet, judging whether the transmission rate and the delay time are within a preset range, if so, passing the test case, otherwise, not passing the test case;
testing through the test cases of out-of-order receiving and transmitting packets: the method comprises the steps that data packets are sent out of order through a transmitter of a WiFi sub-module and a transmitter of a Bluetooth sub-module, whether the data packets sent out of order can be ordered correctly or not after a receiver of the WiFi sub-module and a receiver of the Bluetooth sub-module receive the corresponding data packets is tested, if the data packets are ordered correctly, the next step is carried out, otherwise, test cases do not pass;
testing the transmission delay of the data packets sent out of order, judging whether the packet loss rate and the delay time are in a preset range, if so, passing the test case, otherwise, not passing the test case;
Testing by using test cases of error frames: the method comprises the steps that a transmitter of a WiFi sub-module and a transmitter of a Bluetooth sub-module simultaneously transmit data packets containing error check codes or error formats, a receiving end is verified to be capable of correctly detecting and processing error frames, whether the receiver of the WiFi sub-module and the receiver of the Bluetooth sub-module discard the data packets containing the error check codes or the error formats or not is tested, a re-request instruction is sent, if yes, the next step is carried out, and otherwise, test cases do not pass;
Detecting whether the response time of the receiver of the WiFi sub-module and the receiver of the Bluetooth sub-module exceeds a preset response time threshold, if the response time of the receiver of the WiFi sub-module and the receiver of the Bluetooth sub-module does not exceed the preset response time threshold, passing the test case, otherwise, not passing the test case;
The test is carried out through the test cases of the alternate receiving and transmitting package: the method comprises the steps that different numbers of WiFi packets and Bluetooth packets are randomly and alternately transmitted through a transmitter of a WiFi sub-module and a transmitter of a Bluetooth sub-module, whether all receivers of the WiFi sub-module and all receivers of the Bluetooth sub-module can be decoded correctly or not is checked, if all the receivers of the WiFi sub-module and the receivers of the Bluetooth sub-module can be decoded correctly, the next step is carried out, and if not, the test cases do not pass;
Detecting whether the response time of decoding by the receiver of the WiFi sub-module and the receiver of the Bluetooth sub-module exceeds a preset response time threshold, if not, passing the test case, otherwise, not passing the test case.
In one embodiment of the present invention, the PC upper computer monitors and analyzes signals of the Wi-fi+bt two-in-one 2T2R module according to data in a test result configuration item in a test case table, including the following steps:
If the data in the test result configuration items of the test case table are all the test case passing, the test is passed;
if the test result configuration item of the test case table contains data which cannot pass through the test case, carrying out a second signal test on the Wi-Fi+BT two-in-one 2T2R module according to the test case table;
if the data in the test result configuration items of the second signal test are all the test case passing, the test is passed; otherwise, marking the test cases which do not pass through the test result configuration items of the twice test case list as detection abnormality.
In the description of the present invention, it should be understood that the terms "upper," "lower," "left," "right," and the like indicate an orientation or a positional relationship based on that shown in the drawings, and are merely for convenience of description and for simplifying the description, and do not indicate or imply that the apparatus or element in question must have a specific orientation, as well as a specific orientation configuration and operation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present invention, unless otherwise indicated, the meaning of "a plurality" is two or more.
In the description of the present invention, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and the like are to be construed broadly and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
The foregoing describes one embodiment of the present invention in detail, but the description is only a preferred embodiment of the present invention and should not be construed as limiting the scope of the invention. All equivalent changes and modifications within the scope of the present invention are intended to be covered by the present invention.

Claims (8)

1. The WiFi signal testing method is characterized by comprising the following steps of:
Building a UVM verification platform on a PC upper computer, setting a test environment through the UVM verification platform, and setting a test case table;
The system is connected to a Wi-Fi and BT two-in-one 2T2R module through a signal monitoring module;
Operating a Wi-Fi and BT two-in-one 2T2R module, and performing signal test on the Wi-Fi and BT two-in-one 2T2R module by the signal monitoring module according to a test case table in a test environment;
the specific test steps of the signal monitoring module are as follows:
Sequentially carrying out signal test on the Wi-Fi and BT two-in-one 2T2R module according to the test cases of the continuous receiving and transmitting packets, the test cases of the disordered receiving and transmitting packets, the test cases of the error frames and the test cases of the alternate receiving and transmitting packets in the test case table;
The test is carried out through the test cases of the continuous receiving and transmitting package: the method comprises the steps that different numbers of data packets are randomly transmitted through a transmitter of a WiFi sub-module and a transmitter of a Bluetooth sub-module, and are stored in a fifo queue first, and when the transmitter receives a request of a receiver of a corresponding sub-module, the data packets are taken out of the fifo queue to be transmitted;
each time the receiver receives a data packet, verifying the integrity of the data packet, if the data packet is complete, carrying out the next step, otherwise, failing the test case;
Testing the transmission delay of each data packet, judging whether the transmission rate and the delay time are within a preset range, if so, passing the test case, otherwise, not passing the test case;
testing through the test cases of out-of-order receiving and transmitting packets: the method comprises the steps that data packets are sent out of order through a transmitter of a WiFi sub-module and a transmitter of a Bluetooth sub-module, whether the data packets sent out of order can be ordered correctly or not after a receiver of the WiFi sub-module and a receiver of the Bluetooth sub-module receive the corresponding data packets is tested, if the data packets are ordered correctly, the next step is carried out, otherwise, test cases do not pass;
testing the transmission delay of the data packets sent out of order, judging whether the packet loss rate and the delay time are in a preset range, if so, passing the test case, otherwise, not passing the test case;
Testing by using test cases of error frames: the method comprises the steps that a transmitter of a WiFi sub-module and a transmitter of a Bluetooth sub-module simultaneously transmit data packets containing error check codes or error formats, a receiving end is verified to be capable of correctly detecting and processing error frames, whether the receiver of the WiFi sub-module and the receiver of the Bluetooth sub-module discard the data packets containing the error check codes or the error formats or not is tested, a re-request instruction is sent, if yes, the next step is carried out, and otherwise, test cases do not pass;
Detecting whether the response time of the receiver of the WiFi sub-module and the receiver of the Bluetooth sub-module exceeds a preset response time threshold, if the response time of the receiver of the WiFi sub-module and the receiver of the Bluetooth sub-module does not exceed the preset response time threshold, passing the test case, otherwise, not passing the test case;
The test is carried out through the test cases of the alternate receiving and transmitting package: the method comprises the steps that different numbers of WiFi packets and Bluetooth packets are randomly and alternately transmitted through a transmitter of a WiFi sub-module and a transmitter of a Bluetooth sub-module, whether all receivers of the WiFi sub-module and all receivers of the Bluetooth sub-module can be decoded correctly or not is checked, if all the receivers of the WiFi sub-module and the receivers of the Bluetooth sub-module can be decoded correctly, the next step is carried out, and if not, the test cases do not pass;
Detecting whether the response time of decoding by the receiver of the WiFi sub-module and the receiver of the Bluetooth sub-module exceeds a preset response time threshold, if not, passing the test case, otherwise, not passing the test case;
the signal monitoring module collects data of the Wi-Fi and BT two-in-one 2T2R module and uploads the data to a test result configuration item in a test case table;
The PC upper computer monitors and analyzes signals of the Wi-Fi and BT two-in-one 2T2R module according to data in a test result configuration item in the test case table; the method comprises the following steps:
If the data in the test result configuration items of the test case table are all the test case passing, the test is passed;
if the test result configuration item of the test case table contains data which cannot pass through the test case, carrying out a second signal test on the Wi-Fi+BT two-in-one 2T2R module according to the test case table;
if the data in the test result configuration items of the second signal test are all the test case passing, the test is passed; otherwise, marking the test cases which do not pass through the test result configuration items of the twice test case list as detection abnormality.
2. The WiFi signal testing method according to claim 1, wherein the Wi-fi+bt two-in-one 2T2R module includes: wiFi sub-module and bluetooth sub-module.
3. The WiFi signal testing method according to claim 2, wherein the signal monitoring module is provided with a transmitter and a receiver for a WiFi sub-module, and a transmitter and a receiver for a bluetooth sub-module.
4. The WiFi signal testing method according to claim 1, wherein the UVM verification platform is built on the PC host computer, comprising the following steps:
Installing and configuring a software tool of a UVM verification platform, the software tool of the UVM verification platform comprising: a SystemVerilog compiler, an inspector, and a UVM library;
And setting a WIFI test interface and a BT test interface of the UVM verification platform, and configuring a test environment component.
5. The WiFi signal testing method according to claim 1, wherein the signal monitoring module is connected to a Wi-fi+bt two-in-one 2T2R module through an SDIO interface module, the SDIO interface module supporting BT5.0 protocol, and 802.11a/b/g/n/ac/ax standard and 802.1lac 2x2 standard.
6. The WiFi signal testing method according to claim 1, wherein the setting of the test environment and the setting of the test case table by the UVM verification platform includes the following steps:
The method comprises the steps of taking the integrity and transmission speed of a continuous receiving and transmitting packet, the correct rate and transmission speed of an out-of-order receiving and transmitting packet, the response state and response speed of processing of an error frame data packet and the decoding correctness and decoding corresponding time of the alternating receiving and transmitting packet of the WiFi sub-module and the Bluetooth sub-module as test targets, setting a test environment and a test case, and deploying the test case into a test case table;
Associating the test case table with a checker of the UVM verification platform, and configuring an error injection mechanism;
According to the signal state in the monitoring test environment, performing function verification and coverage rate analysis through a checker;
and debugging according to the results of the function verification and coverage rate analysis.
7. The WiFi signal testing method according to claim 6, wherein associating the test case table with the inspector of the UVM verification platform comprises the steps of:
defining a checker class in a test environment of a UVM verification platform, and inheriting the checker class from a UVM analysis port base class;
During the construction of the test case, the inspector is bound with the input signal or the output signal associated with the inspector in the test case table.
8. The WiFi signal testing method according to claim 1, wherein the test cases in the test case table include: test cases of continuous receiving and transmitting packets, test cases of out-of-order receiving and transmitting packets, test cases of error frames and test cases of alternate receiving and transmitting packets;
the signal monitoring module performs signal test on the Wi-Fi and BT two-in-one 2T2R module according to the test cases of the continuous receiving and transmitting packets, the test cases of the disordered receiving and transmitting packets, the test cases of the error frames and the test cases of the alternative receiving and transmitting packets in the test case table under the test environment.
CN202410306920.XA 2024-03-18 2024-03-18 WiFi signal testing method Active CN117915376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410306920.XA CN117915376B (en) 2024-03-18 2024-03-18 WiFi signal testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410306920.XA CN117915376B (en) 2024-03-18 2024-03-18 WiFi signal testing method

Publications (2)

Publication Number Publication Date
CN117915376A CN117915376A (en) 2024-04-19
CN117915376B true CN117915376B (en) 2024-06-04

Family

ID=90690860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410306920.XA Active CN117915376B (en) 2024-03-18 2024-03-18 WiFi signal testing method

Country Status (1)

Country Link
CN (1) CN117915376B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017071519A1 (en) * 2015-10-30 2017-05-04 北京新能源汽车股份有限公司 Multi-platform general test method, apparatus and system
WO2018045783A1 (en) * 2016-09-06 2018-03-15 中兴通讯股份有限公司 Method and system for switching between bluetooth and wi-fi, and client end and wireless access point device
WO2019090454A1 (en) * 2017-11-07 2019-05-16 深圳市汇顶科技股份有限公司 Bluetooth test system and method
CN112527723A (en) * 2020-12-16 2021-03-19 广州昂瑞微电子技术有限公司 UVM-based SPI verification platform and verification method
CN114818599A (en) * 2022-04-29 2022-07-29 深圳云豹智能有限公司 Chip simulation verification system
CN218788073U (en) * 2022-09-02 2023-04-04 科大讯飞股份有限公司 Circuit equipment testing device
CN116107893A (en) * 2023-02-13 2023-05-12 中国电子科技集团公司第二十九研究所 Heterogeneous platform embedded software test verification system and method
CN116996920A (en) * 2023-09-26 2023-11-03 欧智通科技股份有限公司 WiFi performance test system and method
CN117555740A (en) * 2023-11-22 2024-02-13 上海芯钛信息科技有限公司 Vehicle gauge chip DMAC verification system and method based on UVM

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070168591A1 (en) * 2005-12-08 2007-07-19 Inter-Tel, Inc. System and method for validating codec software
US11821948B2 (en) * 2020-11-13 2023-11-21 Rohde & Schwarz Gmbh & Co. Kg Measurement system and method of measuring a device under test

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017071519A1 (en) * 2015-10-30 2017-05-04 北京新能源汽车股份有限公司 Multi-platform general test method, apparatus and system
WO2018045783A1 (en) * 2016-09-06 2018-03-15 中兴通讯股份有限公司 Method and system for switching between bluetooth and wi-fi, and client end and wireless access point device
WO2019090454A1 (en) * 2017-11-07 2019-05-16 深圳市汇顶科技股份有限公司 Bluetooth test system and method
CN112527723A (en) * 2020-12-16 2021-03-19 广州昂瑞微电子技术有限公司 UVM-based SPI verification platform and verification method
CN114818599A (en) * 2022-04-29 2022-07-29 深圳云豹智能有限公司 Chip simulation verification system
CN218788073U (en) * 2022-09-02 2023-04-04 科大讯飞股份有限公司 Circuit equipment testing device
CN116107893A (en) * 2023-02-13 2023-05-12 中国电子科技集团公司第二十九研究所 Heterogeneous platform embedded software test verification system and method
CN116996920A (en) * 2023-09-26 2023-11-03 欧智通科技股份有限公司 WiFi performance test system and method
CN117555740A (en) * 2023-11-22 2024-02-13 上海芯钛信息科技有限公司 Vehicle gauge chip DMAC verification system and method based on UVM

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于UVM的WiFi6和蓝牙5.0双协议物理层验证研究";逯淑纳;《中国优秀硕士学位论文全文数据库信息科技辑》;20230715(2023年第7期);正文第1.1、1.2、2.1、2.3、2.3.1、3.1、3.1.1、3.4、3.4.2、5.1、5.2.6、5.2.7、5.2.9节 *

Also Published As

Publication number Publication date
CN117915376A (en) 2024-04-19

Similar Documents

Publication Publication Date Title
JP6271520B2 (en) Efficient parallel test method for time division duplex (TDD) communication systems
CN101828346B (en) Apparatus, system and method for calibrating and verifying a wireless communication device
KR101843534B1 (en) Achieving greater test efficiencies using acknowledgement signal suppression
US10379158B2 (en) Real-time capture of traffic upon failure for protocol debug
KR101967473B1 (en) System and method for deterministic testing of packet error rate in electronic devices
US6965769B2 (en) Testing center
CN107769865B (en) Automatic test method for radio frequency parameters of Bluetooth module
US20070258484A1 (en) Network profiling system having physical layer test system
CN101119237A (en) Network card testing method
CN106851513B (en) Method and system for testing electronic product
CN101442448B (en) Test system and method for knife blade server
CN112148515A (en) Fault positioning method, system, device, medium and equipment
CN103249069A (en) Method, equipment and system for testing mobile terminal
CN108111367A (en) Performance test methods and device
US9319298B2 (en) System and method for data packet transceiver testing after signal calibration and power settling to minimize test time
CN117915376B (en) WiFi signal testing method
US20070258483A1 (en) Network profiling system having nonphysical layer test system
CN216870733U (en) Board level communication testing device
CN117336217A (en) Test method, device and system
CN115575752A (en) Device and method for detecting packet loss and error code of CAN chip
CN117675647A (en) Method and device for testing transmission performance of hardware abstraction layer
CN114610546A (en) ISA data debugging device, method and system
CN114379816A (en) Aircraft testing system and method
JP2001103123A (en) Method and device for inspecting terminal interface
CN101408454A (en) Method for testing function of gas wireless handhold machine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant