CN114006844A - WIFI throughput testing method, WIFI throughput testing device and computer-readable storage medium - Google Patents

WIFI throughput testing method, WIFI throughput testing device and computer-readable storage medium Download PDF

Info

Publication number
CN114006844A
CN114006844A CN202111168167.5A CN202111168167A CN114006844A CN 114006844 A CN114006844 A CN 114006844A CN 202111168167 A CN202111168167 A CN 202111168167A CN 114006844 A CN114006844 A CN 114006844A
Authority
CN
China
Prior art keywords
wifi
test
wifi throughput
throughput testing
mode
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
Application number
CN202111168167.5A
Other languages
Chinese (zh)
Other versions
CN114006844B (en
Inventor
向华
周俊青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Tongli Luda Technology Co ltd
Tonly Electronics Holdings Ltd
Original Assignee
Wuhan Tongli Luda Technology Co ltd
Tonly Electronics Holdings Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Tongli Luda Technology Co ltd, Tonly Electronics Holdings Ltd filed Critical Wuhan Tongli Luda Technology Co ltd
Priority to CN202111168167.5A priority Critical patent/CN114006844B/en
Publication of CN114006844A publication Critical patent/CN114006844A/en
Application granted granted Critical
Publication of CN114006844B publication Critical patent/CN114006844B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0888Throughput
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Landscapes

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

Abstract

The invention discloses a WIFI throughput testing method, a WIFI throughput testing device and a computer readable storage medium, wherein the WIFI throughput testing method comprises the following steps: selecting a test mode of the WIFI throughout test device according to the type of the equipment to be tested; selecting a connection mode between the WIFI throughput testing device and the equipment to be tested according to a testing mode of the WIFI throughput testing device; and controlling the WIFI throughput testing device and the equipment to be tested to perform WIFI throughput testing. By implementing the method and the device, the WIFI throughput test environment configuration can be effectively improved, the hardware configuration is reduced, the test cost is saved, the test flow is simplified, and the test efficiency is improved.

Description

WIFI throughput testing method, WIFI throughput testing device and computer-readable storage medium
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to a WIFI throughput testing method, a WIFI throughput testing apparatus, and a computer-readable storage medium.
Background
Nowadays, new standards of new protocols in the computer field and the communication field are in the endlessly, and the average throughput of modem devices of network terminals is also suddenly increased from 16Kbps twenty years ago to 1000Mbps nowadays. Also, with the upgrade and replacement of manufacturing industry, automated test lines have been popularized in various factories around the world.
The throughput is the maximum data flow which can be forwarded by the tested device under the condition of no packet loss, and is one of the most important indexes for measuring the network performance. At present, a general WIFI throughput test environment configuration needs 2 computers, one type of tested device, one type of corresponding STA (Station) or AP (Access Point) device, and 2 shielding boxes to shield environmental interference. The testing method can only detect one product in one testing period, has low efficiency and causes the appearance of the bottleneck of the production speed of a production line. On a test position commonly used in a factory, a trained worker operates two sets of equipment, namely 4 computers and other supporting equipment, and the products are tested and produced in turn by staggering left and right, so that the cost is huge and the speed is low. The need to add multiple test stations to a production line often results in significant production test equipment cost.
Disclosure of Invention
The invention mainly aims to provide a WIFI throughput testing method, a WIFI throughput testing device and a computer readable storage medium, and aims to solve the technical problem of how to effectively improve the configuration of a WIFI throughput testing environment so as to improve the testing efficiency and save the testing cost.
In order to achieve the above object, the present invention provides a WIFI throughput testing method, which includes the following steps:
selecting a test mode of the WIFI throughout test device according to the type of the equipment to be tested;
selecting a connection mode between the WIFI throughput testing device and the equipment to be tested according to a testing mode of the WIFI throughput testing device;
and controlling the WIFI throughput testing device and the equipment to be tested to perform WIFI throughput testing.
Optionally, the step of selecting a test mode of the WIFI throughput testing apparatus according to the type of the device under test includes:
when the device to be tested is the AP device, controlling the test mode of the WIFI throughput test device to be switched to an STA mode;
and when the equipment to be tested is STA equipment, controlling the test mode of the WIFI throughput test device to be switched to an AP mode.
Optionally, the step of selecting a connection mode between the WIFI throughput testing device and the device under test according to the testing mode of the WIFI throughput testing device includes:
when the test mode is the STA mode, controlling the WIFI throughput test device to scan and detect SSID signals within a preset distance range according to preset scanning frequency, and automatically connecting the device to be tested with the strongest SSID signals;
and when the test mode is the AP mode, controlling the WIFI throughput test device to set SSID and/or channel, and controlling the device to be tested to be connected to the WIFI throughput test device.
Optionally, after the step of controlling the WIFI throughput testing apparatus and the device under test to perform the WIFI throughput testing, the method includes:
and after the WIFI throughput test is finished, controlling the WIFI throughput test device to feed back throughput test data.
Optionally, a preset tool is built in the device under test, and the step of confirming the current test mode includes:
and integrating the preset tool into a WIFI throughput testing device.
Optionally, the step of controlling the WIFI throughput testing device to feed back throughput testing data includes:
and judging whether the throughput test data meets a preset standard or not.
Optionally, the step of determining whether the throughput test data meets a preset criterion includes:
and if the throughput test data meet the preset standard, controlling a prompt module to display a first preset state.
Optionally, the step of determining whether the throughput test data meets a preset criterion further includes:
and if the throughput test data does not meet the preset standard, controlling the prompt module to display a second preset state.
In addition, to achieve the above object, the present invention further provides a WIFI throughput testing apparatus, including: the WIFI throughput testing method comprises a memory, a processor and a WIFI throughput testing program which is stored on the memory and can run on the processor, wherein the WIFI throughput testing program realizes the steps of the WIFI throughput testing method when being executed by the processor.
In addition, to achieve the above object, the present invention also provides a computer readable storage medium having a WIFI throughput testing program stored thereon, where the WIFI throughput testing program, when executed by a processor, implements the steps of the WIFI throughput testing method as described above.
The invention provides a WIFI throughput testing method, a WIFI throughput testing device and a computer readable storage medium. According to the method, the test mode of the WIFI throughout test device is selected according to the type of the equipment to be tested, so that the WIFI throughout test device can be ensured to accurately switch the test mode; according to the test mode of the WIFI throughout test device, the connection mode between the WIFI throughout test device and the equipment to be tested is selected, and the WIFI throughout test device can be accurately connected with the equipment to be tested; by controlling the WIFI throughout test device and the equipment to be tested to carry out WIFI throughout test, the problem that in the prior art, too many hardware facilities are configured in a WIFI throughout test environment is solved, test cost is effectively saved by reducing hardware configuration, and test efficiency is remarkably improved by simplifying test procedures.
Drawings
FIG. 1 is a schematic diagram of an apparatus in a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a WIFI throughput testing method according to a first embodiment of the present invention;
fig. 3 is a schematic flowchart of a WIFI throughput testing method according to a second embodiment of the present invention;
fig. 4 is a schematic flowchart of a WIFI throughput testing method according to a third embodiment of the present invention;
fig. 5 is a schematic flowchart of a WIFI throughput testing method according to a fourth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: a WIFI throughput testing method comprises the following steps:
confirming a current test mode;
when the current test mode is a first mode, controlling the WIFI throughout test device to be switched to an STA mode;
controlling the WIFI throughput testing device to scan and detect SSID signals and automatically connecting to-be-tested AP equipment with strongest SSID signals;
and controlling the WIFI throughput testing device and the AP equipment to be tested to perform WIFI throughput testing.
Due to the fact that new standards of new protocols in the computer field and the communication field are in a wide range nowadays, the average throughput of modem devices of network terminals is also increased from 16Kbps twenty years ago to 1000Mbps nowadays. Also, with the upgrade and replacement of manufacturing industry, automated test lines have been popularized in various factories around the world.
The throughput is the maximum data flow which can be forwarded by the tested device under the condition of no packet loss, and is one of the most important indexes for measuring the network performance. At present, a general WIFI throughput test environment configuration needs 2 computers, one type of tested device, one type of corresponding STA (Station) or AP (Access Point) device, and 2 shielding boxes to shield environmental interference. The testing method can only detect one product in one testing period, has low efficiency and causes the appearance of the bottleneck of the production speed of a production line. On a test position commonly used in a factory, a trained worker operates two sets of equipment, namely 4 computers and other supporting equipment, and the products are tested and produced in turn by staggering left and right, so that the cost is huge and the speed is low. The need to add multiple test stations to a production line often results in significant production test equipment cost.
The invention provides a WIFI throughput testing method, which ensures that a WIFI throughput testing device can correctly detect equipment needing to be detected currently by confirming a current testing mode, controls the WIFI throughput testing device to scan and detect SSID signals and automatically connects AP equipment to be detected with strongest SSID signals by controlling the WIFI throughput testing device to switch to an STA mode when the current testing mode is a first mode, so that the WIFI throughput testing device can perform WIFI throughput testing with the AP equipment to be detected, solves the problem that in the prior art, the WIFI throughput testing environment is configured with too many hardware facilities, effectively saves testing cost by reducing hardware configuration, and remarkably improves testing efficiency by simplifying testing procedures.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, and can also be a terminal device with a network connection function, such as a server, a smart phone, a tablet computer and a portable computer.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a type of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a WIFI throughput testing program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and processor 1001 may be configured to invoke the WIFI throughput testing program stored in memory 1005 and perform the following operations:
selecting a test mode of the WIFI throughout test device according to the type of the equipment to be tested;
selecting a connection mode between the WIFI throughput testing device and the equipment to be tested according to a testing mode of the WIFI throughput testing device;
and controlling the WIFI throughput testing device and the equipment to be tested to perform WIFI throughput testing.
Further, processor 1001 may invoke a WIFI throughput testing program stored in memory 1005, and also perform the following operations:
the step of selecting the test mode of the WIFI throughput test device according to the type of the device to be tested comprises the following steps:
when the device to be tested is the AP device, controlling the test mode of the WIFI throughput test device to be switched to an STA mode;
and when the equipment to be tested is STA equipment, controlling the test mode of the WIFI throughput test device to be switched to an AP mode.
Further, processor 1001 may invoke a WIFI throughput testing program stored in memory 1005, and also perform the following operations:
the step of selecting the connection mode between the WIFI throughput testing device and the equipment to be tested according to the testing mode of the WIFI throughput testing device comprises the following steps:
when the test mode is the STA mode, controlling the WIFI throughput test device to scan and detect SSID signals within a preset distance range according to preset scanning frequency, and automatically connecting the device to be tested with the strongest SSID signals;
and when the test mode is the AP mode, controlling the WIFI throughput test device to set SSID and/or channel, and controlling the device to be tested to be connected to the WIFI throughput test device.
Further, processor 1001 may invoke a WIFI throughput testing program stored in memory 1005, and also perform the following operations:
and after the WIFI throughput test is finished, controlling the WIFI throughput test device to feed back throughput test data.
Further, processor 1001 may invoke a WIFI throughput testing program stored in memory 1005, and also perform the following operations:
and integrating the preset tool into a WIFI throughput testing device.
Further, processor 1001 may invoke a WIFI throughput testing program stored in memory 1005, and also perform the following operations:
and judging whether the throughput test data meets a preset standard or not.
Further, processor 1001 may invoke a WIFI throughput testing program stored in memory 1005, and also perform the following operations:
and if the throughput test data meet the preset standard, controlling a prompt module to display a first preset state.
Further, processor 1001 may invoke a WIFI throughput testing program stored in memory 1005, and also perform the following operations:
and if the throughput test data does not meet the preset standard, controlling the prompt module to display a second preset state.
Referring to fig. 2, a first embodiment of the present invention provides a WIFI throughput testing method, where the WIFI throughput testing method includes:
step S10, selecting a test mode of the WIFI throughput test device according to the type of the equipment to be tested;
it should be noted that, in this embodiment, the execution main body is an industrial personal computer or a server, the WIFI throughput testing method provided in this embodiment may be used in an experimental research and development scenario or a production line production scenario, the device to be tested may be an AP device or an STA device, the WIFI throughput testing apparatus is a tool device used for detecting the device to be tested in this embodiment, the WIFI throughput testing apparatus is developed based on a radio frequency scheme, and can support STA/AP mode switching, that is, the testing mode may be an STA mode or an AP mode.
It can be understood that no matter in an experiment research and development scene or a production line production scene, before detection, an industrial control computer or a server is required to confirm the type of currently-tested equipment to be tested, so that a test mode corresponding to WI and the equipment to be tested is selected, and then corresponding setting is performed on tool equipment, namely the WIFI throughput test device, according to the test mode, namely the test mode of the WIFI throughput test device is selected.
In this embodiment, before the step S10, the step of setting a preset tool in the device under test includes:
and step s01, integrating the preset tool into the WIFI throughput testing device.
It should be noted that the preset tool is an open source throughput testing tool Iperf, which is a network performance testing tool. Iperf can test the maximum TCP and UDP bandwidth performance, has various parameters and UDP characteristics, can be adjusted according to the requirements, and can report the bandwidth, delay jitter and data packet loss. In this embodiment, the Iperf tool needs to be supported or integrated in the AP device to be tested, the STA device to be tested, and the tool device.
Step S20, selecting a connection mode between the WIFI throughput testing device and the equipment to be tested according to the testing mode of the WIFI throughput testing device;
it can be understood that when the tool device is in different test modes, the connection mode between the tool device and the device to be tested is different, for example, when the device to be tested is an AP device, the tool device is in an STA mode, and at this time, the connection mode between the tool device and the device to be tested is that the tool device is accessed to the device to be tested; similarly, when the device to be tested is the STA device, the tool device is in the AP mode, and at this time, the tool device needs to set an access mode so that the device to be tested can access the tool device to perform the WIFI throughput test.
And step S30, controlling the WIFI throughput testing device and the device to be tested to perform WIFI throughput testing.
It should be noted that the WIFI throughput test actually tests the throughput, that is, the amount of data successfully transmitted between the tool device and the device under test in unit time. In this embodiment, the method for testing the WIFI throughput is as follows: sending a preset number of frames at a preset rate in the test, calculating the frames transmitted by the equipment to be tested, and if the number of the sent frames is equal to that of the received frames, increasing the sending rate and retesting; if the received frame is less than the transmitted frame, the transmission rate is reduced and the test is repeated until the final result is obtained. Throughput test results are expressed in bits/second or bytes/second.
It is to be understood that the preset rate may be a rate set in the tool device by the user, or may be a default rate included in a factory setting of the tool device that is not modified, which is not limited in this embodiment; similarly, the preset number of frames may be a frame number set in the tool device by the user, or may be a default frame number included in a factory setting that is not changed by the tool device, which is not limited in this embodiment.
In the method, the test mode of the WIFI throughput test device is selected according to the type of the equipment to be tested, so that the WIFI throughput test device can be ensured to accurately switch the test mode; according to the test mode of the WIFI throughout test device, the connection mode between the WIFI throughout test device and the equipment to be tested is selected, and the WIFI throughout test device can be accurately connected with the equipment to be tested; after the connection is established, the WIFI throughput testing device and the equipment to be tested are controlled to carry out WIFI throughput testing, the problem that in the prior art, too many hardware facilities are configured in a WIFI throughput testing environment is solved, testing cost is effectively saved by reducing hardware configuration, and testing efficiency is remarkably improved by simplifying a testing process.
Further, referring to fig. 3, a second embodiment of the WIFI throughput testing method of the present invention is provided, and based on the embodiment shown in fig. 2, in this embodiment, step S10 includes:
step A10, when the device to be tested is an AP device, controlling the test mode of the WIFI throughput test device to be switched to an STA mode;
it should be noted that, in this embodiment, the device to be tested is in an AP mode, an AP is an Access Point for short, and is a so-called "Wireless Access node", and a Wireless AP is a bridge for communication between a Wireless Network and a wired Network, and is a core device for establishing a Wireless Local Area Network (WLAN). It mainly provides mutual access between wireless workstations and wired local area networks, so that wireless workstations in the coverage area of an AP can communicate with each other through it, and a WLAN really accessible to the Internet cannot be established without an AP. The AP in the WLAN corresponds to the role of the transmitting base station in the mobile communication network. When the device to be tested is the AP device, the tool device needs to be controlled, that is, the WIFI throughput testing apparatus is switched to the STA mode, and the STA in the WLAN is generally a client, and may be a computer equipped with a wireless network card or a smart phone with a WIFI module. The STA may be mobile or fixed, and is the most basic component of the wireless lan. In this embodiment, the tool device has the functions of the STA client as described above.
In this embodiment, step S20 includes:
step A20, when the test mode is an STA mode, controlling the WIFI throughout test device to scan and detect SSID signals within a preset distance range according to a preset scanning frequency, and automatically connecting the device to be tested with the strongest SSID signals;
it should be noted that, in this embodiment, the SSID (Service Set Identifier, which is an abbreviation of Service Set Identifier) signal is a broadcast signal sent by the AP device to be tested, the SSID is a general concept and includes an ESSID and a BSSID for distinguishing different networks, there may be at most 32 characters, the wireless network card may enter different networks if it is Set with different SSIDs, the SSID is usually broadcast by the AP, and the SSID in the current area may be checked through a scanning function of each STA. In short, the SSID is the name of a local area network, and only devices set to the same SSID value can communicate with each other. The AP device to be tested may be a wireless switch or a wireless router, which is not limited in this embodiment.
It can be understood that the industrial personal computer or the server can control the tool device to scan and detect the SSID signal, and automatically connect the AP device to be tested with the strongest SSID signal to perform the WIFI throughput test.
It should be noted that the preset scanning frequency may be a frequency set in the tool device by a user, or may be a default frequency included in a factory setting of the tool device that is not changed, which is not limited in this embodiment; similarly, the preset distance range may be a default scanning distance range included in factory settings, or may be a scanning distance range set by a user in the tool device.
In the specific implementation, the tool equipment is placed into a shielding box, the tested AP equipment sequentially enters the shielding box, when the first tested AP equipment enters the shielding box, the scanning function of the tool equipment is started, the SSID signal broadcasted by the tested AP equipment in the current shielding box is scanned to be the strongest signal, and the SSID signal is automatically connected with the tested AP equipment in the current shielding box.
In this embodiment, step a20 includes the following steps: step S30 is executed.
In the method, when the device to be tested is an AP device, a test mode of the WIFI throughput testing device is controlled to be switched to an STA mode, so that the WIFI throughput testing device is ensured to be capable of accurately switching the test mode; when the test mode is the STA mode, controlling the WIFI throughout test device to scan and detect SSID signals within a preset distance range according to preset scanning frequency, and automatically connecting the device to be tested with the strongest SSID signals, so that the WIFI throughout test device can be accurately connected with the device to be tested; after the connection is established, the WIFI throughput testing device and the equipment to be tested are controlled to carry out WIFI throughput testing, the problem that in the prior art, too many hardware facilities are configured in a WIFI throughput testing environment is solved, testing cost is effectively saved by reducing hardware configuration, and testing efficiency is remarkably improved by simplifying a testing process.
Further, referring to fig. 4, a third embodiment of the WIFI throughput testing method of the present invention is provided, and based on the embodiment shown in fig. 2, in this embodiment, step S10 includes:
step B10, when the device to be tested is an STA device, controlling the test mode of the WIFI throughput test device to be switched to an AP mode;
it should be noted that, in this embodiment, the device to be tested is in the STA mode, so that the tool device needs to be controlled, that is, the WIFI throughput testing apparatus needs to be switched to the AP mode, at this time, the tool device may be accessed by a terminal with a network connection function, such as a smart phone, a tablet computer, and the like, after the user successfully accesses the tool device through the terminal, the parameter modification may be performed on the tool device, including parameter modification in the AP mode and the STA mode, a process of the parameter modification is not necessary, and if the user does not perform parameter modification on the tool device, factory parameter setting of the tool device is used by default.
In this embodiment, step S20 includes:
step B20, when the test mode is the AP mode, controlling the WIFI throughput test device to set SSID and/or channel, and controlling the device to be tested to be connected to the WIFI throughput test device;
it should be noted that, in this embodiment, the Channel is a wireless Channel, that is, a wireless "frequency band" (Channel), which is a data signal transmission Channel using a wireless signal as a transmission medium; the STA device to be tested may be a monitoring device, or may be another device including a network card to be tested.
It can be understood that, in this embodiment, since the tool device operates in the AP mode, in order to implement detection on the STA device to be detected, a connection with the STA device to be detected needs to be established first, and after the tool device switches to the AP mode, the tool device needs to be controlled to set an SSID and/or a wireless channel.
In this embodiment, step B20 includes the following steps: step S30 is executed.
In the method, when the device to be tested is an STA device, a test mode of the WIFI throughput testing device is controlled to be switched to an AP mode, so that the WIFI throughput testing device is ensured to be capable of accurately switching the test mode; when the test mode is the AP mode, controlling the WIFI throughout test device to set SSID and/or channel, and controlling the device to be tested to be connected to the WIFI throughout test device, so that the WIFI throughout test device can be accurately connected with the device to be tested; after the connection is established, the WIFI throughput testing device and the equipment to be tested are controlled to carry out WIFI throughput testing, the problem that in the prior art, too many hardware facilities are configured in a WIFI throughput testing environment is solved, testing cost is effectively saved by reducing hardware configuration, and testing efficiency is remarkably improved by simplifying a testing process.
Further, referring to fig. 5, a third embodiment of the WIFI throughput testing method of the present invention is proposed, based on the above embodiments shown in fig. 2, fig. 3, or fig. 4, after step S30, the method includes:
step S40, after the WIFI throughput test is finished, controlling the WIFI throughput test device to feed back throughput test data;
step S50, judging whether the throughput test data meets the preset standard;
step S60, if the throughput test data meets the preset criterion, controlling the prompt module to display a first preset state.
It should be noted that, in this embodiment, the tool device provides a data interface, and if the user needs to acquire the throughput test data, the data may be acquired by accessing the data interface, where the access mode may be wired or wireless; the preset standard is a standard for judging whether the throughput is qualified, and may be a comparison standard value set in the tool equipment by a user, or a default standard value contained in factory settings of the tool equipment which are not changed; the display module may be an LED indicator on the tool device, and the first preset state may be represented by an LED being turned on green.
It can be understood that when the LED is bright green, it indicates that the WIFI throughput test of the current AP device to be tested or the STA device to be tested is qualified, and the test result is OK or PASS.
In this embodiment, step S50 is followed by:
and if the throughput test data does not meet the preset standard, controlling the prompt module to display a second preset state.
It should be noted that the second preset state may be represented by a bright red color of the LED.
It can be understood that the test process may also have a condition that the test is not qualified, and when the LED is bright red, it indicates that the WIFI throughput test of the current AP device to be tested or the STA device to be tested is not qualified, and the test result is NG or FAIL.
In this embodiment, an experimenter or a production line operator can obtain feedback and make corresponding processing measures according to the test result displayed on the LED lamp of the tool device or the terminal device.
It is to be understood that the present embodiment may be combined with the first embodiment, and may also be combined with the second embodiment.
In the method, whether the throughput test data meet a preset standard is judged by controlling the WIFI throughput test device to feed back the throughput test data, if the throughput test data meet the preset standard, a prompt module is controlled to display a first preset state to prompt that the current equipment to be tested of a user is qualified in detection, and if the throughput test data do not meet the preset standard, the prompt module is controlled to display a second preset state to prompt that the current equipment to be tested of the user is unqualified in detection.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a WIFI throughput testing program is stored on the computer-readable storage medium, and when executed by a processor, the WIFI throughput testing program implements the following operations:
selecting a test mode of the WIFI throughout test device according to the type of the equipment to be tested;
selecting a connection mode between the WIFI throughput testing device and the equipment to be tested according to a testing mode of the WIFI throughput testing device;
and controlling the WIFI throughput testing device and the equipment to be tested to perform WIFI throughput testing.
Further, the WIFI throughput testing program when executed by the processor further implements the following operations:
the step of selecting the test mode of the WIFI throughput test device according to the type of the device to be tested comprises the following steps:
when the device to be tested is the AP device, controlling the test mode of the WIFI throughput test device to be switched to an STA mode;
and when the equipment to be tested is STA equipment, controlling the test mode of the WIFI throughput test device to be switched to an AP mode.
Further, the WIFI throughput testing program when executed by the processor further implements the following operations:
the step of selecting the connection mode between the WIFI throughput testing device and the equipment to be tested according to the testing mode of the WIFI throughput testing device comprises the following steps:
when the test mode is the STA mode, controlling the WIFI throughput test device to scan and detect SSID signals within a preset distance range according to preset scanning frequency, and automatically connecting the device to be tested with the strongest SSID signals;
and when the test mode is the AP mode, controlling the WIFI throughput test device to set SSID and/or channel, and controlling the device to be tested to be connected to the WIFI throughput test device.
Further, the WIFI throughput testing program when executed by the processor further implements the following operations:
and after the WIFI throughput test is finished, controlling the WIFI throughput test device to feed back throughput test data.
Further, the WIFI throughput testing program when executed by the processor further implements the following operations:
and integrating the preset tool into a WIFI throughput testing device.
Further, the WIFI throughput testing program when executed by the processor further implements the following operations:
and judging whether the throughput test data meets a preset standard or not.
Further, the WIFI throughput testing program when executed by the processor further implements the following operations:
and if the throughput test data meet the preset standard, controlling a prompt module to display a first preset state.
Further, the WIFI throughput testing program when executed by the processor further implements the following operations:
and if the throughput test data does not meet the preset standard, controlling the prompt module to display a second preset state.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A WIFI throughput testing method is characterized by comprising the following steps:
selecting a test mode of the WIFI throughout test device according to the type of the equipment to be tested;
selecting a connection mode between the WIFI throughput testing device and the equipment to be tested according to a testing mode of the WIFI throughput testing device;
and controlling the WIFI throughput testing device and the equipment to be tested to perform WIFI throughput testing.
2. The WIFI throughput testing method of claim 1, wherein the step of selecting the testing mode of the WIFI throughput testing apparatus according to the type of the device under test includes:
when the device to be tested is the AP device, controlling the test mode of the WIFI throughput test device to be switched to an STA mode;
and when the equipment to be tested is STA equipment, controlling the test mode of the WIFI throughput test device to be switched to an AP mode.
3. The WIFI throughput testing method of claim 1, wherein the step of selecting a connection mode between the WIFI throughput testing device and the device under test according to the testing mode of the WIFI throughput testing device comprises:
when the test mode is the STA mode, controlling the WIFI throughput test device to scan and detect SSID signals within a preset distance range according to preset scanning frequency, and automatically connecting the device to be tested with the strongest SSID signals;
and when the test mode is the AP mode, controlling the WIFI throughput test device to set SSID and/or channel, and controlling the device to be tested to be connected to the WIFI throughput test device.
4. The WIFI throughput testing method of claim 1, wherein the step of controlling the WIFI throughput testing apparatus to perform WIFI throughput testing with the device under test comprises:
and after the WIFI throughput test is finished, controlling the WIFI throughput test device to feed back throughput test data.
5. The WIFI throughput testing method of claim 4, wherein the device under test has a preset tool built therein, and the step of confirming the current testing mode includes before:
and integrating the preset tool into a WIFI throughput testing device.
6. The WIFI throughput testing method of claim 4, wherein said step of controlling said WIFI throughput testing device to feed back throughput testing data is followed by the step of:
and judging whether the throughput test data meets a preset standard or not.
7. The WIFI throughput testing method of claim 6, wherein said step of judging whether said throughput testing data meets a preset criterion is followed by:
and if the throughput test data meet the preset standard, controlling a prompt module to display a first preset state.
8. The WIFI throughput testing method of claim 7, wherein the step of judging whether the throughput testing data meets a preset standard further comprises after:
and if the throughput test data does not meet the preset standard, controlling the prompt module to display a second preset state.
9. A WIFI throughput testing device, characterized by comprising: memory, a processor and a WIFI throughput testing program stored on the memory and executable on the processor, the WIFI throughput testing program when executed by the processor implementing the steps of the WIFI throughput testing method of any one of claims 1 to 8.
10. A computer-readable storage medium, having stored thereon a WIFI throughput testing program which, when executed by a processor, implements the steps of the WIFI throughput testing method of any one of claims 1 to 8.
CN202111168167.5A 2021-09-30 2021-09-30 WIFI throughput test method, WIFI throughput test device and computer readable storage medium Active CN114006844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111168167.5A CN114006844B (en) 2021-09-30 2021-09-30 WIFI throughput test method, WIFI throughput test device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111168167.5A CN114006844B (en) 2021-09-30 2021-09-30 WIFI throughput test method, WIFI throughput test device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114006844A true CN114006844A (en) 2022-02-01
CN114006844B CN114006844B (en) 2024-01-12

Family

ID=79922327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111168167.5A Active CN114006844B (en) 2021-09-30 2021-09-30 WIFI throughput test method, WIFI throughput test device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114006844B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110069626A1 (en) * 2009-09-23 2011-03-24 Ethan Sun Network testing providing for concurrent real-time ingress and egress viewing of network traffic data
US20130286973A1 (en) * 2010-02-04 2013-10-31 Texas Instruments Incorporated Interrelated WiFi and USB Protocols and Other Application Framework Processes, Circuits and Systems
CN105471526A (en) * 2015-11-19 2016-04-06 工业和信息化部电信研究院 Receiving end performance test method
CN107631750A (en) * 2017-08-04 2018-01-26 宇龙计算机通信科技(深圳)有限公司 For testing the method, apparatus, terminal and storage medium of terminal to be measured
US20180199272A1 (en) * 2017-01-09 2018-07-12 Marvell World Trade Ltd. Selection of transmission modes in dense wireless networks
CN108738062A (en) * 2018-06-28 2018-11-02 深圳芯之联科技有限公司 A kind of method and device for bluetooth TX and RX throughput performance production line test
CN108924003A (en) * 2018-06-28 2018-11-30 深圳创维数字技术有限公司 A kind of double frequency WiFi testing throughput system, method and storage medium
CN109951865A (en) * 2017-12-21 2019-06-28 深圳Tcl新技术有限公司 The diagnosis of WIFI performance and feedback method, storage medium and mobile terminal
US20190222376A1 (en) * 2018-01-12 2019-07-18 Samsung Electronics Co., Ltd. Systems and methods for providing high data throughput in 6 ghz wi-fi network
US20190260664A1 (en) * 2015-10-30 2019-08-22 Contec, Llc Hardware architecture for universal testing system: wireless router test
CN110191483A (en) * 2019-07-01 2019-08-30 深圳勇艺达机器人有限公司 A kind of Performance Test System and method for Wifi mould group
CN110798374A (en) * 2019-09-25 2020-02-14 深圳市火乐科技发展有限公司 WIFI automatic test method and device
CN111447640A (en) * 2020-04-08 2020-07-24 东莞信宝电子产品检测有限公司 Method and device for testing throughput of WIFI product and storage medium
CN111475417A (en) * 2020-04-13 2020-07-31 广东美的暖通设备有限公司 Automatic testing method, device, equipment and storage medium
CN112351448A (en) * 2021-01-07 2021-02-09 北京普太科技有限公司 WIFI function test method and system and electronic equipment
CN112486753A (en) * 2020-12-18 2021-03-12 展讯半导体(成都)有限公司 WiFi equipment automatic test method and system and readable storage medium

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110069626A1 (en) * 2009-09-23 2011-03-24 Ethan Sun Network testing providing for concurrent real-time ingress and egress viewing of network traffic data
US20130286973A1 (en) * 2010-02-04 2013-10-31 Texas Instruments Incorporated Interrelated WiFi and USB Protocols and Other Application Framework Processes, Circuits and Systems
US20190260664A1 (en) * 2015-10-30 2019-08-22 Contec, Llc Hardware architecture for universal testing system: wireless router test
CN105471526A (en) * 2015-11-19 2016-04-06 工业和信息化部电信研究院 Receiving end performance test method
US20180199272A1 (en) * 2017-01-09 2018-07-12 Marvell World Trade Ltd. Selection of transmission modes in dense wireless networks
CN107631750A (en) * 2017-08-04 2018-01-26 宇龙计算机通信科技(深圳)有限公司 For testing the method, apparatus, terminal and storage medium of terminal to be measured
CN109951865A (en) * 2017-12-21 2019-06-28 深圳Tcl新技术有限公司 The diagnosis of WIFI performance and feedback method, storage medium and mobile terminal
US20190222376A1 (en) * 2018-01-12 2019-07-18 Samsung Electronics Co., Ltd. Systems and methods for providing high data throughput in 6 ghz wi-fi network
CN108924003A (en) * 2018-06-28 2018-11-30 深圳创维数字技术有限公司 A kind of double frequency WiFi testing throughput system, method and storage medium
CN108738062A (en) * 2018-06-28 2018-11-02 深圳芯之联科技有限公司 A kind of method and device for bluetooth TX and RX throughput performance production line test
CN110191483A (en) * 2019-07-01 2019-08-30 深圳勇艺达机器人有限公司 A kind of Performance Test System and method for Wifi mould group
CN110798374A (en) * 2019-09-25 2020-02-14 深圳市火乐科技发展有限公司 WIFI automatic test method and device
CN111447640A (en) * 2020-04-08 2020-07-24 东莞信宝电子产品检测有限公司 Method and device for testing throughput of WIFI product and storage medium
CN111475417A (en) * 2020-04-13 2020-07-31 广东美的暖通设备有限公司 Automatic testing method, device, equipment and storage medium
CN112486753A (en) * 2020-12-18 2021-03-12 展讯半导体(成都)有限公司 WiFi equipment automatic test method and system and readable storage medium
CN112351448A (en) * 2021-01-07 2021-02-09 北京普太科技有限公司 WIFI function test method and system and electronic equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
MARSHALL SWEATT ET.AL: "WiFi based communication and localization of an autonomous mobile robot for refinery inspection", 2015 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION (ICRA) *
孙珂: "面向产线应用的WIFI并行测试技术研究与系统实现", 中国优秀硕士学位论文全文数据库 *
陈斌;: "一种基于SDK的WiFi模块完全自动化的测试方法", 集成电路应用, no. 06 *

Also Published As

Publication number Publication date
CN114006844B (en) 2024-01-12

Similar Documents

Publication Publication Date Title
CN112020048B (en) Bluetooth device pairing method, device and storage medium
WO2022016672A1 (en) Intelligent device network configuration method and system and storage medium
CN107861863A (en) Running environment switching method, equipment and computer-readable recording medium
CN111867002A (en) Intelligent equipment distribution network authentication method, system and storage medium
CN110212936B (en) Wireless signal detection device, system and method
CN109041140B (en) Method for rapidly switching wireless network, intelligent hardware and terminal equipment
JP7187665B2 (en) Capability indication method, terminal and network side network element
CN106304047A (en) A kind of smart machine method of network entry and configuration system
KR20130086756A (en) Apparatus and method for exchange information on device in communication between devices
US7623856B2 (en) Method for testing communication protocol having collection of internal information of a mobile communication terminal by an external module
KR20200035730A (en) An method of operating an application that requires communication whit and external device, and an electronic device
CN113365286A (en) Wireless network performance test method, system and computer storage medium
CN114006844B (en) WIFI throughput test method, WIFI throughput test device and computer readable storage medium
WO2024066479A1 (en) Device deployment method and apparatus, storage medium, and electronic device
CN212259350U (en) Wireless network performance test system
CN110536353B (en) Flow control method and device
CN110798883B (en) Control method, terminal and network side network element
US20220191170A1 (en) Access Point Name Configuration Method and Apparatus, and Readable Storage Medium
CN113784448A (en) Networking communication method, device and computer readable storage medium
CN112422209B (en) Spatial multiplexing test method, device, equipment and computer readable storage medium
CN111339196B (en) Data processing method and system based on block chain and computer readable storage medium
CN113472458B (en) Radio frequency performance test method, device, storage medium and system
CN112333054B (en) Device communication method, device and computer readable storage medium
CN111787555A (en) Method and equipment for testing intelligent terminal
CN107613497B (en) Network authentication method and wireless access equipment

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
CB02 Change of applicant information

Address after: 430000 floor 4, building F2, Longshan Innovation Park, future science and Technology City, No. 999, Gaoxin Avenue, Donghu New Technology Development Zone, Wuhan, Hubei Province

Applicant after: Wuhan Tongli Luda Technology Co.,Ltd.

Applicant after: Tongli Technology Co.,Ltd.

Address before: 430000 floor 4, building F2, Longshan Innovation Park, future science and Technology City, No. 999, Gaoxin Avenue, Donghu New Technology Development Zone, Wuhan, Hubei Province

Applicant before: Wuhan Tongli Luda Technology Co.,Ltd.

Applicant before: TONLY ELECTRONICS HOLDINGS Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant