WO2022127575A1 - WiFi设备自动测试方法、系统及可读存储介质 - Google Patents

WiFi设备自动测试方法、系统及可读存储介质 Download PDF

Info

Publication number
WO2022127575A1
WO2022127575A1 PCT/CN2021/134138 CN2021134138W WO2022127575A1 WO 2022127575 A1 WO2022127575 A1 WO 2022127575A1 CN 2021134138 W CN2021134138 W CN 2021134138W WO 2022127575 A1 WO2022127575 A1 WO 2022127575A1
Authority
WO
WIPO (PCT)
Prior art keywords
test
wifi device
wifi
module
mode
Prior art date
Application number
PCT/CN2021/134138
Other languages
English (en)
French (fr)
Inventor
谭丹
李胜平
姚瑞
Original Assignee
展讯半导体(成都)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 展讯半导体(成都)有限公司 filed Critical 展讯半导体(成都)有限公司
Publication of WO2022127575A1 publication Critical patent/WO2022127575A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the invention belongs to the field of WiFi equipment automatic testing, and particularly relates to a WiFi equipment automatic testing method, system and readable storage medium.
  • WiFi Wireless Local Area Network
  • the existing test method is to connect the PC (personal computer) and the WiFi device to the same local area network through wired or wireless means, and use the throughput measurement methods of the analog data transceiver tools such as Iperf and Ixchariot, based on the operating system.
  • the device manually set the sending and receiving packets, or send and receive packets according to the default configuration parameters to determine the WiFi throughput performance of the device.
  • STA wireless terminal
  • P2P WiFi direct connection
  • SoftAP Wireless hotspot
  • the existing Ixchariot tool is used for testing.
  • the commercial software is expensive, and can only test the WiFi STA mode, but cannot cover the P2P and SoftAP modes, and the compatibility is poor. If the Iperf tool is used for manual testing, the test efficiency is low.
  • the technical problem to be solved by the present invention is to overcome the disadvantages of using the Ixchariot tool for WiFi device testing in the prior art, which is expensive and has poor compatibility, and the low test efficiency of using the Iperf tool for manual testing. Test method, system and readable storage medium.
  • An automatic test method for WiFi devices is used for testing multiple WiFi devices in the same shielding box, and the test method includes:
  • test task comprising a test mode
  • the target WiFi device is tested based on the test task.
  • the test task further includes test cases and test requirements
  • the test mode includes a STA mode
  • the step of testing the target WiFi device based on the test task specifically includes:
  • IP Internet Protocol
  • the test task further includes test cases and test requirements
  • the test mode includes a P2P mode
  • the step of testing the target WiFi device based on the test task specifically includes:
  • the any two target WiFi devices include a first WiFi device and a second WiFi device;
  • the roles include a Group Owner (group owner) role and a Group Client (group member) role;
  • the first WiFi device and the second WiFi device are tested based on the IP address and the test case.
  • the test task further includes test cases and test requirements
  • the test mode includes SoftAP mode
  • the step of testing the target WiFi device based on the test task specifically includes:
  • the any two target WiFi devices include a third WiFi device and a fourth WiFi device;
  • the third WiFi device and the fourth WiFi device are tested based on the IP address and the test case.
  • the test requirements include wireless mode, channel bandwidth, encryption method and password.
  • test system is used to test multiple WiFi equipments in the same shielding box, the test system includes test equipment, and the test equipment includes a task receiving module, a device selection module and a test module ;
  • the task receiving module is used to receive a test task, and the test task includes a test mode;
  • the device selection module is configured to select a target WiFi device corresponding to the test mode
  • the test module is configured to test the target WiFi device based on the test task.
  • the test task further includes a test case and a test requirement
  • the test mode includes a STA mode
  • the test device further includes a configuration module, a connection module and an IP address acquisition module;
  • the configuration module is used to configure a wireless AP and any target WiFi device according to the test requirements
  • the connection module is used to establish a WiFi connection between the wireless AP and any target WiFi device;
  • the IP address obtaining module is used to obtain the IP address of the wireless AP and the arbitrary target WiFi device;
  • the test module is configured to test any of the target WiFi devices based on the IP address and the test case.
  • the test task further includes a test case and a test requirement
  • the test mode includes a P2P mode
  • 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 configured to configure any two target WiFi devices according to the test requirements; the any two target WiFi devices include a first WiFi device and a second WiFi device;
  • the connection module is configured to respectively establish a P2P mode connection between the first WiFi device and the second WiFi device in a plurality of first preset frequency bands;
  • the role assignment module is used to assign roles to the first WiFi device and the second WiFi device, and the roles include a Group Owner role and a Group Client role;
  • the IP address obtaining module is configured to obtain the IP addresses of the first WiFi device and the second WiFi device;
  • the test module is configured to test the first WiFi device and the second WiFi device based on the IP address and the test case.
  • the test task further includes a test case and a test requirement
  • the test mode includes a SoftAP mode
  • the test device further includes a configuration module, a function assignment module, a connection module and an IP address acquisition module;
  • the configuration module is configured to configure any two target WiFi devices according to the test requirements; the any two target WiFi devices include a third WiFi device and a fourth WiFi device;
  • the function allocation module is used to select the third WiFi device or the fourth WiFi device to enable the SoftAP function;
  • connection module is configured to respectively establish a SoftAP mode connection of the third WiFi device and the fourth WiFi device in multiple second preset frequency bands;
  • the IP address obtaining module is used to obtain the IP addresses of the third WiFi device and the fourth WiFi device;
  • the test module is configured to test the third WiFi device and the fourth WiFi device based on the IP address and the test case.
  • the WiFi device automatic testing system further includes a cloud
  • the cloud is used to deliver the test task to the test equipment
  • test module is further configured to generate a test result during the test on the target WiFi device, and send the test result to the cloud.
  • An electronic device includes a memory, a processor, and a computer program stored on the memory and running on the processor.
  • the processor implements the above-mentioned automatic WiFi device testing method when the processor executes the computer program.
  • a computer-readable storage medium on which a computer program is stored characterized in that, when the program is executed by a processor, the steps of the above-mentioned WiFi device automatic testing method are implemented.
  • the positive improvement effect of the present invention is: when the present invention implements the WiFi performance test, multiple WiFi devices in the same shielding box are tested, and the required WiFi devices are selected according to the different wireless roles of the WiFi devices, so as to realize multiple modes of WiFi devices.
  • the present invention can build one or more test environments of STA/P2P/SoftAP mode in the same shielded box or shielded room, thereby saving cost and improving efficiency.
  • FIG. 1 is a flowchart of an automatic testing method for a WiFi device according to Embodiment 1 of the present invention.
  • FIG. 2 is a flowchart of step 30 in the STA mode in the WiFi device automatic testing 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 diagram of a module of a WiFi device automatic testing system according to 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.
  • test method is used to test multiple WiFi devices in the same shielding box, as shown in FIG. 1 , the test method includes:
  • Step 10 receive a test task; the test task includes a test mode;
  • Step 20 select the target WiFi device corresponding to the test mode
  • Step 30 Test the target WiFi device based on the test task.
  • test results can be intelligently judged during the test process, and the test results can be stored in the cloud. After all the tests are completed, the cloud will count all the test contents and results and send them to the testers.
  • the test task further includes a test case and a test requirement
  • the test mode includes a STA mode, a P2P mode, and a SoftAP mode.
  • step 30 specifically includes:
  • Step 311 configure a wireless AP and any target WiFi device according to the test requirements; specifically, the test requirements include wireless mode, channel bandwidth, encryption method and password, and in the subsequent test process, also according to different test requirements. Test WiFi devices.
  • Step 312 establish a WiFi connection between the wireless AP and any target WiFi device
  • Step 313, obtain the IP address of the wireless AP and any target WiFi device
  • Step 314 test any target WiFi device based on the IP address and the test case.
  • test device and the wireless AP can be connected through a network cable, and the WiFi device and the test device can be connected by a USB cable.
  • the tester sends test tasks to the test equipment and WiFi equipment in the cloud, and the subsequent process does not require manual operation.
  • the tester runs the test task in the cloud, and the test device controls the wireless AP and the WiFi device at the same time through the automated script, reads the cloud test case and the requirements of the wireless AP setting, and configures the wireless mode, channel bandwidth, encryption method and password of the AP; then, After the WiFi device is initialized and various required apks (applications) are installed, the WiFi signal connection between the WiFi device and the wireless AP is automatically realized, and the IP addresses of the test device and the WiFi device are obtained to run the performance test.
  • the WiFi device is initialized and various required apks (applications) are installed
  • the WiFi signal connection between the WiFi device and the wireless AP is automatically realized, and the IP addresses of the test device and the WiFi device are obtained to run the performance test.
  • step 30 specifically includes:
  • Step 321 Configure any two target WiFi devices according to the test requirements; any two target WiFi devices include a first WiFi device and a second WiFi device;
  • Step 322 Establish a P2P mode connection between the first WiFi device and the second WiFi device in a plurality of first preset frequency bands respectively;
  • Step 323, assign roles to the first WiFi device and the second WiFi device; the roles include the Group Owner role and the Group Client role;
  • Step 324 Obtain the IP addresses of the first WiFi device and the second WiFi device;
  • Step 325 Test the first WiFi device and the second WiFi device based on the IP address and the test case.
  • two WiFi devices can be connected to the test device through a USB cable.
  • the tester After setting up the hardware environment, the tester sends test tasks to the test equipment and WiFi equipment in the cloud, and the subsequent process does not require manual operation.
  • the tester runs the test task in the cloud, and the PC controls two WiFi devices at the same time through the automated script, reads the cloud test case requirements, and then initializes the two WiFi devices and installs various required apks.
  • Connect in P2P mode select different frequency bands, and determine the roles of GO (Group Owner) and GC (Group Client) after the connection is successful. It should be noted that before the connection, the roles are not fixed, the first WiFi device and the second Both WiFi devices can become GO and GC. Finally, obtain the IP addresses of GO and GC in the two WiFi devices respectively and run the performance test.
  • step 30 specifically includes:
  • Step 331 Configure any two target WiFi devices according to the test requirements; any two target WiFi devices include a third WiFi device and a fourth WiFi device;
  • Step 332 select the third WiFi device or the fourth WiFi device to enable the SoftAP function
  • Step 333 Establish SoftAP mode connections of the third WiFi device and the fourth WiFi device in multiple second preset frequency bands respectively;
  • Step 334 Obtain the IP addresses of the third WiFi device and the fourth WiFi device;
  • Step 335 test the third WiFi device and the fourth WiFi device based on the IP address and the test case.
  • two WiFi devices can be connected to the test device through a USB cable.
  • the tester After setting up the hardware environment, the tester sends test tasks to the test equipment and WiFi equipment in the cloud, and the subsequent process does not require manual operation.
  • the tester runs the test task in the cloud, the PC controls two WiFi devices at the same time through the automated script, reads the requirements of the cloud test case, and then initializes the two WiFi devices and installs various required apks, and selects one of the WiFi devices.
  • the SoftAP function the third WiFi device or the fourth WiFi device, and finally, select different frequency bands, let the two WiFi devices connect in SoftAP mode, obtain the IP addresses of the two WiFi devices and run the performance test after the connection is successful.
  • the WiFi performance test when the WiFi performance test is implemented, multiple WiFi devices in the same shielding box are tested. According to the different wireless roles of the WiFi devices, the required WiFi devices are selected to implement the WiFi performance test in multiple modes.
  • the present invention can build one or more test environments of STA/P2P/SoftAP mode in the same shielding box or shielding room, thereby saving cost and improving efficiency.
  • test system 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, and the test device 2 includes tasks a receiving module 21, a device selection module 22 and a testing module 23;
  • the task receiving module 21 is used to receive a test task, and the test task includes a test mode;
  • the device selection module 22 is used to select the 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.
  • the WiFi device automatic testing system further includes a cloud 1;
  • the cloud 1 is used to deliver the test task to the test equipment 2;
  • the test module 23 is further configured to generate a test result during the test on the target WiFi device, and send the test result to the cloud 1 .
  • test results can be intelligently judged during the test process, and the test results can be stored in the cloud 1. After all the tests are completed, the cloud 1 will count all the test contents and results, and send them to the testers. .
  • the test task further includes a test case and a test requirement
  • the test mode includes a STA mode, a P2P mode, and a SoftAP mode.
  • the test equipment 2 further includes a configuration module 24, a connection module 25, an IP address acquisition module 26, a role assignment module 27 and a function assignment module 28;
  • the configuration module is used to configure a wireless AP and any target WiFi device according to the test requirements; specifically, the test requirements include wireless mode, channel bandwidth, encryption method and password, and in the subsequent test process, also according to Different tests require WiFi devices to be tested separately.
  • the connection module 25 is used to establish a WiFi connection between the wireless AP and any target WiFi device 31;
  • the IP address obtaining module 26 is configured to obtain the IP addresses of the wireless AP and any target WiFi device 31;
  • the test module 23 is configured to test any of the target WiFi devices 31 based on the IP address and the test case.
  • test device and the wireless AP can be connected through a network cable, and the WiFi device and the test device can be connected by a USB cable.
  • the tester After setting up the hardware environment, the tester sends test tasks to the test equipment and WiFi equipment in the cloud, and the subsequent process does not require manual operation.
  • the tester runs the test task in the cloud, and the test device controls the wireless AP and the WiFi device at the same time through the automated script, reads the cloud test case and the requirements of the wireless AP setting, and configures the wireless mode, channel bandwidth, encryption method and password of the AP; then, After the WiFi device is initialized and various required apks (applications) are installed, the WiFi signal connection between the WiFi device and the wireless AP is automatically realized, and the IP addresses of the test device and the WiFi device are obtained to run the performance test.
  • the WiFi device is initialized and various required apks (applications) are installed
  • the WiFi signal connection between the WiFi device and the wireless AP is automatically realized, and the IP addresses of the test device and the WiFi device are obtained to run the performance test.
  • the configuration module 24 is configured to configure any two target WiFi devices according to the test requirements; the any two target WiFi devices include a first WiFi device 32 and a second WiFi device 33;
  • the connection module 25 is configured to establish a P2P mode connection between 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 used to assign roles to the first WiFi device 32 and the second WiFi device 33, and the roles include a Group Owner role and a Group Client role;
  • the IP address obtaining module 26 is configured to obtain the IP addresses of the first WiFi device 32 and the second WiFi device 33;
  • the test 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.
  • two WiFi devices can be connected to the test device through a USB cable.
  • the tester After setting up the hardware environment, the tester sends test tasks to the test equipment and WiFi equipment in the cloud, and the subsequent process does not require manual operation.
  • the tester runs the test task in the cloud, and the PC controls two WiFi devices at the same time through the automated script, reads the cloud test case requirements, and then initializes the two WiFi devices and installs various required apks.
  • Connect in P2P mode select different frequency bands, and determine the roles of GO (Group Owner) and GC (Group Client) after the connection is successful. It should be noted that before the connection, the roles are not fixed, the first WiFi device and the second Both WiFi devices can become GO and GC. Finally, obtain the IP addresses of GO and GC in the two WiFi devices respectively and run the performance test.
  • the configuration module 24 is configured to configure any two target WiFi devices according to the test requirements; the any two target WiFi devices include a third WiFi device 34 and a fourth WiFi device 35;
  • the function allocation module 28 is used to select the third WiFi device 34 or the fourth WiFi device 35 to enable the SoftAP function;
  • the connection module 25 is configured to respectively establish a SoftAP mode connection between the third WiFi device 34 and the fourth WiFi device 35 in multiple second preset frequency bands;
  • the IP address obtaining module 26 is configured to obtain the 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.
  • two WiFi devices can be connected to the test device through a USB cable.
  • the tester After setting up the hardware environment, the tester sends test tasks to the test equipment and WiFi equipment in the cloud, and the subsequent process does not require manual operation.
  • the tester runs the test task in the cloud, the PC controls two WiFi devices at the same time through the automated script, reads the requirements of the cloud test case, and then initializes the two WiFi devices and installs various required apks, and selects one of the WiFi devices.
  • the SoftAP function the third WiFi device or the fourth WiFi device, and finally, select different frequency bands, let the two WiFi devices connect in SoftAP mode, obtain the IP addresses of the two WiFi devices and run the performance test after the connection is successful.
  • the WiFi performance test when the WiFi performance test is implemented, multiple WiFi devices in the same shielding box are tested. According to the different wireless roles of the WiFi devices, the required WiFi devices are selected to implement the WiFi performance test in multiple modes.
  • the present invention can build one or more test environments of STA/P2P/SoftAP mode in the same shielding box or shielding room, thereby saving cost and improving efficiency.
  • An electronic device comprising a memory, a processor and a computer program stored on the memory and running on the processor, when the processor executes the computer program, the WiFi device automatic testing method described in Embodiment 1 is implemented.
  • FIG. 6 is a schematic structural diagram of an electronic device provided in this embodiment.
  • Figure 6 shows 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 impose any limitation on the function and scope of use of the embodiments of the present invention.
  • the electronic device 90 may take the form of a general-purpose computing device, for example, it may be a server device.
  • 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 connecting different system components (including the memory 92 and the processor 91 ).
  • the bus 93 includes a data bus, an address bus and a control bus.
  • Memory 92 may include volatile memory, such as random access memory (RAM) 921 and/or cache memory 922 , and may further include read only memory (ROM) 923 .
  • RAM random access memory
  • ROM read only memory
  • Memory 92 may also include program tools 925 having a set (at least one) of program modules 924 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, in these examples Each or some combination of may include an implementation of a network environment.
  • the processor 91 executes various functional applications and data processing by executing computer programs stored in the memory 92 .
  • the electronic device 90 may also communicate with one or more external devices 94 (eg, keyboards, pointing devices, etc.). Such communication may take place through input/output (I/O) interface 95 . Also, the electronic device 90 may communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network such as the Internet) through a network adapter 96 . Network adapter 96 communicates with other modules of electronic device 90 via bus 93 .
  • networks eg, a local area network (LAN), a wide area network (WAN), and/or a public network such as the Internet
  • electronic device 90 may be used in conjunction with electronic device 90, including but not limited to: microcode, device drivers, redundant processors, arrays of external disk drives, RAID (array of disks) systems, tape drives, and data backup storage systems.
  • a computer-readable storage medium stores a computer program thereon, and when the program is executed by a processor, implements the steps of the WiFi device automatic testing method described in Embodiment 1.
  • the readable storage media may include, but are not limited to, portable disks, hard disks, random access memories, read-only memories, erasable programmable read-only memories, optical storage devices, magnetic storage devices, or any of the above suitable combination.
  • the present invention can also be implemented in the form of a program product, which includes program codes, when the program product runs on a terminal device, the program code is used to cause the terminal device to execute the implementation The steps of the WiFi device automatic testing method described in Embodiment 1.
  • the program code for executing the present invention can be written in any combination of one or more programming languages, and the program code can be completely executed on the user equipment, partially executed on the user equipment, as an independent
  • the software package executes on the user's device, partly on the user's device, partly on the remote device, or entirely on the remote device.

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

本发明公开了一种WiFi设备自动测试方法、系统及可读存储介质,所述测试方法用于对同一屏蔽箱内的多个WiFi设备进行测试,所述测试方法包括:接收测试任务,所述测试任务包括测试模式;选取与所述测试模式对应的目标WiFi设备;基于所述测试任务对所述目标WiFi设备进行测试。在实现WiFi性能测试时,对同一屏蔽箱内的多个WiFi设备进行测试,根据WiFi设备的无线角色不同,选取所需的WiFi设备,实现多种模式的WiFi性能测试,也该本发明可以在同一屏蔽箱或屏蔽室中搭建STA、P2P、SoftAP模式的一种或多种测试环境,从而节约成本和提升效率。

Description

WiFi设备自动测试方法、系统及可读存储介质
本申请要求申请日为2020/12/18的中国专利申请2020115116519的优先权。本申请引用上述中国专利申请的全文。
技术领域
本发明属于WiFi设备自动测试领域,特别涉及一种WiFi设备自动测试方法、系统及可读存储介质。
背景技术
目前,WiFi(无线局域网)设备正式进入市场之前,如何高效率、低成本和精确地评估这些设备在不同模式下的无线性能是非常重要的。现有的测试手段,是将PC(个人计算机)与WiFi设备通过有线或无线的方式接入在同一个局域网内,利用Iperf、Ixchariot等模拟数据收发工具的吞吐量量测手段,基于操作系统之上,手动设置收发包,或根据默认配置参数进行收发包,以确定设备的WiFi吞吐性能,另外,根据WiFi设备的无线角色不同,又包含STA(无线终端)、P2P(WiFi直连)、SoftAP(无线热点)等多种模式的WiFi性能测试。
而现有使用Ixchariot工具进行测试,商业软件价格较昂贵,且只能测试到WiFi STA模式,无法覆盖P2P和SoftAP模式,兼容性较差,若使用Iperf工具进行手动测试,则测试效率低下。
发明内容
本发明要解决的技术问题是为了克服现有技术中使用Ixchariot工具进行WiFi设备测试,价格较昂贵且兼容性较差,使用Iperf工具进行手动测试的测试效率低下的缺陷,提供一种WiFi设备自动测试方法、系统及可读存 储介质。
本发明是通过下述技术方案来解决上述技术问题:
一种WiFi设备自动测试方法,所述测试方法用于对同一屏蔽箱内的多个WiFi设备进行测试,所述测试方法包括:
接收测试任务,所述测试任务包括测试模式;
选取与所述测试模式对应的目标WiFi设备;
基于所述测试任务对所述目标WiFi设备进行测试。
较佳地,所述测试任务还包括测试用例和测试要求,所述测试模式包括STA模式,所述基于所述测试任务对所述目标WiFi设备进行测试的步骤具体包括:
根据所述测试要求配置一无线AP(无线接入点)和任一目标WiFi设备;
建立所述无线AP和所述任一目标WiFi设备的WiFi连接;
获取所述无线AP和所述任一目标WiFi设备的IP(网际互连协议)地址;
基于所述IP地址和所述测试用例对所述任一目标WiFi设备进行测试。
较佳地,所述测试任务还包括测试用例和测试要求,所述测试模式包括P2P模式,所述基于所述测试任务对所述目标WiFi设备进行测试的步骤具体包括:
根据所述测试要求配置任意两个目标WiFi设备;所述任意两个目标WiFi设备包括第一WiFi设备和第二WiFi设备;
分别在多个第一预设频段建立所述第一WiFi设备和所述第二WiFi设备的P2P模式连接;
对所述第一WiFi设备和所述第二WiFi设备分配角色,所述角色包括Group Owner(群主)角色和Group Client(群成员)角色;
获取所述第一WiFi设备和所述第二WiFi设备的IP地址;
基于所述IP地址和所述测试用例对所述第一WiFi设备和所述第二WiFi 设备进行测试。
较佳地,所述测试任务还包括测试用例和测试要求,所述测试模式包括SoftAP模式,所述基于所述测试任务对所述目标WiFi设备进行测试的步骤具体包括:
根据所述测试要求配置任意两个目标WiFi设备;所述任意两个目标WiFi设备包括第三WiFi设备和第四WiFi设备;
选取所述第三WiFi设备或所述第四WiFi设备开启SoftAP功能;
分别在多个第二预设频段建立所述第三WiFi设备和所述第四WiFi设备的SoftAP模式连接;
获取所述第三WiFi设备和所述第四WiFi设备的IP地址;
基于所述IP地址和所述测试用例对所述第三WiFi设备和所述第四WiFi设备进行测试。
较佳地,所述测试要求包括无线模式、信道带宽、加密方式和密码。
一种WiFi设备自动测试系统,所述测试系统用于对同一屏蔽箱内的多个WiFi设备进行测试,所述测试系统包括测试设备,所述测试设备包括任务接收模块、设备选取模块和测试模块;
所述任务接收模块用于接收测试任务,所述测试任务包括测试模式;
所述设备选取模块用于选取与所述测试模式对应的目标WiFi设备;
所述测试模块用于基于所述测试任务对所述目标WiFi设备进行测试。
较佳地,所述测试任务还包括测试用例和测试要求,所述测试模式包括STA模式,所述测试设备还包括配置模块、连接模块和IP地址获取模块;
所述配置模块用于根据所述测试要求配置一无线AP和任一目标WiFi设备;
所述连接模块用于建立所述无线AP和所述任一目标WiFi设备的WiFi连接;
所述IP地址获取模块用于获取所述无线AP和所述任一目标WiFi设备 的IP地址;
所述测试模块用于基于所述IP地址和所述测试用例对所述任一目标WiFi设备进行测试。
较佳地,所述测试任务还包括测试用例和测试要求,所述测试模式包括P2P模式,所述测试设备还包括配置模块、角色分配模块、连接模块和IP地址获取模块;
所述配置模块用于根据所述测试要求配置任意两个目标WiFi设备;所述任意两个目标WiFi设备包括第一WiFi设备和第二WiFi设备;
所述连接模块用于分别在多个第一预设频段建立所述第一WiFi设备和所述第二WiFi设备的P2P模式连接;
所述角色分配模块用于对所第一WiFi设备和所述第二WiFi设备分配角色,所述角色包括Group Owner角色和Group Client角色;
所述IP地址获取模块用于获取所述第一WiFi设备和所述第二WiFi设备的IP地址;
所述测试模块用于基于所述IP地址和所述测试用例对所述第一WiFi设备和所述第二WiFi设备进行测试。
较佳地,所述测试任务还包括测试用例和测试要求,所述测试模式包括SoftAP模式,所述测试设备还包括配置模块、功能分配模块、连接模块和IP地址获取模块;
所述配置模块用于根据所述测试要求配置任意两个目标WiFi设备;所述任意两个目标WiFi设备包括第三WiFi设备和第四WiFi设备;
所述功能分配模块用于选取所述第三WiFi设备或所述第四WiFi设备开启SoftAP功能;
所述连接模块用于分别在多个第二预设频段建立所述第三WiFi设备和所述第四WiFi设备的SoftAP模式连接;
所述IP地址获取模块用于获取所述第三WiFi设备和所述第四WiFi设 备的IP地址;
所述测试模块用于基于所述IP地址和所述测试用例对所述第三WiFi设备和所述第四WiFi设备进行测试。
较佳地,所述WiFi设备自动测试系统还包括云端;
所述云端用于下发所述测试任务至所述测试设备;
和/或,所述测试模块还用于在对所述目标WiFi设备进行测试中生成测试结果,并将所述测试结果发送至所述云端。
一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述的WiFi设备自动测试方法。
一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行时实现上述的WiFi设备自动测试方法的步骤。
本发明的积极进步效果在于:本发明在实现WiFi性能测试时,对同一屏蔽箱内的多个WiFi设备进行测试,根据WiFi设备的无线角色不同,选取所需的WiFi设备,实现多种模式的WiFi性能测试,也该本发明可以在同一屏蔽箱或屏蔽室中搭建STA/P2P/SoftAP模式的一种或多种测试环境,从而节约成本和提升效率。
附图说明
图1为本发明实施例1的WiFi设备自动测试方法的流程图。
图2为本发明实施例1的WiFi设备自动测试方法中STA模式下步骤30的流程图。
图3为本发明实施例1的WiFi设备自动测试方法中P2P模式下步骤30的流程图。
图4为本发明实施例1的WiFi设备自动测试方法中SoftAP模式下步骤30的流程图。
图5为本发明实施例2的WiFi设备自动测试系统的模块示意图。
图6为本发明实施例3的电子设备的结构示意图。
具体实施方式
下面通过实施例的方式进一步说明本发明,但并不因此将本发明限制在所述的实施例范围之中。
实施例1
一种WiFi设备自动测试方法,所述测试方法用于对同一屏蔽箱内的多个WiFi设备进行测试,如图1所示,所述测试方法包括:
步骤10、接收测试任务;测试任务包括测试模式;
步骤20、选取与测试模式对应的目标WiFi设备;
步骤30、基于测试任务对目标WiFi设备进行测试。
需要说明的是,进一步的,可以在测试过程中对测试结果进行智能判断,并将测试结果存放至云端,当所有测试完成后,由云端统计所有测试内容和结果,并发送给测试人员。
本实施例中,所述测试任务还包括测试用例和测试要求,所述测试模式包括STA模式、P2P模式和SoftAP模式。
如图2所示,在STA模式下,步骤30具体包括:
步骤311、根据测试要求配置一无线AP和任一目标WiFi设备;具体的,所述测试要求包括无线模式、信道带宽、加密方式和密码,在后续的测试过程中,还根据不同的测试要求分别对WiFi设备进行测试。
步骤312、建立无线AP和任一目标WiFi设备的WiFi连接;
步骤313、获取无线AP和任一目标WiFi设备的IP地址;
步骤314、基于IP地址和测试用例对任一目标WiFi设备进行测试。
具体的,可以通过网线将测试设备和无线AP连接起来,并用USB线的方式将WiFi设备和测试设备连接。搭建好硬件环境后,测试员在云端给测 试设备和WiFi设备下发测试任务,后续过程无需人工操作。首先测试员在云端运行测试任务,测试设备通过自动化脚本同时控制无线AP和WiFi设备,读取云端测试用例和无线AP设置的要求,配置AP的无线模式、信道带宽以及加密方式和密码;然后,WiFi设备初始化并安装各种所需apk(应用程序)后,自动化实现WiFi设备和无线AP的WiFi信号连接,并获取测试设备和WiFi设备的IP地址以运行性能测试。
如图3所示,在P2P模式模式下,步骤30具体包括:
步骤321、根据测试要求配置任意两个目标WiFi设备;任意两个目标WiFi设备包括第一WiFi设备和第二WiFi设备;
步骤322、分别在多个第一预设频段建立第一WiFi设备和第二WiFi设备的P2P模式连接;
步骤323、对第一WiFi设备和第二WiFi设备分配角色;角色包括Group Owner角色和Group Client角色;
步骤324、获取第一WiFi设备和第二WiFi设备的IP地址;
步骤325、基于IP地址和测试用例对第一WiFi设备和第二WiFi设备进行测试。
具体的,可以将两台WiFi设备(第一WiFi设备和第二WiFi设备)通过USB线和测试设备进行连接。搭建好硬件环境后,测试员在云端给测试设备和WiFi设备下发测试任务,后续过程无需人工操作。首先测试员在云端运行测试任务,PC通过自动化脚本同时控制两台WiFi设备,读取云端测试用例要求,然后,两台WiFi设备分别进行初始化并安装各种所需apk后,让两台WiFi设备进行P2P模式连接,并选择不同频段,在连接成功后确定其GO(Group Owner)和GC(Group Client)的角色,需要说明的是,在连接之前,角色不固定,第一WiFi设备和第二WiFi设备均可以成为GO和GC,最后,分别获取两台WiFi设备中GO和GC的IP地址并运行性能测试。
如图4所示,在SoftAP模式下,步骤30具体包括:
步骤331、根据测试要求配置任意两个目标WiFi设备;任意两个目标WiFi设备包括第三WiFi设备和第四WiFi设备;
步骤332、选取第三WiFi设备或第四WiFi设备开启SoftAP功能;
步骤333、分别在多个第二预设频段建立第三WiFi设备和第四WiFi设备的SoftAP模式连接;
步骤334、获取第三WiFi设备和第四WiFi设备的IP地址;
步骤335、基于IP地址和测试用例对第三WiFi设备和第四WiFi设备进行测试。
具体的,可以将两台WiFi设备(第三WiFi设备和第四WiFi设备)通过USB线和测试设备进行连接。搭建好硬件环境后,测试员在云端给测试设备和WiFi设备下发测试任务,后续过程无需人工操作。首先测试员在云端运行测试任务,PC通过自动化脚本同时控制两台WiFi设备,读取云端测试用例要求,然后,两台WiFi设备分别进行初始化并安装各种所需apk后,选择其中一个WiFi设备开启SoftAP功能,第三WiFi设备或第四WiFi设备,最后,选择不同频段,让两台WiFi设备进行SoftAP模式连接,在连接成功后获取两台WiFi设备的IP地址并运行性能测试。
本实施例中,在实现WiFi性能测试时,对同一屏蔽箱内的多个WiFi设备进行测试,根据WiFi设备的无线角色不同,选取所需的WiFi设备,实现多种模式的WiFi性能测试,也该本发明可以在同一屏蔽箱或屏蔽室中搭建STA/P2P/SoftAP模式的一种或多种测试环境,从而节约成本和提升效率。
实施例2
一种WiFi设备自动测试系统,所述测试系统用于对同一屏蔽箱3内的多个WiFi设备进行测试,如图5所示,所述测试系统包括测试设备2,所述测试设备2包括任务接收模块21、设备选取模块22和测试模块23;
所述任务接收模块21用于接收测试任务,所述测试任务包括测试模式;
所述设备选取模块22用于选取与所述测试模式对应的目标WiFi设备;
所述测试模块23用于基于所述测试任务对所述目标WiFi设备进行测试。
本实施例中,所述WiFi设备自动测试系统还包括云端1;
所述云端1用于下发所述测试任务至所述测试设备2;
所述测试模块23还用于在对所述目标WiFi设备进行测试中生成测试结果,并将所述测试结果发送至所述云端1。
需要说明的是,进一步的,可以在测试过程中对测试结果进行智能判断,并将测试结果存放至云端1,当所有测试完成后,由云端1统计所有测试内容和结果,并发送给测试人员。
本实施例中,所述测试任务还包括测试用例和测试要求,所述测试模式包括STA模式、P2P模式和SoftAP模式。所述测试设备2还包括配置模块24、连接模块25、IP地址获取模块26、角色分配模块27和功能分配模块28;
本实施例中,在STA模式下:
所述配置模块用于根据所述测试要求配置一无线AP和任一目标WiFi设备;具体的,所述测试要求包括无线模式、信道带宽、加密方式和密码,在后续的测试过程中,还根据不同的测试要求分别对WiFi设备进行测试。
所述连接模块25用于建立所述无线AP和所述任一目标WiFi设备31的WiFi连接;
所述IP地址获取模块26用于获取所述无线AP和所述任一目标WiFi设备31的IP地址;
所述测试模块23用于基于所述IP地址和所述测试用例对所述任一目标WiFi设备31进行测试。
具体的,可以通过网线将测试设备和无线AP连接起来,并用USB线的方式将WiFi设备和测试设备连接。搭建好硬件环境后,测试员在云端给测 试设备和WiFi设备下发测试任务,后续过程无需人工操作。首先测试员在云端运行测试任务,测试设备通过自动化脚本同时控制无线AP和WiFi设备,读取云端测试用例和无线AP设置的要求,配置AP的无线模式、信道带宽以及加密方式和密码;然后,WiFi设备初始化并安装各种所需apk(应用程序)后,自动化实现WiFi设备和无线AP的WiFi信号连接,并获取测试设备和WiFi设备的IP地址以运行性能测试。
本实施例中,在P2P模式模式下:
所述配置模块24用于根据所述测试要求配置任意两个目标WiFi设备;所述任意两个目标WiFi设备包括第一WiFi设备32和第二WiFi设备33;
所述连接模块25用于分别在多个第一预设频段建立所述第一WiFi设备32和所述第二WiFi设备33的P2P模式连接;
所述角色分配模块27用于对所述第一WiFi设备32和所述第二WiFi设备33分配角色,所述角色包括Group Owner角色和Group Client角色;
所述IP地址获取模块26用于获取所述第一WiFi设备32和所述第二WiFi设备33的IP地址;
所述测试模块23用于基于所述IP地址和所述测试用例对所述第一WiFi设备32和所述第二WiFi设备33进行测试。
具体的,可以将两台WiFi设备(第一WiFi设备和第二WiFi设备)通过USB线和测试设备进行连接。搭建好硬件环境后,测试员在云端给测试设备和WiFi设备下发测试任务,后续过程无需人工操作。首先测试员在云端运行测试任务,PC通过自动化脚本同时控制两台WiFi设备,读取云端测试用例要求,然后,两台WiFi设备分别进行初始化并安装各种所需apk后,让两台WiFi设备进行P2P模式连接,并选择不同频段,在连接成功后确定其GO(Group Owner)和GC(Group Client)的角色,需要说明的是,在连接之前,角色不固定,第一WiFi设备和第二WiFi设备均可以成为GO和GC,最后,分别获取两台WiFi设备中GO和GC的IP地址并运行性能测 试。
本实施例中,在SoftAP模式下:
所述配置模块24用于根据所述测试要求配置任意两个目标WiFi设备;所述任意两个目标WiFi设备包括第三WiFi设备34和第四WiFi设备35;
所述功能分配模块28用于选取所述第三WiFi设备34或所述第四WiFi设备35开启SoftAP功能;
所述连接模块25用于分别在多个第二预设频段建立所述第三WiFi设备34和所述第四WiFi设备35的SoftAP模式连接;
所述IP地址获取模块26用于获取所述第三WiFi设备34和所述第四WiFi设备35的IP地址;
所述测试模块23用于基于所述IP地址和所述测试用例对所述第三WiFi设备34和所述第四WiFi设备35进行测试。
具体的,可以将两台WiFi设备(第三WiFi设备和第四WiFi设备)通过USB线和测试设备进行连接。搭建好硬件环境后,测试员在云端给测试设备和WiFi设备下发测试任务,后续过程无需人工操作。首先测试员在云端运行测试任务,PC通过自动化脚本同时控制两台WiFi设备,读取云端测试用例要求,然后,两台WiFi设备分别进行初始化并安装各种所需apk后,选择其中一个WiFi设备开启SoftAP功能,第三WiFi设备或第四WiFi设备,最后,选择不同频段,让两台WiFi设备进行SoftAP模式连接,在连接成功后获取两台WiFi设备的IP地址并运行性能测试。
本实施例中,在实现WiFi性能测试时,对同一屏蔽箱内的多个WiFi设备进行测试,根据WiFi设备的无线角色不同,选取所需的WiFi设备,实现多种模式的WiFi性能测试,也该本发明可以在同一屏蔽箱或屏蔽室中搭建STA/P2P/SoftAP模式的一种或多种测试环境,从而节约成本和提升效率。
实施例3
一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上 运行的计算机程序,所述处理器执行所述计算机程序时实现实施例1所述的WiFi设备自动测试方法。
图6为本实施例提供的一种电子设备的结构示意图。图6示出了适于用来实现本发明实施方式的示例性电子设备90的框图。图6显示的电子设备90仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。
如图6所示,电子设备90可以以通用计算设备的形式表现,例如其可以为服务器设备。电子设备90的组件可以包括但不限于:至少一个处理器91、至少一个存储器92、连接不同系统组件(包括存储器92和处理器91)的总线93。
总线93包括数据总线、地址总线和控制总线。
存储器92可以包括易失性存储器,例如随机存取存储器(RAM)921和/或高速缓存存储器922,还可以进一步包括只读存储器(ROM)923。
存储器92还可以包括具有一组(至少一个)程序模块924的程序工具925,这样的程序模块924包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。
处理器91通过运行存储在存储器92中的计算机程序,从而执行各种功能应用以及数据处理。
电子设备90也可以与一个或多个外部设备94(例如键盘、指向设备等)通信。这种通信可以通过输入/输出(I/O)接口95进行。并且,电子设备90还可以通过网络适配器96与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。网络适配器96通过总线93与电子设备90的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备90使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理器、外部磁盘驱动阵列、RAID(磁盘阵列)系统、磁带驱动器以及数据备份存储系统等。
应当注意,尽管在上文详细描述中提及了电子设备的若干单元/模块或子单元/模块,但是这种划分仅仅是示例性的并非强制性的。实际上,根据本申请的实施方式,上文描述的两个或更多单元/模块的特征和功能可以在一个单元/模块中具体化。反之,上文描述的一个单元/模块的特征和功能可以进一步划分为由多个单元/模块来具体化。
实施例4
一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现实施例1所述的WiFi设备自动测试方法的步骤。
其中,可读存储介质可以采用的更具体可以包括但不限于:便携式盘、硬盘、随机存取存储器、只读存储器、可擦拭可编程只读存储器、光存储器件、磁存储器件或上述的任意合适的组合。
在可能的实施方式中,本发明还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在终端设备上运行时,所述程序代码用于使所述终端设备执行实现实施例1所述的WiFi设备自动测试方法的步骤。
其中,可以以一种或多种程序设计语言的任意组合来编写用于执行本发明的程序代码,所述程序代码可以完全地在用户设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户设备上部分在远程设备上执行或完全在远程设备上执行。
虽然以上描述了本发明的具体实施方式,但是本领域的技术人员应当理解,这仅是举例说明,本发明的保护范围是由所附权利要求书限定的。本领域的技术人员在不背离本发明的原理和实质的前提下,可以对这些实施方式做出多种变更或修改,但这些变更和修改均落入本发明的保护范围。

Claims (12)

  1. 一种WiFi设备自动测试方法,所述测试方法用于对同一屏蔽箱内的多个WiFi设备进行测试,其特征在于,所述测试方法包括:
    接收测试任务,所述测试任务包括测试模式;
    选取与所述测试模式对应的目标WiFi设备;
    基于所述测试任务对所述目标WiFi设备进行测试。
  2. 如权利要求1所述的WiFi设备自动测试方法,其特征在于,所述测试任务还包括测试用例和测试要求,所述测试模式包括STA模式,所述基于所述测试任务对所述目标WiFi设备进行测试的步骤具体包括:
    根据所述测试要求配置一无线AP和任一目标WiFi设备;
    建立所述无线AP和所述任一目标WiFi设备的WiFi连接;
    获取所述无线AP和所述任一目标WiFi设备的IP地址;
    基于所述IP地址和所述测试用例对所述任一目标WiFi设备进行测试。
  3. 如权利要求1-2中至少一项所述的WiFi设备自动测试方法,其特征在于,所述测试任务还包括测试用例和测试要求,所述测试模式包括P2P模式,所述基于所述测试任务对所述目标WiFi设备进行测试的步骤具体包括:
    根据所述测试要求配置任意两个目标WiFi设备;所述任意两个目标WiFi设备包括第一WiFi设备和第二WiFi设备;
    分别在多个第一预设频段建立所述第一WiFi设备和所述第二WiFi设备的P2P模式连接;
    对所述第一WiFi设备和所述第二WiFi设备分配角色,所述角色包括Group Owner角色和Group Client角色;
    获取所述第一WiFi设备和所述第二WiFi设备的IP地址;
    基于所述IP地址和所述测试用例对所述第一WiFi设备和所述第二WiFi设备进行测试。
  4. 如权利要求1-3中至少一项所述的WiFi设备自动测试方法,其特征在于,所述测试任务还包括测试用例和测试要求,所述测试模式包括SoftAP模式,所述基于所述测试任务对所述目标WiFi设备进行测试的步骤具体包括:
    根据所述测试要求配置任意两个目标WiFi设备;所述任意两个目标WiFi设备包括第三WiFi设备和第四WiFi设备;
    选取所述第三WiFi设备或所述第四WiFi设备开启SoftAP功能;
    分别在多个第二预设频段建立所述第三WiFi设备和所述第四WiFi设备的SoftAP模式连接;
    获取所述第三WiFi设备和所述第四WiFi设备的IP地址;
    基于所述IP地址和所述测试用例对所述第三WiFi设备和所述第四WiFi设备进行测试。
  5. 如权利要求2-4中至少一项所述的WiFi设备自动测试方法,其特征在于,所述测试要求包括无线模式、信道带宽、加密方式和密码。
  6. 一种WiFi设备自动测试系统,所述测试系统用于对同一屏蔽箱内的多个WiFi设备进行测试,其特征在于,所述测试系统包括测试设备,所述测试设备包括任务接收模块、设备选取模块和测试模块;
    所述任务接收模块用于接收测试任务,所述测试任务包括测试模式;
    所述设备选取模块用于选取与所述测试模式对应的目标WiFi设备;
    所述测试模块用于基于所述测试任务对所述目标WiFi设备进行测试。
  7. 如权利要求6所述的WiFi设备自动测试系统,其特征在于,所述测试任务还包括测试用例和测试要求,所述测试模式包括STA模式,所述测试设备还包括配置模块、连接模块和IP地址获取模块;
    所述配置模块用于根据所述测试要求配置一无线AP和任一目标WiFi设备;
    所述连接模块用于建立所述无线AP和所述任一目标WiFi设备的WiFi 连接;
    所述IP地址获取模块用于获取所述无线AP和所述任一目标WiFi设备的IP地址;
    所述测试模块用于基于所述IP地址和所述测试用例对所述任一目标WiFi设备进行测试。
  8. 如权利要求6-7中至少一项所述的WiFi设备自动测试系统,其特征在于,所述测试任务还包括测试用例和测试要求,所述测试模式包括P2P模式,所述测试设备还包括配置模块、角色分配模块、连接模块和IP地址获取模块;
    所述配置模块用于根据所述测试要求配置任意两个目标WiFi设备;所述任意两个目标WiFi设备包括第一WiFi设备和第二WiFi设备;
    所述连接模块用于分别在多个第一预设频段建立所述第一WiFi设备和所述第二WiFi设备的P2P模式连接;
    所述角色分配模块用于对所述第一WiFi设备和所述第二WiFi设备分配角色,所述角色包括Group Owner角色和Group Client角色;
    所述IP地址获取模块用于获取所述第一WiFi设备和所述第二WiFi设备的IP地址;
    所述测试模块用于基于所述IP地址和所述测试用例对所述第一WiFi设备和所述第二WiFi设备进行测试。
  9. 如权利要求6-8中至少一项所述的WiFi设备自动测试系统,其特征在于,所述测试任务还包括测试用例和测试要求,所述测试模式包括SoftAP模式,所述测试设备还包括配置模块、功能分配模块、连接模块和IP地址获取模块;
    所述配置模块用于根据所述测试要求配置任意两个目标WiFi设备;所述任意两个目标WiFi设备包括第三WiFi设备和第四WiFi设备;
    所述功能分配模块用于选取所述第三WiFi设备或所述第四WiFi设备开 启SoftAP功能;
    所述连接模块用于分别在多个第二预设频段建立所述第三WiFi设备和所述第四WiFi设备的SoftAP模式连接;
    所述IP地址获取模块用于获取所述第三WiFi设备和所述第四WiFi设备的IP地址;
    所述测试模块用于基于所述IP地址和所述测试用例对所述第三WiFi设备和所述第四WiFi设备进行测试。
  10. 如权利要求6-9中至少一项所述的WiFi设备自动测试系统,其特征在于,所述WiFi设备自动测试系统还包括云端;
    所述云端用于下发所述测试任务至所述测试设备;
    和/或,所述测试模块还用于在对所述目标WiFi设备进行测试中生成测试结果,并将所述测试结果发送至所述云端。
  11. 一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至5中至少一项所述的WiFi设备自动测试方法。
  12. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行时实现权利要求1至5中至少一项所述的WiFi设备自动测试方法的步骤。
PCT/CN2021/134138 2020-12-18 2021-11-29 WiFi设备自动测试方法、系统及可读存储介质 WO2022127575A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011511651.9A CN112486753B (zh) 2020-12-18 2020-12-18 WiFi设备自动测试方法、系统及可读存储介质
CN202011511651.9 2020-12-18

Publications (1)

Publication Number Publication Date
WO2022127575A1 true WO2022127575A1 (zh) 2022-06-23

Family

ID=74914974

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/134138 WO2022127575A1 (zh) 2020-12-18 2021-11-29 WiFi设备自动测试方法、系统及可读存储介质

Country Status (2)

Country Link
CN (2) CN112486753B (zh)
WO (1) WO2022127575A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116866236A (zh) * 2023-05-20 2023-10-10 北京盛和信科技股份有限公司 一种路由器可靠性批量测试方法、系统、终端及存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486753B (zh) * 2020-12-18 2023-06-23 展讯半导体(成都)有限公司 WiFi设备自动测试方法、系统及可读存储介质
CN114006844B (zh) * 2021-09-30 2024-01-12 武汉通力路达科技有限公司 Wifi吞吐测试方法、wifi吞吐测试装置和计算机可读存储介质
CN114090117A (zh) * 2021-11-10 2022-02-25 深圳Tcl新技术有限公司 一种配置方法、装置、设备及存储介质
CN114222320A (zh) * 2021-12-16 2022-03-22 展讯通信(上海)有限公司 通信设备的测试方法、装置、设备、存储介质及程序

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180225194A1 (en) * 2016-05-16 2018-08-09 Jpmorgan Chase Bank, N.A. Method and system for implementing an automation software testing and packaging framework with entitlements
CN110139298A (zh) * 2019-05-06 2019-08-16 四川九州电子科技股份有限公司 一种WiFi自动化测试系统及其测试方法
CN110262932A (zh) * 2019-05-31 2019-09-20 深圳市杰科数码有限公司 Android平板测试方法、系统以及计算机可读存储介质
CN111194046A (zh) * 2018-11-14 2020-05-22 上海富瀚微电子股份有限公司 一种wifi模块自动化测试系统及方法
CN112202628A (zh) * 2020-09-08 2021-01-08 杭州涂鸦信息技术有限公司 一种WiFi模块串口协议自动化测试系统及方法
CN112486753A (zh) * 2020-12-18 2021-03-12 展讯半导体(成都)有限公司 WiFi设备自动测试方法、系统及可读存储介质

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102938800B (zh) * 2012-11-07 2015-09-02 大唐移动通信设备有限公司 一种无线通信质量自动测试系统以及方法
CN103533572A (zh) * 2013-10-24 2014-01-22 广东欧珀移动通信有限公司 Wifi性能自动化测试方法及装置
CN103825667B (zh) * 2014-03-10 2015-12-30 南京软仪测试技术有限公司 一种并行测试wifi模块的方法
CN104394544A (zh) * 2014-12-19 2015-03-04 上海斐讯数据通信技术有限公司 一种WiFi产品自动化射频测试方法
CN105813124B (zh) * 2014-12-31 2019-06-25 展讯通信(上海)有限公司 Wifi和/或lte终端设备的性能测试方法及系统
CN104796932B (zh) * 2015-03-20 2018-06-26 四川长虹电器股份有限公司 利用单一WiFi终端设备组建抗干扰能力子局域网的方法
CN105227693B (zh) * 2015-09-30 2019-04-05 青岛海信移动通信技术股份有限公司 一种移动设备的dns的配置方法和装置
US10247773B2 (en) * 2016-07-01 2019-04-02 Intel Corporation Systems and methods for wireless device testing
CN106488468A (zh) * 2016-10-14 2017-03-08 深圳Tcl新技术有限公司 WiFi性能测试方法及系统
WO2018182604A1 (en) * 2017-03-30 2018-10-04 Intel Corporation Wifi protected access 2 (wpa2) pass-through virtualization
CN106993303A (zh) * 2017-04-11 2017-07-28 百度在线网络技术(北京)有限公司 配置以及维保智能wifi设备的方法、装置、设备和计算机存储介质
CN107222882A (zh) * 2017-06-12 2017-09-29 胡绪健 一种并行测试wifi模块的方法
CN108260106B (zh) * 2018-01-10 2021-02-12 中国电子科技集团公司第三十研究所 一种智能终端WiFi的自组网建立方法及装置
CN109450741A (zh) * 2018-12-20 2019-03-08 深圳市吉祥腾达科技有限公司 一种无线网卡Wi-Fi连接可靠性的测试系统及测试方法
CN110519779B (zh) * 2019-08-26 2022-05-13 Oppo(重庆)智能科技有限公司 移动终端测试方法、装置、系统和存储介质
CN110730517B (zh) * 2019-10-22 2021-06-29 Oppo广东移动通信有限公司 网络连接控制方法及相关产品
CN111371638B (zh) * 2020-02-18 2022-01-18 深圳市晨北科技有限公司 智能设备测试方法、装置、服务器及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180225194A1 (en) * 2016-05-16 2018-08-09 Jpmorgan Chase Bank, N.A. Method and system for implementing an automation software testing and packaging framework with entitlements
CN111194046A (zh) * 2018-11-14 2020-05-22 上海富瀚微电子股份有限公司 一种wifi模块自动化测试系统及方法
CN110139298A (zh) * 2019-05-06 2019-08-16 四川九州电子科技股份有限公司 一种WiFi自动化测试系统及其测试方法
CN110262932A (zh) * 2019-05-31 2019-09-20 深圳市杰科数码有限公司 Android平板测试方法、系统以及计算机可读存储介质
CN112202628A (zh) * 2020-09-08 2021-01-08 杭州涂鸦信息技术有限公司 一种WiFi模块串口协议自动化测试系统及方法
CN112486753A (zh) * 2020-12-18 2021-03-12 展讯半导体(成都)有限公司 WiFi设备自动测试方法、系统及可读存储介质

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116866236A (zh) * 2023-05-20 2023-10-10 北京盛和信科技股份有限公司 一种路由器可靠性批量测试方法、系统、终端及存储介质
CN116866236B (zh) * 2023-05-20 2024-04-16 北京盛和信科技股份有限公司 一种路由器可靠性批量测试方法、系统、终端及存储介质

Also Published As

Publication number Publication date
CN112486753A (zh) 2021-03-12
CN116991644A (zh) 2023-11-03
CN112486753B (zh) 2023-06-23

Similar Documents

Publication Publication Date Title
WO2022127575A1 (zh) WiFi设备自动测试方法、系统及可读存储介质
CN110442524B (zh) 一种针对带有认证授权的web服务接口测试方法和装置
CN105430108B (zh) 一种测试环境访问方法及代理服务器
US20170302994A1 (en) Set top boxes under test
US20130152074A1 (en) Method for automatic consecutive installing operating systems
CN106919485B (zh) 一种基于服务器上配置硬件测试工具的系统
CN106326088B (zh) 实现构建测试对象的方法、装置及业务配置测试的装置
CN112751716B (zh) 一种控制文件服务器响应的测试方法、系统以及电子设备
CN103746879A (zh) 一种IPv6协议一致性的测试系统及其方法
CN113127356A (zh) 压测方法、装置、电子设备及存储介质
CN111367812A (zh) 测试方法、电子设备及可读存储介质
CN111597083B (zh) 智能终端的测试系统
CN107453954B (zh) 一种网络调试方法、系统以及设备
CN110677307B (zh) 一种服务监测方法、装置、设备和存储介质
CN114629831B (zh) 一种网卡性能测试方法、装置、设备和存储介质
CN112765035A (zh) 分布式压力测试系统、方法、装置、电子设备、存储介质
CN109660386B (zh) 一种半导体存储器老化测试系统软件升级方法
CN110730112A (zh) 网络运行速率的测试方法、系统、设备及存储介质
US11354215B2 (en) Computing device and method for analyzing device
CN111541589B (zh) 对智能终端的扩展模块接口进行测试的方法、装置和设备
CN111711713B (zh) 数据访问方法、计算机设备及存储介质
CN112416509B (zh) 虚拟机控制系统及相关设备
CN113391931A (zh) 基于蓝牙的远程控制方法、装置、计算机设备和存储介质
CN112698998A (zh) 一种可持续集成的arm服务器出厂测试方法
CN114828062A (zh) 无线干扰的测试方法及系统、电子设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21905504

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21905504

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21905504

Country of ref document: EP

Kind code of ref document: A1