Testing method of wireless communication device, wireless communication module, electronic device, storage medium, and computer program product
Through electronic devices equipped with comprehensive test instrument software, using SCPI instructions to communicate with the test end, the problem of high testing costs of wireless communication equipment is solved, low-cost equipment testing is realized, and the software-level testing needs of wireless communication equipment are met.
Patent Information
- Application Number
- CN202411221304.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2024-11-12
AI Technical Summary
In the research and development and production process of wireless communication equipment, the high cost of existing wireless comprehensive test instruments has led to high production and testing costs, and there is a lack of low-cost testing solutions.
Through electronic devices equipped with integrated test instrument software, SCPI instructions are used to communicate with the test end to realize the testing of the equipment to be tested, without the need for hardware wireless integrated test instruments, and the testing cost is reduced.
The software-level testing of wireless communication devices is realized, which reduces the testing cost and does not require expensive hardware comprehensive testers, which can effectively test the equipment's instruction analysis and processing capabilities.
Smart Images

Figure CN118945072A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a testing method for wireless communication equipment, a wireless communication module, a computer-readable storage medium, and a computer program product. Background Art
[0002] During the development and production of wireless communication equipment, it is necessary to test the software and hardware operation of the wireless communication equipment. In related solutions, a wireless comprehensive tester is needed to complete the test task. A wireless comprehensive tester is a precision test instrument dedicated to wireless radio frequency protocols and is widely used in the production process of communication modules such as Wi-Fi and Bluetooth. Figure 1 , which is a schematic diagram of an application scenario of a test method for wireless communication equipment in a related solution, such as Figure 1 As shown in the figure, this application scenario is to test wireless communication equipment during the development process. In this scenario, the test computer is equipped with test software and a wireless comprehensive tester ( Figure 1 The WT-328 tester in the test is connected through a network cable. The SCPI (Standard Commands for Programmable Instruments) instructions can be transmitted between the test computer and the wireless comprehensive tester through the network cable to realize the test process. Figure 1 The DUT (Device Under Test) is a wireless communication device. The test computer and the wireless communication device are connected via a network cable, and the wireless comprehensive tester and the wireless communication device are connected via an RF (Radio Frequency) line. In this application scenario, hardware engineers can focus on the optimal performance debugging of wireless communication devices, while software engineers can focus on the development of test software. In the production test scenario, multiple wireless comprehensive testers are required, and each wireless comprehensive tester can connect to multiple wireless communication devices. In the production test scenario, the communication capabilities of wireless communication devices can be tested.
[0003] However, the price of wireless comprehensive testers is generally expensive, and in the large-scale production process of wireless communication equipment, a large number of wireless comprehensive testers are often required, which makes the production cost high. In view of this, a low-cost testing solution is urgently needed for the research and development and production of wireless communication equipment. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a testing method for a wireless communication device, a wireless communication module, a computer-readable storage medium, and a computer program product, so as to reduce the testing cost of the wireless communication device during the research and development and production process.
[0005] On the one hand, the present application provides a testing method for a wireless communication device, which is applied to a testing system, wherein the testing system includes a testing end and a comprehensive tester end, wherein the testing end is an electronic device equipped with testing software, and the comprehensive tester end is an electronic device equipped with comprehensive tester software, wherein the testing end and the comprehensive tester end transmit SCPI instructions via a network cable, and the method includes:
[0006] The test end controls the device under test to send a data packet, the comprehensive tester end receives the data packet, and obtains a first processing result returned by the comprehensive tester end through a first read instruction; wherein the first processing result is a processing result pre-configured by the comprehensive tester end, and the first processing result is fed back when the comprehensive tester end responds to the first read instruction;
[0007] The test end controls the integrated tester end to send data packets and the device under test to receive data packets, and obtains a second processing result returned by the device under test through a second read instruction; wherein the second processing result is a processing result pre-configured on the device under test, and the second processing result is fed back when the device under test responds to the second read instruction.
[0008] In one embodiment, the test end controls the device under test to send a data packet, the comprehensive tester end receives the data packet, and obtains a first processing result returned by the comprehensive tester end through a first read instruction, including:
[0009] The test end sends a first sending instruction to the device under test, so that the device under test sends a data packet according to a sending parameter in the first sending instruction;
[0010] The test end sends a first receiving instruction to the comprehensive tester end, so that the comprehensive tester end locally reads a first processing result corresponding to a receiving parameter in the first receiving instruction;
[0011] The test end sends the first read instruction to the comprehensive tester end, so that the comprehensive tester end returns the first processing result in response to the first read instruction;
[0012] The test end sends a first stop instruction to the device under test, so that the device under test stops sending data packets, and checks the first processing result.
[0013] In one embodiment, the test end controls the comprehensive tester end to send a data packet, the device under test to receive a data packet, and obtains a second processing result returned by the device under test through a second read instruction, including:
[0014] The test end sends a package configuration instruction to the comprehensive tester end, so that the comprehensive tester end obtains the configuration parameters in the package configuration instruction;
[0015] The test end sends a second sending instruction to the comprehensive tester end, wherein the second sending instruction instructs the comprehensive tester end to send a data packet;
[0016] The test end sends a second receiving instruction to the device under test, so that the device under test locally reads a second processing result corresponding to the receiving parameter in the second receiving instruction;
[0017] The test end sends a second stop instruction to the device under test, wherein the second stop instruction instructs the device under test to stop receiving data packets;
[0018] The test end sends a third stop instruction to the comprehensive tester end, wherein the third stop instruction instructs the comprehensive tester end to stop sending data packets;
[0019] The test end sends a second read instruction to the device under test, so that the device under test returns the second processing result in response to the second read instruction.
[0020] In one embodiment, before the test end controls the device under test to send a data packet and the comprehensive tester end receives the data packet, the method further includes:
[0021] The test end initiates a network connection request to the comprehensive tester end and the device under test respectively.
[0022] On the other hand, the present application provides a testing method for a wireless communication device, which is applied to a test system, wherein the test system includes a test end, a comprehensive tester end, and a wireless communication module, wherein the test end is an electronic device equipped with test software, and the comprehensive tester end is an electronic device equipped with comprehensive tester software. The test end and the comprehensive tester end transmit SCPI instructions via a network cable, and the comprehensive tester end communicates with the wireless communication module via a USB interface. The method includes:
[0023] The test end controls the device under test to send a data packet, the comprehensive tester end receives the data packet based on the wireless communication module, and obtains a third processing result returned by the comprehensive tester end through a first read instruction; wherein the third processing result is a processing result of the wireless communication module on the received data packet;
[0024] The test end controls the integrated tester end to send data packets based on the wireless communication module and the device under test to receive data packets, and obtains a fourth processing result returned by the device under test through a second read instruction; wherein the fourth processing is the processing result of the received data packet by the device under test.
[0025] In one embodiment, the test end controls the device under test to send a data packet, the comprehensive tester end receives the data packet based on the wireless communication module, and obtains the third processing result returned by the comprehensive tester end through the first read instruction, including:
[0026] The test end sends a first sending instruction to the device under test, so that the device under test sends a data packet according to the sending parameters in the sending instruction;
[0027] The test end sends a first receiving instruction to the comprehensive tester end, so that the comprehensive tester end sends a control receiving instruction corresponding to the first receiving instruction to the wireless communication module; wherein the control receiving instruction instructs the wireless communication module to receive a data packet according to the receiving parameters in the first receiving instruction and determine a third processing result corresponding to the received data packet;
[0028] The test end sends the first read instruction to the comprehensive tester end, so that the comprehensive tester end responds to the first read instruction and returns the third processing result obtained from the wireless communication module;
[0029] The test end sends a first stop instruction to the device under test, so that the device under test stops sending data packets, and checks the third processing result.
[0030] In one embodiment, the test end controls the comprehensive tester end to send a data packet based on the wireless communication module, the device under test to receive a data packet, and obtains a fourth processing result returned by the device under test through a second read instruction, including:
[0031] The test end sends a packet configuration instruction to the comprehensive tester end, so that the comprehensive tester end sends a control configuration instruction corresponding to the packet configuration instruction to the wireless communication module; wherein the control configuration instruction indicates a configuration parameter in the packet configuration instruction;
[0032] The test end sends a second sending instruction to the comprehensive tester end, so that the comprehensive tester end sends a data packet with the configuration parameters based on the wireless communication module;
[0033] The test end sends a second receiving instruction to the device under test, so that the device under test receives a data packet based on a receiving parameter in the second receiving instruction;
[0034] The test end sends a second stop instruction to the device under test, so that the device under test stops receiving data packets;
[0035] The test end sends a third stop instruction to the comprehensive tester end, so that the comprehensive tester end controls the wireless communication module to stop sending data packets;
[0036] The test end sends a second read instruction to the device under test, so that the device under test returns a fourth processing result in response to the second read instruction.
[0037] In one embodiment, before the test end controls the device under test to send a data packet, the comprehensive tester end receives the data packet based on the wireless communication module, and obtains the third processing result returned by the comprehensive tester end through the first read instruction, the method further includes:
[0038] The test end initiates a network connection request to the comprehensive tester end and the device under test respectively.
[0039] In one embodiment, the method further comprises:
[0040] After establishing a network connection with the test end, the comprehensive tester end writes wireless communication firmware to the wireless communication module; wherein the wireless communication firmware is used to implement a wireless communication function.
[0041] On the other hand, the present application provides a wireless communication module, applied to a test system, comprising:
[0042] A USB interface, used for communicating with the comprehensive tester end of the test system;
[0043] A wireless communication chip, used to communicate with the device under test;
[0044] A controller is connected to the USB interface and the wireless communication chip. The controller is equipped with wireless communication firmware and is used to receive data packets sent by the device under test through the wireless communication chip, and generate a third processing result based on the received data packets; return the third processing result to the comprehensive tester through the USB interface; and send data packets to the device under test through the wireless communication chip.
[0045] Furthermore, the present application provides an electronic device, the electronic device comprising:
[0046] processor;
[0047] a memory for storing processor-executable instructions;
[0048] The processor is configured as any one of the above-mentioned testing methods for wireless communication equipment applied to a test end or a comprehensive tester end.
[0049] Furthermore, the present application provides a computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to complete any of the above-mentioned testing methods for wireless communication devices applied to a test end or a comprehensive tester end.
[0050] In addition, the present application provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements any of the above-mentioned testing methods for wireless communication devices applied to a test end or a comprehensive tester end.
[0051] The present application scheme, without the need for a hardware wireless comprehensive tester, uses an electronic device equipped with comprehensive tester software as a substitute to implement the test process of the ability of the device under test to respond to the instructions of the test end, and the ability of the test end to issue instructions (including SCPI instructions) and process instructions. This process does not require an expensive wireless comprehensive tester and implements the test process of the device under test at a lower cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solution of the embodiments of the present application, the drawings required for use in the embodiments of the present application are briefly introduced below.
[0053] Figure 1 A schematic diagram of an application scenario of a testing method for wireless communication equipment in a related solution;
[0054] Figure 2 A schematic diagram of an application scenario of a method for testing a wireless communication device provided in an embodiment of the present application;
[0055] Figure 3 A flowchart of a method for testing a wireless communication device provided in one embodiment of the present application;
[0056] Figure 4 An embodiment of the present application provides Figure 3 Detailed flow chart of step 310;
[0057] Figure 5 An embodiment of the present application provides Figure 3 Detailed flow chart of step 320;
[0058] Figure 6 A schematic diagram of an application scenario of a method for testing a wireless communication device provided in another embodiment of the present application;
[0059] Figure 7 A flowchart of a method for testing a wireless communication device provided by another embodiment of the present application;
[0060] Figure 8 An embodiment of the present application provides Figure 7 Detailed flowchart of step 710;
[0061] Fig. 9 An embodiment of the present application provides Figure 7 Detailed flow chart of step 720;
[0062] Fig.10 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0063] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0064] Similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0065] Figure 2 Schematic diagram of an application scenario of a method for testing a wireless communication device provided in an embodiment of the present application. Figure 2 As shown, the application scenario includes a device under test 20, a test end 30, and a comprehensive tester end 40; the device under test 20 can be a wireless headset, a host, a mobile phone, a tablet computer and other wireless communication devices, and the wireless communication function is tested; the test end 30 can be an electronic device such as a host, a server or a server cluster, and the test end 30 can be equipped with test software; the comprehensive tester end 40 can be an electronic device such as a host, a server or a server cluster, and the comprehensive tester end 40 can be equipped with comprehensive tester software. The test end 30 and the comprehensive tester end 40 can constitute a test system, and the test end 30 and the comprehensive tester end 40 can be connected through a network cable, and SCPI commands can be transmitted to each other. At this time, the test end 30 can be connected to the device under test 20 through a network cable. This application scenario tests the functions of instruction parsing and processing, and the device under test 20 and the comprehensive tester end 40 can be connected wirelessly or in an unconnected state.
[0066] See also Figure 3 , is a flow chart of a testing method for a wireless communication device provided in an embodiment of the present application, such as Figure 3 As shown, the method may include the following steps 310-320.
[0067] Step 310: The test end controls the device under test to send data packets and the integrated tester end to receive data packets, and obtains the first processing result returned by the integrated tester end through the first read instruction; wherein the first processing result is a processing result pre-configured by the integrated tester end, and the first processing result is fed back when the integrated tester end responds to the first read instruction.
[0068] The test end can send commands to the device under test through the network cable, so that the device under test can send data packets wirelessly. The test end can send SCPI commands to the comprehensive tester through the network cable, thereby controlling the comprehensive tester to receive data packets sent by the device under test.
[0069] After the device under test sends data packets for a period of time, the test end can obtain the first processing result from the comprehensive tester end. The first processing result may include but is not limited to transmission power, signal-to-noise ratio, bit error rate, frequency, signal strength, etc. Since the first processing result is pre-configured on the comprehensive tester end and has nothing to do with whether the comprehensive tester end receives data packets, the comprehensive tester end may or may not receive data packets during this process. For example, if the comprehensive tester end is a host equipped with the comprehensive tester software, the fact that the comprehensive tester end does not have the wireless transceiver function does not affect the entire test process.
[0070] By executing the test process of step 310, the test software of the test end and the instruction parsing and processing capabilities of the device under test can be tested in the package sending process of the device under test.
[0071] Step 320: The test end controls the integrated tester end to send data packets and the device under test to receive data packets, and obtains the second processing result returned by the device under test through a second read instruction; wherein the second processing result is a processing result pre-configured on the device under test, and the second processing result is fed back when the device under test responds to the second read instruction.
[0072] The test end can send SCPI commands to the comprehensive tester through the network cable, thereby controlling the comprehensive tester to send data packets. The test end can send commands to the device under test through the network cable, so that the device under test can receive data packets wirelessly.
[0073] After issuing instructions to control the comprehensive tester to send data packets for a period of time, the test end can obtain the second processing result from the device under test. The second processing result may include but is not limited to transmission power, signal-to-noise ratio, bit error rate, frequency, signal strength, etc. Since the second processing result is pre-configured in the device under test and has nothing to do with whether the comprehensive tester sends data packets, the comprehensive tester may or may not send data packets during this process. In other words, whether the comprehensive tester has wireless transceiver function does not affect the entire test process.
[0074] By executing the test process of step 320, the test software of the test end and the instruction parsing and processing capabilities of the device under test can be tested in the packet receiving process of the device under test.
[0075] Through the above measures, without the need for hardware wireless comprehensive testers, electronic devices equipped with comprehensive tester software are used as substitutes to test the ability of the device under test to respond to the instructions of the test end, and the ability of the test end to issue instructions (including SCPI instructions) and process instructions. This process does not require expensive wireless comprehensive testers and implements the software-level test process at a lower cost.
[0076] In one embodiment, see Figure 4 , provided in one embodiment of the present application Figure 3 The detailed flow chart of step 310 is as follows: Figure 4 As shown, when executing step 310 to test the packet sending process of the device under test, the following steps 410 to 440 can be executed.
[0077] Step 410: The test end sends a first sending instruction to the device under test, so that the device under test sends a data packet according to the sending parameters in the first sending instruction.
[0078] The first sending instruction instructs the device under test to send a data packet, and the first sending instruction carries a plurality of sending parameters. The format of the first sending instruction depends on the control protocol agreed upon by the test end and the device under test, for example, the first sending instruction may be a SCPI instruction. Exemplarily, the sending parameters may include but are not limited to frequency, power, rate, channel, etc.
[0079] When it is necessary to control the device under test to send a data packet, the test end can send a first sending instruction to the device under test through the network cable (the first sending instruction can be recorded as DUT_CMD_START_TX). The device under test can respond to the first sending instruction and parse the sending parameters therefrom, so that the data packet can be sent according to the parsed sending parameters. Before sending the data packet, the device under test can return a confirmation message to the test end, and the confirmation message indicates that the sending parameters are parsed from the first sending instruction.
[0080] Step 420: The test end sends a first receiving instruction to the comprehensive tester end, so that the comprehensive tester end locally reads a first processing result corresponding to the receiving parameter in the first receiving instruction.
[0081] The first receiving instruction instructs the integrated tester to receive a data packet, and the first receiving instruction carries several receiving parameters. For example, the receiving parameters may include but are not limited to receiving port, frequency, etc. The first receiving instruction may be a SCPI instruction.
[0082] In order to enable the comprehensive tester to receive the data packet sent by the device under test, the test end can send a first receiving instruction (the first receiving instruction can be recorded as SCPI_VSA_CFG) through the network cable. The comprehensive tester can parse the receiving parameter from the first receiving instruction, read the first processing result corresponding to the receiving parameter in the local disk, and cache the first processing result in the memory. Here, the disk of the comprehensive tester can pre-configure multiple first processing results corresponding to multiple receiving parameters.
[0083] The comprehensive tester end may return a confirmation message to the test end, where the confirmation message indicates that the receiving parameters are parsed from the first receiving instruction.
[0084] Step 430: The test end sends a first read instruction to the comprehensive tester end, so that the comprehensive tester end returns a first processing result in response to the first read instruction.
[0085] The first read instruction is used to instruct to read the processing result of the received data packet. The first read instruction can be recorded as SCPI_VSA_GET.
[0086] The test end may issue a first read instruction some time after issuing the first receive instruction, so as to obtain the processing result of the received data packet by the comprehensive tester end. In this case, the comprehensive tester end may return the first processing result corresponding to the received parameter to the test end in response to the first read result.
[0087] Step 440: The test end sends a first stop instruction to the device under test, so that the device under test stops sending data packets, and checks the first processing result.
[0088] After obtaining the first processing result, the test end may send a first stop instruction to the device under test, where the first stop instruction is used to instruct the device under test to stop sending data packets, and the first stop instruction may be recorded as DUT_CMD_STOP_TX. After receiving the first stop instruction, the device under test may respond to the first stop instruction and stop sending data packets. The device under test may return a confirmation message to the test end, where the confirmation message indicates that it has stopped sending data packets.
[0089] The test end may check the first processing result obtained by itself.
[0090] Through the above measures, after the test end exchanges commands with the device under test and the comprehensive tester end, the test process of controlling the packet sending of the device under test and the packet receiving of the comprehensive tester end can be executed. In this case, the command sending, receiving and processing of the test software on the test end can be effectively tested, and the command sending, receiving and processing of the device under test can be effectively tested, thereby realizing software-level testing.
[0091] In addition, in the related schemes, in order to simulate abnormal situations and perform fault-tolerant verification on the test software, some abnormal conditions need to be designed and manufactured. However, the hardware wireless comprehensive tester is a general device, and the conditions that can be set are relatively limited, and it cannot fully cover the actual needs. In this scheme, since the comprehensive tester end can pre-configure the first processing results corresponding to various receiving parameters, it can return the corresponding first processing results when responding to the first read instruction, so that a sufficiently diverse first processing result can be returned to the test end, effectively realizing the fault-tolerant verification of the test software on the test end.
[0092] In one embodiment, see Figure 5 , provided in one embodiment of the present application Figure 3 The detailed flow chart of step 320 is as follows: Figure 5 As shown, when step 320 is executed to test the packet receiving process of the device under test, the following steps 510 to 560 may be executed.
[0093] Step 510: The test end sends a configuration instruction to the comprehensive tester end, so that the comprehensive tester end obtains the configuration parameters in the configuration instruction.
[0094] The packet configuration instruction carries several configuration parameters, which are used to instruct the integrated tester to use these configuration parameters as packet parameters. The configuration parameters may include but are not limited to the port of VSG (Vector Signal Generator), packet transmission frequency, number of packets, packet transmission energy, packet transmission rate, etc.
[0095] When it is necessary to control the comprehensive tester to send a data packet, the tester can send a packet configuration instruction to the comprehensive tester through a network cable. The comprehensive tester can respond to the packet configuration instruction and parse out the configuration parameters.
[0096] The comprehensive tester end can search for the preset feedback file locally and obtain the feedback parameters of the feedback packet configuration instruction. The feedback parameters can be configured as needed, for example, they can indicate configuration success or configuration failure. The comprehensive tester end can return a feedback message to the test end, and the feedback message carries the feedback parameters, so that the test end can execute the corresponding processing logic based on the feedback message.
[0097] Step 520: The test end sends a second sending instruction to the comprehensive tester end, and the second sending instruction instructs the comprehensive tester end to send a data packet.
[0098] The second sending instruction instructs the integrated tester to send a data packet. The second sending instruction can be recorded as VSG_START_TX.
[0099] The test end can send a second sending instruction to the comprehensive tester end to instruct the comprehensive tester end to start sending data packets. Since in this embodiment, whether the comprehensive tester end sends data packets does not affect the entire test process, the comprehensive tester end can ignore the second sending instruction after receiving the second sending instruction.
[0100] The comprehensive tester end can return a confirmation message to the test end, and the confirmation message instructs the comprehensive tester end to start sending data packets.
[0101] Step 530: the test end sends a second receiving instruction to the device under test, so that the device under test locally reads a second processing result corresponding to the receiving parameter in the second receiving instruction.
[0102] The second receiving instruction instructs the device under test to receive a data packet, and the second receiving instruction carries several receiving parameters. Exemplarily, the receiving parameters may include but are not limited to receiving frequency, etc. The second receiving instruction may be recorded as DUT_CMD_START_RX.
[0103] In order to enable the device under test to receive the data packet sent by the comprehensive tester, the test end can send a second receiving instruction through the network cable. The device under test is preconfigured with a second processing result corresponding to a plurality of receiving parameters. When the device under test receives the second receiving instruction, it can parse the receiving parameter therefrom and search locally for the second processing result corresponding to the receiving parameter.
[0104] The device under test may return a confirmation message to the test end, where the confirmation message indicates that the receiving parameter is parsed from the second receiving instruction.
[0105] Step 540: The test end sends a second stop instruction to the device under test, where the second stop instruction instructs the device under test to stop receiving data packets.
[0106] After a period of time after the second receiving instruction is issued, it can be considered that the device under test has received enough data packets for processing. At this time, the test end can control the device under test to stop receiving data packets by sending a second stop instruction to the device under test. Here, the second stop instruction can be recorded as DUT_CMD_STOP_RX.
[0107] After receiving the second stop instruction, the device under test may respond to the second stop instruction and stop receiving data packets. The device under test may return a confirmation message to the test end, the confirmation message indicating that the device has stopped receiving data packets.
[0108] Step 550: The test end sends a third stop instruction to the comprehensive tester end, and the third stop instruction instructs the comprehensive tester end to stop sending data packets.
[0109] After a period of time after the second sending instruction is issued, the test end may send a third stop instruction to the comprehensive tester end to control the comprehensive tester end to stop sending data packets. Here, the third stop instruction may be recorded as SCPI VSG_STOP_TX.
[0110] The comprehensive tester end can return a confirmation message to the test end, and the confirmation message instructs itself to stop sending data packets.
[0111] Step 560: The test end sends a second read instruction to the device under test, so that the device under test returns a second processing result in response to the second read instruction.
[0112] The second read instruction is used to instruct to read the processing result of the data packet from the device under test. The second read instruction can be recorded as DUT_CMD_GET_RX_RESULT.
[0113] The test end sends a second read instruction to the device under test. After receiving the second read instruction, the device under test can return a second processing result corresponding to the received parameter to the test end.
[0114] Through the above measures, after the test end exchanges commands with the device under test and the comprehensive tester end, the test process of the comprehensive tester end sending packets and the device under test receiving packets can be completed. In this case, the command sending, receiving and processing of the test software on the test end can be effectively tested, and the command sending, receiving and processing of the device under test can be effectively tested, thereby realizing software-level testing.
[0115] In addition, in the related schemes, in order to simulate abnormal situations to perform fault-tolerant verification on the test software, some abnormal conditions need to be designed and manufactured. However, the hardware wireless comprehensive tester is a general device, and the conditions that can be set are relatively limited, and it cannot fully cover the actual needs. In this scheme, since the device under test can pre-configure the second processing results corresponding to various receiving parameters, it can return the corresponding second processing results when responding to the second read instruction, so that a sufficiently diverse second processing result can be returned to the test end, effectively realizing the fault-tolerant verification of the test software on the test end.
[0116] In one embodiment, before the test end controls the device under test to send a data packet and the comprehensive tester end receives a data packet, the test end can initiate a network connection request to the comprehensive tester end and the device under test respectively. Here, the network connection request can be a TCPSocket (Transmission Control Protocol Socket) connection.
[0117] Through this measure, subsequent test ends and the device under test, as well as the test end and the comprehensive tester end can communicate with each other.
[0118] Figure 6 A schematic diagram of an application scenario of a method for testing a wireless communication device provided in another embodiment of the present application. Figure 6 As shown, the application scenario includes a device under test 20, a test terminal 30, a comprehensive tester terminal 40 and a wireless communication module 50; the device under test 20 can be a wireless headset, a host, a mobile phone, a tablet computer and other wireless communication devices, and the wireless communication function is tested; the test terminal 30 can be an electronic device such as a host, a server or a server cluster, and the test terminal 30 can be equipped with test software; the comprehensive tester terminal 40 can be an electronic device such as a host, a server or a server cluster, and the comprehensive tester terminal 40 can be equipped with comprehensive tester software. The wireless communication module 50 is a hardware device with data packet receiving and sending functions and measurement functions. The wireless communication module 50 can be connected to the comprehensive tester terminal 40 via a USB cable.
[0119] The test end 30, the comprehensive tester end 40 and the wireless communication module 50 constitute a test system. The test end 30 and the comprehensive tester end 40 are connected through a network cable and can transmit SCPI commands to each other. The test end 30 can be connected to the device under test 20 through a network cable. This application scenario tests the command parsing and processing functions, signal receiving and sending capabilities, etc. The comprehensive tester end 40 can be connected to the device under test 20 through wireless communication module 50.
[0120] See also Figure 7 , is a flow chart of a testing method for a wireless communication device provided in an embodiment of the present application, such as Figure 7 As shown, the method may include the following steps 710-720.
[0121] Step 710: the test end controls the device under test to send a data packet, the comprehensive tester end receives the data packet based on the wireless communication module, and obtains the third processing result returned by the comprehensive tester end through the first read instruction; wherein the third processing result is the processing result of the wireless communication module on the received data packet.
[0122] The test end can send commands to the device under test through the network cable, so that the device under test sends data packets wirelessly. The test daunt can send SCPI commands to the comprehensive tester through the network cable, thereby controlling the comprehensive tester to receive data packets sent by the device under test.
[0123] Since the comprehensive tester end in this embodiment communicates with the wireless communication module through a USB interface, the comprehensive tester end in this embodiment can realize the wireless communication function with the help of the wireless communication module, so as to receive the data packet sent by the device under test, and can process the received data packet through the wireless communication module to obtain the third processing result. The third processing result may include but is not limited to transmission power, signal-to-noise ratio, bit error rate, frequency, signal strength, etc.
[0124] By executing the test process of step 710, the test software of the test end, the instruction parsing and processing capability of the device under test, the data packet sending capability of the device under test, etc. can be tested in the packet sending process of the device under test.
[0125] Step 720: The test end controls the integrated tester end to send data packets based on the wireless communication module and the device under test to receive data packets, and obtains the fourth processing result returned by the device under test through the second read instruction; wherein the fourth processing is the processing result of the received data packet by the device under test.
[0126] The test end can send SCPI commands to the comprehensive tester through the network cable, thereby controlling the comprehensive tester to send data packets through the wireless communication module. The test end can send commands to the device under test through the network cable, so that the device under test can receive data packets wirelessly.
[0127] After issuing instructions to control the comprehensive tester to send data packets for a period of time, the test end can obtain a fourth processing result from the device under test. The fourth processing result may include but is not limited to transmission power, signal-to-noise ratio, bit error rate, frequency, signal strength, etc.
[0128] By executing the test process of step 720, the test software of the test end, the instruction parsing and processing capability of the device under test, the data packet receiving capability of the device under test, etc. can be tested in the packet receiving process of the device under test.
[0129] Through the above measures, without the need for a hardware wireless comprehensive tester, the combination of electronic equipment equipped with comprehensive tester software and wireless communication modules is used as a substitute to achieve the test process of the ability of the device under test to respond to the instructions of the test end, the ability of the test end to issue instructions (including SCPI instructions) and process instructions, and the ability of the device under test to send and receive data packets. This process does not require an expensive wireless comprehensive tester and realizes the test process of basic functions at the software and hardware levels at a low cost.
[0130] In one embodiment, see Figure 8 , provided in one embodiment of the present application Figure 7 The detailed flow chart of step 710 is as follows: Figure 8 As shown, when step 710 is executed to test the packet sending process of the device under test, the following steps 810 to 840 can be executed.
[0131] Step 810: The test end sends a first sending instruction to the device under test, so that the device under test sends a data packet according to the sending parameters in the sending instruction.
[0132] The first sending instruction instructs the device under test to send a data packet, and the first sending instruction carries a plurality of sending parameters. The format of the first sending instruction depends on the control protocol agreed upon by the test end and the device under test, for example, the first sending instruction may be a SCPI instruction. Exemplarily, the sending parameters may include but are not limited to frequency, power, rate, channel, etc.
[0133] When it is necessary to control the device under test to send a data packet, the test end can send a first sending instruction to the device under test through the network cable (the first sending instruction can be recorded as DUT_CMD_START_TX). The device under test can respond to the first sending instruction and parse the sending parameters therefrom, so that the data packet can be sent according to the parsed sending parameters. Before sending the data packet, the device under test can return a confirmation message to the test end, and the confirmation message indicates that the sending parameters are parsed from the first sending instruction.
[0134] Step 820: The test end sends a first receiving instruction to the integrated tester end, so that the integrated tester end sends a control receiving instruction corresponding to the first receiving instruction to the wireless communication module; wherein the control receiving instruction instructs the wireless communication module to receive a data packet according to the receiving parameters in the first receiving instruction and determine a third processing result corresponding to the received data packet.
[0135] The first receiving instruction instructs the integrated tester to receive a data packet, and the first receiving instruction carries several receiving parameters. For example, the receiving parameters may include but are not limited to receiving port, frequency, etc. The first receiving instruction may be a SCPI instruction.
[0136] In order to enable the comprehensive tester end to receive the data packet sent by the device under test, the test end can send a first receiving instruction (the first receiving instruction can be recorded as SCPI_VSA_CFG) through the network cable. The comprehensive tester end can parse the receiving parameters from the first receiving instruction, and pass the receiving parameters to the wireless communication module by controlling the receiving instruction. In addition, the comprehensive tester end can return a confirmation message to the test end, and the confirmation message indicates that the sending parameters are parsed from the first sending instruction.
[0137] The wireless communication module may receive a data packet sent by the device under test based on the receiving parameter, and process the data packet to obtain a third processing result.
[0138] Step 830: The test end sends a first read instruction to the comprehensive tester end, so that the comprehensive tester end responds to the first read instruction and returns the third processing result obtained from the wireless communication module.
[0139] The first read instruction is used to instruct to read the processing result of the received data packet. The first read instruction can be recorded as SCPI_VSA_GET.
[0140] The test end may issue a first read instruction some time after issuing the first receive instruction. The comprehensive tester end may issue a corresponding read instruction to the wireless communication module in response to the first read instruction to obtain a third processing result returned by the wireless communication module. The comprehensive tester end may return the third processing result to the test end.
[0141] Step 840: The test end sends a first stop instruction to the device under test, so that the device under test stops sending data packets, and checks the third processing result.
[0142] After obtaining the first processing result, the test end may send a first stop instruction to the device under test, where the first stop instruction is used to instruct the device under test to stop sending data packets, and the first stop instruction may be recorded as DUT_CMD_STOP_TX. After receiving the first stop instruction, the device under test may respond to the first stop instruction and stop sending data packets. The device under test may return a confirmation message to the test end, where the confirmation message instructs itself to stop sending data packets.
[0143] The test end can check the third processing result obtained by itself. The third processing result can represent the signal index within a certain accuracy range of the device under test when sending a data packet.
[0144] Through the above measures, after the test end exchanges commands with the device under test and the comprehensive tester end, the test process of controlling the packet sending of the device under test and the packet receiving of the comprehensive tester end can be executed. In this case, the command sending, receiving and processing of the test software on the test end can be effectively tested, and the command sending, receiving and processing of the device under test can be effectively tested, thereby realizing the testing of basic functions at the software and hardware levels.
[0145] In one embodiment, see Fig. 9 , provided in one embodiment of the present application Figure 7 The detailed flow chart of step 720 is as follows: Fig. 9 As shown, when step 720 is executed to test the packet receiving process of the device under test, the following steps 910 to 960 may be executed.
[0146] Step 910: The test end sends a packet configuration instruction to the comprehensive tester end, so that the comprehensive tester end sends a control configuration instruction corresponding to the packet configuration instruction to the wireless communication module; wherein the control configuration instruction indicates the configuration parameters in the packet configuration instruction.
[0147] The packet configuration instruction carries several configuration parameters, which are used to instruct the integrated tester to use these configuration parameters as packet parameters. The configuration parameters may include but are not limited to the port of the VSG, the packet transmission frequency, the number of packets, the packet transmission energy, the packet transmission rate, etc.
[0148] The control configuration instruction is a configuration instruction sent by the comprehensive tester to the wireless communication module, which is used to transfer configuration parameters to the wireless communication module.
[0149] When it is necessary to control the comprehensive tester to send a data packet, the test end can send a packet configuration instruction to the comprehensive tester through the network cable. The comprehensive tester can respond to the packet configuration instruction, thereby parsing the configuration parameters and passing the configuration parameters to the wireless communication module through the control configuration instruction.
[0150] In addition, the comprehensive tester end may return a feedback message to the test end, where the feedback message instructs the comprehensive tester end to obtain the configuration parameters.
[0151] Step 920: The test end sends a second sending instruction to the comprehensive tester end, so that the comprehensive tester end sends a data packet with configuration parameters based on the wireless communication module.
[0152] The second sending instruction instructs the integrated tester to send a data packet. The second sending instruction can be recorded as VSG_START_TX.
[0153] The test end can send a second sending instruction to the comprehensive tester end to instruct the comprehensive tester end to start sending data packets. Since the comprehensive tester end has a wireless communication function with the help of the wireless communication module, the comprehensive tester end can send data packets with configuration parameters through the wireless communication module after receiving the second sending instruction.
[0154] The comprehensive tester end can return a confirmation message to the test end, and the confirmation message instructs the comprehensive tester end to start sending data packets.
[0155] Step 930: The test end sends a second receiving instruction to the device under test, so that the device under test receives the data packet based on the receiving parameters in the second receiving instruction.
[0156] The second receiving instruction instructs the device under test to receive a data packet, and the second receiving instruction carries several receiving parameters. Exemplarily, the receiving parameters may include but are not limited to receiving frequency, etc. The second receiving instruction may be recorded as DUT_CMD_START_RX.
[0157] To enable the device under test to receive the data packet sent by the comprehensive tester, the test end can send a second receiving instruction through the network cable. The device under test receives the second receiving instruction, can parse the receiving parameter therefrom, and receive the data packet sent by the comprehensive tester based on the receiving parameter.
[0158] The device under test may return a confirmation message to the test end, where the confirmation message indicates that the receiving parameter is parsed from the second receiving instruction.
[0159] Step 940: The test end sends a second stop instruction to the device under test, so that the device under test stops receiving data packets.
[0160] The second stop instruction instructs the device under test to stop receiving data packets. The second stop instruction can be recorded as DUT_CMD_STOP_RX.
[0161] After a period of time after the second receiving instruction is issued, it can be considered that the device under test has received enough data packets for processing. At this time, the test end can control the device under test to stop receiving data packets by sending a second stop instruction to the device under test. After receiving the second stop instruction, the device under test can respond to the second stop instruction and stop receiving data packets. The device under test can return a confirmation message to the test end, which indicates that it has stopped receiving data packets.
[0162] Step 950: The test end sends a third stop instruction to the comprehensive tester end, so that the comprehensive tester end controls the wireless communication module to stop sending data packets.
[0163] The third stop instruction instructs the comprehensive tester to stop sending data packets. The third stop instruction can be recorded as SCPIVSG_STOP_TX.
[0164] After a period of time after the second sending instruction is issued, the test end may send a third stop instruction to the comprehensive tester end to control the comprehensive tester end to stop sending data packets. After receiving the third stop instruction, the comprehensive tester end may respond to the third stop instruction and send a corresponding control instruction to the wireless communication module to make the wireless communication module stop sending data packets.
[0165] The comprehensive tester end can return a confirmation message to the test end, and the confirmation message instructs itself to stop sending data packets.
[0166] Step 960: The test end sends a second read instruction to the device under test, so that the device under test returns a fourth processing result in response to the second read instruction.
[0167] The second read instruction is used to instruct to read the processing result of the data packet from the device under test. The second read instruction can be recorded as DUT_CMD_GET_RX_RESULT.
[0168] The test end sends a second read instruction to the device under test. After receiving the second read instruction, the device under test can return a fourth processing result obtained by locally processing the received data packet to the test end. The fourth processing result can represent a signal indicator within a certain accuracy range of the device under test when receiving the data packet.
[0169] Through the above measures, after the test end exchanges commands with the device under test and the comprehensive tester end, the test process of the comprehensive tester end sending packets and the device under test receiving packets can be completed. In this case, the command sending, receiving and processing of the test software on the test end can be effectively tested, and the command sending, receiving and processing of the device under test can be effectively tested, thereby realizing the testing of basic functions at the software and hardware levels.
[0170] In one embodiment, before the test end controls the device under test to send a data packet and the comprehensive tester end receives a data packet, the test end can initiate a network connection request to the comprehensive tester end and the device under test respectively. Here, the network connection request can be a TCPSocket connection.
[0171] Through this measure, subsequent test ends and the device under test, as well as the test end and the comprehensive tester end can communicate with each other.
[0172] In one embodiment, the wireless communication module is not pre-configured with wireless communication firmware. In this case, after the comprehensive tester establishes a network connection with the test end, if the wireless communication module is detected to be connected via the USB cable, the wireless communication firmware can be written to the wireless communication module. The wireless communication firmware is used to implement the wireless communication function. The wireless communication firmware is pre-written with the processing logic of the wireless communication, which is used to implement the aforementioned functions of receiving data packets, processing data packets, and sending data packets in response to the instructions issued by the comprehensive tester.
[0173] By adopting this measure, when the wireless communication firmware is not written into the wireless communication module in advance, the wireless communication firmware is written into the wireless communication module by the comprehensive tester end, so that the comprehensive tester end can realize the functions of sending, receiving and processing data packets with the help of the wireless communication firmware.
[0174] The present application provides a wireless communication module, which is applied to the aforementioned test system. The wireless communication module may include a USB interface, a wireless communication chip and a controller.
[0175] The USB interface is used to communicate with the comprehensive tester end of the test system so as to receive instructions issued by the comprehensive tester end.
[0176] The wireless communication chip is used to communicate with the device under test, thereby receiving a data packet sent by the device under test, or sending a data packet to the device under test. The wireless communication chip has a Wi-Fi / BT (BlueTooth) MAC (Media Access Control Address) address.
[0177] The controller is connected to the USB interface and to the wireless communication chip. The controller is equipped with wireless communication firmware, and is used to receive a data packet sent by the device under test through the wireless communication chip, generate a third processing result based on the received data packet, and return the third processing result to the comprehensive tester through the USB interface. Alternatively, it is used to send a data packet to the device under test through the wireless communication chip.
[0178] The specific execution logic of the wireless communication firmware is described in the previous text and will not be repeated here.
[0179] like Fig.10As shown, this embodiment provides an electronic device 1, including: at least one processor 11 and a memory 12, Fig.10 A processor 11 is taken as an example. The processor 11 and the memory 12 are connected via a bus 10. The memory 12 stores instructions that can be executed by the processor 11. The instructions are executed by the processor 11 so that the electronic device 1 can execute all or part of the process of the method in the following embodiment. In one embodiment, the electronic device 1 can be an electronic device such as a host, a server, or a server cluster equipped with test software, which is used to execute the test method of the wireless communication device applied to the test end. In one embodiment, the electronic device 1 can be an electronic device such as a host, a server, or a server cluster equipped with comprehensive tester software, which is used to execute the test method of the wireless communication device applied to the comprehensive tester end.
[0180] The memory 12 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable red-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, disk or optical disk.
[0181] The present application also provides a computer-readable storage medium, which stores a computer program. The computer program can be executed by the processor 11 to complete the test method of the wireless communication device applied to the test end or the comprehensive tester end provided by the present application.
[0182] The present application also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the test method for a wireless communication device provided in the present application and applied to a test end or a comprehensive tester end.
[0183] In several embodiments provided in the present application, the disclosed devices and methods may also be implemented in other ways. The device embodiments described above are merely schematic, for example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram may represent a module, a program segment or a part of a code, and a module, a program segment or a part of a code contains one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they may sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of boxes in the block diagram and / or the flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0184] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0185] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.
Claims
1. A method for testing a wireless communication device, applied to a test system, characterized in that: The test system comprises a test end and a comprehensive tester end, wherein the test end is an electronic device equipped with test software, and the comprehensive tester end is an electronic device equipped with comprehensive tester software. The test end and the comprehensive tester end transmit SCPI instructions via a network cable, and the method comprises: The test end controls the device under test to send a data packet, the comprehensive tester end receives the data packet, and obtains a first processing result returned by the comprehensive tester end through a first read instruction; wherein the first processing result is a processing result pre-configured by the comprehensive tester end, and the first processing result is fed back when the comprehensive tester end responds to the first read instruction; The test end controls the integrated tester end to send data packets and the device under test to receive data packets, and obtains a second processing result returned by the device under test through a second read instruction; wherein the second processing result is a processing result pre-configured on the device under test, and the second processing result is fed back when the device under test responds to the second read instruction.
2. The method according to claim 1, characterized in that The test end controls the device under test to send a data packet, the comprehensive tester end receives the data packet, and obtains a first processing result returned by the comprehensive tester end through a first read instruction, including: The test end sends a first sending instruction to the device under test, so that the device under test sends a data packet according to a sending parameter in the first sending instruction; The test end sends a first receiving instruction to the comprehensive tester end, so that the comprehensive tester end locally reads a first processing result corresponding to a receiving parameter in the first receiving instruction; The test end sends the first read instruction to the comprehensive tester end, so that the comprehensive tester end returns the first processing result in response to the first read instruction; The test end sends a first stop instruction to the device under test, so that the device under test stops sending data packets, and checks the first processing result.
3. The method according to claim 1, characterized in that The test end controls the comprehensive tester end to send a data packet, the device under test to receive a data packet, and obtains a second processing result returned by the device under test through a second read instruction, including: The test end sends a packet configuration instruction to the comprehensive tester end, so that the comprehensive tester end obtains the configuration parameters in the packet configuration instruction; The test end sends a second sending instruction to the comprehensive tester end, wherein the second sending instruction instructs the comprehensive tester end to send a data packet; The test end sends a second receiving instruction to the device under test, so that the device under test locally reads a second processing result corresponding to the receiving parameter in the second receiving instruction; The test end sends a second stop instruction to the device under test, wherein the second stop instruction instructs the device under test to stop receiving data packets; The test end sends a third stop instruction to the comprehensive tester end, wherein the third stop instruction instructs the comprehensive tester end to stop sending data packets; The test end sends a second read instruction to the device under test, so that the device under test returns the second processing result in response to the second read instruction.
4. The method according to claim 1, characterized in that: Before the test end controls the device under test to send a data packet and the comprehensive tester end receives the data packet, the method further includes: The test end initiates a network connection request to the comprehensive tester end and the device under test respectively.
5. A method for testing a wireless communication device, applied to a test system, characterized in that: The test system comprises a test end, a comprehensive tester end and a wireless communication module, wherein the test end is an electronic device equipped with test software, the comprehensive tester end is an electronic device equipped with comprehensive tester software, the test end and the comprehensive tester end transmit SCPI instructions via a network cable, and the comprehensive tester end communicates with the wireless communication module via a USB interface, and the method comprises: The test end controls the device under test to send a data packet, the comprehensive tester end receives the data packet based on the wireless communication module, and obtains a third processing result returned by the comprehensive tester end through a first read instruction; wherein the third processing result is a processing result of the wireless communication module on the received data packet; The test end controls the integrated tester end to send data packets based on the wireless communication module and the device under test to receive data packets, and obtains a fourth processing result returned by the device under test through a second read instruction; wherein the fourth processing is the processing result of the received data packet by the device under test.
6. The method according to claim 5, characterized in that The test end controls the device under test to send a data packet, the comprehensive tester end receives the data packet based on the wireless communication module, and obtains a third processing result returned by the comprehensive tester end through a first read instruction, including: The test end sends a first sending instruction to the device under test, so that the device under test sends a data packet according to the sending parameters in the sending instruction; The test end sends a first receiving instruction to the comprehensive tester end, so that the comprehensive tester end sends a control receiving instruction corresponding to the first receiving instruction to the wireless communication module; wherein the control receiving instruction instructs the wireless communication module to receive a data packet according to the receiving parameters in the first receiving instruction and determine a third processing result corresponding to the received data packet; The test end sends the first read instruction to the comprehensive tester end, so that the comprehensive tester end responds to the first read instruction and returns the third processing result obtained from the wireless communication module; The test end sends a first stop instruction to the device under test, so that the device under test stops sending data packets, and checks the third processing result.
7. The method according to claim 5, characterized in that The test end controls the comprehensive tester end to send a data packet based on the wireless communication module, and the device under test to receive a data packet, and obtains a fourth processing result returned by the device under test through a second read instruction, including: The test end sends a packet configuration instruction to the comprehensive tester end, so that the comprehensive tester end sends a control configuration instruction corresponding to the packet configuration instruction to the wireless communication module; wherein the control configuration instruction indicates a configuration parameter in the packet configuration instruction; The test end sends a second sending instruction to the comprehensive tester end, so that the comprehensive tester end sends a data packet with the configuration parameters based on the wireless communication module; The test end sends a second receiving instruction to the device under test, so that the device under test receives a data packet based on a receiving parameter in the second receiving instruction; The test end sends a second stop instruction to the device under test, so that the device under test stops receiving data packets; The test end sends a third stop instruction to the comprehensive tester end, so that the comprehensive tester end controls the wireless communication module to stop sending data packets; The test end sends a second read instruction to the device under test, so that the device under test returns a fourth processing result in response to the second read instruction.
8. The method according to claim 5, characterized in that Before the test end controls the device under test to send a data packet, the comprehensive tester end receives the data packet based on the wireless communication module, and obtains the third processing result returned by the comprehensive tester end through the first read instruction, the method further includes: The test end initiates a network connection request to the comprehensive tester end and the device under test respectively.
9. The method according to claim 8, characterized in that The method further comprises: After establishing a network connection with the test end, the comprehensive tester end writes wireless communication firmware to the wireless communication module; wherein the wireless communication firmware is used to implement a wireless communication function.
10. A wireless communication module, applied to a test system, characterized in that: include: A USB interface, used for communicating with the comprehensive tester end of the test system; A wireless communication chip, used to communicate with the device under test; A controller is connected to the USB interface and the wireless communication chip. The controller is equipped with wireless communication firmware and is used to receive data packets sent by the device under test through the wireless communication chip, and generate a third processing result based on the received data packets; return the third processing result to the comprehensive tester through the USB interface; and send data packets to the device under test through the wireless communication chip.
11. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing processor-executable instructions; The processor is configured to execute the test method for a wireless communication device applied to a test end or a comprehensive tester end as described in any one of claims 1-4 or claims 5-9.
12. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program can be executed by a processor to complete the test method of a wireless communication device applied to a test end or a comprehensive tester end as described in any one of claims 1-4 or claims 5-9.
13. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the test method for a wireless communication device applied to a test end or a comprehensive tester end as described in any one of claims 1-4 or claims 5-9 is implemented.
