Data Transmission Performance Detection
First Claim
1. A method implemented by a detection device, the method comprising:
- receiving a first data packet that has a sequence number N1 and that is traveling from a sending device, through a connection, and to a receiving device, wherein the connection is based on a reliable transport protocol;
receiving, successively after receiving the first packet and at a time T1, a second packet that has a sequence number N2 and that is traveling from the sending device, through the connection, and to the receiving device;
determining that N2>
N1 and that N1 and N2 are inconsecutive;
receiving, after receiving the second data packet and at a time T2, a third data packet with sequence number M1, wherein T2>
T1; and
determining, when N1<
M1<
N2 and T2−
T1≥
RTT, that the third data packet is a retransmitted packet corresponding to an upstream packet loss,wherein RTT is a two-way latency between the sending device and the receiving device, andwherein the upstream packet loss occurs between the sending device and the detection device.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for implementing transmission performance detection includes: after successively receiving data packets whose sequence numbers are N1 and N2, determining, by a detection apparatus, that N2 is greater than N1 and that N1 and N2 are inconsecutive; after receiving the data packet whose sequence number is N2, receiving a data packet whose sequence number is M1; and when determining N1<M1<N2 and T2−T1>=RTT, determining that the data packet whose sequence number is M1 is a retransmitted packet corresponding to an upstream packet loss, where T1 is a time for receiving the data packet whose sequence number is N2, T2 is a time for receiving the data packet whose sequence number is M1.
-
Citations
20 Claims
-
1. A method implemented by a detection device, the method comprising:
-
receiving a first data packet that has a sequence number N1 and that is traveling from a sending device, through a connection, and to a receiving device, wherein the connection is based on a reliable transport protocol; receiving, successively after receiving the first packet and at a time T1, a second packet that has a sequence number N2 and that is traveling from the sending device, through the connection, and to the receiving device; determining that N2>
N1 and that N1 and N2 are inconsecutive;receiving, after receiving the second data packet and at a time T2, a third data packet with sequence number M1, wherein T2>
T1; anddetermining, when N1<
M1<
N2 and T2−
T1≥
RTT, that the third data packet is a retransmitted packet corresponding to an upstream packet loss,wherein RTT is a two-way latency between the sending device and the receiving device, and wherein the upstream packet loss occurs between the sending device and the detection device. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method implemented by a detection device, the method comprising:
-
receiving, at a time T3, a first data packet that has a sequence number K1 and that is traveling from a sending device, through a connection, and to a receiving device, wherein the connection is based on a reliable transport protocol; obtaining T3; receiving, at a time T4, a target acknowledgment packet that is traveling from the receiving device, through the connection, and to the sending device, wherein the target acknowledgment packet is a first acknowledgment packet received by the detection device and indicating that the receiving device has received the first packet or another packet with a sequence number after K1; obtaining T4; and computing a two-way latency (DRTT) between the detection device and the receiving device based on T3 and T4. - View Dependent Claims (8, 9)
-
-
10. A detection device comprising:
-
a memory comprising instructions; and a processor coupled to the memory and configured to execute the instructions to; receive a first data packet that has a sequence number N1 and that is traveling from a sending device, through a connection, and to a receiving device, wherein the connection is based on a reliable transport protocol; receive, successively after receiving the first packet and at a time T1, a second packet that has a sequence number N2 and that is traveling from the sending device, through the connection, and to the receiving device; determine that N2>
N1 and that N1 and N2 are inconsecutive;receive, after receiving the second data packet and at a time T2, a third data packet with sequence number M1, wherein T2>
T1; anddetermine, when N1<
M1<
N2 and T2−
T1≥
RTT, that the third data packet is a retransmitted packet corresponding to an upstream packet loss,wherein RTT is a two-way latency between the sending device and the receiving device, and wherein the upstream packet loss occurs between the sending device and the detection device.
-
-
11. A detection apparatus comprising:
-
a memory comprising instructions; and a processor coupled to the memory and configured to execute the instructions to; receive, at a time T3, a first data packet that has a sequence number K1 and that is traveling from a sending device, through a connection, and to a receiving device, wherein the connection is based on a reliable transport protocol; obtain T3; receive, a time T4, a target acknowledgment packet, wherein the target acknowledgment packet is traveling from the receiving device, through the connection, and to the sending device, and wherein the target acknowledgment packet is a first acknowledgment packet received by the detection device and indicating that the receiving device has received the first packet or another packet with a sequence number after K1; obtain T4; and compute a two-way latency (DRTT) between the detection apparatus and the receiving device based on T3 and T4.
-
-
12. A detection device comprising:
-
a memory comprising instructions; and a processor coupled to the memory and configured to execute the instructions to; obtaining a quantity Num1 of counted packets in a current detection period; generating a detection packet comprising a header and an empty payload, wherein the header comprises Num1; and sending the detection packet through a connection to determine whether one of the counted packets is lost, wherein the connection is based on a reliable transport protocol and is between a sending device and a receiving device. - View Dependent Claims (13, 14)
-
-
15. A detection device comprising:
-
a memory comprising instructions; and a processor coupled to the memory and configured to execute the instructions to; receiving, from an upstream device, counted packets in a current detection period; receive a detection packet comprising an empty payload; and determining, after receiving the detection packet, a quantity Num2 of the counted packets received through a connection in the current detection period, wherein the connection is based on a reliable transport protocol between a sending device and a receiving device. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification