CN111601335B - Wireless network performance test method and wireless AP - Google Patents

Wireless network performance test method and wireless AP Download PDF

Info

Publication number
CN111601335B
CN111601335B CN202010323216.7A CN202010323216A CN111601335B CN 111601335 B CN111601335 B CN 111601335B CN 202010323216 A CN202010323216 A CN 202010323216A CN 111601335 B CN111601335 B CN 111601335B
Authority
CN
China
Prior art keywords
wireless
test
air interface
wireless terminal
performance
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
Application number
CN202010323216.7A
Other languages
Chinese (zh)
Other versions
CN111601335A (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202010323216.7A priority Critical patent/CN111601335B/en
Publication of CN111601335A publication Critical patent/CN111601335A/en
Application granted granted Critical
Publication of CN111601335B publication Critical patent/CN111601335B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices

Landscapes

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

Abstract

The invention discloses a wireless network performance testing method, which comprises the following steps: the wireless AP sends the constructed test frame to a specified wireless terminal connected to the wireless AP at different air interface rates, calculates performance values at different air interface rates according to the received response message responded by the wireless terminal aiming at the test frame, and takes the maximum value of the performance values at different air interface rates as the downlink performance from the wireless AP to the wireless terminal, wherein the test frame is unreachable for application software on the wireless receiving end and reachable for a WiFi bottom driver. The invention does not need to install and run corresponding network performance test application software on the wireless terminal; the application program running on the wireless terminal has no perception on the test process, and the running of the application program on the terminal cannot be influenced; operation and maintenance personnel do not need to coordinate to the user environment on site, and operation and maintenance difficulty can be greatly reduced. The invention also provides a corresponding wireless AP.

Description

Wireless network performance test method and wireless AP
Technical Field
The invention belongs to the technical field of wireless communication, and particularly relates to a wireless network performance testing method and a wireless AP.
Background
With the rapid development of information technology and intelligent terminals, WiFi application becomes more and more popular in people's daily life, has been widely applied in the fields of home networks, enterprise networks, public networks, smart homes, internet of things and the like, and becomes an indispensable part in people's life and work.
At present, for the WiFi performance problem of a network user, generally, an operation and maintenance person is required to coordinate a user to perform problem troubleshooting and positioning, and a WiFi terminal (a mobile phone, a computer, and the like are connected to a wireless AP (Access Point) through WiFi) and a network side device execute related application programs, such as chariot, speedest, and other tools.
Disclosure of Invention
The invention mainly solves the problem of providing a network performance testing method, which does not need a wireless terminal to install corresponding speed measuring software, further can receive a remote instruction, enables operation and maintenance personnel to remotely detect network performance related problems on a wireless AP, and reduces the situation that the operation and maintenance personnel need to go to the door to detect the problems.
In order to achieve the above object, according to an aspect of the present invention, there is provided a wireless network performance testing method, including:
the wireless AP sends the constructed test frame to a specified wireless terminal connected to the wireless AP at different air interface rates, calculates performance values at different air interface rates according to the received response message responded by the wireless terminal aiming at the test frame, and takes the maximum value of the performance values at different air interface rates as the downlink performance from the wireless AP to the wireless terminal, wherein the test frame is unreachable for application software on the wireless receiving end and reachable for a WiFi bottom driver.
In one embodiment of the invention, the method comprises:
s1, the wireless AP sends the constructed test frame to a designated wireless terminal connected to the wireless AP at an initial air interface rate, and calculates a performance value at the initial air interface rate according to a received response message responded by the wireless terminal to the test frame;
s2, the wireless AP reduces the initial air interface rate by one gear to be used as the current air interface rate;
s3, the wireless AP sends the constructed test frame to a specified wireless terminal connected to the wireless AP at the current air interface rate, and calculates the performance value at the current air interface rate according to the received response message of the wireless terminal to the test frame;
s4, comparing whether the previous empty rate performance value is larger than the current empty rate performance value;
s5, if not, reducing the current air interface rate by one gear to be used as a new current air interface rate, and jumping back to the step S3;
and S6, if yes, taking the performance value under the uplink air interface rate as the downlink performance of the wireless terminal equipment.
In an embodiment of the present invention, the sending, by the wireless AP, the constructed test frame to a specified wireless terminal connected to the wireless AP at a current air interface rate includes:
determining a current test performance value according to the current air interface rate and the actual performance empirical value;
according to the current test performance value and the preset test duration, calculating the packet sending number of the test frames in the preset test duration;
recording the corresponding relation between the message serial number and the test frame ID;
and sending the test frame at the current air interface rate according to the preset test duration and the packet sending number of the test frame in the preset test duration obtained by calculation.
In an embodiment of the present invention, the calculating, by the wireless AP, a performance value at a current air interface rate according to the received response message responded by the wireless terminal to the test frame includes:
according to the corresponding relation between the response message serial number and the test frame ID, obtaining the loss condition of the test frame and calculating the packet loss rate;
if the packet loss rate is smaller than a set threshold, obtaining a performance value under the current air interface rate; if the packet loss rate is greater than the set threshold, reducing the test performance value by preset steps, and executing the steps of sending the test frame, receiving the response message, calculating the packet loss rate and obtaining a new performance value again according to the new test performance value.
In an embodiment of the present invention, the initial air interface rate is a maximum physical air interface rate supported by the wireless terminal.
In an embodiment of the present invention, the maximum physical air interface rate is determined by the wireless AP according to capability information of the wireless terminal, a number of supported spatial streams, and a supported mode.
In an embodiment of the present invention, calculating the number of packets sent in a test frame in a preset test duration according to the current test performance value and the preset test duration includes:
and calculating the packet sending number N of the period of time to P t/(B8) according to the current performance value and the preset test duration, wherein N is the packet sending number, P is the performance value, t is the preset test duration, and B is the byte number of the specified test.
In an embodiment of the present invention, the wireless AP executes a test according to a test policy issued by a server, where the test policy includes:
the wireless AP tests the wireless terminals connected to the wireless AP one by one at a specified specific time or tests a specified wireless terminal immediately; and/or the presence of a gas in the gas,
and the wireless AP carries out forced test or elegant test on the wireless terminal.
In one embodiment of the invention, the test frame is constructed by the wireless AP using the pktgen tool and sent to the wireless terminal.
According to another aspect of the present invention, there is also provided a wireless AP for performing the wireless network performance testing method.
Generally, compared with the prior art, the technical scheme of the invention has the following beneficial effects:
(1) the invention does not need to install and run corresponding network performance test application software on the wireless terminal;
(2) the application program running on the wireless terminal has no perception on the test process, and the running of the application program on the terminal cannot be influenced;
(3) the invention can send the test instruction to the wireless AP through the server, thereby initiatively initiating the performance test without the need of coordinating the operation and maintenance personnel to the user environment on site, and greatly reducing the operation and maintenance difficulty; and the server can initiate detection at any time, so that the network problem can be confirmed and analyzed in time, the network problem of the user can be solved in time, and the operation and maintenance capability of WiFi is enhanced.
Drawings
Fig. 1 is a schematic diagram of a positive acknowledgement mechanism of WiFi, where fig. 1(a) is ACK acknowledgement and fig. 1(b) is BA acknowledgement;
fig. 2 is a system structure diagram of a wireless network performance testing method according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for testing wireless network performance according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for a wireless AP to send a constructed test frame to a designated wireless terminal connected to the wireless AP at a current air interface rate according to an embodiment of the present invention;
fig. 5 is a flowchart of a method for a wireless AP to calculate a performance value at a current air interface rate according to a received response message responded by a wireless terminal to the test frame in the embodiment of the present invention;
fig. 6 is a flowchart of a method for testing wireless network performance according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a test frame according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
As shown in fig. 1, WiFi employs a Positive acknowledgement (Positive acknowledgement) mechanism, and all test frames sent by a sending end to a receiving end must be acknowledged by the receiving end with an acknowledgement message (e.g., ACK (acknowledgement character) or BA frame (Block ACK)) to indicate that the test frame is successfully transmitted. If any link fails, and the sender does not receive the response message, the test frame is regarded as lost.
As shown in fig. 1(a), the WiFi protocols before 802.11n, such as 802.11b, 802.11g, 802.11a, only support ACK frames, and require a normal transmission manner of one frame and one acknowledgement; as shown in fig. 1(b), after 802.11n, the transmission efficiency of the MAC layer is improved by modifying the manner of continuously transmitting a plurality of frames and then confirming the plurality of frames at a time, and the transmission of the plurality of frames can save the time of the protocol overhead, thereby achieving the capability of improving the transmission bandwidth.
The invention utilizes the basic principle to actively construct some test frames at the wireless AP side to be sent to the appointed wireless terminal connected to the wireless AP, obtains the packet loss rate transmitted by the WiFi test frame according to the response message (ACK or BA) responded by the appointed wireless terminal, and further calculates the downlink transmission performance from the wireless AP to the wireless terminal from the statistical data.
Example 1
Fig. 2 is a system structure diagram of the wireless network performance testing method in the embodiment of the present invention, in which a server issues a test instruction to a wireless AP, the wireless AP starts active detection, constructs a test frame and sends the test frame to a wireless terminal, and adjusts parameters such as the sending number and the sending rate of the next test frame according to the information of an ACK or BA frame of the wireless terminal, so as to obtain the performance of the wireless terminal.
The invention can send the test instruction to the wireless AP through the server, thereby initiatively initiating the performance detection without the need of coordinating the operation and maintenance personnel to the user environment on site, and greatly reducing the operation and maintenance difficulty; and the server can initiate detection at any time, so that the network problem can be confirmed and analyzed in time, and the network problem of the user can be solved in time.
Example 2
The invention provides a wireless network performance test method, which comprises the following steps:
the wireless AP sends the constructed test frame to a specified wireless terminal connected to the wireless AP at different air interface rates, calculates performance values at different air interface rates according to the received response message responded by the wireless terminal aiming at the test frame, and takes the maximum value of the performance values at different air interface rates as the downlink performance from the wireless AP to the wireless terminal, wherein the test frame is unreachable for application software on the wireless receiving end and reachable for a WiFi bottom driver.
The test frame is unreachable to the application software on the wireless receiving end and reachable to the WiFi bottom layer driver, so that the resource of the wireless terminal is not consumed, the packet can be returned at the driving bottom layer of the wireless terminal, and the packet can not be forwarded to an upper layer.
For example, the test frame may be constructed by the wireless AP using the pktgen tool and sent to the wireless terminal. The pktgen is a high-performance network testing tool located in a Linux kernel layer, is mainly used for testing network drivers and network card equipment, supports multithreading, can generate data packets of random MAC addresses, IP addresses and UDP port numbers, and can meet testing requirements of most network cards and the like. Of course, other tools may be used to construct, or programmed to implement, such test frames.
Generally, the response message may be an ACK (acknowledgement character) or a BA frame (Block ACK).
And the wireless AP calculates performance values at different air interface rates according to the received response message responded by the wireless terminal aiming at the test frame.
For example, the wireless AP sends a certain number of test frames to a designated wireless terminal connected to the wireless AP in unit time, collects statistics related information of response messages of the wireless terminal, adjusts the number of packets sent and the air interface rate according to information such as packet loss rate, and finally obtains the WiFi performance from the wireless AP to the wireless terminal.
For the transmission of the wireless test frame, it is not better that the sent air interface rate is higher, and under the condition of higher physical air interface rate, the wireless terminal may not be able to analyze the frame with high air interface rate due to being far away from the AP, external environment interference, and the like, but the performance may be better at lower air interface rates, so that the performance value at the air interface rate of each gear needs to be obtained, and the actual maximum performance of the terminal can be finally obtained.
Generally speaking, the test instruction is issued by the server to the wireless AP, and the wireless AP executes the test, where the test instruction includes a test policy.
The test strategy comprises the following steps: the wireless AP tests the wireless terminals connected to the wireless AP one by one at a specified specific time or tests a specified wireless terminal immediately; and/or the wireless AP carries out forced test or elegant test on the wireless terminal.
For example, in the embodiment of the present invention, the server initiates a WiFi performance test to the wireless AP according to the relevant policy. For example, the specific strategies are: the server end can appoint a specific time to test all the wireless terminals connected to the wireless AP one by one in the whole network, or test the appointed wireless terminal immediately; in addition, it can also set a forced test or an elegant test, that is, it is judged whether to execute the test on the wireless AP according to the user's service flow, if it is the elegant test, if the current user's service flow is larger, the test is not executed, and the result executed by the server end is returned.
Example 3
As shown in fig. 3, a method for testing wireless network performance provided in an embodiment of the present invention includes:
s1, the wireless AP sends the constructed test frame to a designated wireless terminal connected to the wireless AP at an initial air interface rate, and calculates a performance value at the initial air interface rate according to a received response message responded by the wireless terminal to the test frame;
s2, the wireless AP reduces the initial air interface rate by one gear to be used as the current air interface rate;
s3, the wireless AP sends the constructed test frame to a specified wireless terminal connected to the wireless AP at the current air interface rate, and calculates the performance value at the current air interface rate according to the received response message of the wireless terminal to the test frame;
s4, comparing whether the previous empty rate performance value is larger than the current empty rate performance value;
s5, if not, reducing the current air interface rate by one gear to be used as a new current air interface rate, and jumping back to the step S3;
and S6, if yes, taking the performance value under the uplink air interface rate as the downlink performance of the wireless terminal equipment.
Comparing the performance value at the upshifting air interface rate with the performance value at the current gear air interface rate, and if the performance value at the upshifting air interface rate is greater than the performance value at the current air interface rate, immediately obtaining the maximum performance of the terminal as the performance value at the upshifting air interface rate; and if the performance value at the previous air interface rate is not greater than the performance value at the current air interface rate, temporarily taking the performance value at the current air interface rate as the maximum value, reducing the current air interface rate by one level, and calculating the performance value at the new air interface rate again according to the new air interface rate. Thus, the maximum performance value under a certain level of air interface rate is obtained by continuously iterating and circulating.
Example 4
As shown in fig. 4, a method for a wireless AP to send a constructed test frame to a designated wireless terminal connected to the wireless AP at a current air interface rate according to an embodiment of the present invention includes:
s11, determining a current test performance value according to the current air interface rate and the actual performance empirical value;
s12, calculating the packet sending number of the test frames in the preset test duration according to the current test performance value and the preset test duration;
generally, the number of packets N ═ P × t/(B × 8) in this period can be calculated according to the current performance value and the preset test duration, where N is the number of packets, P is the performance value, t is the preset test duration, and B is the number of bytes for the specified test.
S13, recording the corresponding relation between the message (802.11) serial number and the test frame ID;
and S14, sending the test frame at the current air interface rate according to the preset test duration and the packet sending number of the test frame in the preset test duration obtained through calculation.
Example 5
As shown in fig. 5, a method for a wireless AP to calculate a performance value at a current air interface rate according to a received response message responded by the wireless terminal to the test frame according to an embodiment of the present invention includes:
s21, obtaining the loss condition of the test frame and calculating the packet loss rate according to the corresponding relation between the response message sequence number and the test frame ID;
s22, if the packet loss rate is smaller than a set threshold, obtaining a performance value at the current air interface rate; if the packet loss rate is greater than the set threshold, reducing the test performance value by preset steps, and executing the steps of sending the test frame, receiving the response message, calculating the packet loss rate and obtaining a new performance value again according to the new test performance value.
Example 6
As shown in fig. 6, which is a flowchart of a wireless network performance testing method in an embodiment of the present invention, the method includes:
s101, starting active monitoring by the wireless AP;
s102, initially determining an initial air interface rate; generally, we set the maximum physical air interface rate supported by the wireless terminal as the initial air interface rate;
for example, according to the capability information of the wireless terminal, the number of spatial streams supported (1 × 1 or 2 × 2 or 3 × 3), and the supported modes (11g, 11n, 11ac, etc.), the maximum physical air interface rate supported by the wireless terminal STA is obtained on the wireless AP, and is used as the initial air interface rate;
s103, calculating a performance value under an initial air interface rate;
s104, reducing the initial air interface rate by one grade as the current air interface rate;
s105, determining a maximum test performance value of speed measurement according to the current air interface rate and the empirical performance value, and taking the maximum test performance value as the current test performance value;
generally, in order to measure the result quickly, the maximum initial test performance value of the velocity measurement can be determined according to the current air interface rate and the empirical performance value. For example, for wireless terminals with 2 × 2, 20M bandwidth, Long GI, and 2.4G, the air interface rate is 130Mbps, and the actual maximum performance of the big byte tested 1518 is generally about 115 Mbps; the actual maximum performance of the small bytes of the test 88 is generally about 80 Mbps;
and S106, calculating the number of the packages in the test duration according to the current test performance value and the specified test duration.
Generally, the calculation is: n ═ P × t/(B × 8), where N is the number of packets, P is the performance value, t is the preset test duration, and B is the number of bytes for the specified test. For example, if 1518 bytes are specified, the test time is 10s, and the performance value is 100Mbps, it can be calculated that 86345 packets ((100 × 1024)/(1518 × 8) × 10) need to be sent out for these 10 s.
Generally, during initial test, the maximum initial test performance value is adopted, and the test performance value is continuously adjusted in the subsequent test process;
s107, constructing a test frame on the wireless AP, wherein the test frame is inaccessible to application software on a wireless receiving end, and only the test frame needs to be correctly received in a physical layer, so that the target MAC must be the MAC of the wireless terminal; such as: constructing the test frame into a UDP frame, wherein the IP address is a non-receiving end IP, and the UDP source port and the UDP destination port are both 0; or constructing the test frame as a MAC frame, with an ethertype of 0x8899, which is a non-known ethertype (as shown in fig. 7); in addition, the data payload of the test frame contains the ID of the test frame;
s108, recording the corresponding relation between the 802.11 message serial number and the test frame ID;
s109, sending a test frame at a maximum air interface rate according to the specified test time and the calculated message number;
s110, obtaining the result of ACK or BA, obtaining the loss condition of the test frame according to the corresponding relation between the 802.11 message serial number and the test frame ID, and calculating the packet loss rate;
for example, 100 frames with sequence numbers of 0 to 99 are constructed on the wireless AP, the sequence numbers of 802.11 frames corresponding to the frames are N to (N +99), and by counting the ACK or BA, 11 lost frames are obtained, so that the packet loss rate can be calculated to be 11%.
S111, if the packet loss rate is smaller than a set threshold (for example, 1%, adjustment can be performed as required), turning to step S113; if the packet loss rate is greater than a certain threshold, go to step S112;
s112, reducing the current test performance value by one grade to serve as a new current test performance value, and then turning to the step S106 to repeatedly execute the step S106 to the step S111;
s113, taking the performance value under the current test performance value as the performance value under the current air interface rate;
s114, comparing whether the performance value of the air interface rate of the upper level is larger than the performance value of the current air interface rate; if the performance value of the air interface rate of the upshifting is not greater than the performance value of the current air interface rate, then go to step S115; if the performance value of the air interface rate of the upper grade is larger than the performance value of the current air interface rate, go to step S116;
s115, reducing the current air interface rate by one gear to be used as a new current air interface rate, and then turning to the step S105 to repeatedly execute the steps S105 to S114;
and S116, taking the performance value at the uplink air interface rate as the downlink performance from the wireless AP to the wireless terminal.
It should be noted that, as can be understood by those skilled in the art, in the embodiment of the present invention, how to calculate the performance value at the initial air interface rate is not described in detail, the implementation method is the same as that in steps S105 to S113, and corresponding contents are not repeated for simplicity of description.
In the embodiment of the present invention, the maximum physical air interface rate is used as the initial air interface rate, and the air interface rate is downshifted at least once to obtain performance values at different air interface rates, so as to finally obtain the maximum values of the performance values at different air interface rates.
Example 7
The embodiment of the invention is used for actually verifying the effect of the technical scheme of the invention, and specifically verifies that the implementation scheme of the invention is as follows:
(1) the wireless AP constructs a data packet by using a pktgen tool and sends the data packet to a WiFi interface; the tool is selected because the tool is a kernel mode packet, can bypass a network protocol stack, has low consumption on a CPU and the like and has good performance;
(2) WiFi drives the corresponding relation of serial number and 802.11 message serial number of recording test frame;
(3) the WiFi driver records the confirmed and lost 802.11 message serial numbers according to the condition of ACK or BA, and calculates the packet loss rate;
(4) and the application program controls the pktgen tool, acquires relevant statistics from the WiFi drive, sets the air interface rate of the WiFi according to a control algorithm, and sets the packet sending time and number.
The verification scene is mainly short distance and Long distance, the wireless AP is 2 x 2, the bandwidth of 802.11n and 20M is supported, the Long GI is adopted, the WiFi of the mobile phone is 2 x 2, and the 802.11n is supported.
(1) The distance between the mobile phone and the mobile phone is about 1m, and the actual test performance is 104 Mbps; by using the method, the final performance of 105Mbps is obtained under the condition that the packet loss rate threshold is 1% and the preset stepping is 1 Mbps;
(2) the distance between the mobile phone and the mobile phone is about 6m, and the actual test performance is 75 Mbps; by using the method, the final performance of 72Mbps is obtained under the condition that the packet loss rate threshold is 1% and the preset stepping is 1 Mbps;
from the verification situation, the deviation rate of the WiFi performance measurement result provided by the invention from the actual performance value is within 5%, the deviation from the actual performance value is very small, and the accuracy is higher.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
In some of the flows described in the present specification and claims and in the above-described figures, a number of operations are included that occur in a particular order, but it should be clearly understood that these operations may be performed out of order or in parallel as they occur herein, the order of the operations merely being used to distinguish between the various operations, and the order of the operations does not in itself represent any order of performance.
It will be understood by those skilled in the art that the foregoing is only a preferred embodiment of the present invention, and is not intended to limit the invention, and that any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (9)

1. A wireless network performance testing method is characterized by comprising the following steps:
the method comprises the steps that a wireless AP sends constructed test frames to a specified wireless terminal connected to the wireless AP at different air interface rates, performance values at different air interface rates are calculated according to received response messages responded by the wireless terminal aiming at the test frames, and the maximum value of the performance values at different air interface rates is used as downlink performance from the wireless AP to the wireless terminal, wherein the test frames are unreachable to application software on a wireless receiving end and can be reached to a WiFi bottom driver; the method comprises the following steps:
s1, the wireless AP sends the constructed test frame to a designated wireless terminal connected to the wireless AP at an initial air interface rate, and calculates a performance value at the initial air interface rate according to a received response message responded by the wireless terminal to the test frame;
s2, the wireless AP reduces the initial air interface rate by one gear to be used as the current air interface rate;
s3, the wireless AP sends the constructed test frame to a specified wireless terminal connected to the wireless AP at the current air interface rate, and calculates the performance value at the current air interface rate according to the received response message of the wireless terminal to the test frame;
s4, comparing whether the previous empty rate performance value is larger than the current empty rate performance value;
s5, if not, reducing the current air interface rate by one gear to be used as a new current air interface rate, and jumping back to the step S3;
and S6, if yes, taking the performance value under the uplink air interface rate as the downlink performance of the wireless terminal equipment.
2. The method according to claim 1, wherein the step of sending the constructed test frame to the designated wireless terminal connected to the wireless AP by the wireless AP at the current air interface rate includes:
determining a current test performance value according to the current air interface rate and the actual performance empirical value;
according to the current test performance value and the preset test duration, calculating the packet sending number of the test frames in the preset test duration;
recording the corresponding relation between the message serial number and the test frame ID;
and sending the test frame at the current air interface rate according to the preset test duration and the packet sending number of the test frame in the preset test duration obtained by calculation.
3. The method according to claim 1 or 2, wherein the calculating, by the wireless AP, the performance value at the current air interface rate according to the received response message responded by the wireless terminal to the test frame includes:
according to the corresponding relation between the response message serial number and the test frame ID, obtaining the loss condition of the test frame and calculating the packet loss rate;
if the packet loss rate is smaller than a set threshold, obtaining a performance value under the current air interface rate; if the packet loss rate is greater than the set threshold, reducing the test performance value by preset steps, and executing the steps of sending the test frame, receiving the response message, calculating the packet loss rate and obtaining a new performance value again according to the new test performance value.
4. The method according to claim 1 or 2, wherein the initial air interface rate is a maximum physical air interface rate supported by the wireless terminal.
5. The method according to claim 4, wherein the maximum physical air interface rate is determined by the wireless AP according to the capability information of the wireless terminal, the number of supported spatial streams, and the supported mode.
6. The method of claim 2, wherein calculating the number of test frames sent during a predetermined test duration based on the current performance value and the predetermined test duration comprises:
and calculating the packet number N = P t/(B8) of the period of time according to the current test performance value and the preset test duration, wherein N is the packet number, P is the performance value, t is the preset test duration, and B is the byte number of the specified test.
7. The method according to claim 1 or 2, wherein the wireless AP performs the test according to a test policy issued by the server, the test policy including:
the wireless AP tests the wireless terminals connected to the wireless AP one by one at a specified specific time or tests a specified wireless terminal immediately; and/or the presence of a gas in the gas,
and the wireless AP carries out forced test or elegant test on the wireless terminal.
8. The wireless network performance testing method of claim 1, wherein the test frame is constructed by the wireless AP using a pktgen tool and sent to the wireless terminal.
9. A wireless AP for performing the wireless network performance testing method of any one of claims 1-8.
CN202010323216.7A 2020-04-22 2020-04-22 Wireless network performance test method and wireless AP Active CN111601335B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010323216.7A CN111601335B (en) 2020-04-22 2020-04-22 Wireless network performance test method and wireless AP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010323216.7A CN111601335B (en) 2020-04-22 2020-04-22 Wireless network performance test method and wireless AP

Publications (2)

Publication Number Publication Date
CN111601335A CN111601335A (en) 2020-08-28
CN111601335B true CN111601335B (en) 2022-04-26

Family

ID=72183500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010323216.7A Active CN111601335B (en) 2020-04-22 2020-04-22 Wireless network performance test method and wireless AP

Country Status (1)

Country Link
CN (1) CN111601335B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112601244B (en) * 2020-12-02 2022-10-04 支付宝(杭州)信息技术有限公司 Air interface test method, device and equipment of wireless communication network
CN112738837B (en) * 2020-12-24 2022-08-30 北京信而泰科技股份有限公司 WiFi AP equipment test system and method
CN113207146B (en) * 2021-07-07 2021-09-07 广东南方电信规划咨询设计院有限公司 Wireless communication network quality monitoring system and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532669A (en) * 2013-10-14 2014-01-22 福建星网锐捷网络有限公司 Data transmission rate regulation method, device and wireless access point
CN104270724A (en) * 2014-09-19 2015-01-07 杭州华三通信技术有限公司 Method and device for adjusting multicast physical sending rate

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102498736B (en) * 2009-09-14 2014-11-12 株式会社东芝 Radio station
CN102946284B (en) * 2012-07-26 2015-01-21 上海寰创通信科技股份有限公司 System for calibrating and testing radio frequency of WIFI, and testing method
CN108093444B (en) * 2018-02-23 2020-06-26 Oppo广东移动通信有限公司 Wireless network transmission rate control method and device, terminal equipment and storage medium
CN109743219A (en) * 2019-03-22 2019-05-10 广东美的暖通设备有限公司 Traffic rate optimization method, device and computer readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532669A (en) * 2013-10-14 2014-01-22 福建星网锐捷网络有限公司 Data transmission rate regulation method, device and wireless access point
CN104270724A (en) * 2014-09-19 2015-01-07 杭州华三通信技术有限公司 Method and device for adjusting multicast physical sending rate

Also Published As

Publication number Publication date
CN111601335A (en) 2020-08-28

Similar Documents

Publication Publication Date Title
CN111601335B (en) Wireless network performance test method and wireless AP
TWI332330B (en) Quality of service differentiation in wireless networks
US20050276276A1 (en) Wireless probe
CN102932920B (en) Radio resource scheduling request (SR) configuration method and device
CN103907315B (en) System and method for network quality estimation, connectivity detection and load management
WO2013097593A1 (en) Method, device and system for monitoring internet access service quality of mobile terminal
KR102145832B1 (en) A method and apparatus for proving a voice service in wireless local area network
US20210345174A1 (en) Method, apparatus, and system for reporting data usage
CN108810971B (en) Internet of things data transmission method, internet of things terminal and computer readable storage medium
US20220286402A1 (en) Method and apparatus for controlling data packet sending, model training method and apparatus, and system
CN104320809A (en) Wireless multi-hop network congestion control method and system based on RTT
CN107302802B (en) Data transmission method and device
US20070091806A1 (en) Wireless communication system and method of controlling transmission of reception acknowledgement signal and wireless station used therein
CN103891207B (en) Systems and methods for network quality estimation, connectivity detection, and load management
US11153824B1 (en) Maintenance and monitoring of target wait time (TWT) sessions
WO2023155699A1 (en) Method and apparatus for mining security vulnerability of air interface protocol, and mobile terminal
CN109617636B (en) Anti-interference method and system for WIFI equipment, user equipment and storage medium
US10033489B1 (en) Managing communications based on network conditions
Albalt et al. Adaptive backoff algorithm for IEEE 802.11 MAC protocol
JP4974366B2 (en) Wireless environment monitoring apparatus and program for monitoring time occupation ratio of wireless environment
EP2093940A1 (en) Process for controlling the association of one mobile terminal to one particular access point belonging to one wireless network
US11546931B2 (en) Systems and methods for UL scheduler optimization with a self-adjustment BSPR scheme
Spörk et al. Ensuring End-to-End Dependability Requirements in Cloud-based Bluetooth Low Energy Applications.
CN111654355B (en) Data transmission method, system, electronic device and storage medium
CN117354252A (en) Data transmission processing method and device, storage medium and electronic 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