CN113692004A - Method, device, terminal and storage medium for testing AP - Google Patents
Method, device, terminal and storage medium for testing AP Download PDFInfo
- Publication number
- CN113692004A CN113692004A CN202111063634.8A CN202111063634A CN113692004A CN 113692004 A CN113692004 A CN 113692004A CN 202111063634 A CN202111063634 A CN 202111063634A CN 113692004 A CN113692004 A CN 113692004A
- Authority
- CN
- China
- Prior art keywords
- wireless
- tested
- terminals
- total
- controlling
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 62
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000006870 function Effects 0.000 claims abstract description 20
- 238000011056 performance test Methods 0.000 claims abstract description 20
- 238000004590 computer program Methods 0.000 claims description 12
- 238000012545 processing Methods 0.000 claims description 5
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 claims 2
- 238000010998 test method Methods 0.000 claims 2
- 230000000007 visual effect Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 6
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000002045 lasting effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/04—Processing captured monitoring data, e.g. for logfile generation
- H04L43/045—Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a method, a device, a terminal and a storage medium for testing an AP, wherein the method comprises the following steps: controlling a plurality of terminals to execute the operation of connecting the wireless AP to be tested in a wireless mode; determining the number of terminals successfully connected with the wireless AP to be tested and the total connection time of all the terminals; controlling the terminal which is successfully connected and the wireless AP to be tested to perform concurrency performance test to obtain total concurrent data throughput; controlling to close wireless functions of a plurality of terminals for a certain time; if a certain time is reached, executing the operation of controlling a plurality of terminals to execute the wireless connection with the wireless AP to be tested in a wireless mode again until the total testing time reaches the preset time; summarizing the number of all terminals, total connection time and total concurrent data throughput, and generating a curve trend graph; and determining the performance of the wireless AP to be tested based on the curve trend graph. By the scheme, automatic testing and visual display of AP performance are realized, testing can be automatically completed without user intervention, and efficiency is high.
Description
Technical Field
The present invention relates to the field of network technologies, and in particular, to a method, an apparatus, a terminal, and a storage medium for testing an AP.
Background
The number of terminals borne and connected by a current Wireless Access Point (AP) is increasing, and the number of terminal devices connected to the AP is also increasing; for example, in a general home environment, it is also likely that more than 30 or more terminals are connected to the wireless AP.
At present, more and more terminal devices are connected to the wireless AP, but at present, there is no scheme for effectively evaluating the concurrency capability of the wireless AP, and thus, a scheme for solving the problems in the prior art is needed at present.
Disclosure of Invention
In view of this, the present invention provides a method, an apparatus, a terminal and a storage medium for testing an AP, which are used to overcome the technical problems in the prior art.
Specifically, the present invention proposes the following specific examples:
the embodiment of the invention provides a method for testing an AP, which comprises the following steps:
controlling a plurality of terminals to execute the operation of connecting the wireless AP to be tested in a wireless mode;
determining the number of terminals successfully connected with the wireless AP to be tested and the total connection time of all the terminals;
controlling the terminal which is successfully connected and the wireless AP to be tested to perform concurrent performance test to obtain total concurrent data throughput;
controlling to close the wireless functions of the plurality of terminals for a preset time;
if the preset time length is reached, executing the operation of controlling the plurality of terminals to execute the wireless connection with the wireless AP to be tested in a wireless mode again until the total testing time reaches the preset time;
summarizing the number of all the terminals, the total connection time and the total concurrent data throughput, and generating a curve trend graph;
and determining the performance of the wireless AP to be tested based on the curve trend graph.
In a specific embodiment, the terminal is connected with a USB hub; each USB hub is connected with a plurality of terminals, and the number of the USB hubs is one or more;
the operation of controlling a plurality of terminals to execute wireless connection with the wireless AP to be tested includes:
and synchronously sending a control command containing the SSID of the wireless AP to be tested to a plurality of terminals through the USB hub so that the plurality of terminals start the wireless function and execute the operation of connecting the wireless AP to be tested.
In a specific embodiment, the total connection time is the sum of the connection times of each terminal;
the connection time is obtained based on the difference between the overtime time of the terminal connecting the wireless AP to be tested and the connection success time.
In a specific embodiment, the controlling the concurrent performance test between the successfully connected terminal and the wireless AP to be tested to obtain a total concurrent data throughput includes:
and controlling the successful connection between the terminal and the wireless AP to be tested to carry out concurrency performance test for a preset time so as to obtain the total concurrent data throughput.
In a specific embodiment, the concurrent performance test includes: tcp transceiving test and udp transceiving test.
In a specific embodiment, the performance of the wireless AP to be tested includes connection stability;
the "determining the performance of the wireless AP to be tested based on the curve trend graph" includes:
determining the change amplitude of the curve in the curve trend graph;
and determining the performance of the wireless AP to be tested based on the variation amplitude, wherein the smaller the variation amplitude is, the more stable the performance of the wireless AP to be tested is.
The embodiment of the present invention further provides an AP testing apparatus, including:
the connection module is used for controlling the plurality of terminals to execute the operation of connecting the wireless AP to be tested in a wireless mode;
the determining module is used for determining the number of the terminals which are successfully connected with the wireless AP to be tested and the total connection time of all the terminals;
the concurrency module is used for controlling the concurrency performance test between the terminal which is successfully connected and the wireless AP to be tested to obtain the total concurrent data throughput;
the closing module is used for controlling the closing of the wireless functions of the plurality of terminals for a preset time;
the restarting module is used for controlling the plurality of terminals to execute the operation of connecting the wireless AP to be tested in a wireless mode again if the preset time length is reached until the total testing time reaches the preset time;
the summarizing module is used for summarizing all the terminal quantity, the total connection time and the total concurrent data throughput and generating a curve trend graph;
and the processing module is used for determining the performance of the wireless AP to be tested based on the curve trend graph.
In a specific embodiment, the terminal is connected with a USB hub; each USB hub is connected with a plurality of terminals, and the number of the USB hubs is one or more;
the connection module is used for:
and synchronously sending a control command containing the SSID of the wireless AP to be tested to a plurality of terminals through the USB hub so that the plurality of terminals start the wireless function and execute the operation of connecting the wireless AP to be tested.
The embodiment of the invention provides a terminal, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor runs the computer program to enable the processor to execute the method for testing the AP.
The embodiment of the invention also provides a storage medium, wherein a computer program is stored on the storage medium, and when being executed by a processor, the computer program realizes the method for testing the AP.
Therefore, an embodiment of the present invention provides a method, an apparatus, a terminal, and a storage medium for testing an AP, including: controlling a plurality of terminals to execute the operation of connecting the wireless AP to be tested in a wireless mode; determining the number of terminals successfully connected with the wireless AP to be tested and the total connection time of all the terminals; controlling the terminal which is successfully connected and the wireless AP to be tested to perform concurrent performance test to obtain total concurrent data throughput; controlling to close the wireless functions of the plurality of terminals for a preset time; if the preset time length is reached, executing the operation of controlling the plurality of terminals to execute the wireless connection with the wireless AP to be tested in a wireless mode again until the total testing time reaches the preset time; summarizing the number of all the terminals, the total connection time and the total concurrent data throughput, and generating a curve trend graph; and determining the performance of the wireless AP to be tested based on the curve trend graph. By the scheme, automatic testing and visual display of AP performance are realized, testing can be automatically completed without user intervention, and efficiency is high.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required to be used in the embodiments will be briefly described below, and it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the present invention. Like components are numbered similarly in the various figures.
Fig. 1 is a schematic flow chart illustrating a method for testing an AP according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating that each terminal is connected to a USB hub in a method for testing an AP according to an embodiment of the present invention;
fig. 3 is a schematic flowchart illustrating a method for taking down an AP under test in a specific application scenario according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram illustrating an apparatus for testing an AP according to an embodiment of the present invention.
Illustration of the drawings:
201-a connection module; 202-a determination module; 203-concurrency module; 204-a shutdown module; 205-restart module; 206-a summarization module; 207-processing module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present invention, are only intended to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the existence of, or adding to, one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments of the present invention.
Example 1
As shown in fig. 1, embodiment 1 of the present invention provides a method for testing an AP, which includes the following steps as shown in fig. 1:
step S101, controlling a plurality of terminals to execute the operation of connecting the wireless AP to be tested in a wireless mode;
specifically, as shown in fig. 2, the terminal is connected to a USB hub (USB hub); each USB hub is connected with a plurality of terminals, and the number of the USB hubs is one or more; the specific test system runs on the WAN side of the AP, and starts an iperf (network performance test tool) server; the test system is connected with the USB HUBs, each USB HUB can be connected with 48 mobile phones, and a plurality of USB HUBs can be arranged, so that the number of the mobile phones can exceed 50, such as 100, 200 and the like.
The operation of controlling a plurality of terminals to execute wireless connection with the wireless AP to be tested includes: and synchronously sending a control command containing the SSID of the wireless AP to be tested to a plurality of terminals through the USB hub so that the plurality of terminals start the wireless function and execute the operation of connecting the wireless AP to be tested. Specifically, the test system controls the mobile phone to concurrently connect with the SSID of the wireless AP and calculates the connection time; the test system concurrently controls the test performance of the mobile phone.
The test system synchronizes all mobile phone operations through multiple processes, and ensures that the mobile phones start at millisecond time simultaneously; the test system operates an iperf server and is placed on the WAN side of the AP;
step S102, determining the number of terminals successfully connected with the wireless AP to be tested and the total connection time of all the terminals;
specifically, the total connection time is the sum of the connection times of each terminal; the connection time is obtained based on the difference between the overtime time of the terminal connecting the wireless AP to be tested and the connection success time. Connection time is timeout time-connection success time.
The test system controls the mobile phones to synchronously connect with the SSID (Service Set Identifier) of the AP, counts the connection time of each mobile phone, if the connection is not successful, the connection time is equal to the timeout time, accumulates all the connection time to obtain the total connection time Sigma Cn, and determines the number N of the successfully connected terminals.
Step S103, controlling the terminal which is successfully connected and the wireless AP to be tested to carry out concurrency performance test, and obtaining total concurrency data throughput;
specifically, the step S103 of performing a concurrent performance test between the terminal that is controlled to be successfully connected and the wireless AP to be tested to obtain a total concurrent data throughput includes: and controlling the successful connection between the terminal and the wireless AP to be tested to carry out concurrency performance test for a preset time so as to obtain the total concurrent data throughput. Specifically, the concurrent performance test includes: tcp transceiving test and udp transceiving test.
Specifically, the test system controls all the mobile phones to simultaneously execute iperf throughput in the successfully connected terminal mobile phones, respectively performs tcp (Transmission Control Protocol) performance and udp (User data Protocol) performance, executes the performance for 5 minutes, and accumulates the performance to obtain a terminal performance score Σ Pn。
Step S104, controlling to close the wireless functions of the plurality of terminals for a preset time; specifically, for example, the radio functions of all the terminals are controlled to be turned off for 5 minutes.
Step S105, if the preset time length is reached, controlling a plurality of terminals to execute the operation of connecting the wireless AP to be tested in a wireless mode again until the total testing time reaches the preset time;
specifically, when the closing time is reached, for example, 5 minutes, step S101 is executed again, that is, the aforementioned steps are executed again, and the time duration is, for example, 7 days.
Step S106, summarizing all the terminal quantity, the total connection time and the total concurrent data throughput, and generating a curve trend graph;
and S107, determining the performance of the wireless AP to be tested based on the curve trend graph.
In a specific embodiment, the performance of the wireless AP to be tested includes connection stability; thus, the "determining the performance of the wireless AP to be tested based on the curve trend graph" in step S107 includes:
determining the change amplitude of the curve in the curve trend graph;
and determining the performance of the wireless AP to be tested based on the variation amplitude, wherein the smaller the variation amplitude is, the more stable the performance of the wireless AP to be tested is.
Specifically, as shown in fig. 3, a schematic view of an AP test flow in a specific application scenario specifically includes the following steps:
s001, starting a test system; in the step, various devices are required to be connected, the mobile phone control configuration is good, and the server is started and accessed to the wan side of the AP;
s002, the test system starts N processes to control all the terminal mobile phones;
step S003, all terminal mobile phones N execute the preparation of the wireless connection precondition, all processes are synchronous, timing is started, and the mobile phones in all processes execute the wireless connection operation at the same time;
step S004, continuously detecting all processes N until the connection success time Cn of the terminal handset is reached or the time t is exceeded (120 seconds), if the connection success time Cn is exceeded, the time Cn is t, obtaining the connection time Cn (t-Cn), and accumulating the connection time Cn to obtain Σ Cn;
step S005, the number N of successful wireless connections is calculated, if the number N of unsuccessful terminals is calculated, the control is disconnected, the process exits, the next evaluation is not carried out, the number N of the current process is N, and the total number of the terminals in the subsequent operation is not more than N;
step S006, controlling the wireless terminal mobile phones connected, controlling the mobile phones to synchronize concurrently, preparing ADB to execute iperf streaming for 5 minutes, synchronizing all processes, and starting timing;
and step S007, recording throughput data Pn after TX + RX of each of tcp and udp continues for 5 minutes in tapping of Iperf, and accumulating Σ Pn. Specifically, Iverf is used for streaming, tcp and udp respectively use 1 TX + RX stream, the testing time is 5 minutes, the throughput data Pn is recorded after the testing is finished, and sigma Pn is accumulated;
s008, controlling a terminal mobile phone connected with a wireless network, controlling the mobile phone to synchronize in a concurrent mode, and preparing the mobile phone to close wifi;
step S009, controlling adb to close the wifi of the mobile phone for 5 minutes, and when the mobile phone terminal is wireless next time, the terminal equipment starts to be connected wirelessly at the same time;
s010, preparing adb to start wifi, timing, repeating the steps S004 to S010, lasting for 7 days, executing the test and obtaining the data;
step S011, after 7 days of test, counting result sigma CnN and Σ PnAnd the results are measured and drawn into a curve trend graph for visually evaluating the change of the three, so that the equipment has stable trend and better stability.
Example 2
For further explanation of the present invention, embodiment 2 of the present invention further discloses an AP testing apparatus, which includes:
a connection module 201, configured to control a plurality of terminals to execute an operation of wirelessly connecting a wireless AP to be tested;
a determining module 202, configured to determine the number of terminals that successfully connect to the wireless AP to be tested and the total connection time of all the terminals;
the concurrency module 203 is configured to control a concurrency performance test between the successfully connected terminal and the wireless AP to be tested, so as to obtain a total concurrent data throughput;
a closing module 204, configured to control to close the wireless functions of the multiple terminals for a predetermined time;
the restarting module 205 is configured to, if the predetermined time duration is reached, execute "control the plurality of terminals to execute the operation of wirelessly connecting the wireless AP to be tested" again until the total testing time reaches the preset time;
a summarizing module 206, configured to summarize all the terminal numbers, the total connection time, and the total concurrent data throughput, and generate a curve trend graph;
and the processing module 207 is configured to determine the performance of the wireless AP to be tested based on the curve trend graph.
In a specific embodiment, the terminal is connected with a USB hub; each USB hub is connected with a plurality of terminals, and the number of the USB hubs is one or more;
the connection module 201 is configured to:
and synchronously sending a control command containing the SSID of the wireless AP to be tested to a plurality of terminals through the USB hub so that the plurality of terminals start the wireless function and execute the operation of connecting the wireless AP to be tested.
In a specific embodiment, the total connection time is the sum of the connection times of each terminal;
the connection time is obtained based on the difference between the overtime time of the terminal connecting the wireless AP to be tested and the connection success time.
In a specific embodiment, the concurrency module 203 is configured to:
and controlling the successful connection between the terminal and the wireless AP to be tested to carry out concurrency performance test for a preset time so as to obtain the total concurrent data throughput.
In a specific embodiment, the concurrent performance test includes: tcp transceiving test and udp transceiving test.
In a specific embodiment, the performance of the wireless AP to be tested includes connection stability;
the processing module 207 is configured to:
determining the change amplitude of the curve in the curve trend graph;
and determining the performance of the wireless AP to be tested based on the variation amplitude, wherein the smaller the variation amplitude is, the more stable the performance of the wireless AP to be tested is.
Example 3
Embodiment 3 of the present invention further discloses a terminal, which includes a memory and a processor, where the memory stores a computer program, and the processor runs the computer program to enable the processor to execute the method for testing an AP as described in embodiment 1.
Example 4
The embodiment 4 of the present invention further discloses a storage medium, wherein a computer program is stored on the storage medium, and when being executed by a processor, the computer program implements the method for testing the AP in the embodiment 1.
Therefore, an embodiment of the present invention provides a method, an apparatus, a terminal, and a storage medium for testing an AP, including: controlling a plurality of terminals to execute the operation of connecting the wireless AP to be tested in a wireless mode; determining the number of terminals successfully connected with the wireless AP to be tested and the total connection time of all the terminals; controlling the terminal which is successfully connected and the wireless AP to be tested to perform concurrent performance test to obtain total concurrent data throughput; controlling to close the wireless functions of the plurality of terminals for a preset time; if the preset time length is reached, executing the operation of controlling the plurality of terminals to execute the wireless connection with the wireless AP to be tested in a wireless mode again until the total testing time reaches the preset time; summarizing the number of all the terminals, the total connection time and the total concurrent data throughput, and generating a curve trend graph; and determining the performance of the wireless AP to be tested based on the curve trend graph. By the scheme, automatic testing and visual display of AP performance are realized, testing can be automatically completed without user intervention, and efficiency is high.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part of the technical solution that contributes to the prior art in essence can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.
Claims (10)
1. A method for testing an AP, comprising:
controlling a plurality of terminals to execute the operation of connecting the wireless AP to be tested in a wireless mode;
determining the number of terminals successfully connected with the wireless AP to be tested and the total connection time of all the terminals;
controlling the terminal which is successfully connected and the wireless AP to be tested to perform concurrency performance test to obtain total concurrent data throughput;
controlling to close the wireless functions of the plurality of terminals for a preset time;
if the preset time length is reached, executing the operation of controlling the plurality of terminals to execute the wireless connection with the wireless AP to be tested in a wireless mode again until the total testing time reaches the preset time;
summarizing the number of all the terminals, the total connection time and the total concurrent data throughput, and generating a curve trend graph;
and determining the performance of the wireless AP to be tested based on the curve trend graph.
2. The method of claim 1, wherein the terminal is connected to a USB hub; each USB hub is connected with a plurality of terminals, and the number of the USB hubs is one or more;
the operation of controlling a plurality of terminals to execute wireless connection with the wireless AP to be tested includes:
and synchronously sending a control command containing the SSID of the wireless AP to be tested to a plurality of terminals through the USB hub so that the plurality of terminals start the wireless function and execute the operation of connecting the wireless AP to be tested.
3. The method of claim 1, wherein the total connection time is a sum of connection times of each terminal;
the connection time is obtained based on the difference between the overtime time of the terminal connecting the wireless AP to be tested and the connection success time.
4. The method of claim 1, wherein the controlling the successful connected terminal and the wireless AP to be tested to perform the concurrent performance test to obtain the total concurrent data throughput comprises:
and controlling the successful connection between the terminal and the wireless AP to be tested to carry out concurrency performance test for a preset time so as to obtain the total concurrent data throughput.
5. The method of claim 1 or 4, wherein the concurrent performance testing comprises: tcp transceiving test and udp transceiving test.
6. The method of claim 1, wherein the performance of the wireless AP under test comprises connection stability;
the "determining the performance of the wireless AP to be tested based on the curve trend graph" includes:
determining the change amplitude of the curve in the curve trend graph;
and determining the performance of the wireless AP to be tested based on the variation amplitude, wherein the smaller the variation amplitude is, the more stable the performance of the wireless AP to be tested is.
7. An apparatus for testing an AP, comprising:
the connection module is used for controlling the plurality of terminals to execute the operation of connecting the wireless AP to be tested in a wireless mode;
the determining module is used for determining the number of the terminals which are successfully connected with the wireless AP to be tested and the total connection time of all the terminals;
the concurrency module is used for controlling the concurrency performance test between the terminal which is successfully connected and the wireless AP to be tested to obtain the total concurrent data throughput;
the closing module is used for controlling the closing of the wireless functions of the plurality of terminals for a preset time;
the restarting module is used for controlling the plurality of terminals to execute the operation of connecting the wireless AP to be tested in a wireless mode again if the preset time length is reached until the total testing time reaches the preset time;
the summarizing module is used for summarizing all the terminal quantity, the total connection time and the total concurrent data throughput and generating a curve trend graph;
and the processing module is used for determining the performance of the wireless AP to be tested based on the curve trend graph.
8. The apparatus of claim 7, wherein the terminal is connected to a USB hub; each USB hub is connected with a plurality of terminals, and the number of the USB hubs is one or more;
the connection module is used for:
and synchronously sending a control command containing the SSID of the wireless AP to be tested to a plurality of terminals through the USB hub so that the plurality of terminals start the wireless function and execute the operation of connecting the wireless AP to be tested.
9. A terminal comprising a memory storing a computer program and a processor executing the computer program to cause the processor to perform the method of testing an AP according to any one of claims 1-6.
10. A storage medium, having stored thereon a computer program which, when executed by a processor, carries out the method of testing an AP according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111063634.8A CN113692004B (en) | 2021-09-10 | 2021-09-10 | Method, device, terminal and storage medium for testing AP |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111063634.8A CN113692004B (en) | 2021-09-10 | 2021-09-10 | Method, device, terminal and storage medium for testing AP |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113692004A true CN113692004A (en) | 2021-11-23 |
CN113692004B CN113692004B (en) | 2023-10-31 |
Family
ID=78586020
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111063634.8A Active CN113692004B (en) | 2021-09-10 | 2021-09-10 | Method, device, terminal and storage medium for testing AP |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113692004B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114390574A (en) * | 2022-01-19 | 2022-04-22 | Tcl通讯科技(成都)有限公司 | Wireless network throughput testing method, device and computer readable storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104822159A (en) * | 2015-01-04 | 2015-08-05 | 杭州敦崇科技股份有限公司 | System and method for WLAN test of AP by simulating STA |
US20160014685A1 (en) * | 2013-03-08 | 2016-01-14 | Nokia Technologies Oy | Improving Communication Efficiency |
US20160165475A1 (en) * | 2014-12-09 | 2016-06-09 | Qualcomm Incorporated | Wireless local area network throughput estimation |
CN106304166A (en) * | 2016-09-18 | 2017-01-04 | 上海斐讯数据通信技术有限公司 | A kind of test system and method for wireless router concurrent user number |
CN106330614A (en) * | 2016-09-05 | 2017-01-11 | 上海斐讯数据通信技术有限公司 | Method, device and system for communication test |
CN107018044A (en) * | 2017-04-27 | 2017-08-04 | 上海斐讯数据通信技术有限公司 | A kind of wireless throughput performance automated testing method of router and system |
CN107864067A (en) * | 2017-10-23 | 2018-03-30 | 上海斐讯数据通信技术有限公司 | A kind of method and system of test router compatibility |
US20190044628A1 (en) * | 2017-08-01 | 2019-02-07 | Anritsu Corporation | System for measuring reception performance of wireless terminal and method of measurement |
CN110149649A (en) * | 2019-06-21 | 2019-08-20 | 深圳市共进电子股份有限公司 | Test method, system, device end and the storage medium of Mesh network |
CN112312408A (en) * | 2020-10-14 | 2021-02-02 | 韩山师范学院 | Method for arranging AP (access point) of 802.11ax dense WiFi network with service quality guarantee |
CN212696220U (en) * | 2020-07-31 | 2021-03-12 | 苏州益谱电磁科技有限公司 | Multi-directional throughput testing system of wireless router |
CN112867047A (en) * | 2021-04-13 | 2021-05-28 | 四川九州电子科技股份有限公司 | WiFi6 router performance test system and test method |
-
2021
- 2021-09-10 CN CN202111063634.8A patent/CN113692004B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160014685A1 (en) * | 2013-03-08 | 2016-01-14 | Nokia Technologies Oy | Improving Communication Efficiency |
US20160165475A1 (en) * | 2014-12-09 | 2016-06-09 | Qualcomm Incorporated | Wireless local area network throughput estimation |
CN104822159A (en) * | 2015-01-04 | 2015-08-05 | 杭州敦崇科技股份有限公司 | System and method for WLAN test of AP by simulating STA |
CN106330614A (en) * | 2016-09-05 | 2017-01-11 | 上海斐讯数据通信技术有限公司 | Method, device and system for communication test |
CN106304166A (en) * | 2016-09-18 | 2017-01-04 | 上海斐讯数据通信技术有限公司 | A kind of test system and method for wireless router concurrent user number |
CN107018044A (en) * | 2017-04-27 | 2017-08-04 | 上海斐讯数据通信技术有限公司 | A kind of wireless throughput performance automated testing method of router and system |
US20190044628A1 (en) * | 2017-08-01 | 2019-02-07 | Anritsu Corporation | System for measuring reception performance of wireless terminal and method of measurement |
CN107864067A (en) * | 2017-10-23 | 2018-03-30 | 上海斐讯数据通信技术有限公司 | A kind of method and system of test router compatibility |
CN110149649A (en) * | 2019-06-21 | 2019-08-20 | 深圳市共进电子股份有限公司 | Test method, system, device end and the storage medium of Mesh network |
CN212696220U (en) * | 2020-07-31 | 2021-03-12 | 苏州益谱电磁科技有限公司 | Multi-directional throughput testing system of wireless router |
CN112312408A (en) * | 2020-10-14 | 2021-02-02 | 韩山师范学院 | Method for arranging AP (access point) of 802.11ax dense WiFi network with service quality guarantee |
CN112867047A (en) * | 2021-04-13 | 2021-05-28 | 四川九州电子科技股份有限公司 | WiFi6 router performance test system and test method |
Non-Patent Citations (4)
Title |
---|
何剑;张广兴;谢高岗;: "基于多关联模型的软件定义高密WLAN EDCA机制的吞吐量优化", 高技术通讯, no. 01 * |
王彬;: "无线局域网中的负载均衡技术", 中兴通讯技术, no. 03 * |
王颂一;: "Wi-Fi终端设备性能测试探讨", 电信网技术, no. 05 * |
高音;李杰;: "应用于WLAN的可管理快速切换技术在AP的实现", 中兴通讯技术, no. 05 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114390574A (en) * | 2022-01-19 | 2022-04-22 | Tcl通讯科技(成都)有限公司 | Wireless network throughput testing method, device and computer readable storage medium |
CN114390574B (en) * | 2022-01-19 | 2023-12-19 | Tcl通讯科技(成都)有限公司 | Wireless network throughput test method, device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113692004B (en) | 2023-10-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106851839B (en) | Frame structure determining method and base station | |
US20180249428A1 (en) | Phr sending method and user terminal | |
CN102325379A (en) | Method for parameter reconfiguration in a wireless communications system | |
US20150296520A1 (en) | Multi-SIM Acquisition Performance Improvement by Priority Modification in Partial Out-of-Service Conditions | |
CN111447596B (en) | Bluetooth low-power-consumption equipment and method for sending Bluetooth low-power-consumption advertisement data | |
US20160174187A1 (en) | System and Methods for Enhancing Data Throughput and Page Performance in a Multi-SIM Wireless Communication Device | |
TW200950387A (en) | User equipment for improved power savings during full DTX mode of operation in the downlink | |
CN105307284B (en) | A kind of accidental access method and user equipment | |
CN107148009B (en) | Multi-standard mobile communication network internet data flow measuring device and method thereof | |
CN102088725A (en) | Uplink power detection method, device and base station equipment | |
CN110719359A (en) | Terminal performance test method and system | |
CN108476396B (en) | Emergency call priority | |
WO2017181870A1 (en) | Method of competing for resources, and communication equipment | |
EP3542578A1 (en) | Error handling during ims registration | |
CN105379398A (en) | Device and method for adjusting power control parameter of random access | |
KR20170076670A (en) | Method for determining distance or angle between electronic devices connected wirelessly | |
CN107529154B (en) | Communication method and device of multimode terminal | |
CN113692004A (en) | Method, device, terminal and storage medium for testing AP | |
US20140179252A1 (en) | Communication device and communication method | |
CN112566078A (en) | Device connection method and apparatus, storage medium, and electronic apparatus | |
US20150312847A1 (en) | method of roaming in the event of deficiency of the data service of a mobile telephone network | |
CN103260171B (en) | A kind of method of cell measurement gravity treatment and terminal | |
US8494519B2 (en) | Method for solving conflict between network searching and mobile phone traffic and a multi-card multi-by mobile phone | |
CN109362107B (en) | Wireless repeater link switching method, device, equipment and storage medium | |
CN106793083A (en) | A kind of mobile terminal locating method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |