A method and apparatus for adaptive adjustment of data transmission rate

By calculating the distance between the sender and receiver, the data transmission rate is adjusted to solve the problem of long-distance retransmission in the 802.11 protocol, thus achieving more efficient data transmission.

CN122160013APending Publication Date: 2026-06-05SPREADTRUM COMMUNICATION (SHANGHAI) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SPREADTRUM COMMUNICATION (SHANGHAI) CO LTD
Filing Date
2026-01-27
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

Under the 802.11 protocol, the sending end cannot use the optimal transmission rate for data transmission, which leads to an increase in the number of retransmissions when the receiving end is far away from the sending end, resulting in a decrease in overall throughput.

Method used

The second rate is determined by calculating the distance between the sender and receiver, and data transmission is adjusted using three rates: the first rate, the second rate, and the third rate. The rate is adjusted based on the packet loss rate to reduce the number of retransmissions.

Benefits of technology

It effectively reduces the number of message retransmissions, improves data transmission rate and overall throughput performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122160013A_ABST
    Figure CN122160013A_ABST
Patent Text Reader

Abstract

The application provides a data transmission rate self-adaptive adjustment method and device, wherein the method comprises the following steps: controlling a sending end to send data packets to a receiving end at a predetermined first rate; calculating a first packet loss rate and judging whether the first packet loss rate is greater than a preset threshold; if yes, controlling the sending end to send data packets to the receiving end at a predetermined second rate; calculating a second packet loss rate and judging whether the second packet loss rate is greater than the preset threshold; if yes, controlling the sending end to send data packets to the receiving end at a predetermined third rate; wherein the first rate is greater than the second rate, and the second rate is greater than the third rate; the first rate and the third rate are determined according to the second rate, and the second rate is determined based on the distance between the sending end and the receiving end. The application can effectively reduce the packet retransmission times, improve the data transmission rate and the overall throughput performance by calculating the distance between the sending end and the receiving end to determine the second rate and then sending data at the three rates.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technology, and in particular to a method and apparatus for adaptive adjustment of data transmission rate. Background Technology

[0002] The 802.11 protocol supports multiple transmission rates. During data transmission, the sending end is usually unable to use the optimal transmission rate for data transmission.

[0003] Typically, the sending end first transmits data at the highest transmission rate. If the transmission fails, it retransmits several times. If it still fails, it gradually reduces the transmission rate before transmitting data again. In this way, if the receiving end is far away from the sending end, each transmission will inevitably undergo a large number of retransmissions, resulting in a decrease in overall throughput. Summary of the Invention

[0004] In view of this, this application provides a data transmission rate adaptive adjustment method and apparatus to solve the above-mentioned technical problems.

[0005] In a first aspect, embodiments of this application provide a data transmission rate adaptive adjustment method, comprising:

[0006] Control the sending end to send data packets to the receiving end at a predetermined first rate; Calculate the first packet loss rate and determine whether the first packet loss rate is greater than a preset threshold; If so, control the sending end to send data packets to the receiving end at a predetermined second rate; Calculate the second packet loss rate, and determine if the second packet loss rate is greater than a preset threshold. If so, The sending end is controlled to send data packets to the receiving end at a predetermined third rate; wherein the first rate is greater than the second rate, and the second rate is greater than the third rate; the first rate and the third rate are determined according to the second rate, and the second rate is determined based on the distance between the sending end and the receiving end.

[0007] In one possible implementation, the first packet loss rate is calculated, including: Obtain sampling time Number of packets lost by the sending network card and sampling time The number of packets lost by the receiving network card ; The packet loss rate is calculated using the following formula. : .

[0008] In one possible implementation, the method further includes: Calculate the distance between the sender and receiver; Calculate the optimal rate based on channel bandwidth, modulation order and coding rate of the tuning method, guard interval, number of spatial streams, distance and signal-to-noise ratio.

[0009] In one possible implementation, the method further includes: The optimal rate is determined as the second rate; The product of the optimal rate and the first factor is determined as the first rate, wherein the first factor is greater than 1; The product of the optimal rate and the second factor is determined as the third rate, wherein the second factor is less than 1.

[0010] In one possible implementation, the distance between the sender and receiver is calculated, including: Control the receiving end at time Send carrying time to the sender FTM frames; At time of sending Received carry time The FTM frame sends an acknowledgment to the receiving end. The receiving end at time Upon receiving confirmation, send a time-carrying message to the sender. FTM frames; At time of sending Received carry time FTM frames; Calculate the distance using the following formula. :

[0011] in, It's the speed of light.

[0012] In one possible implementation, the optimal rate is calculated based on the channel bandwidth, modulation order and coding rate of the tuning method, guard interval, number of spatial streams, distance, and signal-to-noise ratio, including: The optimal rate is calculated using the following formula. :

[0013] in, Channel bandwidth; The modulation order of the tuning mode; Encoding rate for debugging mode; For protection intervals; For the number of space flows; ; As a comprehensive efficiency factor, For distance, This refers to the signal-to-noise ratio.

[0014] In one possible implementation, the formula for calculating the overall efficiency factor is:

[0015] in, Demodulation threshold for target, This is the distance attenuation factor.

[0016] Secondly, embodiments of this application provide a data transmission rate adaptive adjustment device, comprising: The first transmitting unit is used to control the transmitting end to send data packets to the receiving end at a predetermined first rate; The first judgment unit is used to calculate the first packet loss rate and determine whether the first packet loss rate is greater than a preset threshold; if so, it proceeds to the second sending unit. The second transmitting unit is used to control the transmitting end to send data packets to the receiving end at a predetermined second rate; The second judgment unit is used to calculate the second packet loss rate and determine whether the second packet loss rate is greater than a preset threshold; if so, it proceeds to the third sending unit. The third sending unit is used to control the sending end to send data packets to the receiving end at a predetermined third rate; wherein the first rate is greater than the second rate, and the second rate is greater than the third rate; the first rate and the third rate are determined according to the second rate, and the second rate is determined based on the distance between the sending end and the receiving end.

[0017] Thirdly, embodiments of this application provide an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method of embodiments of this application.

[0018] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the methods of embodiments of this application.

[0019] Fifthly, embodiments of this application provide a computer program product, including a computer program / instructions, which, when executed by a processor, implement the method of embodiments of this application.

[0020] This application determines the second rate by calculating the distance between the sender and receiver, and then sends data through three rates, which can effectively reduce the number of message retransmissions and improve the data transmission rate and overall throughput performance. Attached Figure Description

[0021] To more clearly illustrate the technical solutions in the specific embodiments of this application or the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0022] Figure 1 A flowchart of the data transmission rate adaptive adjustment method provided in the embodiments of this application; Figure 2 A schematic diagram illustrating the calculation of the distance between the transmitting end and the receiving end, provided for an embodiment of this application; Figure 3 A functional structure diagram of the data transmission rate adaptive adjustment device provided in the embodiments of this application; Figure 4 This is a structural diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0023] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0024] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0025] First, a brief introduction to the design concept of the embodiments of this application will be given.

[0026] Current adaptive rate adjustment methods for data transmission mainly fall into two categories. The first is channel detection-based methods, including RTS / CTS detection, which requires modification of the MAC frame format. The second is statistical methods, including judging channel quality based on throughput or ACK frame statistics. Neither of these algorithms considers the distance between the sender and receiver. Therefore, at long distances, each transmission inevitably involves numerous retransmissions, leading to reduced overall throughput and low algorithm efficiency.

[0027] Wi-Fi RTT (Round-Trip Time) technology is an indoor positioning technology based on Wi-Fi signals. It determines the location of a mobile device by calculating the round-trip time of the Wi-Fi signal, thereby obtaining the distance between the transmitter and receiver. Wi-Fi RTT is commonly used in indoor positioning scenarios, with accuracy down to the centimeter level.

[0028] This application uses the distance between the receiver and the transmitter as an important parameter. When transmitting at the transmitter, it selects an appropriate transmission rate based on the Wi-Fi RTT (Round-Trip Time) distance, thereby reducing the number of message retransmissions and improving overall throughput performance.

[0029] The technical solution of this application can be applied to chips, chip modules, terminals, and base stations. Based on these products, it provides users with a superior Wi-Fi data transmission rate solution.

[0030] After introducing the application scenarios and design concepts of the embodiments of this application, the technical solutions provided by the embodiments of this application will be described below.

[0031] like Figure 1 As shown in the figure, this application provides a data transmission rate adaptive adjustment method, including: Step 101: Control the sending end to send data packets to the receiving end at a predetermined first rate; Step 102: Calculate the first packet loss rate and determine whether the first packet loss rate is greater than the preset threshold; if yes, proceed to step 103. If the first packet loss rate is not greater than the preset threshold, then the first rate will continue to be used to send data.

[0032] Step 103: Control the sending end to send data packets to the receiving end at a predetermined second rate; Step 104: Calculate the second packet loss rate and determine if the second packet loss rate is greater than the preset threshold. If so, proceed to step 105. If the second packet loss rate is not greater than the preset threshold, then the second rate will continue to be used to send data.

[0033] Step 105: Control the sending end to send data packets to the receiving end at a predetermined third rate; wherein, the first rate is greater than the second rate, and the second rate is greater than the third rate; the first rate and the third rate are determined according to the second rate, and the second rate is determined based on the distance between the sending end and the receiving end.

[0034] Normally, the packet loss rate corresponding to the third rate is not greater than the preset threshold. If the packet loss rate corresponding to the third rate is greater than the preset threshold, the second rate is re-determined.

[0035] This embodiment determines the second rate by calculating the distance between the sending end and the receiving end, and then sends data through three rates, which can effectively reduce the number of message retransmissions and improve the data transmission rate and overall throughput performance.

[0036] In some embodiments, calculating the first packet loss rate includes: Obtain sampling time Number of packets lost by the sending network card and sampling time The number of packets lost by the receiving network card ; The packet loss rate is calculated using the following formula. : .

[0037] Furthermore, the calculation steps for the second packet loss rate are the same as those for the first packet loss rate.

[0038] In some embodiments, the method further includes: Calculate the distance between the sender and receiver; Calculate the optimal rate based on channel bandwidth, modulation order and coding rate of the tuning method, guard interval, number of spatial streams, distance and signal-to-noise ratio.

[0039] In some embodiments, the method further includes: The optimal rate is determined to be the second rate; The first rate is determined by multiplying the optimal rate by the first factor, where the first factor is greater than 1. The product of the optimal rate and the second factor is determined as the third rate, where the second factor is less than 1.

[0040] Prioritized, the value of the first factor is 1.1; the value of the second factor is 0.9.

[0041] In some embodiments, such as Figure 2 As shown, calculate the distance between the sender and receiver; including: The control transmitter sends an FTM (Fine Timing Measurement) request to the receiver, and the receiver replies with an acknowledgment after receiving the FTM request. Control the receiving end at time Send carrying time to the sender FTM frames; At time of sending Received carry time The FTM frame sends an acknowledgment to the receiving end. The receiving end at time Upon receiving confirmation, send a time-carrying message to the sender. FTM frames; At time of sending Received carry time FTM frames; Calculate the distance using the following formula. :

[0042] in, It's the speed of light.

[0043] In some embodiments, the optimal rate is calculated based on channel bandwidth, modulation order and coding rate of the tuning method, guard interval, number of spatial streams, distance, and signal-to-noise ratio, including: The optimal rate is calculated using the following formula. :

[0044] in, Channel bandwidth; The modulation order of the tuning mode; Encoding rate for debugging mode; For protection intervals; For the number of space flows; ; As a comprehensive efficiency factor, For distance, This refers to the signal-to-noise ratio.

[0045] For example, channel bandwidth The frequencies are: 20 MHz, 40 MHz, 80 MHz, and 160 MHz; Debugging methods include: BPSK, QPSK, 16-QAM, 64-QAM, 256-QAM, 512-QAM, 1024-QAM, 2K-QAM, and 4K-QAM; BPSK... The value is 2. The value is 0.5; QPSK's The value is 4. The value is 0.75; for 16-QAM. The value is 16. The value is 0.75; for 64-QAM. The value is 64. The value is 0.8; 256-QAM The value is 256. The value is 0.9.

[0046] The values ​​for the spatial flow number NSS are 1, 2, 4, and 8; the values ​​for the guard interval GI are 0.8 μs, 1.6 μs, and 3.2 μs. In some embodiments, the formula for calculating the overall efficiency factor is:

[0047] in, The target demodulation threshold is set to 25 dB. This is the distance attenuation factor.

[0048] Based on the same inventive concept, this application provides a data transmission rate adaptive adjustment device, see reference. Figure 3 As shown, the data transmission rate adaptive adjustment device 200 provided in this application embodiment includes at least: The first transmitting unit 201 is used to control the transmitting end to send data packets to the receiving end at a predetermined first rate; The first judgment unit 202 is used to calculate the first packet loss rate and determine whether the first packet loss rate is greater than a preset threshold; if so, it proceeds to the second sending unit 203. The second transmitting unit 203 is used to control the transmitting end to send data packets to the receiving end at a predetermined second rate; The second judgment unit 204 is used to calculate the second packet loss rate and determine whether the second packet loss rate is greater than a preset threshold; if so, it proceeds to the third sending unit 205. The third transmitting unit 205 is used to control the transmitting end to transmit data packets to the receiving end at a predetermined third rate; wherein, the first rate is greater than the second rate, and the second rate is greater than the third rate; the first rate and the third rate are determined according to the second rate, and the second rate is determined based on the distance between the transmitting end and the receiving end.

[0049] It should be noted that the principle of the data transmission rate adaptive adjustment device 200 provided in this application embodiment to solve the technical problem is similar to the method provided in this application embodiment. Therefore, the implementation of the data transmission rate adaptive adjustment device 200 provided in this application embodiment can refer to the implementation of the method provided in this application embodiment, and the repeated parts will not be described again.

[0050] Based on the same inventive concept, embodiments of this application also provide an electronic device, such as... Figure 4 As shown, it includes a memory and a processor. The memory stores an executable program, and the processor executes the executable program to implement the steps of the data transmission rate adaptive adjustment method provided in the above embodiments.

[0051] The aforementioned processor can be a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The aforementioned PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof. The general-purpose processor can be a microprocessor or any conventional processor, etc.

[0052] Since the electronic device described in this application embodiment is an electronic device equipped with a memory that implements the data transmission rate adaptive adjustment method disclosed in this application embodiment, those skilled in the art can understand the structure and variations of the electronic device described in this application embodiment based on the data transmission rate adaptive adjustment method described in this application embodiment, and therefore will not be described again here.

[0053] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the data transmission rate adaptive adjustment method provided in the above embodiments.

[0054] The storage medium in this embodiment may be included in an electronic device; or it may exist independently and not be assembled into an electronic device. The storage medium carries one or more computer programs, which, when executed, implement the steps of the data transmission rate adaptive adjustment method provided in the above embodiment.

[0055] It should be understood that the various solutions in this embodiment have the same technical effects as those in the above method embodiments, and will not be repeated here.

[0056] According to embodiments of this application, the computer-readable storage medium can be a non-volatile computer-readable storage medium, such as including but not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. Optionally, specific examples in this embodiment can refer to the examples described in any embodiment of this application, which will not be repeated here. Obviously, those skilled in the art should understand that the various modules or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this application is not limited to any particular hardware and software combination.

[0057] This application also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the data transmission rate adaptive adjustment method provided in the above embodiments.

[0058] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions targeted in the blocks may occur in a different order than those targeted in the drawings. For example, two consecutively represented blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0059] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. Multitasking and parallel processing may be advantageous in certain environments. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this application. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

Claims

1. A method for adaptive adjustment of data transmission rate, characterized in that, include: Control the sending end to send data packets to the receiving end at a predetermined first rate; Calculate the first packet loss rate and determine whether the first packet loss rate is greater than a preset threshold; If so, control the sending end to send data packets to the receiving end at a predetermined second rate; Calculate the second packet loss rate, and determine if the second packet loss rate is greater than a preset threshold. If so, The sending end is controlled to send data packets to the receiving end at a predetermined third rate; wherein the first rate is greater than the second rate, the second rate is greater than the third rate, the first rate and the third rate are determined according to the second rate, and the second rate is determined based on the distance between the sending end and the receiving end.

2. The method according to claim 1, characterized in that, The calculation of the first packet loss rate includes: Obtain sampling time Number of packets lost by the sending network card and sampling time The number of packets lost by the receiving network card ; The packet loss rate is calculated using the following formula. : 。 3. The method according to claim 1, characterized in that, The method further includes: Calculate the distance between the sender and receiver; Calculate the optimal rate based on channel bandwidth, modulation order and coding rate of the tuning method, guard interval, number of spatial streams, distance and signal-to-noise ratio.

4. The method according to claim 3, characterized in that, The method further includes: The optimal rate is determined as the second rate; The product of the optimal rate and the first factor is determined as the first rate, wherein the first factor is greater than 1; The product of the optimal rate and the second factor is determined as the third rate, wherein the second factor is less than 1.

5. The method according to claim 3, characterized in that, Calculate the distance between the sender and receiver; including: Control the receiving end at time Send carrying time to the sender FTM frames; At time of sending Received carry-on time The FTM frame sends an acknowledgment to the receiving end. The receiving end at time Upon receiving confirmation, send a time-carrying message to the sender. FTM frames; At time of sending Received carry-on time FTM frames; Calculate the distance using the following formula. : in, It's the speed of light.

6. The method according to claim 5, characterized in that, Based on channel bandwidth, modulation order and coding rate of the modulation method, guard interval, number of spatial streams, distance, and signal-to-noise ratio, calculate the optimal rate, including: The optimal rate is calculated using the following formula. : in, Channel bandwidth; The modulation order of the tuning method; Encoding rate for debugging mode; For protection intervals; For the number of space flows; ; As a comprehensive efficiency factor, For distance, This refers to the signal-to-noise ratio.

7. The method according to claim 6, characterized in that, The formula for calculating the overall efficiency factor is: in, Demodulation threshold for target, This is the distance attenuation factor.

8. A data transmission rate adaptive adjustment device, characterized in that, include: The first transmitting unit is used to control the transmitting end to send data packets to the receiving end at a predetermined first rate; The first judgment unit is used to calculate the first packet loss rate and determine whether the first packet loss rate is greater than a preset threshold. If yes, proceed to the second sending unit; The second transmitting unit is used to control the transmitting end to send data packets to the receiving end at a predetermined second rate; The second judgment unit is used to calculate the second packet loss rate and determine that the second packet loss rate is greater than a preset threshold. If yes, proceed to the third sending unit; The third sending unit is used to control the sending end to send data packets to the receiving end at a predetermined third rate; wherein the first rate is greater than the second rate, and the second rate is greater than the third rate; the first rate and the third rate are determined according to the second rate, and the second rate is determined based on the distance between the sending end and the receiving end.

9. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the method as claimed in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the method as described in any one of claims 1-7.