Method, device and system for measuring round-trip delay
A technology of round-trip delay and measurement device, applied in the field of communication, can solve the problems of large error of RTT value, inability to measure the RTT value of the transmitting end and the receiving end, etc., and achieve the effect of dynamic tracking
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] Embodiments of the present invention provide a method for measuring round-trip delay, such as image 3 shown, including:
[0051] 101. Obtain the first time when data packet A is received on the TCP link, where the data packet A is the first data packet in the first packet group sent from the sending end to the receiving end.
[0052] 102. After receiving the acknowledgment packet of the data packet A, calculate the sending time interval between the data packet C and the data packet D sent by the sending end, the data packet C is the data packet after the data packet A, and the data packet D is a data packet adjacent to the data packet C after the data packet C.
[0053] 103. If the packet sending time interval between the data packet C and the data packet D is greater than the first threshold value and smaller than the second threshold value, the second time when the data packet D is received and the first time The difference is used as the current RTT value of the T...
Embodiment 2
[0071] Embodiments of the present invention provide a method for measuring round-trip delay, such as Figure 5 shown, including:
[0072] 201. Calculate an initial RTT value when establishing a TCP connection.
[0073] 202. Set a first threshold value and a second threshold value according to the initial RTT value, wherein the first threshold value is the product of the first proportional coefficient and the initial RTT value, and the second threshold value is the product of the second proportional coefficient and The product of the initial RTT values.
[0074] 203. Obtain the first time when data packet A is received on the TCP link, where the data packet A is the first data packet in the first packet group sent from the sending end to the receiving end.
[0075] 204. After receiving the acknowledgment packet of the data packet A, calculate the packet sending time interval between the data packet C and the data packet D sent by the sending end.
[0076] 205. If the packet ...
Embodiment 3
[0106] Embodiments of the present invention provide a round-trip delay measurement device (i.e. RTT measurement device), which is used to measure the RTT on the TCP link between the sending end and the receiving end, such as Figure 7 As shown, the device includes:
[0107] The obtaining unit 11 is configured to obtain the first time when data packet A is received on the TCP link, and the data packet A is the first data in the first packet group sent by the sending end to the receiving end Bag;
[0108] The calculation unit 12 is configured to calculate the packet sending time interval between the data packet C and the data packet D sent by the sending end after receiving the acknowledgment packet of the data packet A, and the data packet C is the A data packet after the packet A, the data packet D is a data packet adjacent to the data packet C after the data packet C; and, if the packet sent between the data packet C and the data packet D If the time interval is greater tha...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


