Method, device, equipment and medium for selecting data transmission rate

By presetting the historical transmission results of each optional data transmission rate in the wireless communication system, the target data transmission rate with the maximum expected throughput is determined, which solves the problem of low reliability of the data transmission rate selection algorithm in the prior art, and improves the accuracy and reliability of the selection.

CN119767361APending Publication Date: 2025-04-04TP-LINK INT SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411478304.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-22
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

In the existing wireless communication system, the data transmission rate selection algorithm based on detecting the current transmission environment is low in reliability, and is affected by factors such as environmental noise and multipath interference, resulting in inaccurate or fluctuations in signal quality measurement results.

Method used

By obtaining the historical transmission results of each optional data transmission rate and presetting them, the processed results conform to the monotonic rule, and then determining the data transmission rate with the maximum expected throughput as the target rate.

Benefits of technology

It improves the accuracy and reliability of data transmission rate selection, and reduces data transmission rate selection errors caused by inaccurate signal quality measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119767361A_ABST
    Figure CN119767361A_ABST
Patent Text Reader

Abstract

The present application discloses a method for selecting a data transmission rate, including: obtaining historical transmission results of various optional data transmission rates; presetting the historical transmission results of various optional data transmission rates so that the various optional data transmission rates after the presetting processing and the historical transmission results of various optional data transmission rates satisfy that the higher the optional data transmission rate, the fewer the number of successfully transmitted data packets of the optional data transmission rate, or the higher the optional data transmission rate, the lower the historical transmission success rate of the optional data transmission rate; determining the optional data transmission rate with the largest expected throughput among various optional data transmission rates and using it as the target data transmission rate for this data transmission task, and the expected throughput of the optional data transmission rate is determined based on the historical transmission results of the optional data transmission rate after the presetting processing. The scheme provided by the present application can improve the reliability of data transmission rate selection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of wireless transmission technology, and in particular, relates to a method, device, equipment and medium for selecting a data transmission rate. Background Art

[0002] In the field of wireless communications, the selection of data transmission rate is a crucial decision-making process. First of all, the data transmission rate is directly related to the quality of user experience. A suitable data transmission rate can ensure smooth video calls, fast file transfers, and real-time response of online games, thereby providing users with high-quality communication services. In addition, the selection of data transmission rate also profoundly affects the overall efficiency of the network. By accurately adjusting the data transmission rate, the network can maximize the use of existing resources while ensuring the quality of communication, avoiding resource waste and congestion. Therefore, in the design, deployment and operation of wireless communication systems, full attention should be paid to the importance of data transmission rate selection, and corresponding technical means and management strategies should be adopted to ensure its scientific, reasonable and effective.

[0003] At present, most data transmission rate selection algorithms determine the transmission success probability corresponding to the optional data transmission rate by detecting the current transmission environment, and further select the optimal optional data transmission rate as the target data transmission rate for the data transmission task based on the transmission success probability corresponding to each optional data transmission rate. However, when detecting the signal quality of the current transmission environment, it will be affected by factors such as environmental noise and multipath interference, resulting in inaccurate or fluctuating signal quality measurement results, thereby affecting the accuracy of the data transmission rate selection algorithm based on detecting the current transmission environment to adaptively adjust the data transmission rate. Therefore, the data transmission rate selection algorithm based on detecting the current transmission environment has low reliability. Summary of the invention

[0004] The embodiment of the present application provides an implementation scheme different from the related art to solve the technical problem in the related art that the reliability of the rate selection algorithm based on detecting the current transmission environment is low.

[0005] In a first aspect, the present application provides a method for selecting a data transmission rate, comprising:

[0006] Get historical transmission results for each selectable data transmission rate;

[0007] Preset processing is performed on the historical transmission results of each optional data transmission rate, so that each optional data transmission rate after the preset processing and the historical transmission results of each optional data transmission rate satisfy a first preset monotonicity rule or a second preset monotonicity rule, the first preset monotonicity rule is that the higher the optional data transmission rate, the fewer the number of successfully transmitted data packets of the optional data transmission rate, and the second preset monotonicity rule is that the higher the optional data transmission rate, the lower the historical transmission success rate of the optional data transmission rate;

[0008] Determine the optional data transmission rate with the largest expected throughput among the various optional data transmission rates, and use the optional data transmission rate with the largest expected throughput as the target data transmission rate for this data transmission task, wherein the expected throughput of the optional data transmission rate is determined based on the historical transmission results of the optional data transmission rate after the preset processing.

[0009] In this embodiment, a new data transmission rate selection scheme is provided. For the historical transmission results of each optional data transmission rate obtained, data that may not conform to the actual situation in the historical transmission results of each optional data transmission rate will be actively corrected to improve the accuracy of the historical transmission results, and the corrected historical transmission results will be further used to determine the optional data transmission rate with the highest expected throughput, and the optional data transmission rate will be used as the target data transmission rate for this data transmission task, thereby improving the accuracy of determining the target data transmission rate and achieving the technical effect of improving the reliability of data transmission rate selection.

[0010] In one embodiment, the presetting of the historical transmission results of the various optional data transmission rates includes:

[0011] Arrange the optional data transmission rates in order of their respective values ​​to obtain an optional data transmission rate sequence;

[0012] For two adjacent optional data transmission rates in the optional data transmission rate sequence, if the number of packets of successfully transmitted data packets of the two adjacent optional data transmission rates does not satisfy the first preset monotonicity rule, the number of packets of successfully transmitted data packets of the two optional data transmission rates is adjusted so that the number of packets of successfully transmitted data packets of the two optional data transmission rates after adjustment satisfies the first preset monotonicity rule.

[0013] In this embodiment, the historical transmission results of each optional data transmission rate are adjusted so that the number of successfully transmitted data packets of the two optional data transmission rates after adjustment conforms to the general data transmission rules, and data that does not conform to the actual situation and may appear in the historical transmission results of each optional data transmission rate are corrected, providing a more reliable basis for subsequent data transmission rate selection.

[0014] In one embodiment, determining the expected throughput corresponding to the optional data transmission rate according to the historical transmission result of the optional data transmission rate after the preset processing includes:

[0015] Generate a first random number and a second random number that obey a first gamma distribution and a second gamma distribution, respectively, wherein a shape parameter of the first gamma distribution is determined based on the number of successfully transmitted data packets at the adjusted optional data transmission rate, and a shape parameter of the second gamma distribution is determined based on the number of failed data packets at the optional data transmission rate;

[0016] Dividing the first random number by the sum of the first random number and the second random number to obtain a historical transmission success rate corresponding to the optional data transmission rate;

[0017] An estimated throughput corresponding to the selectable data transmission rate is determined based on a historical transmission success rate corresponding to the selectable data transmission rate.

[0018] In this embodiment, by respectively generating the first random number and the second random number obeying the first gamma distribution and the second gamma distribution, the success and failure of the data packet during transmission can be simulated more accurately, thereby improving the reliability of data transmission rate selection.

[0019] In one embodiment, the presetting of the historical transmission results of the various optional data transmission rates includes:

[0020] Arrange the optional data transmission rates in order of their respective values ​​to obtain an optional data transmission rate sequence;

[0021] For two adjacent optional data transmission rates in the optional data transmission rate sequence, determining historical transmission success rates corresponding to the two optional data transmission rates based on the number of successfully transmitted data packets and the number of failed transmitted data packets of the two optional data transmission rates respectively;

[0022] If the historical transmission success rates corresponding to each of the two adjacent optional data transmission rates do not satisfy the second preset monotonicity rule, the sizes of the historical transmission success rates corresponding to each of the two optional data transmission rates are adjusted so that the adjusted historical transmission success rates corresponding to each of the two optional data transmission rates satisfy the second preset monotonicity rule.

[0023] In this embodiment, the historical transmission results of each optional data transmission rate are adjusted so that the number of successfully transmitted data packets of the two optional data transmission rates after adjustment conforms to the general data transmission rules, and data that does not conform to the actual situation and may appear in the historical transmission results of each optional data transmission rate are corrected, providing a more reliable basis for subsequent data transmission rate selection.

[0024] In one embodiment, determining the expected throughput corresponding to the optional data transmission rate according to the historical transmission result of the optional data transmission rate after the preset processing includes:

[0025] For each of the optional data transmission rates, the transmission success rate of the adjusted optional data transmission rate is multiplied by the optional data transmission rate to obtain an estimated throughput corresponding to the optional data transmission rate.

[0026] In this embodiment, the estimated throughput corresponding to each optional data transmission rate can be accurately and quickly obtained, which provides strong support for subsequent data transmission rate selection.

[0027] In one embodiment, if the current data transmission task meets the preset period, before performing preset processing on the historical transmission results of each optional data transmission rate, the method further includes:

[0028] Data smoothing processing is performed on the historical transmission results of each optional data transmission rate.

[0029] In this embodiment, data smoothing processing of historical transmission results of selectable data transmission rates can eliminate or reduce random fluctuations and noise in historical transmission results, making the data smoother and more stable, and helping to improve reliability when selecting a data transmission rate.

[0030] In one embodiment, determining the selectable data transmission rate with the highest expected throughput among the selectable data transmission rates includes:

[0031] Traverse each optional data transmission rate in order from high to low;

[0032] If the limit throughput corresponding to the currently selected optional data transmission rate traversed is greater than the current maximum throughput, determining the expected throughput corresponding to the currently selected optional data transmission rate according to the historical transmission result of the currently selected optional data transmission rate after the preset processing, wherein the currently selected maximum throughput is equal to the maximum value of at least one expected throughput corresponding to at least one of the previously traversed optional data transmission rates, and the initial value of the currently selected maximum throughput is equal to 0;

[0033] If the limit throughput corresponding to the current optional data transmission rate is not greater than the current maximum throughput, stop determining the difference between the limit throughput corresponding to the optional data transmission rate that has not been traversed and the current maximum throughput;

[0034] The optional data transmission rate with the largest expected throughput among the various optional data transmission rates is the optional data transmission rate corresponding to the current maximum throughput determined after the traversal is completed.

[0035] In this embodiment, the step of calculating the expected throughput for the current optional data transmission rate is performed only when the limit throughput corresponding to the current optional data transmission rate is greater than the current maximum throughput, and when the limit throughput corresponding to the current optional data transmission rate is not greater than the current maximum throughput, it can be confirmed that the expected throughput of the current optional data transmission rate and the optional data transmission rate that has not yet been traversed must not be greater than the current maximum throughput, and therefore the determination of the size between the limit throughput corresponding to the optional data transmission rate that has not yet been traversed and the current maximum throughput is stopped, that is, the expected throughput of the optional data transmission rate that has not yet been traversed is no longer calculated, thereby skipping the determination of certain optional data transmission rates, which can save computing resources.

[0036] In a second aspect, the present application provides a device for selecting a data transmission rate, comprising:

[0037] An acquisition unit, used for acquiring historical transmission results of each optional data transmission rate;

[0038] a historical transmission result processing unit, configured to perform preset processing on the historical transmission results of each optional data transmission rate, so that each optional data transmission rate after the preset processing and the historical transmission results of each optional data transmission rate satisfy a first preset monotonicity rule or a second preset monotonicity rule, wherein the first preset monotonicity rule is that the higher the optional data transmission rate, the fewer the number of successfully transmitted data packets of the optional data transmission rate, and the second preset monotonicity rule is that the higher the optional data transmission rate, the lower the historical transmission success rate of the optional data transmission rate;

[0039] A target data transmission rate determination unit is used to determine the optional data transmission rate with the largest expected throughput among the various optional data transmission rates, and use the optional data transmission rate with the largest expected throughput as the target data transmission rate of this data transmission task, wherein the expected throughput of the optional data transmission rate is determined based on the historical transmission results of the optional data transmission rate after the preset processing.

[0040] In a third aspect, the present application provides an electronic device, including:

[0041] Processor; and

[0042] A memory, configured to store executable instructions of the processor;

[0043] The processor is configured to execute the first aspect, or any method in any possible implementation manner of the first aspect, by executing the executable instructions.

[0044] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the computer program implements the first aspect, or any method in any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following is a brief introduction to the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0046] Figure 1 A flowchart of a method for selecting a data transmission rate provided in one embodiment of the present application;

[0047] Figure 2 A schematic diagram of the structure of a data transmission rate selection device provided in one embodiment of the present application;

[0048] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, but cannot be understood as limiting the present application.

[0050] The terms "first" and "second" etc. in the specification, claims and drawings of the embodiments of the present application are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that this scheme is implemented in other orders in addition to the order illustrated or described in the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, the process, method, system, product or equipment comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0051] Most of the data transmission rate selection algorithms in the related art determine the transmission success probability corresponding to the optional data transmission rate by detecting the current transmission environment, and further select the optimal optional data transmission rate as the target data transmission rate for the data transmission task based on the transmission success probability corresponding to each optional data transmission rate. However, when detecting the signal quality of the current transmission environment, it will be affected by factors such as environmental noise and multipath interference, resulting in inaccurate or fluctuating signal quality measurement results, thereby affecting the accuracy of adaptively adjusting the data transmission rate based on detecting the current transmission environment. Therefore, the data transmission rate selection algorithm based on detecting the current transmission environment in the related art has low reliability.

[0052] In order to solve this technical problem, the present application provides a method, device, equipment and medium for selecting a data transmission rate, which are used to solve the technical problem in the related art that the reliability of the data transmission rate selection algorithm based on detecting the current transmission environment is low.

[0053] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0054] Figure 1 A flowchart of a method for selecting a data transmission rate provided by an exemplary embodiment of the present application is provided. The method may be applicable to a computing device. The method at least includes the following S11-S13:

[0055] S11, obtaining historical transmission results of each optional data transmission rate;

[0056] Among them, each optional data transmission rate is a theoretical rate corresponding to part or all of the rate files selected by the wireless access point AP from the modulation and coding strategy rate files according to the protocol type supported by the client. Each time a data transmission task is performed, the method provided in this application is used to select one of the optional data transmission rates as the target data transmission rate corresponding to this data transmission task.

[0057] When the data transmission rate selection method provided in the present application is used to select the optimal data transmission rate for the first data transmission task, the statistical information of each optional data transmission rate will be initialized, and the statistical information at least includes: the number of packets of successfully transmitted data packets at the optional data transmission rate, and the number of packets of failed data packets at the optional data transmission rate. The initialization statistical information corresponding to different optional data transmission rates may be different. For each optional data transmission rate, the statistical information at the time of initialization can be reasonably set by relevant personnel, and the present application does not impose any restrictions on this. Each subsequent data transmission task will select one of the optional data transmission rates as the target data transmission rate for the data transmission task. The historical transmission results of the optional data transmission rate are determined based on the actual transmission results of the completed historical data transmission tasks using the optional data transmission rate as the target data transmission rate, and the statistical information when the optional data transmission rate was initialized. As the data transmission task continues, the historical transmission results corresponding to each optional data transmission rate are also continuously updated.

[0058] S12, performing preset processing on the historical transmission results of each optional data transmission rate, so that each optional data transmission rate after the preset processing and the historical transmission results of each optional data transmission rate satisfy a first preset monotonicity rule or a second preset monotonicity rule, the first preset monotonicity rule being that the higher the optional data transmission rate, the fewer the number of successfully transmitted data packets of the optional data transmission rate, and the second preset monotonicity rule being that the higher the optional data transmission rate, the lower the historical transmission success rate of the optional data transmission rate;

[0059] Among them, the historical transmission results of the optional data transmission rate include the number of successfully transmitted data packets, the number of failed data packets and the historical transmission success rate. The historical transmission results of each optional data transmission rate are constantly updated and changed as the data transmission task continues.

[0060] For each optional data pool transmission rate, according to the common sense in the relevant field, under the same data transmission environment, the transmission success probability of the optional data transmission rate with a high data transmission rate should be lower, and the transmission success probability of the optional data transmission rate with a low data transmission rate should be higher. Therefore, in the scheme provided by the present application, for each optional data transmission rate, the historical transmission results of each optional data transmission rate and each optional data transmission rate satisfy the first preset monotonicity relationship or the second monotonicity relationship, wherein the first preset monotonicity rule is that the higher the optional data transmission rate, the fewer the number of successfully transmitted data packets of the optional data transmission rate, and the second preset monotonicity rule is that the higher the optional data transmission rate, the lower the historical transmission success rate of the optional data transmission rate.

[0061] S13. Determine the optional data transmission rate with the largest expected throughput among the various optional data transmission rates, and use the optional data transmission rate with the largest expected throughput as the target data transmission rate for this data transmission task, wherein the expected throughput of the optional data transmission rate is determined based on the historical transmission results of the optional data transmission rate after preset processing.

[0062] In the solution provided in the present application, after the historical transmission results of each optional data transmission rate are preset, the expected throughput corresponding to the optional data transmission rate is determined based on the historical transmission results after the preset processing, and the optional data transmission rate with the largest expected throughput is used as the target data transmission rate for this data transmission task.

[0063] In the process of selecting the target data transmission rate of each data transmission task, the historical transmission results of each optional data transmission rate are continuously preset, so that the historical transmission results of each optional data transmission rate after the preset processing are consistent with the actual transmission situation, further improving the accuracy of the target data transmission rate determined according to the historical transmission results of each optional data transmission rate after the preset processing, and improving the performance of the data transmission rate selection method.

[0064] In some embodiments, in S13, determining the selectable data transmission rate with the highest expected throughput among the selectable data transmission rates includes the following S01-S04:

[0065] S01, traversing each optional data transmission rate in order from high to low;

[0066] S02. If the limit throughput corresponding to the currently traversed optional data transmission rate is greater than the current maximum throughput, determine the expected throughput corresponding to the currently traversed optional data transmission rate according to the historical transmission result of the currently traversed optional data transmission rate after the preset processing, wherein the currently traversed maximum throughput is equal to the maximum value of at least one expected throughput corresponding to at least one previously traversed optional data transmission rate, and the initial value of the currently traversed maximum throughput is equal to 0;

[0067] Specifically, for the current optional data transmission rate traversed, it will be determined whether the limit throughput corresponding to the current optional data transmission rate is greater than the current maximum throughput, where if the current optional data transmission rate is the first optional data transmission rate traversed, then the current maximum throughput is equal to the initial value 0; if so, the expected throughput corresponding to the current optional data transmission rate is determined based on the historical transmission results of the current optional data transmission rate after preset processing; and the size between the current maximum throughput and the expected throughput corresponding to the current optional data transmission rate is further determined. If the expected throughput corresponding to the current optional data transmission rate is greater than the current maximum throughput, the expected throughput corresponding to the currently traversed optional data transmission rate is used as the current maximum throughput.

[0068] S03, if the limit throughput corresponding to the current optional data transmission rate is not greater than the current maximum throughput, stop determining the difference between the limit throughput corresponding to the optional data transmission rate that has not been traversed and the current maximum throughput;

[0069] S04. The optional data transmission rate with the largest expected throughput among the optional data transmission rates is the optional data transmission rate corresponding to the current maximum throughput determined after the traversal is completed.

[0070] In the scheme for determining the optional data transmission rate with the maximum expected throughput provided in the present application, each optional data transmission rate is traversed in order from high to low data transmission rates. For the current optional data transmission rate traversed, the size between the limit throughput corresponding to the current optional data transmission rate and the current maximum throughput is first determined. Only when the limit throughput corresponding to the current optional data transmission rate is greater than the current maximum throughput, the step of calculating the expected throughput for the current optional data transmission rate is performed. When the limit throughput corresponding to the current optional data transmission rate is not greater than the current maximum throughput, it can be confirmed that the expected throughput of the current optional data transmission rate and the optional data transmission rate that has not been traversed must not be greater than the current maximum throughput. Therefore, the size between the limit throughput corresponding to the optional data transmission rate that has not been traversed and the current maximum throughput is stopped, that is, the expected throughput of the optional data transmission rate that has not been traversed is no longer calculated, thereby skipping the determination of some optional data transmission rates, thereby achieving the effect of saving computing resources.

[0071] In some embodiments, in S12, the historical transmission results of each optional data transmission rate are preset, including the following S121-S122:

[0072] S121, arranging the optional data transmission rates in order of high and low data transmission rates to obtain an optional data transmission rate sequence;

[0073] Specifically, the data transmission rates may be in a descending order or in a descending order.

[0074] S122. For two adjacent optional data transmission rates in the optional data transmission rate sequence, if the number of packets of successfully transmitted data packets of two adjacent optional data transmission rates does not satisfy the first preset monotonicity rule, the number of packets of successfully transmitted data packets of the two optional data transmission rates is adjusted so that the number of packets of successfully transmitted data packets of the two adjacent optional data transmission rates after adjustment satisfies the first preset monotonicity rule.

[0075] Specifically, for example, for two adjacent optional data transmission rates j and j+1, where the data transmission rate of j is less than the data transmission rate of j+1, the number of packets α of successfully transmitted data packets of j is j The number of successfully transmitted data packets α should be greater than or equal to j+1 j+1 If it is not satisfied, then α j Increase or change α j+1 Reduce so that the adjusted α j and α j+1 Satisfy α j =MAX(α j ,α j+1 ).

[0076] In this embodiment, the historical transmission results of each optional data transmission rate are adjusted so that the number of successfully transmitted data packets of the two optional data transmission rates after adjustment conforms to the general data transmission rules, and data that does not conform to the actual situation and may appear in the historical transmission results of each optional data transmission rate are corrected, providing a more reliable basis for subsequent data transmission rate selection.

[0077] Correspondingly, in S13, the estimated throughput corresponding to the optional data transmission rate is determined according to the historical transmission result of the optional data transmission rate after the preset processing, including the following S001-S003:

[0078] S001. Generate a first random number and a second random number that obey a first gamma distribution and a second gamma distribution, respectively, wherein a shape parameter of the first gamma distribution is determined based on the number of successfully transmitted data packets at the adjusted optional data transmission rate, and a shape parameter of the second gamma distribution is determined based on the number of failed data packets at the optional data transmission rate;

[0079] In a specific embodiment provided in the present application, a shape parameter of the first gamma distribution is equal to the number of successfully transmitted data packets in the historical transmission results of the optional data transmission rate after adjustment, and a scale parameter of the first gamma distribution is equal to 1. The shape parameter of the second gamma distribution is equal to the number of failed transmission data packets in the historical transmission results of the optional data transmission rate, and the scale parameter of the second gamma distribution is equal to 1.

[0080] S002. Divide the first random number by the sum of the first random number and the second random number to obtain a historical transmission success rate corresponding to the optional data transmission rate;

[0081] S003. Determine an estimated throughput corresponding to the optional data transmission rate based on a historical transmission success rate corresponding to the optional data transmission rate.

[0082] In this embodiment, by respectively generating the first random number and the second random number obeying the first gamma distribution and the second gamma distribution, the success and failure of the data packet during transmission can be simulated more accurately, thereby improving the reliability of data transmission rate selection.

[0083] In some embodiments, determining an expected throughput corresponding to the selectable data transmission rate based on a historical transmission success rate corresponding to the selectable data transmission rate includes:

[0084] The historical transmission success rate corresponding to the selectable data transmission rate is multiplied by the selectable data transmission rate to obtain the estimated throughput corresponding to the selectable data transmission rate.

[0085] In some other embodiments, in S12, the historical transmission results of each optional data transmission rate are preset, including the following S123-S124:

[0086] S123, arranging the optional data transmission rates in order of high and low data transmission rates to obtain an optional data transmission rate sequence;

[0087] S124, for two adjacent optional data transmission rates in the optional data transmission rate sequence, determine the historical transmission success rates corresponding to the two optional data transmission rates based on the number of successfully transmitted data packets and the number of failed transmitted data packets of the two optional data transmission rates respectively;

[0088] In some embodiments, for each optional data transmission rate, the number of successfully transmitted data packets may be divided by the sum of the number of successfully transmitted data packets and the number of failed transmitted data packets to obtain a historical transmission success rate of the optional data transmission rate.

[0089] In some other embodiments, for any optional data transmission rate j among the various optional data transmission rates, a gamma distribution Γ(α j ,1) and the random number X follows the gamma distribution Γ(β j ,1) is the random number Y, then the historical transmission success rate of the optional data transmission rate j Among them, α j is the number of successfully transmitted data packets at the optional data transmission rate j, β j is the number of transmission failure packets of the optional data transmission rate j.

[0090] S125. If the historical transmission success rates corresponding to two adjacent optional data transmission rates do not satisfy the second preset monotonicity rule, adjust the sizes of the historical transmission success rates corresponding to the two adjacent optional data transmission rates so that the adjusted historical transmission success rates corresponding to the two adjacent optional data transmission rates satisfy the second preset monotonicity rule.

[0091] Specifically, for example, for two adjacent optional data transmission rates j and j+1, where the data transmission rate of j is less than the data transmission rate of j+1, then the historical transmission success rate of j is q j The number of successfully transmitted packets q should be greater than or equal to j+1 j+1 If it is not satisfied, then q j Increase or change q j+1 Smaller, so that the adjusted q and q j+1 Satisfy q j =MAX(q j ,q j+1 ).

[0092] In this embodiment, the historical transmission results of each optional data transmission rate are adjusted so that the number of successfully transmitted data packets of the two optional data transmission rates after adjustment conforms to the general data transmission rules, and data that does not conform to the actual situation and may appear in the historical transmission results of each optional data transmission rate are corrected, providing a more reliable basis for subsequent data transmission rate selection.

[0093] Accordingly, in S13, the estimated throughput corresponding to the optional data transmission rate is determined according to the historical transmission result of the optional data transmission rate after the preset processing, including:

[0094] For each optional data transmission rate, the transmission success rate of the adjusted optional data transmission rate is multiplied by the optional data transmission rate to obtain an estimated throughput corresponding to the optional data transmission rate.

[0095] In this embodiment, the estimated throughput corresponding to each optional data transmission rate can be accurately and quickly obtained, which provides strong support for subsequent data transmission rate selection.

[0096] In some embodiments, if the current data transmission task meets the preset period, before performing preset processing on the historical transmission results of each optional data transmission rate, the method further includes:

[0097] Data smoothing is performed on historical transmission results of each selectable data transmission rate.

[0098] Specifically, after performing data smoothing on the historical transmission results of each optional data transmission rate, the historical transmission results of each optional data transmission rate should be updated to the historical transmission results after data smoothing, that is, when the historical transmission results of each optional data transmission rate are preset, the historical transmission results of each optional data transmission rate are the historical transmission results after data smoothing.

[0099] Performing data smoothing on the historical transmission results of each optional data transmission rate at regular intervals can reduce the influence of the historical transmission results over a long period of time on the current data transmission rate selection.

[0100] In this embodiment, data smoothing processing of historical transmission results of selectable data transmission rates can eliminate or reduce random fluctuations and noise in historical transmission results, making the data smoother and more stable, and helping to improve reliability when selecting a data transmission rate.

[0101] In a specific embodiment provided in the present application, if, when selecting the target data transmission rate for this data transmission task, the time interval between the step of performing data smoothing on the historical transmission results of each optional data transmission rate and the last time is greater than or equal to a preset time interval, then it is determined that this data transmission task meets the preset period.

[0102] Specifically, for any optional data transmission rate, data smoothing processing is performed on the historical transmission result of the optional data transmission rate, including:

[0103] Data smoothing is performed on the number of historical successfully transmitted data packets and the number of historical failed data packets of the optional data transmission rate based on a first time interval and a second time interval respectively, wherein the first time interval is the time interval between this time and the last time data smoothing is performed on the number of successfully transmitted data packets of the optional data transmission rate, and the second time interval is the time interval between this time and the last time data smoothing is performed on the number of failed data packets of the optional data transmission rate.

[0104] More specifically, the following formula may be used to perform data smoothing on the number of successfully transmitted data packets at the optional data transmission rate:

[0105]

[0106] Among them, a' j is the number of successfully transmitted data packets at the optional data transmission rate after data smoothing, a j is the number of successfully transmitted data packets of the optional data transmission rate before processing, Δt is the time interval between the current and last data smoothing processing of the number of successfully transmitted data packets of the optional data transmission rate, i.e., the first time interval, and w α is the preset success smoothing factor, 0 <w α <1.

[0107] The following formula can be used to smooth the number of transmission failure packets of the selectable data transmission rate:

[0108]

[0109] Among them, β' j is the number of transmission failure packets of the optional data transmission rate after data smoothing, β j is the number of failed data packets of the optional data transmission rate before processing, Δt is the time interval between the current and last data smoothing processing of the number of failed data packets of the optional data transmission rate, that is, the second time interval, and w β is the preset failure smoothing factor, 0 <w β <1.

[0110] The specific values ​​of the preset success smoothing factor and the preset failure smoothing factor can be reasonably set by relevant personnel. For example, for the preset success smoothing factor, if the fluctuation of the transmission success data packet is large, a smaller preset success smoothing factor can be selected to reduce the information loss in the smoothing process; on the contrary, if the transmission success data packet is relatively stable, a larger preset success smoothing factor can be selected to obtain a smoother result.

[0111] In a specific embodiment provided in the present application, the value range of the preset success smoothing factor or the preset failure smoothing factor may be 0.1-0.3.

[0112] Since data smoothing processing of historical transmission results can make the data that is older in time from the current transmission have a smaller weight, thereby reducing the value of historical transmission data that is older in time from the current transmission, therefore, by using the historical transmission results of the current optional data transmission rate after data smoothing processing to determine the estimated throughput corresponding to the current optional data transmission rate, the influence of historical transmission data that is older in time from the current data transmission task on the results of this data transmission rate selection can be reduced.

[0113] In some embodiments, the method further comprises:

[0114] S14. Update the historical transmission result of the target data transmission rate according to the transmission result corresponding to the current data transmission task.

[0115] In some embodiments, in S14, updating the historical transmission result of the target data transmission rate according to the transmission result corresponding to the current data transmission task includes the following S141-S142:

[0116] S141, respectively adding the number of successfully transmitted data packets and the number of failed transmitted data packets corresponding to the current data transmission task to the number of successfully transmitted data packets and the number of failed transmitted data packets at the target data transmission rate before the current data transmission task, to obtain a historical transmission result of the current target data transmission rate;

[0117] S142: Perform data smoothing processing on historical transmission results of the current target data transmission rate based on a third time interval, where the third time interval is equal to the time interval between this and the last data smoothing processing on historical transmission results of the target data transmission rate.

[0118] Specifically, the number of successfully transmitted data packets at the target data transmission rate may be smoothed using the following formula:

[0119]

[0120] Among them, a' i is the number of successfully transmitted data packets at the target data transmission rate after processing, a i is the number of successfully transmitted data packets at the target data transmission rate before processing, Δt is the time interval between the current and last data smoothing processing of the number of successfully transmitted data packets at the target data transmission rate, i.e., the third time interval, and w α is the preset success smoothing factor.

[0121] The number of failed data packets at the target data transmission rate can be smoothed using the following formula:

[0122]

[0123] Among them, β' i is the number of failed data packets at the target data transmission rate after processing, β i is the number of transmission failure data packets at the target data transmission rate before processing, and Δt is the time interval between the current and last data smoothing processing on the number of transmission failure data packets at the target data transmission rate, that is, the third time interval.

[0124] The data transmission rate selection method of the present application provides a new data transmission rate selection scheme. For the historical transmission results of each optional data transmission rate obtained, the historical transmission results of each optional data transmission rate will be preset, that is, the data that may appear in the historical transmission results and does not conform to the actual situation will be actively corrected to improve the accuracy of the historical transmission results, and the historical transmission results after the preset processing will be further used to determine the optional data transmission rate with the highest expected throughput, and the optional data transmission rate will be used as the target data transmission rate for this data transmission task, thereby improving the accuracy of the determined target data transmission rate and achieving the technical effect of improving the reliability when selecting the data transmission rate.

[0125] Figure 2 A schematic diagram of the structure of a device for selecting a data transmission rate provided by an exemplary embodiment of the present application;

[0126] The device comprises:

[0127] An acquisition unit 21 is used to acquire historical transmission results of each optional data transmission rate;

[0128] The historical transmission result processing unit 22 is used to perform preset processing on the historical transmission results of each optional data transmission rate, so that each optional data transmission rate after the preset processing and the historical transmission results of each optional data transmission rate meet the first preset monotonicity rule or the second preset monotonicity rule, the first preset monotonicity rule is that the higher the optional data transmission rate, the fewer the number of successfully transmitted data packets of the optional data transmission rate, and the second preset monotonicity rule is that the higher the optional data transmission rate, the lower the historical transmission success rate of the optional data transmission rate;

[0129] The target data transmission rate determination unit 23 is used to determine the optional data transmission rate with the largest expected throughput among the various optional data transmission rates, and use the optional data transmission rate with the largest expected throughput as the target data transmission rate of this data transmission task, wherein the expected throughput of the optional data transmission rate is determined based on the historical transmission results of the optional data transmission rate after the preset processing.

[0130] In some embodiments, when the apparatus is used to perform preset processing on the historical transmission results of each optional data transmission rate, it is specifically used to:

[0131] Arrange the optional data transmission rates in order of their respective values ​​to obtain an optional data transmission rate sequence;

[0132] For two adjacent optional data transmission rates in the optional data transmission rate sequence, if the number of packets of successfully transmitted data packets of the two adjacent optional data transmission rates does not satisfy the first preset monotonicity rule, the number of packets of successfully transmitted data packets of the two optional data transmission rates is adjusted so that the number of packets of successfully transmitted data packets of the two optional data transmission rates after adjustment satisfies the first preset monotonicity rule.

[0133] In some embodiments, when the apparatus is used to determine the expected throughput corresponding to the optional data transmission rate according to the historical transmission result of the optional data transmission rate after the preset processing, it is specifically used to:

[0134] Generate a first random number and a second random number that obey a first gamma distribution and a second gamma distribution, respectively, wherein a shape parameter of the first gamma distribution is determined based on the number of successfully transmitted data packets at the adjusted optional data transmission rate, and a shape parameter of the second gamma distribution is determined based on the number of failed data packets at the optional data transmission rate;

[0135] Dividing the first random number by the sum of the first random number and the second random number to obtain a historical transmission success rate corresponding to the optional data transmission rate;

[0136] An estimated throughput corresponding to the selectable data transmission rate is determined based on a historical transmission success rate corresponding to the selectable data transmission rate.

[0137] In some embodiments, when the apparatus is used to perform preset processing on the historical transmission results of each optional data transmission rate, it is specifically used to:

[0138] Arrange the optional data transmission rates in order of their respective values ​​to obtain an optional data transmission rate sequence;

[0139] For two adjacent optional data transmission rates in the optional data transmission rate sequence, determining historical transmission success rates corresponding to the two optional data transmission rates based on the number of successfully transmitted data packets and the number of failed transmitted data packets of the two optional data transmission rates respectively;

[0140] If the historical transmission success rates corresponding to each of the two adjacent optional data transmission rates do not satisfy the second preset monotonicity rule, the sizes of the historical transmission success rates corresponding to each of the two optional data transmission rates are adjusted so that the adjusted historical transmission success rates corresponding to each of the two optional data transmission rates satisfy the second preset monotonicity rule.

[0141] In some embodiments, when the apparatus is used to determine the expected throughput corresponding to the optional data transmission rate according to the historical transmission result of the optional data transmission rate after the preset processing, it is specifically used to:

[0142] For each of the optional data transmission rates, the transmission success rate of the adjusted optional data transmission rate is multiplied by the optional data transmission rate to obtain an estimated throughput corresponding to the optional data transmission rate.

[0143] In some embodiments, if the current data transmission task meets the preset period, before performing preset processing on the historical transmission results of each optional data transmission rate, the device is further used to:

[0144] Data smoothing processing is performed on the historical transmission results of each optional data transmission rate.

[0145] In some embodiments, when determining the selectable data transmission rate with the highest expected throughput among the selectable data transmission rates, the device is specifically configured to:

[0146] Traverse each optional data transmission rate in order from high to low;

[0147] If the limit throughput corresponding to the currently selected optional data transmission rate traversed is greater than the current maximum throughput, determining the expected throughput corresponding to the currently selected optional data transmission rate according to the historical transmission result of the currently selected optional data transmission rate after the preset processing, wherein the currently selected maximum throughput is equal to the maximum value of at least one expected throughput corresponding to at least one of the previously traversed optional data transmission rates, and the initial value of the currently selected maximum throughput is equal to 0;

[0148] If the limit throughput corresponding to the current optional data transmission rate is not greater than the current maximum throughput, stop determining the difference between the limit throughput corresponding to the optional data transmission rate that has not been traversed and the current maximum throughput;

[0149] The optional data transmission rate with the largest expected throughput among the various optional data transmission rates is the optional data transmission rate corresponding to the current maximum throughput determined after the traversal is completed.

[0150] It should be understood that the device embodiment and the method embodiment may correspond to each other, and similar descriptions may refer to the method embodiment. To avoid repetition, no further description is given here. Specifically, the device may perform the above method embodiment, and the above and other operations and / or functions of each module in the device are the corresponding processes in each method in the above method embodiment, respectively, and no further description is given here for the sake of brevity.

[0151] The above describes the device of the embodiment of the present application from the perspective of the functional module in conjunction with the accompanying drawings. It should be understood that the functional module can be implemented in hardware form, can be implemented by instructions in software form, and can also be implemented by a combination of hardware and software modules. Specifically, the steps of the method embodiment in the embodiment of the present application can be completed by the hardware integrated logic circuit and / or software form instructions in the processor, and the steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or a combination of hardware and software modules in the decoding processor to perform. Optionally, the software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps in the above method embodiment in conjunction with its hardware.

[0152] Figure 3 is a schematic block diagram of an electronic device provided in an embodiment of the present application, and the electronic device may include:

[0153] The memory 301 and the processor 302, the memory 301 is used to store the computer program and transmit the program code to the processor 302. In other words, the processor 302 can call and run the computer program from the memory 301 to implement the method in the embodiment of the present application.

[0154] For example, the processor 302 may be configured to execute the above method embodiments according to instructions in the computer program.

[0155] In some embodiments of the present application, the processor 302 may include but is not limited to:

[0156] General-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.

[0157] In some embodiments of the present application, the memory 301 includes but is not limited to:

[0158] Volatile memory and / or non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM) or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus random access memory (DR RAM).

[0159] In some embodiments of the present application, the computer program may be divided into one or more modules, which are stored in the memory 301 and executed by the processor 302 to complete the method provided by the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device.

[0160] like Figure 3 As shown, the electronic device may also include:

[0161] The transceiver 303 may be connected to the processor 302 or the memory 301 .

[0162] The processor 302 may control the transceiver 303 to communicate with other devices, specifically, to send information or data to other devices, or to receive information or data sent by other devices. The transceiver 303 may include a transmitter and a receiver. The transceiver 303 may further include an antenna, and the number of antennas may be one or more.

[0163] It should be understood that the various components in the electronic device are connected via a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus and a status signal bus.

[0164] The present application also provides a computer storage medium on which a computer program is stored, and when the computer program is executed by a computer, the computer can perform the method of the above method embodiment. In other words, the present application embodiment also provides a computer program product containing instructions, and when the instructions are executed by a computer, the computer can perform the method of the above method embodiment.

[0165] When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disc (digital video disc, DVD)), or a semiconductor medium (e.g., a solid state drive (solid state disk, SSD)), etc.

[0166] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0167] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the module is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0168] The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. For example, each functional module in each embodiment of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0169] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program with a predetermined function, and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.

[0170] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for selecting a data transmission rate, characterized in that: include: Get historical transmission results for each selectable data transmission rate; Preset processing is performed on the historical transmission results of each optional data transmission rate, so that each optional data transmission rate after the preset processing and the historical transmission results of each optional data transmission rate satisfy a first preset monotonicity rule or a second preset monotonicity rule, the first preset monotonicity rule is that the higher the optional data transmission rate, the fewer the number of successfully transmitted data packets of the optional data transmission rate, and the second preset monotonicity rule is that the higher the optional data transmission rate, the lower the historical transmission success rate of the optional data transmission rate; Determine the optional data transmission rate with the largest expected throughput among the various optional data transmission rates, and use the optional data transmission rate with the largest expected throughput as the target data transmission rate for this data transmission task, wherein the expected throughput of the optional data transmission rate is determined based on the historical transmission results of the optional data transmission rate after the preset processing.

2. The method according to claim 1, characterized in that The presetting of the historical transmission results of each optional data transmission rate includes: Arrange the optional data transmission rates in order of their respective values ​​to obtain an optional data transmission rate sequence; For two adjacent optional data transmission rates in the optional data transmission rate sequence, if the number of packets of successfully transmitted data packets of the two adjacent optional data transmission rates does not satisfy the first preset monotonicity rule, the number of packets of successfully transmitted data packets of the two optional data transmission rates is adjusted so that the number of packets of successfully transmitted data packets of the two optional data transmission rates after adjustment satisfies the first preset monotonicity rule.

3. The method according to claim 2, characterized in that Determining an estimated throughput corresponding to the optional data transmission rate according to a historical transmission result of the optional data transmission rate after the preset processing, includes: Generate a first random number and a second random number that obey a first gamma distribution and a second gamma distribution, respectively, wherein a shape parameter of the first gamma distribution is determined based on the number of successfully transmitted data packets at the adjusted optional data transmission rate, and a shape parameter of the second gamma distribution is determined based on the number of failed data packets at the optional data transmission rate; Dividing the first random number by the sum of the first random number and the second random number to obtain a historical transmission success rate corresponding to the optional data transmission rate; An estimated throughput corresponding to the selectable data transmission rate is determined based on a historical transmission success rate corresponding to the selectable data transmission rate.

4. The method according to claim 1, characterized in that The presetting of the historical transmission results of each optional data transmission rate includes: Arrange the optional data transmission rates in order of their respective values ​​to obtain an optional data transmission rate sequence; For two adjacent optional data transmission rates in the optional data transmission rate sequence, determining historical transmission success rates corresponding to the two optional data transmission rates based on the number of successfully transmitted data packets and the number of failed transmitted data packets of the two optional data transmission rates respectively; If the historical transmission success rates corresponding to each of the two adjacent optional data transmission rates do not satisfy the second preset monotonicity rule, the sizes of the historical transmission success rates corresponding to each of the two optional data transmission rates are adjusted so that the adjusted historical transmission success rates corresponding to each of the two optional data transmission rates satisfy the second preset monotonicity rule.

5. The method according to claim 4, characterized in that Determining an estimated throughput corresponding to the optional data transmission rate according to a historical transmission result of the optional data transmission rate after the preset processing, includes: For each of the optional data transmission rates, the transmission success rate of the adjusted optional data transmission rate is multiplied by the optional data transmission rate to obtain an estimated throughput corresponding to the optional data transmission rate.

6. The method according to claim 1, characterized in that If the current data transmission task meets the preset period, before performing preset processing on the historical transmission results of each optional data transmission rate, the method further includes: Data smoothing processing is performed on the historical transmission results of each optional data transmission rate.

7. The method according to claim 1, characterized in that Determining a selectable data transmission rate with the highest expected throughput among the selectable data transmission rates includes: Traverse each optional data transmission rate in order from high to low; If the limit throughput corresponding to the currently selected optional data transmission rate traversed is greater than the current maximum throughput, determining the expected throughput corresponding to the currently selected optional data transmission rate according to the historical transmission result of the currently selected optional data transmission rate after the preset processing, wherein the currently selected maximum throughput is equal to the maximum value of at least one expected throughput corresponding to at least one of the previously traversed optional data transmission rates, and the initial value of the currently selected maximum throughput is equal to 0; If the limit throughput corresponding to the current optional data transmission rate is not greater than the current maximum throughput, stop determining the difference between the limit throughput corresponding to the optional data transmission rate that has not been traversed and the current maximum throughput; The optional data transmission rate with the largest expected throughput among the various optional data transmission rates is the optional data transmission rate corresponding to the current maximum throughput determined after the traversal is completed.

8. A rate selection device, characterized in that: include: An acquisition unit, used for acquiring historical transmission results of each optional data transmission rate; a historical transmission result processing unit, configured to perform preset processing on the historical transmission results of each optional data transmission rate, so that each optional data transmission rate after the preset processing and the historical transmission results of each optional data transmission rate satisfy a first preset monotonicity rule or a second preset monotonicity rule, wherein the first preset monotonicity rule is that the higher the optional data transmission rate, the fewer the number of successfully transmitted data packets of the optional data transmission rate, and the second preset monotonicity rule is that the higher the optional data transmission rate, the lower the historical transmission success rate of the optional data transmission rate; A target data transmission rate determination unit is used to determine the optional data transmission rate with the largest expected throughput among the various optional data transmission rates, and use the optional data transmission rate with the largest expected throughput as the target data transmission rate of this data transmission task, wherein the expected throughput of the optional data transmission rate is determined based on the historical transmission results of the optional data transmission rate after the preset processing.

9. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 7 by executing the executable instructions.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.