CN112486753A - WiFi equipment automatic test method and system and readable storage medium - Google Patents
WiFi equipment automatic test method and system and readable storage medium Download PDFInfo
- Publication number
- CN112486753A CN112486753A CN202011511651.9A CN202011511651A CN112486753A CN 112486753 A CN112486753 A CN 112486753A CN 202011511651 A CN202011511651 A CN 202011511651A CN 112486753 A CN112486753 A CN 112486753A
- Authority
- CN
- China
- Prior art keywords
- test
- wifi
- equipment
- module
- testing
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
- Debugging And Monitoring (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention discloses an automatic test method, a system and a readable storage medium for WiFi equipment, wherein the test method is used for testing a plurality of WiFi equipment in the same shielding box and comprises the following steps: receiving a test task, wherein the test task comprises a test mode; selecting target WiFi equipment corresponding to the test mode; and testing the target WiFi equipment based on the testing task. When the WiFi performance test is realized, a plurality of WiFi devices in the same shielding box are tested, the required WiFi devices are selected according to different wireless roles of the WiFi devices, and the WiFi performance test in multiple modes is realized.
Description
Technical Field
The invention belongs to the field of automatic test of WiFi equipment, and particularly relates to an automatic test method and system of WiFi equipment and a readable storage medium.
Background
Currently, before WiFi (wireless local area network) devices are formally introduced into the market, how to efficiently, cost-effectively and accurately evaluate the wireless performance of these devices in different modes is very important. The existing testing means is to access a PC (personal computer) and WiFi equipment in the same lan in a wired or wireless manner, and manually set a transceiving packet based on an operating system by using throughput measurement means of analog data transceiving tools such as Iperf and Ixchariot, or perform the transceiving packet according to default configuration parameters to determine WiFi throughput performance of the equipment, and in addition, according to different wireless roles of the WiFi equipment, the existing testing means also includes WiFi performance tests in multiple modes such as STA (wireless terminal), P2P (WiFi direct connection), SoftAP (wireless hotspot), and the like.
However, the conventional Ixcharoot tool is used for testing, the commercial software is expensive, only a WiFi STA mode can be tested, a P2P mode and a SoftAP mode cannot be covered, the compatibility is poor, and the testing efficiency is low if the Iverf tool is used for manually testing.
Disclosure of Invention
The invention aims to overcome the defects that in the prior art, an Ixchoriot tool is used for WiFi equipment test, the price is high, the compatibility is poor, and the test efficiency of manual test by using an Iperf tool is low, and provides an automatic test method and system for WiFi equipment and a readable storage medium.
The invention solves the technical problems through the following technical scheme:
an automatic test method for WiFi equipment is used for testing a plurality of WiFi equipment in the same shielding box, and comprises the following steps:
receiving a test task, wherein the test task comprises a test mode;
selecting target WiFi equipment corresponding to the test mode;
and testing the target WiFi equipment based on the testing task.
Preferably, the test task further includes a test case and a test requirement, the test mode includes an STA mode, and the step of testing the target WiFi device based on the test task specifically includes:
configuring a wireless AP (wireless access point) and any target WiFi equipment according to the test requirements;
establishing WiFi connection between the wireless AP and any target WiFi equipment;
acquiring IP (Internet protocol) addresses of the wireless AP and any target WiFi equipment;
and testing any target WiFi equipment based on the IP address and the test case.
Preferably, the test task further includes a test case and a test requirement, the test mode includes a P2P mode, and the step of testing the target WiFi device based on the test task specifically includes:
any two target WiFi devices are configured according to the test requirements; the any two target WiFi devices comprise a first WiFi device and a second WiFi device;
establishing P2P mode connection of the first WiFi device and the second WiFi device in a plurality of first preset frequency bands respectively;
assigning roles to the first WiFi device and the second WiFi device, the roles including a Group Owner role and a Group Client role;
acquiring IP addresses of the first WiFi equipment and the second WiFi equipment;
and testing the first WiFi equipment and the second WiFi equipment based on the IP address and the test case.
Preferably, the test task further includes a test case and a test requirement, the test mode includes a SoftAP mode, and the step of testing the target WiFi device based on the test task specifically includes:
any two target WiFi devices are configured according to the test requirements; the any two target WiFi devices comprise a third WiFi device and a fourth WiFi device;
selecting the third WiFi equipment or the fourth WiFi equipment to start a SoftAP function;
establishing SoftAP mode connections of the third WiFi device and the fourth WiFi device at a plurality of second preset frequency bands, respectively;
acquiring IP addresses of the third WiFi equipment and the fourth WiFi equipment;
and testing the third WiFi equipment and the fourth WiFi equipment based on the IP address and the test case.
Preferably, the test requirements include wireless mode, channel bandwidth, encryption scheme, and password.
An automatic test system for WiFi equipment is used for testing a plurality of WiFi equipment in the same shielding box and comprises test equipment, wherein the test equipment comprises a task receiving module, an equipment selecting module and a test module;
the task receiving module is used for receiving a test task, and the test task comprises a test mode;
the device selection module is used for selecting target WiFi devices corresponding to the test modes;
the test module is used for testing the target WiFi equipment based on the test task.
Preferably, the test task further includes a test case and a test requirement, the test mode includes an STA mode, and the test device further includes a configuration module, a connection module, and an IP address acquisition module;
the configuration module is used for configuring a wireless AP and any target WiFi equipment according to the test requirement;
the connection module is used for establishing WiFi connection between the wireless AP and any target WiFi equipment;
the IP address acquisition module is used for acquiring the IP addresses of the wireless AP and any target WiFi equipment;
the testing module is used for testing any target WiFi equipment based on the IP address and the test case.
Preferably, the test task further includes a test case and a test requirement, the test mode includes a P2P mode, and the test device further includes a configuration module, a role assignment module, a connection module, and an IP address acquisition module;
the configuration module is used for configuring any two target WiFi devices according to the test requirements; the any two target WiFi devices comprise a first WiFi device and a second WiFi device;
the connection module is configured to establish P2P mode connections of the first WiFi device and the second WiFi device in a plurality of first preset frequency bands, respectively;
the role allocation module is used for allocating roles to the first WiFi equipment and the second WiFi equipment, wherein the roles comprise a Group Owner role and a Group Client role;
the IP address acquisition module is used for acquiring IP addresses of the first WiFi equipment and the second WiFi equipment;
the test module is used for testing the first WiFi equipment and the second WiFi equipment based on the IP address and the test case.
Preferably, the test task further includes a test case and a test requirement, the test mode includes a SoftAP mode, and the test device further includes a configuration module, a function allocation module, a connection module, and an IP address acquisition module;
the configuration module is used for configuring any two target WiFi devices according to the test requirements; the any two target WiFi devices comprise a third WiFi device and a fourth WiFi device;
the function distribution module is used for selecting the third WiFi equipment or the fourth WiFi equipment to start a SoftAP function;
the connection module is configured to establish SoftAP mode connections of the third WiFi device and the fourth WiFi device in a plurality of second preset frequency bands, respectively;
the IP address acquisition module is used for acquiring IP addresses of the third WiFi equipment and the fourth WiFi equipment;
the test module is used for testing the third WiFi equipment and the fourth WiFi equipment based on the IP address and the test case.
Preferably, the WiFi device automatic test system further comprises a cloud;
the cloud end is used for issuing the test task to the test equipment;
and/or the test module is further used for generating a test result in the process of testing the target WiFi equipment and sending the test result to the cloud.
An electronic device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the automatic test method of the WiFi device.
A computer-readable storage medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the steps of the WiFi device automatic testing method described above.
The positive progress effects of the invention are as follows: when the WiFi performance test is realized, the WiFi equipment in the same shielding box is tested, the required WiFi equipment is selected according to different wireless roles of the WiFi equipment, the WiFi performance test in multiple modes is realized, and one or more test environments of STA/P2P/SoftAP modes can be built in the same shielding box or shielding room, so that the cost is saved and the efficiency is improved.
Drawings
Fig. 1 is a flowchart of an automatic testing method for WiFi equipment in embodiment 1 of the present invention.
Fig. 2 is a flowchart of step 30 in the STA mode in the WiFi device automatic test method according to embodiment 1 of the present invention.
Fig. 3 is a flowchart of step 30 in the P2P mode in the WiFi device automatic testing method according to embodiment 1 of the present invention.
Fig. 4 is a flowchart of step 30 in the SoftAP mode in the WiFi device automatic testing method according to embodiment 1 of the present invention.
Fig. 5 is a schematic block diagram of an automatic test system for WiFi devices in embodiment 2 of the present invention.
Fig. 6 is a schematic structural diagram of an electronic device according to embodiment 3 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
An automatic test method for WiFi devices is used to test multiple WiFi devices in the same shielded enclosure, as shown in fig. 1, and the test method includes:
and step 30, testing the target WiFi equipment based on the testing task.
It should be noted that, furthermore, the test result can be intelligently judged in the test process, and the test result is stored to the cloud, and after all tests are completed, all test contents and results are counted by the cloud and sent to the tester.
In this embodiment, the test task further includes a test case and a test requirement, and the test mode includes an STA mode, a P2P mode, and a SoftAP mode.
As shown in fig. 2, in the STA mode, step 30 specifically includes:
311, configuring a wireless AP and any target WiFi equipment according to the test requirements; specifically, the test requirements include a wireless mode, a channel bandwidth, an encryption mode and a password, and in the subsequent test process, the WiFi device is also tested according to different test requirements.
and step 314, testing any target WiFi equipment based on the IP address and the test case.
Specifically, the test equipment and the wireless AP may be connected by a network cable, and the WiFi equipment and the test equipment may be connected by a USB cable. After the hardware environment is built, a tester issues test tasks to the test equipment and the WiFi equipment at the cloud end, and manual operation is not needed in the subsequent process. Firstly, a tester runs a test task at a cloud end, the test equipment simultaneously controls the wireless AP and the WiFi equipment through an automatic script, reads the requirements set by a cloud end test case and the wireless AP, and configures a wireless mode, a channel bandwidth, an encryption mode and a password of the AP; then, after the WiFi device initializes and installs various needed apks (application programs), WiFi signal connection between the WiFi device and the wireless AP is automatically achieved, and IP addresses of the testing device and the WiFi device are obtained to run performance testing.
As shown in fig. 3, in the P2P mode, step 30 specifically includes:
Specifically, two pieces of WiFi equipment (a first WiFi equipment and a second WiFi equipment) may be connected to the test equipment through a USB cable. After the hardware environment is built, a tester issues test tasks to the test equipment and the WiFi equipment at the cloud end, and manual operation is not needed in the subsequent process. Firstly, a tester runs a test task at a cloud end, a PC controls two WiFi devices simultaneously through an automatic script, the requirements of a cloud end test case are read, then the two WiFi devices are respectively initialized and are installed with various required apks, the two WiFi devices are connected in a P2P mode, different frequency bands are selected, the roles of GO (group owner) and GC (group client) are determined after the connection is successful, it needs to be noted that the roles are not fixed before the connection, the first WiFi device and the second WiFi device can be turned into the GO and the GC, and finally, the IP addresses of the GO and the GC in the two WiFi devices are respectively obtained and a performance test is run.
As shown in fig. 4, in the SoftAP mode, step 30 specifically includes:
and step 335, testing the third WiFi device and the fourth WiFi device based on the IP address and the test case.
Specifically, two pieces of WiFi equipment (a third WiFi equipment and a fourth WiFi equipment) may be connected to the test equipment through a USB cable. After the hardware environment is built, a tester issues test tasks to the test equipment and the WiFi equipment at the cloud end, and manual operation is not needed in the subsequent process. Firstly, a tester runs a test task at a cloud end, a PC controls two WiFi devices simultaneously through an automatic script, the requirements of a cloud end test case are read, then the two WiFi devices are respectively initialized and are provided with various required apks, one WiFi device is selected to start a softAP function, a third WiFi device or a fourth WiFi device is selected, finally, different frequency bands are selected, the two WiFi devices are connected in a softAP mode, and after the connection is successful, IP addresses of the two WiFi devices are obtained and a performance test is run.
In the embodiment, when the WiFi performance test is realized, a plurality of WiFi devices in the same shielding box are tested, the required WiFi devices are selected according to different wireless roles of the WiFi devices, and the WiFi performance test in multiple modes is realized.
Example 2
An automatic test system for WiFi devices is used to test multiple WiFi devices in the same shielding box 3, as shown in fig. 5, the test system includes a test device 2, the test device 2 includes a task receiving module 21, a device selecting module 22, and a test module 23;
the task receiving module 21 is configured to receive a test task, where the test task includes a test mode;
the device selection module 22 is configured to select a target WiFi device corresponding to the test mode;
the test module 23 is configured to test the target WiFi device based on the test task.
In this embodiment, the WiFi device automatic test system further includes a cloud 1;
the cloud 1 is used for issuing the test task to the test equipment 2;
the test module 23 is further configured to generate a test result in the test of the target WiFi device, and send the test result to the cloud 1.
It should be noted that, furthermore, the test result can be intelligently judged in the test process, and the test result is stored in the cloud 1, and after all tests are completed, all test contents and results are counted by the cloud 1 and sent to the tester.
In this embodiment, the test task further includes a test case and a test requirement, and the test mode includes an STA mode, a P2P mode, and a SoftAP mode. The testing device 2 further comprises a configuration module 24, a connection module 25, an IP address obtaining module 26, a role distribution module 27 and a function distribution module 28;
in this embodiment, in the STA mode:
the configuration module is used for configuring a wireless AP and any target WiFi equipment according to the test requirement; specifically, the test requirements include a wireless mode, a channel bandwidth, an encryption mode and a password, and in the subsequent test process, the WiFi device is also tested according to different test requirements.
The connection module 25 is configured to establish a WiFi connection between the wireless AP and the any target WiFi device 31;
the IP address obtaining module 26 is configured to obtain IP addresses of the wireless AP and the any target WiFi device 31;
the testing module 23 is configured to test any target WiFi device 31 based on the IP address and the test case.
Specifically, the test equipment and the wireless AP may be connected by a network cable, and the WiFi equipment and the test equipment may be connected by a USB cable. After the hardware environment is built, a tester issues test tasks to the test equipment and the WiFi equipment at the cloud end, and manual operation is not needed in the subsequent process. Firstly, a tester runs a test task at a cloud end, the test equipment simultaneously controls the wireless AP and the WiFi equipment through an automatic script, reads the requirements set by a cloud end test case and the wireless AP, and configures a wireless mode, a channel bandwidth, an encryption mode and a password of the AP; then, after the WiFi device initializes and installs various needed apks (application programs), WiFi signal connection between the WiFi device and the wireless AP is automatically achieved, and IP addresses of the testing device and the WiFi device are obtained to run performance testing.
In this embodiment, in the P2P mode:
the configuration module 24 is configured to configure any two target WiFi devices according to the test requirements; the arbitrary two target WiFi devices include a first WiFi device 32 and a second WiFi device 33;
the connection module 25 is configured to establish P2P mode connections of the first WiFi device 32 and the second WiFi device 33 in a plurality of first preset frequency bands, respectively;
the role assignment module 27 is configured to assign roles to the first WiFi device 32 and the second WiFi device 33, where the roles include a Group Owner role and a Group Client role;
the IP address obtaining module 26 is configured to obtain IP addresses of the first WiFi device 32 and the second WiFi device 33;
the testing module 23 is configured to test the first WiFi device 32 and the second WiFi device 33 based on the IP address and the test case.
Specifically, two pieces of WiFi equipment (a first WiFi equipment and a second WiFi equipment) may be connected to the test equipment through a USB cable. After the hardware environment is built, a tester issues test tasks to the test equipment and the WiFi equipment at the cloud end, and manual operation is not needed in the subsequent process. Firstly, a tester runs a test task at a cloud end, a PC controls two WiFi devices simultaneously through an automatic script, the requirements of a cloud end test case are read, then the two WiFi devices are respectively initialized and are installed with various required apks, the two WiFi devices are connected in a P2P mode, different frequency bands are selected, the roles of GO (group owner) and GC (group client) are determined after the connection is successful, it needs to be noted that the roles are not fixed before the connection, the first WiFi device and the second WiFi device can be turned into the GO and the GC, and finally, the IP addresses of the GO and the GC in the two WiFi devices are respectively obtained and a performance test is run.
In this embodiment, in the SoftAP mode:
the configuration module 24 is configured to configure any two target WiFi devices according to the test requirements; the arbitrary two target WiFi devices include a third WiFi device 34 and a fourth WiFi device 35;
the function allocation module 28 is configured to select the third WiFi device 34 or the fourth WiFi device 35 to start a SoftAP function;
the connection module 25 is configured to establish SoftAP mode connections of the third WiFi device 34 and the fourth WiFi device 35 in a plurality of second preset frequency bands, respectively;
the IP address obtaining module 26 is configured to obtain IP addresses of the third WiFi device 34 and the fourth WiFi device 35;
the testing module 23 is configured to test the third WiFi device 34 and the fourth WiFi device 35 based on the IP address and the test case.
Specifically, two pieces of WiFi equipment (a third WiFi equipment and a fourth WiFi equipment) may be connected to the test equipment through a USB cable. After the hardware environment is built, a tester issues test tasks to the test equipment and the WiFi equipment at the cloud end, and manual operation is not needed in the subsequent process. Firstly, a tester runs a test task at a cloud end, a PC controls two WiFi devices simultaneously through an automatic script, the requirements of a cloud end test case are read, then the two WiFi devices are respectively initialized and are provided with various required apks, one WiFi device is selected to start a softAP function, a third WiFi device or a fourth WiFi device is selected, finally, different frequency bands are selected, the two WiFi devices are connected in a softAP mode, and after the connection is successful, IP addresses of the two WiFi devices are obtained and a performance test is run.
In the embodiment, when the WiFi performance test is realized, a plurality of WiFi devices in the same shielding box are tested, the required WiFi devices are selected according to different wireless roles of the WiFi devices, and the WiFi performance test in multiple modes is realized.
Example 3
An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the WiFi device automatic testing method of embodiment 1 when executing the computer program.
Fig. 6 is a schematic structural diagram of an electronic device provided in this embodiment. FIG. 6 illustrates a block diagram of an exemplary electronic device 90 suitable for use in implementing embodiments of the present invention. The electronic device 90 shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 6, the electronic device 90 may take the form of a general purpose computing device, which may be a server device, for example. The components of the electronic device 90 may include, but are not limited to: at least one processor 91, at least one memory 92, and a bus 93 that connects the various system components (including the memory 92 and the processor 91).
The bus 93 includes a data bus, an address bus, and a control bus.
The processor 91 executes various functional applications and data processing by running a computer program stored in the memory 92.
The electronic device 90 may also communicate with one or more external devices 94 (e.g., keyboard, pointing device, etc.). Such communication may be through an input/output (I/O) interface 95. Also, the electronic device 90 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via a network adapter 96. The network adapter 96 communicates with the other modules of the electronic device 90 via the bus 93. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 90, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the electronic device are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module, according to embodiments of the application. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Example 4
A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the WiFi device automatic testing method of embodiment 1.
More specific examples, among others, that the readable storage medium may employ may include, but are not limited to: a portable disk, a hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible implementation manner, the present invention can also be implemented in the form of a program product, which includes program code for causing a terminal device to execute the steps of implementing the WiFi device automatic testing method described in embodiment 1 when the program product runs on the terminal device.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may be executed entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.
Claims (12)
1. An automatic test method for WiFi equipment is used for testing a plurality of WiFi equipment in the same shielding box, and is characterized by comprising the following steps:
receiving a test task, wherein the test task comprises a test mode;
selecting target WiFi equipment corresponding to the test mode;
and testing the target WiFi equipment based on the testing task.
2. The WiFi device automatic test method of claim 1, wherein the test task further includes a test case and a test requirement, the test mode includes an STA mode, and the step of testing the target WiFi device based on the test task specifically includes:
configuring a wireless AP and any target WiFi equipment according to the test requirements;
establishing WiFi connection between the wireless AP and any target WiFi equipment;
acquiring IP addresses of the wireless AP and any target WiFi equipment;
and testing any target WiFi equipment based on the IP address and the test case.
3. The WiFi device automatic test method of claim 1, wherein the test task further includes test cases and test requirements, the test mode includes P2P mode, and the step of testing the target WiFi device based on the test task specifically includes:
any two target WiFi devices are configured according to the test requirements; the any two target WiFi devices comprise a first WiFi device and a second WiFi device;
establishing P2P mode connection of the first WiFi device and the second WiFi device in a plurality of first preset frequency bands respectively;
assigning roles to the first WiFi equipment and the second WiFi equipment, wherein the roles comprise a Group Owner role and a Group Client role;
acquiring IP addresses of the first WiFi equipment and the second WiFi equipment;
and testing the first WiFi equipment and the second WiFi equipment based on the IP address and the test case.
4. The WiFi device automatic testing method of claim 1, wherein the test task further includes a test case and a test requirement, the test mode includes a SoftAP mode, and the step of testing the target WiFi device based on the test task specifically includes:
any two target WiFi devices are configured according to the test requirements; the any two target WiFi devices comprise a third WiFi device and a fourth WiFi device;
selecting the third WiFi equipment or the fourth WiFi equipment to start a SoftAP function;
establishing SoftAP mode connections of the third WiFi device and the fourth WiFi device at a plurality of second preset frequency bands, respectively;
acquiring IP addresses of the third WiFi equipment and the fourth WiFi equipment;
and testing the third WiFi equipment and the fourth WiFi equipment based on the IP address and the test case.
5. The WiFi device automatic test method according to any of the claims 2-4 characterized in that the test requirements include wireless mode, channel bandwidth, encryption and password.
6. An automatic test system for WiFi equipment is used for testing a plurality of WiFi equipment in the same shielding box and is characterized by comprising test equipment, wherein the test equipment comprises a task receiving module, an equipment selecting module and a test module;
the task receiving module is used for receiving a test task, and the test task comprises a test mode;
the device selection module is used for selecting target WiFi devices corresponding to the test modes;
the test module is used for testing the target WiFi equipment based on the test task.
7. The WiFi device automatic test system of claim 6 wherein the test task further includes test case and test requirements, the test mode includes STA mode, the test device further includes configuration module, connection module and IP address acquisition module;
the configuration module is used for configuring a wireless AP and any target WiFi equipment according to the test requirement;
the connection module is used for establishing WiFi connection between the wireless AP and any target WiFi equipment;
the IP address acquisition module is used for acquiring the IP addresses of the wireless AP and any target WiFi equipment;
the testing module is used for testing any target WiFi equipment based on the IP address and the test case.
8. The WiFi device automatic test system of claim 6, wherein the test task further includes test case and test requirement, the test mode includes P2P mode, the test device further includes configuration module, role assignment module, connection module and IP address acquisition module;
the configuration module is used for configuring any two target WiFi devices according to the test requirements; the any two target WiFi devices comprise a first WiFi device and a second WiFi device;
the connection module is configured to establish P2P mode connections of the first WiFi device and the second WiFi device in a plurality of first preset frequency bands, respectively;
the role allocation module is used for allocating roles to the first WiFi equipment and the second WiFi equipment, wherein the roles comprise a Group Owner role and a Group Client role;
the IP address acquisition module is used for acquiring IP addresses of the first WiFi equipment and the second WiFi equipment;
the test module is used for testing the first WiFi equipment and the second WiFi equipment based on the IP address and the test case.
9. The WiFi device automatic test system of claim 6, wherein the test task further includes test cases and test requirements, the test mode includes SoftAP mode, the test device further includes configuration module, function assignment module, connection module and IP address acquisition module;
the configuration module is used for configuring any two target WiFi devices according to the test requirements; the any two target WiFi devices comprise a third WiFi device and a fourth WiFi device;
the function distribution module is used for selecting the third WiFi equipment or the fourth WiFi equipment to start a SoftAP function;
the connection module is configured to establish SoftAP mode connections of the third WiFi device and the fourth WiFi device in a plurality of second preset frequency bands, respectively;
the IP address acquisition module is used for acquiring IP addresses of the third WiFi equipment and the fourth WiFi equipment;
the test module is used for testing the third WiFi equipment and the fourth WiFi equipment based on the IP address and the test case.
10. The WiFi device automatic test system of claim 6, wherein said WiFi device automatic test system further comprises a cloud;
the cloud end is used for issuing the test task to the test equipment;
and/or the test module is further used for generating a test result in the process of testing the target WiFi equipment and sending the test result to the cloud.
11. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the WiFi device automatic testing method of any one of claims 1 to 7 when executing the computer program.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the WiFi device automatic testing method of any one of claims 1 to 5.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011511651.9A CN112486753B (en) | 2020-12-18 | 2020-12-18 | WiFi equipment automatic test method, system and readable storage medium |
CN202310960239.2A CN116991644A (en) | 2020-12-18 | 2020-12-18 | WiFi equipment automatic test method, system and readable storage medium |
PCT/CN2021/134138 WO2022127575A1 (en) | 2020-12-18 | 2021-11-29 | Automatic testing method and system for wifi devices and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011511651.9A CN112486753B (en) | 2020-12-18 | 2020-12-18 | WiFi equipment automatic test method, system and readable storage medium |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310960239.2A Division CN116991644A (en) | 2020-12-18 | 2020-12-18 | WiFi equipment automatic test method, system and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112486753A true CN112486753A (en) | 2021-03-12 |
CN112486753B CN112486753B (en) | 2023-06-23 |
Family
ID=74914974
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310960239.2A Pending CN116991644A (en) | 2020-12-18 | 2020-12-18 | WiFi equipment automatic test method, system and readable storage medium |
CN202011511651.9A Active CN112486753B (en) | 2020-12-18 | 2020-12-18 | WiFi equipment automatic test method, system and readable storage medium |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310960239.2A Pending CN116991644A (en) | 2020-12-18 | 2020-12-18 | WiFi equipment automatic test method, system and readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN116991644A (en) |
WO (1) | WO2022127575A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114006844A (en) * | 2021-09-30 | 2022-02-01 | 武汉通力路达科技有限公司 | WIFI throughput testing method, WIFI throughput testing device and computer-readable storage medium |
CN114090117A (en) * | 2021-11-10 | 2022-02-25 | 深圳Tcl新技术有限公司 | Configuration method, device, equipment and storage medium |
CN114222320A (en) * | 2021-12-16 | 2022-03-22 | 展讯通信(上海)有限公司 | Method, device, apparatus, storage medium, and program for testing communication device |
WO2022127575A1 (en) * | 2020-12-18 | 2022-06-23 | 展讯半导体(成都)有限公司 | Automatic testing method and system for wifi devices and readable storage medium |
CN116866236A (en) * | 2023-05-20 | 2023-10-10 | 北京盛和信科技股份有限公司 | Router reliability batch test method, system, terminal and storage medium |
Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102938800A (en) * | 2012-11-07 | 2013-02-20 | 大唐移动通信设备有限公司 | System and method for automatically testing wireless communication quality |
CN103533572A (en) * | 2013-10-24 | 2014-01-22 | 广东欧珀移动通信有限公司 | WIFI performance automation testing method and device |
CN103825667A (en) * | 2014-03-10 | 2014-05-28 | 南京软仪测试技术有限公司 | Parallel test method for WIFI (Wireless Fidelity) modules |
CN104394544A (en) * | 2014-12-19 | 2015-03-04 | 上海斐讯数据通信技术有限公司 | Automatic radio frequency test method for WiFi (Wireless Fidelity) product |
CN104796932A (en) * | 2015-03-20 | 2015-07-22 | 四川长虹电器股份有限公司 | Method for building sub-local area network with anti-interference capacity by utilizing single WiFi terminal device |
CN105813124A (en) * | 2014-12-31 | 2016-07-27 | 展讯通信(上海)有限公司 | Performance test method and system of WIFI and/or LTE terminal device |
US20170094552A1 (en) * | 2015-09-30 | 2017-03-30 | Hisense Mobile Communications Technology Co., Ltd. | Apparatus and method for configuring dns of mobile device, and storage medium |
CN106993303A (en) * | 2017-04-11 | 2017-07-28 | 百度在线网络技术(北京)有限公司 | Configuration and method, device, equipment and the computer-readable storage medium of the intelligent wifi equipment of maintenance |
CN107222882A (en) * | 2017-06-12 | 2017-09-29 | 胡绪健 | A kind of method of concurrent testing WIFI module |
US20180003764A1 (en) * | 2016-07-01 | 2018-01-04 | Intel Corporation | Systems and methods for wireless device testing |
WO2018068405A1 (en) * | 2016-10-14 | 2018-04-19 | 深圳Tcl新技术有限公司 | Wifi performance test method and system |
CN108260106A (en) * | 2018-01-10 | 2018-07-06 | 中国电子科技集团公司第三十研究所 | The ad hoc network method for building up and device of a kind of intelligent terminal WiFi |
WO2018182604A1 (en) * | 2017-03-30 | 2018-10-04 | Intel Corporation | Wifi protected access 2 (wpa2) pass-through virtualization |
CN109450741A (en) * | 2018-12-20 | 2019-03-08 | 深圳市吉祥腾达科技有限公司 | A kind of test macro and test method of wireless network card Wi-Fi connection reliability |
CN110139298A (en) * | 2019-05-06 | 2019-08-16 | 四川九州电子科技股份有限公司 | A kind of WiFi automatization test system and its test method |
CN110519779A (en) * | 2019-08-26 | 2019-11-29 | Oppo(重庆)智能科技有限公司 | Mobile terminal testing method, device, system and storage medium |
CN110730517A (en) * | 2019-10-22 | 2020-01-24 | Oppo广东移动通信有限公司 | Network connection control method and related product |
CN111371638A (en) * | 2020-02-18 | 2020-07-03 | 深圳市晨北科技有限公司 | Intelligent equipment testing method and device, server and storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10489278B2 (en) * | 2016-05-16 | 2019-11-26 | Jpmorgan Chase Bank, N.A. | Method and system for implementing an automation software testing and packaging framework with entitlements |
CN111194046A (en) * | 2018-11-14 | 2020-05-22 | 上海富瀚微电子股份有限公司 | Automatic WIFI module testing system and method |
CN110262932A (en) * | 2019-05-31 | 2019-09-20 | 深圳市杰科数码有限公司 | Android plate test method, system and computer readable storage medium |
CN112202628B (en) * | 2020-09-08 | 2022-09-02 | 杭州涂鸦信息技术有限公司 | WiFi module serial port protocol automatic test system and method |
CN116991644A (en) * | 2020-12-18 | 2023-11-03 | 展讯半导体(成都)有限公司 | WiFi equipment automatic test method, system and readable storage medium |
-
2020
- 2020-12-18 CN CN202310960239.2A patent/CN116991644A/en active Pending
- 2020-12-18 CN CN202011511651.9A patent/CN112486753B/en active Active
-
2021
- 2021-11-29 WO PCT/CN2021/134138 patent/WO2022127575A1/en active Application Filing
Patent Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102938800A (en) * | 2012-11-07 | 2013-02-20 | 大唐移动通信设备有限公司 | System and method for automatically testing wireless communication quality |
CN103533572A (en) * | 2013-10-24 | 2014-01-22 | 广东欧珀移动通信有限公司 | WIFI performance automation testing method and device |
CN103825667A (en) * | 2014-03-10 | 2014-05-28 | 南京软仪测试技术有限公司 | Parallel test method for WIFI (Wireless Fidelity) modules |
CN104394544A (en) * | 2014-12-19 | 2015-03-04 | 上海斐讯数据通信技术有限公司 | Automatic radio frequency test method for WiFi (Wireless Fidelity) product |
CN105813124A (en) * | 2014-12-31 | 2016-07-27 | 展讯通信(上海)有限公司 | Performance test method and system of WIFI and/or LTE terminal device |
CN104796932A (en) * | 2015-03-20 | 2015-07-22 | 四川长虹电器股份有限公司 | Method for building sub-local area network with anti-interference capacity by utilizing single WiFi terminal device |
US20170094552A1 (en) * | 2015-09-30 | 2017-03-30 | Hisense Mobile Communications Technology Co., Ltd. | Apparatus and method for configuring dns of mobile device, and storage medium |
US20180003764A1 (en) * | 2016-07-01 | 2018-01-04 | Intel Corporation | Systems and methods for wireless device testing |
WO2018068405A1 (en) * | 2016-10-14 | 2018-04-19 | 深圳Tcl新技术有限公司 | Wifi performance test method and system |
WO2018182604A1 (en) * | 2017-03-30 | 2018-10-04 | Intel Corporation | Wifi protected access 2 (wpa2) pass-through virtualization |
CN106993303A (en) * | 2017-04-11 | 2017-07-28 | 百度在线网络技术(北京)有限公司 | Configuration and method, device, equipment and the computer-readable storage medium of the intelligent wifi equipment of maintenance |
CN107222882A (en) * | 2017-06-12 | 2017-09-29 | 胡绪健 | A kind of method of concurrent testing WIFI module |
CN108260106A (en) * | 2018-01-10 | 2018-07-06 | 中国电子科技集团公司第三十研究所 | The ad hoc network method for building up and device of a kind of intelligent terminal WiFi |
CN109450741A (en) * | 2018-12-20 | 2019-03-08 | 深圳市吉祥腾达科技有限公司 | A kind of test macro and test method of wireless network card Wi-Fi connection reliability |
CN110139298A (en) * | 2019-05-06 | 2019-08-16 | 四川九州电子科技股份有限公司 | A kind of WiFi automatization test system and its test method |
CN110519779A (en) * | 2019-08-26 | 2019-11-29 | Oppo(重庆)智能科技有限公司 | Mobile terminal testing method, device, system and storage medium |
CN110730517A (en) * | 2019-10-22 | 2020-01-24 | Oppo广东移动通信有限公司 | Network connection control method and related product |
CN111371638A (en) * | 2020-02-18 | 2020-07-03 | 深圳市晨北科技有限公司 | Intelligent equipment testing method and device, server and storage medium |
Non-Patent Citations (1)
Title |
---|
张云杉;: "无线局域网在交通领域中的应用", 交通世界(运输.车辆), no. 09, pages 111 - 113 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022127575A1 (en) * | 2020-12-18 | 2022-06-23 | 展讯半导体(成都)有限公司 | Automatic testing method and system for wifi devices and readable storage medium |
CN114006844A (en) * | 2021-09-30 | 2022-02-01 | 武汉通力路达科技有限公司 | WIFI throughput testing method, WIFI throughput testing device and computer-readable storage medium |
CN114006844B (en) * | 2021-09-30 | 2024-01-12 | 武汉通力路达科技有限公司 | WIFI throughput test method, WIFI throughput test device and computer readable storage medium |
CN114090117A (en) * | 2021-11-10 | 2022-02-25 | 深圳Tcl新技术有限公司 | Configuration method, device, equipment and storage medium |
CN114222320A (en) * | 2021-12-16 | 2022-03-22 | 展讯通信(上海)有限公司 | Method, device, apparatus, storage medium, and program for testing communication device |
CN116866236A (en) * | 2023-05-20 | 2023-10-10 | 北京盛和信科技股份有限公司 | Router reliability batch test method, system, terminal and storage medium |
CN116866236B (en) * | 2023-05-20 | 2024-04-16 | 北京盛和信科技股份有限公司 | Router reliability batch test method, system, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN116991644A (en) | 2023-11-03 |
WO2022127575A1 (en) | 2022-06-23 |
CN112486753B (en) | 2023-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112486753B (en) | WiFi equipment automatic test method, system and readable storage medium | |
CN111245898B (en) | Network equipment online method, device, server and storage medium | |
CN110442524B (en) | Method and device for testing web service interface with authentication authorization | |
CN108804302B (en) | Remote testing method, system and related equipment | |
CN105430108B (en) | Test environment access method and proxy server | |
US7970830B2 (en) | Cloud computing for an industrial automation and manufacturing system | |
CN110008109B (en) | Application testing method and device | |
CN106919485B (en) | System based on hardware testing tool configured on server | |
EP3047379A1 (en) | Real-time code instrumentation | |
CN107453954B (en) | Network debugging method, system and equipment | |
CN113852426A (en) | Remote testing method, device and system | |
CN112395187A (en) | Test method, test system, computer device and storage medium | |
CN108023905B (en) | Internet of things application system and method | |
CN109660386B (en) | Software upgrading method for semiconductor memory aging test system | |
CN111367812A (en) | Test method, electronic device and readable storage medium | |
CN110677307A (en) | Service monitoring method, device, equipment and storage medium | |
CN113709256B (en) | Switching method of test environment and application environment | |
CN111355629B (en) | Client test method and device, computer equipment and storage medium | |
CN102480515A (en) | Installation method of mapping file | |
CN111711713B (en) | Data access method, computer device and storage medium | |
CN114629831A (en) | Network card performance test method, device, equipment and storage medium | |
CN112416509B (en) | Virtual machine control system and related equipment | |
CN114466395A (en) | Method and device for testing performance of base station, storage medium and electronic device | |
CN113961504A (en) | Mobile terminal group control method, device, system, server and storage medium | |
CN112433938A (en) | Method and device for testing application of mobile terminal |
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 |