A data transmission rate measurement method, device, device and computer-readable medium
A technology of data transmission rate and measurement method, which is applied in the field of data transmission rate measurement method, equipment, computer readable medium, and device, and can solve problems that affect the real transmission rate of data, misjudgment, and reduce user experience.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0104] Embodiment 1 of the present invention provides a method for measuring data transmission rate, which is applied to the server side, such as figure 1 As shown, the method mainly includes:
[0105] Step 101, when receiving the ACK message from the client, update the RTT in the current sliding period.
[0106] When the server receives the ACK message from the client, the method in Embodiment 1 of the present invention is triggered to execute. Sliding cycle is a preset concept. It can be preset that each round of sliding cycle consists of a fixed number of RTTs, such as 10 or 20. Then the sliding cycle is also updated continuously with the continuous update of RTT. Whenever the server receives an ACK message from the client, it needs to update the sliding period.
[0107] Among them, updating the RTT in the current sliding cycle includes:
[0108] Get the current latest RTT;
[0109] Update the RTT list rtt_list according to the latest RTT, the updated rtt_list records N...
Embodiment 2
[0190] Corresponding to the method in Embodiment 1 of the present invention, Embodiment 2 of the present invention also provides a data transmission rate measurement device, which is applied to the server side, such as Figure 7 As shown, the device mainly includes:
[0191] The RTT updating unit 10 is configured to update the RTT in the sliding period of the current round when receiving the ACK message from the client;
[0192] The RTT obtaining unit 20 is used to calculate and obtain the maximum RTT, the minimum RTT and the average RTT in the sliding period of the current round;
[0193] A data volume obtaining unit 30, configured to obtain the current data volume in the latest RTT;
[0194] The rate calculation unit 40 is used to calculate and obtain the minimum rate, maximum rate and average rate respectively according to the amount of data in the current latest RTT, and the maximum RTT, minimum RTT and average RTT in the current round of sliding period;
[0195] Gradien...
Embodiment 3
[0230] Embodiment 3 of the present invention provides an information classification device, such as Figure 8 As shown, the device includes: a memory 21 and a processor 22, and the memory 21 stores computer programs that can run on the processor 22. When the processor 22 executes the computer program, the method for measuring the data transmission rate in the above-mentioned embodiments is realized. The number of memory 21 and processor 22 may be one or more.
[0231] The device also includes:
[0232] The communication interface 23 is used for communication between the memory 21 and the processor 22 .
[0233] The memory 21 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory.
[0234] If the memory 21 , the processor 22 and the communication interface 23 are implemented independently, the memory 21 , the processor 22 and the communication interface 23 may be connected to each other...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


