CN117082556B - Throughput test method, detection device and system of wireless communication device - Google Patents
Throughput test method, detection device and system of wireless communication device Download PDFInfo
- Publication number
- CN117082556B CN117082556B CN202311066576.3A CN202311066576A CN117082556B CN 117082556 B CN117082556 B CN 117082556B CN 202311066576 A CN202311066576 A CN 202311066576A CN 117082556 B CN117082556 B CN 117082556B
- Authority
- CN
- China
- Prior art keywords
- message
- length
- test
- time interval
- wireless communication
- 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
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
-
- 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)
- Environmental & Geological Engineering (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a throughput test method, a detection device and a system of wireless communication equipment, wherein the detection device is in wireless connection with the wireless communication equipment, and the method comprises the following steps: creating a test instruction, configuring test parameters, generating an initial test message, and sending the initial test message to wireless communication equipment; according to the message adjustment strategy, adjusting the message length and/or the time interval of the test message, generating the latest test message, and sending the latest test message to the wireless communication equipment for throughput test; repeatedly executing the steps until the latest test message meets the message length test requirement or the time interval test requirement, and determining the maximum message length and/or the minimum time interval of the wireless communication equipment; and calculating the maximum throughput of the wireless communication device according to the maximum message length and the minimum time interval. The invention accurately and rapidly tests the maximum throughput of the wireless communication device.
Description
Technical Field
The present invention relates to the field of wireless communications, and in particular, to a throughput testing method, a detection device, and a system for a wireless communication device.
Background
The detection device continually transmits messages to the wireless communication device to detect the throughput of the wireless communication device. The current test mode is generally that a detection device continuously transmits a message with a certain length to a wireless communication device at a certain time interval, counts the total data flow of the message received by a tested piece in a period of time, and divides the total data flow by the transmission time to obtain a throughput result.
If the data flow sent by the detection device is too low, the data volume received by the wireless communication device does not reach the upper limit, the tested throughput result is smaller, and the receiving capability of the wireless communication device cannot be accurately reflected. If the data flow sent by the detection device is too large and exceeds the range of the capability of the wireless communication device for correctly receiving and processing the data, blocking and packet loss can occur, so that the throughput result is smaller, and the maximum receiving capability of the wireless communication device cannot be accurately estimated. In other words, the measurement result obtained by the throughput test method commonly used at present is the throughput that the wireless communication device can support, not the maximum receiving throughput of the wireless communication device. How to accurately and quickly test the maximum throughput of a wireless communication device is an urgent problem to be solved by the current communication industry.
Disclosure of Invention
According to one aspect of the invention, a throughput test method, a test device and a system for a wireless communication device are provided, and the maximum throughput of the wireless communication device is accurately and rapidly tested.
In a first aspect, the present invention discloses a throughput test method of a wireless communication device, applied to a detection device, where the detection device is wirelessly connected with the wireless communication device, the method includes the following steps:
Creating a test instruction, configuring test parameters, generating an initial test message, and sending the initial test message to wireless communication equipment;
According to the message adjustment strategy, adjusting the message length and/or the time interval of the test message, generating the latest test message, and sending the latest test message to the wireless communication equipment for throughput test;
Repeatedly executing the steps until the latest test message meets the message length test requirement or the time interval test requirement, and determining the maximum message length and/or the minimum time interval of the wireless communication equipment;
and calculating the maximum throughput of the wireless communication device according to the maximum message length and the minimum time interval.
In some embodiments, the message length and/or the time interval of the message are adjusted according to a message adjustment policy, specifically,
Obtaining the message length and/or time interval range of a test message, and dividing the message length adjustment step length and the time interval adjustment step length of the test message into a plurality of grades; each grade corresponds to different message length adjustment step sizes or time interval adjustment step sizes, and the length of the message length adjustment step sizes or the time interval adjustment step sizes is reduced along with the reduction of the grade;
And acquiring the receiving condition of the confirmation message of the wireless communication equipment, determining an adjusting direction zone bit according to the receiving condition of the confirmation message, and adjusting the adjusting direction, the grade, the message length and/or the time interval of the test message according to the adjusting direction zone bit.
In some embodiments, an adjustment direction flag bit is obtained, and the adjustment direction, the level, the message length and/or the time interval of the test message are adjusted according to the adjustment direction flag bit, specifically,
When the adjustment direction flag bit is changed from a first value to a second value, the message length adjustment direction and/or the time interval adjustment direction of the test message are changed from increasing to decreasing, and the level of the length and/or the time interval in the test message is reduced;
When the adjustment direction flag bit is changed from the second value to the first value, the message length adjustment direction and/or the time interval adjustment direction of the test message are changed from decrease to increase, and the level of the length and/or the time interval in the test message is reduced.
In some embodiments, when the receiving condition of the acknowledgement message changes in the last two throughput tests, the adjustment direction flag bit is changed.
In some embodiments, adjusting the adjustment direction, the level, the message length, and/or the time interval of the test message according to the adjustment direction flag bit includes:
Acquiring the receiving condition of the confirmation message, and increasing the message length of the test message or reducing the time interval of the test message according to a preset step length when the confirmation message is received and the adjustment direction flag bit is not changed;
When a confirmation message is received and the direction flag bit is changed, the grade of the message length adjustment step length is gradually reduced and the message length of the test message is increased according to the preset step length, or the grade of the time interval adjustment step length is gradually reduced and the time interval of the test message is reduced according to the preset step length;
When the confirmation message is not received, the grade of the message length adjustment step length or the time interval adjustment step length is not the lowest grade, and the adjustment direction flag bit is not changed, reducing the message length of the test message according to the preset step length, or increasing the time interval of the test message according to the preset step length;
when the confirmation message is not received, the grade of the message length adjustment step length or the grade of the time interval adjustment step length is not the lowest grade, and the adjustment direction flag bit is changed, the grade of the message length adjustment step length is reduced step by step and the message length of the test message is reduced according to the preset step length, or the grade of the time interval adjustment step length is reduced step by step and the time interval of the test message is increased according to the preset step length.
In some embodiments, the latest test message meets the message length test requirement or the time interval test requirement, specifically,
The message length test requirement is that the step length level of the message length adjustment is the lowest level; the received confirmation message meets the time interval test requirement, and the time interval adjustment step size grade is the lowest grade.
In some embodiments, a maximum message length and/or a minimum time interval for the wireless communication device is determined, in particular,
When the step size level of the message length adjustment is the lowest level, the message length corresponding to the received confirmation message is the maximum message length; when the time interval adjustment step size level is the lowest level, the time interval corresponding to the received confirmation message is the minimum time interval.
In some embodiments, in the initial test message, the level of the message length adjustment step length and the level of the time interval adjustment step length are the highest levels.
In a second aspect, the invention discloses a detection device, which comprises a processor, a message control module and a radio frequency transceiver module;
The processor is used for calculating and recording the throughput of the wireless communication equipment according to the test message and the confirmation message;
the message control module is used for adjusting the length of the message and/or the time interval of the message according to the message adjustment strategy to generate a test message;
The radio frequency transceiver module is used for sending test messages or receiving confirmation messages.
In a third aspect, the invention discloses a throughput test system of a wireless communication device, which comprises a detection device and a wireless communication device, wherein the detection device is connected with at least one wireless communication device;
the method comprises the steps that a detection device creates a test instruction, configures test parameters, generates an initial test message, and sends the initial test message to wireless communication equipment;
The wireless communication device returns a confirmation message;
the detection equipment adjusts the message length and/or the time interval of the test message according to the message adjustment strategy, generates the latest test message, and sends the latest test message to the wireless communication equipment so as to carry out throughput test;
The wireless communication equipment receives the latest test message and returns a confirmation message;
repeating throughput test until the latest test message meets the message length test requirement or the time interval test requirement, and determining the maximum message length and/or the minimum time interval of the wireless communication equipment;
and calculating the maximum throughput of the wireless communication device according to the maximum message length and the minimum time interval.
The application discloses a throughput test method, a detection device and a device for wireless communication equipment, which continuously adjust the time interval between two times of message tests before and after a message adjustment strategy and reduce the detection range of the maximum message length and the minimum time interval which can be correctly received by the wireless communication equipment, detect the maximum throughput of the message which can be correctly received by the wireless communication equipment and return a confirmation message, and improve the test efficiency and the test precision of the throughput of the wireless communication equipment.
Drawings
FIG. 1 is a block diagram of a detection device according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating connection between a detection device and a wireless communication device according to a first embodiment of the present invention;
Fig. 3 is a flow chart of a throughput testing method of a wireless communication device according to a second embodiment of the present invention;
fig. 4 is a schematic diagram of a time interval structure of a throughput testing method of a wireless communication device according to a second embodiment of the present invention;
Fig. 5 is a test flow chart of a maximum message length in a throughput test method of a wireless communication device according to a second embodiment of the present invention;
fig. 6 is a test flow chart of a minimum time interval in a throughput test method of a wireless communication device according to a second embodiment of the present invention;
Fig. 7 is a schematic diagram of an adjustment flow of a message length adjustment step in a throughput testing method of a wireless communication device according to a second embodiment of the present invention;
Fig. 8 is a schematic diagram of an adjustment flow of an interval adjustment step in a throughput testing method of a wireless communication device according to a second embodiment of the present invention.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the element defined by the phrase "comprising one … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element, and furthermore, elements having the same name in different embodiments of the application may have the same meaning or may have different meanings, the particular meaning of which is to be determined by its interpretation in this particular embodiment or by further combining the context of this particular embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" depending on the context. Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes," and/or "including" specify the presence of stated features, steps, operations, elements, components, items, and/or groups, but do not preclude the presence, presence or addition of one or more other features, steps, operations, elements, components, items, types, and/or groups. The terms "or", "and/or", "including at least one of", and the like, as used herein, may be construed as inclusive, or mean any one or any combination. An exception to this definition will occur only when a combination of elements, functions, steps or operations are in some way inherently mutually exclusive.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily occurring in sequence, but may be performed alternately or alternately with other steps or at least a portion of the other steps or stages.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The application provides a throughput test method, a detection device and a device for wireless communication equipment, which can accurately and rapidly test the maximum throughput of the wireless communication equipment.
Example 1
As shown in fig. 1, the present embodiment provides a detection apparatus for performing throughput test on a wireless communication apparatus. The detection device comprises all terminals which are connected in a wireless way and have a detection function, and the wireless communication device, namely the detected piece, comprises a radio frequency chip, a sensor or an intelligent terminal with Bluetooth, wi-Fi and other wireless communication functions, such as a wearable device with Bluetooth, an intelligent terminal with mobile phone and the like, or a mobile phone, a tablet or a mobile terminal with Wi-Fi and the like.
As shown in fig. 2, the detection device is wirelessly connected with the wireless communication device, and establishes a data transmission link at a physical link layer. The wireless connection includes a bluetooth connection or a Wi-Fi connection. The detection device and the wireless communication device follow the same communication protocol, and when the wireless communication device is Wi-Fi device, the detection device calls the Wi-Fi module to establish wireless connection with the wireless communication device. When the wireless communication equipment is Bluetooth equipment, the detection equipment invokes the Bluetooth module and establishes wireless connection with the wireless communication equipment. Other wireless connection modes are also similar.
The detection equipment comprises a processor, a message control module and a radio frequency receiving and transmitting module. Wherein the processor is configured to calculate and record the throughput of the wireless communication device. The message control module is used for generating a test message when the length of the message and/or the time interval of the message are adjusted according to the message adjustment strategy. The radio frequency transceiver module is used for receiving or transmitting the test message.
After the wireless connection between the detection equipment and the wireless communication equipment is established, the processor creates a test instruction, the message control module configures test parameters after receiving the test instruction, generates a test message with specified message length and time interval, and sends the test message to the wireless communication equipment by the radio frequency transceiver module. After receiving the test message, the wireless communication module returns a confirmation message. The detection device calculates the maximum throughput of the wireless communication device according to the receiving condition of the confirmation message.
Example two
The embodiment provides a throughput test method of a wireless communication device, which is applied to a detection device in the first embodiment. As shown in fig. 3, the method comprises the following steps:
Step S1, a test instruction is created, test parameters are configured, an initial test message is generated, and the initial test message is sent to the wireless communication equipment.
The processor creates a test instruction and sends the test instruction to the message control module. The test instruction includes a plurality of test parameters, such as message length and time interval. After receiving the test instruction, the message control module configures test parameters according to the test instruction to generate a test message. The test message comprises a control message and a data message, and in the initial state, the grade of the message length adjustment step length and the grade of the time interval adjustment step length are the highest grade, which is called the initial test message. The initial test message designates message length and time interval, and is sent to the wireless communication device by the radio frequency transceiver module.
As shown in fig. 4, the time intervals include time t1 required by the detection device to send a message, time t2 required by the detected part to receive a message, time t3 required by the detected part to send a confirmation message, time t4 required by the detection device to receive a confirmation message, and idle time t5. Because of the performance difference, the time required by different devices for receiving and sending the message is different, the detection device only needs to calculate the total time interval without specific calculation, and the time interval can be obtained by subtracting the time stamps of the two times of sending the packet before and after.
And S2, adjusting the message length and/or the time interval of the message according to the message adjustment strategy, generating a latest test message, and transmitting the latest test message to the wireless communication equipment so as to carry out throughput test.
In each throughput test, the detection device adjusts the message length and/or the time interval of the message according to the message adjustment strategy to generate the latest test message, and if the wireless communication device can correctly receive the initial test message, a confirmation message is generated and returned to the detection device. When the detection device can receive the confirmation message, the wireless communication device can correctly receive the test message, the maximum throughput of the test message is not exceeded, the processor calculates and records the throughput, and the throughput test is finished. If the detection equipment does not receive the confirmation message within the set time, the throughput test is ended. If the test message is sent for multiple times, the detection equipment does not receive the confirmation message from the tested piece, and the packet is regarded as lost, and the throughput test exceeds the capability range of the tested piece for correctly receiving and returning the confirmation message.
In order to accurately obtain the maximum message length and the minimum time interval that the measured piece can correctly receive, as shown in fig. 5 and 6, the message length and/or the time interval of the message are adjusted according to the message adjustment policy, specifically,
Step S21, obtaining the message length and/or the time interval range of a test message, and dividing the message length adjustment step length and the time interval adjustment step length of the test message into a plurality of grades; each level corresponds to an adjustment step of different message lengths or time intervals, and the length of the message length adjustment step or the time interval adjustment step is reduced along with the reduction of the level.
The message length adjustment step size x may be divided into several levels, which in this embodiment are defined as a 1~An(A1<An) N levels, each level representing a message length adjustment step size of a different scale. That is, the message length adjustment step size x is denoted { x ε A|A= (A 1,…,Ai,…,An),A1<Ai<An }. In the initial test message, the default message length adjustment step size x is the highest level A n of message length adjustment step sizes supported by the program.
Similarly, the time interval adjustment step y may be divided into several levels, which in this embodiment are defined as B 1~Bn(B1<Bn) N levels, each level representing a time interval adjustment step of a different scale. That is, the interval adjustment step y is denoted as { y ε B|B= (B 1,…,Bi,…,Bn),B1<Bi<Bn }. In the initial test message, the default interval adjustment step x is the highest level B n of the message length adjustment steps supported by the program.
The message length adjustment step length and the time length adjustment step length are divided into a plurality of grades, and each grade corresponds to the adjustment step length with different lengths. When the confirmation message can not be received, the reduction level is to reduce the adjustment step length, reduce or increase the message length and the time interval by the small step length, reduce the detection range of the measured piece capable of correctly receiving the maximum message length or the minimum time interval, and more accurately calculate the throughput of the wireless communication equipment.
Step S22, obtaining the receiving condition of the confirmation message of the wireless communication equipment, determining an adjustment direction flag bit according to the receiving condition of the confirmation message, and adjusting the length and/or the grade of the time interval and the adjustment direction of the test message according to the adjustment direction flag bit.
The direction adjustment zone bit comprises a message length adjustment direction zone bit and a time interval adjustment direction zone bit, wherein len_rollback_flag is a message length adjustment direction zone bit and is used for marking the adjustment direction of the message length. And interval_rollback_flag is a time interval adjustment direction flag bit for marking the adjustment direction of the time interval.
And the direction adjusting flag bit determines whether the change occurs according to the receiving condition of the confirmation message. In the last two throughput tests, the receiving condition of the confirmation message is changed, and the adjusting direction flag bit is changed. The acknowledgement message receiving condition includes that an acknowledgement message can be received and an acknowledgement message is not received. If the acknowledgement message can be received or not received in the last two throughput tests, the direction flag bit is adjusted not to be changed if the acknowledgement message receiving condition is unchanged.
In the process of testing the maximum message length, confirming that the message receiving condition is unchanged, adjusting the direction flag bit unchanged, and increasing the length of the test message by a fixed step length a to generate the latest test message, wherein the step length of the message length adjustment step length of the test message and the message length adjustment direction are unchanged. Similarly, in the process of testing the minimum time interval, the condition that the message receiving condition is not changed is confirmed, the adjustment direction flag bit is not changed, the time interval grade and the time interval adjustment direction of the test message are not changed, the time interval for transmitting the test message is reduced by the fixed time interval b, and the latest test message is generated.
The condition that the receiving condition of the acknowledgement message changes means that the detection equipment changes from receiving the acknowledgement message to not receiving the acknowledgement message or changes from not receiving the acknowledgement message to receiving the acknowledgement message in the last two throughput tests. Both the two conditions confirm that the message receiving condition changes and the direction flag bit is adjusted.
The change of the adjustment direction flag bit comprises the change from the first value to the second value and the change from the second value to the first value. In this embodiment, the first value is 0 and the second value is 1.
When the adjustment direction flag bit is changed from a first value to a second value, namely 0 is changed to 1, the message length adjustment direction and/or the time interval adjustment direction of the test message are changed from increasing to decreasing, and the level of the length and/or the time interval in the test message is reduced;
when the adjustment direction flag bit is changed from the second value to the first value, namely, when 1 is changed to 0, the message length adjustment direction of the test message is changed from decrease to increase and/or the time interval adjustment direction, and the level of the length and/or the time interval in the test message is reduced.
When the direction flag bit is changed every time, the level of the message length adjustment step length and/or the level of the time interval adjustment step length are reduced by one level, namely the message length adjustment step length or the time interval adjustment step length is reduced, the message length or the time interval is reduced or increased by a small step length, and the detection range of the message length or the time interval which can be correctly received by a tested piece is reduced. The continuous reduction of step size can more accurately test the maximum message length and minimum time interval than the conventional test with a fixed step size.
More specifically, as shown in fig. 7 and 8, adjusting the adjustment direction, the level, the message length and/or the time interval of the test message according to the adjustment direction flag bit includes:
Acquiring the receiving condition of the confirmation message, and increasing the message length of the test message or reducing the time interval of the test message according to a preset step length when the confirmation message is received and the adjustment direction flag bit is not changed;
When a confirmation message is received and the direction flag bit is changed, the grade of the message length adjustment step length is gradually reduced and the message length of the test message is increased according to the preset step length, or the grade of the time interval adjustment step length is gradually reduced and the time interval of the test message is reduced according to the preset step length;
When the confirmation message is not received, the grade of the message length adjustment step length or the time interval adjustment step length is not the lowest grade, and the adjustment direction flag bit is not changed, reducing the message length of the test message according to the preset step length, or increasing the time interval of the test message according to the preset step length;
when the confirmation message is not received, the grade of the message length adjustment step length or the grade of the time interval adjustment step length is not the lowest grade, and the adjustment direction flag bit is changed, the grade of the message length adjustment step length is reduced step by step and the message length of the test message is reduced according to the preset step length, or the grade of the time interval adjustment step length is reduced step by step and the time interval of the test message is increased according to the preset step length.
And after the message length and/or the time interval of the message are/is adjusted by the message adjustment strategy, generating the latest test message, sending the latest test message to the wireless communication equipment, and carrying out throughput test again.
More, in the process of adjusting the message length adjustment step length, if the message length adjustment step length is longer than the message length of the last test message, that is, the message length of the latest test message, that is, the message length-message length adjustment step length is less than or equal to 0, the message length adjustment step length is reduced by one grade, and the message length is always kept to be more than 0. Similarly, in the process of adjusting the time interval adjustment step length, if the time interval adjustment step length appears to be longer than the time interval of the last test message and the time interval of the latest test message is smaller than or equal to 0, the time interval adjustment step length is further reduced by one grade, and the time interval is always kept to be more than 0.
And step S3, repeatedly executing the steps until the latest test message meets the message length test requirement or the time interval test requirement, and determining the maximum message length and/or the minimum time interval of the wireless communication equipment.
And step S2, detecting the message length of the tested piece and the range of the time interval until the latest test message meets the message length test requirement or the time interval test requirement. The step length adjustment step length grade is the lowest grade for meeting the message length test requirement; and (5) meeting the time interval test requirement, wherein the time interval adjustment step size grade is the lowest grade, and the test is finished. That is, when the message length adjustment step x is the lowest level a 1, the detection is finished, and the message length corresponding to the received acknowledgement message is the maximum message length. When the time interval adjustment step y is the lowest level B 1, the detection is finished, and the time interval corresponding to the received acknowledgement message is the minimum time interval, and the message length that the measured piece can correctly receive is regarded as the minimum time interval.
Through the steps, the minimum modification amplitude corresponding to the minimum level A 1 of the message length adjustment step is as low as 1Byte or less, the minimum modification amplitude of the minimum level B 1 of the time interval adjustment step can be as low as 1us or less, and the throughput precision can reach the bps level.
And S4, calculating the maximum throughput of the wireless communication equipment according to the maximum message length and the minimum time interval.
The calculation process is as follows:
Maximum throughput = maximum message length/minimum time interval of message transmission.
The above method is explained below with reference to specific examples:
Assuming that the initial test message length is 1500Bytes and the time interval is 100us, the message length adjustment step size is divided into {5000, 1000, 100, 10,1}5 levels, and the time interval adjustment step size is divided into {20,5,1}3 levels.
The maximum message length test process is as follows:
1. The detection device sends a test message with a designated message length to the wireless communication device, and if the wireless communication device can correctly receive the message and return a confirmation message, the message length is continuously increased by using the message length adjustment step length as a fifth level, namely 5000Bytes as a step length.
2. If the message length is increased to 15500Bytes, the wireless communication device fails to return the confirmation message, the adjustment direction flag bit is changed, the message adjustment direction is changed from increase to decrease, and the message length adjustment step length is decreased by one grade, namely, the fourth grade, namely, 1000Bytes.
3. The detection device continuously reduces the message length by taking 1000Bytes as a step length until the wireless communication device normally returns a confirmation message (assuming that the message length of the test message is 11500Bytes when the confirmation message is returned), the adjustment direction flag bit is changed, the message adjustment direction is changed from reduction to increase, and the message length adjustment step length is reduced by one grade, namely, the third grade, namely, 100Bytes.
4. The detection device continuously increases the message length by taking 100Bytes as a step length until the wireless communication device fails to return a confirmation message (assuming that the message length of the test message is 11700Bytes at the moment), the adjustment direction flag bit is changed, the message adjustment direction is changed from increasing to decreasing, and the message length adjustment step length is decreased by one level, namely, the second level, namely, 10Bytes.
5. The detection equipment continuously reduces the message length by taking 10Bytes as a step length until the wireless communication equipment normally returns a confirmation message (assuming that the message length of the test message is 11650Bytes at the moment), the adjustment direction flag bit is changed, the message adjustment direction is changed from reduction to increase, and the message length adjustment step length is reduced to the first level and is 1Bytes.
6. The detection device continuously increases the message length with 1Bytes as step length until the wireless communication device fails to return the confirmation message (assuming that the message length of the test message is 11656Bytes at this time) and the message length adjustment step length level is the minimum level at this time, 11656-1 (minimum message adjustment step length level) = 11655Bytes is the maximum message length of the message that the wireless communication device can correctly receive.
The minimum time interval test procedure is as follows:
1. The detection device sends the message to the wireless communication device at the designated time interval, if the wireless communication device can correctly receive the message, the step size is adjusted to be a third step size at the time interval, and the message sending time interval is reduced by taking 20us as the step size.
2. If the time interval is reduced to 20us, the wireless communication device fails to return the confirmation message, the adjustment direction flag bit is changed, the time interval adjustment direction is changed from reduction to increase, the level of the time interval adjustment step is reduced to a second level, and the time interval of message transmission is reduced by 5 us.
3. The detection equipment continuously increases the message sending time interval by taking 5us as a step length until the wireless communication equipment normally returns a confirmation message (the time interval is assumed to be 25us at the moment), the adjustment direction flag bit is changed, the time interval adjustment direction is changed from increase to decrease, and the time interval adjustment step length is reduced to a first level, namely 1us is reduced to the message sending time interval.
4. The detection device continuously reduces the message sending time interval with 1us as a step length until the wireless communication device fails to return the acknowledgement message (assuming that the time interval is 23us at this time), and the time interval adjustment step length level is the minimum level, 23+1 (minimum time interval adjustment level) =24us is the minimum time interval at which the wireless communication device can correctly receive the message.
The maximum throughput result of the wireless communication device is: (11655 x 8) bit/(24 x 10-6) s= 388.5Mbps.
Example III
Based on the same inventive idea, the application also provides a throughput test system of the wireless communication device, which comprises a detection device and the wireless communication device, wherein the detection device is connected with at least one wireless communication device;
the method comprises the steps that a detection device creates a test instruction, configures test parameters, generates an initial test message, and sends the initial test message to wireless communication equipment;
The wireless communication device returns a confirmation message;
the detection equipment adjusts the message length and/or the time interval of the test message according to the message adjustment strategy, generates the latest test message, and sends the latest test message to the wireless communication equipment so as to carry out throughput test;
The wireless communication equipment receives the latest test message and returns a confirmation message;
repeating throughput test until the latest test message meets the message length test requirement or the time interval test requirement, and determining the maximum message length and/or the minimum time interval of the wireless communication equipment;
and calculating the maximum throughput of the wireless communication device according to the maximum message length and the minimum time interval.
The specific implementation process of the system is the same as that of the above embodiment, and will not be described herein.
The invention provides a throughput test method, a detection device and a system of wireless communication equipment, which continuously adjust the time interval between two times of message tests before and after a message adjustment strategy and reduce the detection range of the maximum message length and the minimum time interval which can be correctly received by the wireless communication equipment, detect the maximum throughput of the message which can be correctly received by the wireless communication equipment and return a confirmation message, and improve the test efficiency and the test precision of the throughput of the wireless communication equipment.
Based on the same inventive idea, the application also provides an apparatus, which may comprise: a memory storing executable program code;
A processor coupled to the memory;
A transceiver for communicating with other devices or a communication network, receiving or transmitting network messages;
and a bus for connecting the memory, the processor and the transceiver for internal communication.
The transceiver receives the message transmitted from the network, and transmits the message to the processor through the bus, the processor calls the executable program code stored in the memory through the bus to process, and transmits the processing result to the transceiver through the bus to send, thereby realizing the method provided by the second embodiment of the application.
The invention discloses a computer readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute a throughput test method of a wireless communication device as described.
The present invention discloses a computer program product comprising a non-transitory computer readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform a throughput test method of a wireless communication device as described.
The embodiments described above are illustrative only, and the modules illustrated as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, may be located in one place, or may be distributed over multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above detailed description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course by means of hardware. Based on such understanding, the foregoing technical solutions may be embodied essentially or in part in the form of a software product that may be stored in a computer-readable storage medium including Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), one-time programmable Read-Only Memory (OTPROM), electrically erasable programmable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disc Memory, magnetic disc Memory, tape Memory, or any other medium that can be used for computer-readable carrying or storing data.
What has been described above is merely some embodiments of the present invention. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit of the invention.
Claims (9)
1. A throughput test method of a wireless communication device, applied to a detection device, the detection device being wirelessly connected with the wireless communication device, the method comprising the steps of:
Creating a test instruction, configuring test parameters, generating an initial test message, and sending the initial test message to wireless communication equipment;
According to the message adjustment strategy, adjusting the message length and/or the time interval of the test message, generating the latest test message, and sending the latest test message to the wireless communication equipment for throughput test;
Repeatedly executing the steps until the latest test message meets the message length test requirement or the time interval test requirement, and determining the maximum message length and/or the minimum time interval of the wireless communication equipment;
Calculating the maximum throughput of the wireless communication equipment according to the maximum message length and the minimum time interval;
The message length and/or the time interval of the message are/is adjusted according to the message adjustment strategy, specifically,
Obtaining the message length and/or time interval range of a test message, and dividing the message length adjustment step length and the time interval adjustment step length of the test message into a plurality of grades; each grade corresponds to different message length adjustment step sizes or time interval adjustment step sizes, and the length of the message length adjustment step sizes or the time interval adjustment step sizes is reduced along with the reduction of the grade;
And acquiring the receiving condition of the confirmation message of the wireless communication equipment, determining an adjusting direction zone bit according to the receiving condition of the confirmation message, and adjusting the adjusting direction, the grade, the message length and/or the time interval of the test message according to the adjusting direction zone bit.
2. The throughput test method of claim 1, wherein an adjustment direction flag is obtained, and an adjustment direction, a level, a message length and/or a time interval of the test message are adjusted according to the adjustment direction flag, specifically,
When the adjustment direction flag bit is changed from a first value to a second value, the message length adjustment direction and/or the time interval adjustment direction of the test message are changed from increasing to decreasing, and the level of the length and/or the time interval in the test message is reduced;
When the adjustment direction flag bit is changed from the second value to the first value, the message length adjustment direction and/or the time interval adjustment direction of the test message are changed from decrease to increase, and the level of the length and/or the time interval in the test message is reduced.
3. The throughput test method of claim 2, wherein the adjustment direction flag bit is changed when the reception condition of the acknowledgement message changes in the last two throughput tests.
4. The throughput testing method of claim 2, wherein adjusting the adjustment direction, the level, the message length and/or the time interval of the test message according to the adjustment direction flag bit comprises:
Acquiring the receiving condition of the confirmation message, and increasing the message length of the test message or reducing the time interval of the test message according to a preset step length when the confirmation message is received and the adjustment direction flag bit is not changed;
When a confirmation message is received and the direction flag bit is changed, the grade of the message length adjustment step length is gradually reduced and the message length of the test message is increased according to the preset step length, or the grade of the time interval adjustment step length is gradually reduced and the time interval of the test message is reduced according to the preset step length;
When the confirmation message is not received, the grade of the message length adjustment step length or the time interval adjustment step length is not the lowest grade, and the adjustment direction flag bit is not changed, reducing the message length of the test message according to the preset step length, or increasing the time interval of the test message according to the preset step length;
when the confirmation message is not received, the grade of the message length adjustment step length or the grade of the time interval adjustment step length is not the lowest grade, and the adjustment direction flag bit is changed, the grade of the message length adjustment step length is reduced step by step and the message length of the test message is reduced according to the preset step length, or the grade of the time interval adjustment step length is reduced step by step and the time interval of the test message is increased according to the preset step length.
5. The method of claim 2, wherein the latest test message meets a message length test requirement or a time interval test requirement, specifically,
The message length test requirement is that the step length level of the message length adjustment is the lowest level; the received confirmation message meets the time interval test requirement, and the time interval adjustment step size grade is the lowest grade.
6. A method for throughput testing of a wireless communication device according to claim 1, characterized in that the maximum message length and/or the minimum time interval of the wireless communication device is determined, in particular,
When the step size level of the message length adjustment is the lowest level, the message length corresponding to the received confirmation message is the maximum message length; when the time interval adjustment step size level is the lowest level, the time interval corresponding to the received confirmation message is the minimum time interval.
7. The method of claim 1, wherein the initial test message has a highest message length adjustment step size and a highest time interval adjustment step size.
8. The detection equipment is characterized by comprising a processor, a message control module and a radio frequency transceiver module;
The processor is used for calculating and recording the throughput of the wireless communication equipment according to the test message and the confirmation message;
The message control module is used for adjusting the length of the message and/or the time interval of the message according to the message adjustment strategy to generate a test message; according to the message adjustment strategy, the message length and/or the time interval of the message are adjusted, specifically,
Obtaining the message length and/or time interval range of a test message, and dividing the message length adjustment step length and the time interval adjustment step length of the test message into a plurality of grades; each grade corresponds to different message length adjustment step sizes or time interval adjustment step sizes, and the length of the message length adjustment step sizes or the time interval adjustment step sizes is reduced along with the reduction of the grade;
Acquiring the receiving condition of a confirmation message of the wireless communication equipment, determining an adjustment direction zone bit according to the receiving condition of the confirmation message, and adjusting the adjustment direction, the grade, the message length and/or the time interval of the test message according to the adjustment direction zone bit;
The radio frequency transceiver module is used for sending test messages or receiving confirmation messages.
9. A throughput test system for a wireless communication device, comprising a detection device and a wireless communication device, wherein the detection device is connected with at least one wireless communication device;
the method comprises the steps that a detection device creates a test instruction, configures test parameters, generates an initial test message, and sends the initial test message to wireless communication equipment;
The wireless communication device returns a confirmation message;
the detection equipment adjusts the message length and/or the time interval of the test message according to the message adjustment strategy, generates the latest test message, and sends the latest test message to the wireless communication equipment so as to carry out throughput test;
The wireless communication equipment receives the latest test message and returns a confirmation message;
repeating throughput test until the latest test message meets the message length test requirement or the time interval test requirement, and determining the maximum message length and/or the minimum time interval of the wireless communication equipment;
Calculating the maximum throughput of the wireless communication equipment according to the maximum message length and the minimum time interval;
The message length and/or the time interval of the message are/is adjusted according to the message adjustment strategy, specifically,
Obtaining the message length and/or time interval range of a test message, and dividing the message length adjustment step length and the time interval adjustment step length of the test message into a plurality of grades; each grade corresponds to different message length adjustment step sizes or time interval adjustment step sizes, and the length of the message length adjustment step sizes or the time interval adjustment step sizes is reduced along with the reduction of the grade;
And acquiring the receiving condition of the confirmation message of the wireless communication equipment, determining an adjusting direction zone bit according to the receiving condition of the confirmation message, and adjusting the adjusting direction, the grade, the message length and/or the time interval of the test message according to the adjusting direction zone bit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311066576.3A CN117082556B (en) | 2023-08-22 | 2023-08-22 | Throughput test method, detection device and system of wireless communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311066576.3A CN117082556B (en) | 2023-08-22 | 2023-08-22 | Throughput test method, detection device and system of wireless communication device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117082556A CN117082556A (en) | 2023-11-17 |
CN117082556B true CN117082556B (en) | 2024-05-03 |
Family
ID=88716735
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311066576.3A Active CN117082556B (en) | 2023-08-22 | 2023-08-22 | Throughput test method, detection device and system of wireless communication device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117082556B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017202166A1 (en) * | 2016-05-23 | 2017-11-30 | 中兴通讯股份有限公司 | Message transmission method, sending device and storage medium |
CN111711546A (en) * | 2020-06-17 | 2020-09-25 | 杭州安恒信息技术股份有限公司 | Device throughput testing method, apparatus, system, and computer-readable storage medium |
CN111858200A (en) * | 2020-06-22 | 2020-10-30 | 银清科技有限公司 | Throughput control method and device in system test and electronic equipment |
CN113225196A (en) * | 2020-01-21 | 2021-08-06 | 华为技术有限公司 | Service level configuration method and device |
CN114363217A (en) * | 2021-12-23 | 2022-04-15 | 北京六方云信息技术有限公司 | RFC2544 throughput performance testing method, system, equipment and medium |
CN116389323A (en) * | 2023-02-20 | 2023-07-04 | 深圳开鸿数字产业发展有限公司 | Throughput test method, device and storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8849965B2 (en) * | 2011-10-19 | 2014-09-30 | Honeywell International Inc. | Wireless network performance monitoring |
US9251032B2 (en) * | 2011-11-03 | 2016-02-02 | Fujitsu Limited | Method, computer program, and information processing apparatus for analyzing performance of computer system |
JPWO2013145628A1 (en) * | 2012-03-30 | 2015-12-10 | 日本電気株式会社 | Information processing apparatus and load test execution method |
WO2021047404A1 (en) * | 2019-09-12 | 2021-03-18 | 华为技术有限公司 | Network parameter configuration method and apparatus |
CN111585845B (en) * | 2020-05-15 | 2021-08-31 | 苏州浪潮智能科技有限公司 | A method, device, device and readable medium for detecting the performance of a network card node |
-
2023
- 2023-08-22 CN CN202311066576.3A patent/CN117082556B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017202166A1 (en) * | 2016-05-23 | 2017-11-30 | 中兴通讯股份有限公司 | Message transmission method, sending device and storage medium |
CN113225196A (en) * | 2020-01-21 | 2021-08-06 | 华为技术有限公司 | Service level configuration method and device |
CN111711546A (en) * | 2020-06-17 | 2020-09-25 | 杭州安恒信息技术股份有限公司 | Device throughput testing method, apparatus, system, and computer-readable storage medium |
CN111858200A (en) * | 2020-06-22 | 2020-10-30 | 银清科技有限公司 | Throughput control method and device in system test and electronic equipment |
CN114363217A (en) * | 2021-12-23 | 2022-04-15 | 北京六方云信息技术有限公司 | RFC2544 throughput performance testing method, system, equipment and medium |
CN116389323A (en) * | 2023-02-20 | 2023-07-04 | 深圳开鸿数字产业发展有限公司 | Throughput test method, device and storage medium |
Non-Patent Citations (1)
Title |
---|
基于WinPcap的网络吞吐量测试的设计与实现;康小军;何方白;;电子科技;20071115(第11期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN117082556A (en) | 2023-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12212984B2 (en) | Method, user equipment, base station, and system for enhancing reliability of wireless communication | |
JP4706840B2 (en) | Transmission time difference measuring method and system | |
JP5075019B2 (en) | Mobile communication terminal apparatus and transmission power setting method | |
JP5625679B2 (en) | In-vehicle device and congestion control method | |
EP1452887A2 (en) | Method for calculating the position of a mobile terminal, positioning system, and position calculation apparatus | |
EP1863314A2 (en) | Location service providing system and method for providing triggered location request service | |
EP2765811A1 (en) | Method, apparatus, terminal and computer program product for determining transmission mode | |
EP1863309A1 (en) | Mobile terminal of cdma system, mobile communication method of cdma system, and communication quality estimating method | |
EP1985030B1 (en) | Guidance device and guidance method | |
CN111465090A (en) | Wireless data transmission method and device, storage medium and terminal | |
JP2019531614A (en) | COMMUNICATION METHOD, TERMINAL DEVICE, AND NETWORK DEVICE | |
JP5715537B2 (en) | Wireless LAN sensing device, wireless LAN station, and program | |
CN117082556B (en) | Throughput test method, detection device and system of wireless communication device | |
US20220393831A1 (en) | Reference signaling schemes in wireless communications | |
AU2021272413B2 (en) | Channel quality indicator reporting method and integrated access backhaul node | |
CN113542215B (en) | Method and related device for improving streaming media transmission performance | |
EP2144461A2 (en) | Insensitive area detecting method and apparatus for the same in radio communication system | |
CN113473405B (en) | Method, device, computer storage medium and terminal for realizing power adjustment | |
US10624043B2 (en) | Method for adjusting radio-frequency power, ZigBee router, sensor and system | |
EP4489463A1 (en) | Measurement method and apparatus | |
EP4175204A1 (en) | Parsing method for received channel power indicator value, and device and storage medium | |
JP6098698B2 (en) | In-vehicle device and congestion control method | |
CN113992279A (en) | Interaction method of antenna calibration signaling, radio frequency unit, baseband processing unit and base station | |
JP4426898B2 (en) | Wireless data transmitter, wireless data transmission system, and wireless data transmission method | |
US10536976B2 (en) | Method for access to a communication medium of the CSMA type |
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 |