CN108200596B - Method and system for testing wifi throughput - Google Patents
Method and system for testing wifi throughput Download PDFInfo
- Publication number
- CN108200596B CN108200596B CN201711354277.4A CN201711354277A CN108200596B CN 108200596 B CN108200596 B CN 108200596B CN 201711354277 A CN201711354277 A CN 201711354277A CN 108200596 B CN108200596 B CN 108200596B
- Authority
- CN
- China
- Prior art keywords
- test
- testing
- processes
- throughput data
- tested
- 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.)
- Active
Links
Images
Classifications
-
- 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
-
- 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/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
- H04L43/0888—Throughput
-
- 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/16—Threshold monitoring
Abstract
The invention provides a method and a system for testing wifi throughput, wherein a testing tool is provided, one end of the testing tool is connected with a tested device, and the other end of the testing tool is connected with a wireless device; the test method comprises the following steps: step S1, obtaining a test result reflecting the throughput data of the tested device through the test tool; step S2, judging whether the fluctuation of the throughput data exceeds a preset threshold value according to the test result; if not, indicating that the throughput data is stable, and exiting; step S3, all processes of the tested device occupying the network resource are obtained, and after a plurality of processes are closed in the processes, the step S1 is returned. The technical scheme has the advantages that the throughput data of the tested equipment is tested through the testing equipment, processes occupying network resources in the tested equipment are analyzed based on the testing results, and whether the throughput data of the current tested equipment reaches a stable state or not can be tested after the processes are selected to be closed, so that the tested equipment can achieve better optimization performance.
Description
Technical Field
The invention relates to the technical field of data testing, in particular to a method and a system for testing wifi throughput.
Background
With the continuous popularization of informatization, wireless networks are widely applied in various fields, and especially in the design of Set Top boxes (Set Top boxes, STBs, a device connecting a television and an external signal source), users have higher and higher requirements on wireless local area network (WIFI) performance, and how to test and optimize networks with higher performance becomes more and more important. In the WIFI test, since the WIFI test is easily interfered by the outside world in the test environment, the test throughput (the throughput refers to the amount of data successfully transmitted in a unit time to a network, a device, a port, a virtual circuit or other facilities) is difficult, and there are many randomness.
Disclosure of Invention
Aiming at the problems existing in the prior art for testing the throughput of the WIFI data, the test method and the test system are provided, which aim to test the throughput data of the tested equipment and can select the process occupying network resources in the tested equipment to close according to the test result so as to stabilize the throughput data of the tested equipment.
The specific technical scheme is as follows:
a method for testing wifi throughput is provided, wherein a testing device is provided, one end of the testing device is connected with a tested device, and the other end of the testing device is connected with a wireless device;
the test method comprises the following steps:
step S1, obtaining a test result reflecting the throughput data of the tested device through the test device;
step S2, judging whether the fluctuation of the throughput data exceeds a preset threshold value according to the test result;
if not, the throughput data is stable, and the method exits;
step S3, all processes of the tested device occupying network resources are obtained, and after a plurality of processes are closed in the processes, the step S1 is returned.
Preferably, the test device provides a test tool, and the test tool is used for analyzing the test result to obtain the maximum value and the minimum value of the throughput data;
the difference between the maximum value and the minimum value represents the fluctuation amplitude of the throughput data.
Preferably, the testing tool provides a storage module, and the preset threshold is stored in the storage module;
and the comparison module is connected with the storage module and is used for judging whether the fluctuation of the throughput data exceeds the preset threshold value.
Preferably, the test device provides a process acquiring module, and when the fluctuation of the throughput data exceeds the preset threshold, the process acquiring module acquires all processes occupying network resources started by the device under test.
Preferably, the test device provides a process shutdown module, and the process shutdown module is configured to select a plurality of processes from all the started processes occupying network resources to perform shutdown.
Preferably, the test tool is the IxChario tool (IxChariot, application layer Performance test software from IXIA, USA, is a unique test tool and is a test system recognized in the field of application layer Performance testing).
Preferably, the wireless device is a router.
Preferably, the test device is connected to the device under test through a serial interface.
Preferably, the device under test is a set-top box.
The system also comprises a wifi throughput testing system, wherein the testing system is suitable for the testing system.
The technical scheme has the following advantages or beneficial effects: the throughput data of the tested equipment is tested through the testing equipment, processes occupying network resources in the tested equipment are analyzed based on the testing results, and after the processes are selected to be closed, whether the throughput data of the current tested equipment reaches a stable state or not can be tested, so that the tested equipment can achieve better optimization performance.
Drawings
Embodiments of the present invention will now be described more fully hereinafter with reference to the accompanying drawings. The drawings are, however, to be regarded as illustrative and explanatory only and are not restrictive of the scope of the invention.
FIG. 1 is a flowchart of an embodiment of a method for testing wifi throughput of the present invention;
fig. 2 is a schematic structural diagram of a wifi throughput testing embodiment of the present invention.
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. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
The invention is further described with reference to the following drawings and specific examples, which are not intended to be limiting.
The technical scheme of the invention comprises a method and a system for testing wifi throughput.
The embodiment of the testing method of the wifi throughput capacity comprises the following steps that a testing device is provided, one end of the testing device is connected with a tested device, and the other end of the testing device is connected with a wireless device;
as shown in fig. 1, the test method comprises the following steps:
step S1, obtaining a test result reflecting the throughput data of the tested device through the test device;
step S2, judging whether the fluctuation of the throughput data exceeds a preset threshold value according to the test result;
if not, indicating that the throughput data is stable, and exiting;
step S3, all processes of the tested device occupying the network resource are obtained, and after a plurality of processes are closed in the processes, the step S1 is returned.
The method aims at the defect that in the prior art, throughput data testing is carried out on the tested equipment, and the targeted optimization is carried out on the tested equipment according to the throughput data testing.
In the invention, through carrying out throughput test on the tested equipment, after obtaining a test result, judging whether the fluctuation of throughput data exceeds a preset threshold (wherein the preset threshold can comprise a conventional empirical value or Spec definition) according to the test result, if so, indicating that the fluctuation of the throughput data of the current tested equipment is greatly unstable, at the moment, all processes of the tested equipment occupying network resources can be obtained, and a plurality of started processes are selected to be closed in all the processes, wherein the number of the processes is not specifically limited, the selection can be according to the size of the occupied network resources, after selecting the closed process, re-executing the throughput data test on the tested equipment, if the fluctuation represented by the test record at the moment does not exceed the conventional empirical value or the Spec definition, indicating that the throughput data of the current tested equipment tends to a stable state, the scheme can be used for carrying out performance optimization on the tested equipment in a targeted manner.
In a preferred embodiment, the test equipment provides a test tool, and the test tool is used for analyzing the test result to obtain the maximum value and the minimum value of the throughput data;
the difference between the maximum and minimum values represents the amplitude of fluctuation of the throughput data.
In the technical scheme, the test tool can provide a display interface to record and display the test of the tested throughput data in the display interface, and the data display mode can be displayed in a waveform diagram mode, so that a tester can conveniently check the test data.
In a preferred embodiment, the testing tool provides a storage module, and a preset threshold is stored in the storage module;
and the comparison module is connected with the storage module and is used for judging whether the fluctuation of the throughput data exceeds a preset threshold value.
In the above technical solution, the storage module is further configured to store an actual measurement value of the throughput data obtained by the detection in real time, and compare the actual measurement value with a conventional empirical value or Spec definition to determine whether the fluctuation of the throughput data exceeds the conventional empirical value or Spec definition;
when the fluctuation of the throughput data exceeds the conventional empirical value or Spec definition, the state of the throughput data of the tested device at the moment is in an abnormal state;
the smaller the fluctuation of the throughput data, the more stable the throughput of the device under test.
In a preferred embodiment, the test device provides a process acquiring module, and when the fluctuation of the throughput data exceeds a preset threshold, the process acquiring module acquires all processes occupying network resources started by the device to be tested.
In the technical scheme, the test equipment is used for forming a test result into a throughput trend oscillogram in the test process, when real-time fluctuation of throughput data is shown by a plurality of trend waveforms or a single trend waveform, if abnormal fluctuation occurs, the waveform routing presents a regular waveform, and at the moment, the process acquisition module is used for generating a process acquisition instruction and acquiring all processes occupying network resources started by the tested equipment through the instruction.
In a preferred embodiment, the test device provides the test device with a process shutdown module, and the process shutdown module is configured to select a plurality of processes from among all the started processes occupying network resources to be shutdown.
And according to the real-time throughput comparison waveform in the throughput trend waveform diagram, the process closing module is used for selectively generating corresponding process closing instructions according to the started process, and selecting a plurality of processes from all the started processes occupying network resources to close through the process closing instructions.
In the above technical solution, in the embodiment where the device to be tested is the set top box, the test device obtains the situation that the process started by the CPU of the set top box occupies the network resources, and can sequentially close the processes occupying larger network resources, and perform the test of throughput data on the set top box again after the processes are closed.
In a preferred embodiment, the test tool is the IxChario tool
In a preferred embodiment, the wireless device is a router.
In a preferred embodiment, the test device is connected to the device under test via a serial interface.
In a preferred embodiment, the device under test is a set-top box.
In the above technical solution, in the embodiment where the device under test is a set-top box, the test device is connected to the device under test through a data line based on a serial interface.
The technical scheme of the invention also comprises a system for testing the wifi throughput.
As shown in fig. 2, an embodiment of a wifi throughput testing system, wherein the testing system is adapted to the above-mentioned testing method, wherein the testing system includes a testing device 2; the testing device 2 is connected with a tested device 3 at one end and connected with the wireless device 1 at the other end.
Through the throughput test of the tested device 3, after the test result is obtained, whether the fluctuation of the throughput data exceeds the conventional empirical value or Spec definition is judged according to the test result, if the throughput data exceeds the threshold value, the current throughput data of the tested device fluctuates greatly and is unstable, all processes of the tested device occupying network resources can be acquired, and a plurality of started processes can be selected from all processes to be closed, the number of the processes is not specifically limited, and the selection may be based on the size of the occupied network resource, and after the selection of the process to be closed, if the fluctuation represented by the test data at the moment does not exceed the conventional empirical value or Spec definition, the throughput data of the current tested device tends to be in a stable state, and the scheme can be used for carrying out performance optimization on the tested device in a targeted manner.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.
Claims (9)
1. A wifi throughput testing method is characterized in that a testing device is provided, one end of the testing device is connected with a tested device, and the other end of the testing device is connected with a wireless device;
the test method comprises the following steps:
step S1, obtaining a test result reflecting the throughput data of the tested device through the test device;
step S2, judging whether the fluctuation of the throughput data exceeds a preset threshold value according to the test result;
if yes, go to step S3;
if not, the throughput data is stable, and the method exits;
and S3, acquiring all processes of the network resources occupied by the tested device, and returning to the S1 after closing a plurality of processes in the processes according to the size of the occupied network resources.
2. The method of claim 1, wherein the test equipment provides a test tool, the test tool is configured to analyze the test result to obtain a maximum value and a minimum value of the throughput data;
the difference between the maximum value and the minimum value represents the fluctuation amplitude of the throughput data.
3. The testing method of claim 2, wherein the testing tool provides a storage module, and the storage module stores the predetermined threshold;
and the comparison module is connected with the storage module and is used for judging whether the fluctuation of the throughput data exceeds the preset threshold value.
4. The testing method of claim 1, wherein the testing device provides a process acquisition module, and when the fluctuation of the throughput data exceeds the preset threshold, the process acquisition module acquires all processes occupying network resources started by the device under test.
5. The method according to claim 1, wherein the testing device provides a process shutdown module, and the process shutdown module is configured to select some of the activated processes occupying network resources to be shutdown.
6. The test method of claim 2, wherein the test tool is an IxChario tool.
7. The testing method of claim 2, wherein the wireless device is a router.
8. The method of claim 1, wherein the test device is connected to the device under test via a serial interface.
9. The test method of claim 1, wherein the device under test is a set-top box.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711354277.4A CN108200596B (en) | 2017-12-15 | 2017-12-15 | Method and system for testing wifi throughput |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711354277.4A CN108200596B (en) | 2017-12-15 | 2017-12-15 | Method and system for testing wifi throughput |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108200596A CN108200596A (en) | 2018-06-22 |
CN108200596B true CN108200596B (en) | 2021-10-19 |
Family
ID=62574613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711354277.4A Active CN108200596B (en) | 2017-12-15 | 2017-12-15 | Method and system for testing wifi throughput |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108200596B (en) |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014158206A1 (en) * | 2013-03-29 | 2014-10-02 | Intel Corp | Hybrid beamforming for data transmission |
US9941982B2 (en) * | 2013-04-10 | 2018-04-10 | Marvell World Trade Ltd. | Method and apparatus for testing the beamforming performance of a wireless communication device |
CN103619041A (en) * | 2013-12-13 | 2014-03-05 | 南京智微亚通信科技有限公司 | Method for testing handling capacity of CPE (customer premises equipment) |
CN106664254A (en) * | 2014-08-21 | 2017-05-10 | 七网络有限责任公司 | Optimizing network traffic management in a mobile network |
CN104902430B (en) * | 2015-05-19 | 2019-02-01 | Oppo广东移动通信有限公司 | The flow control methods and system of intelligent terminal |
CN105468784A (en) * | 2015-12-24 | 2016-04-06 | 北京京东尚科信息技术有限公司 | Method and device for processing highly concurrent traffic |
CN107453944B (en) * | 2017-07-07 | 2021-04-02 | 台州市吉吉知识产权运营有限公司 | Method and system for determining optimal test connection number of network throughput test |
-
2017
- 2017-12-15 CN CN201711354277.4A patent/CN108200596B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108200596A (en) | 2018-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106888060B (en) | Anti-interference test method and system for wireless communication module | |
CN108989299A (en) | A kind of monitoring method and system of internet of things equipment loophole | |
CN114025377B (en) | Quality difference identification method, device and storage medium for home broadband network | |
CN109714221B (en) | Method, device and system for determining network data packet | |
US8291388B2 (en) | System, method and program for executing a debugger | |
CN107547309B (en) | Automatic testing method and device for security gateway performance | |
CN107688533B (en) | Application program testing method and device, computer equipment and storage medium | |
US9594617B2 (en) | Method and apparatus for positioning crash | |
CN105487966A (en) | Program testing method, device and system | |
CN104166619A (en) | Performance measuring method and terminal of application program | |
CN110287104A (en) | Method for generating test case, device, terminal and computer readable storage medium | |
CN111949545A (en) | Automatic testing method, system, server and storage medium | |
EP4191905A1 (en) | Test method and device | |
CN111181800A (en) | Test data processing method and device, electronic equipment and storage medium | |
CN109783359A (en) | The method, apparatus and computer equipment that automatic detection interface effectively identifies | |
CN109218136B (en) | WIFI connection performance test method and device, computer equipment and storage medium | |
CN108200596B (en) | Method and system for testing wifi throughput | |
CN105471674A (en) | Method and system for testing performance of server | |
CN110716867B (en) | Method, device and equipment for detecting multi-page jump pressure | |
JP2009277110A (en) | Software test/development support device, and program for device | |
US10803179B2 (en) | Method and system for detecting the vulnerability of an onboard device | |
CN112583617A (en) | Fault determination method, server, control terminal and storage medium | |
US11328112B1 (en) | Timing-aware testing | |
CN107666416B (en) | Iperf test result judgment system | |
CN109803183B (en) | Vibration data screening method, device and acquisition system |
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 |