摘要 |
The present invention provides a packet loss detection method and system, a sending device and a receiving device. The method comprises: a receiving end receiving service packets with a color belonging to a first chromatograph; the receiving end making statistics on the number of the service packets with the color belonging to the first chromatograph; after receiving a detection packet, the receiving end continuing making statistics on the number of the service packets with the color belonging to the first chromatograph, the detection packet carrying the number, sent by a sending end, of service packets with the color belonging to the chromatograph; and when a preset condition is satisfied, the receiving end stopping making statistics on the number of service packets with the color belonging to the first chromatograph, the number, obtained in the statistics of the receiving end, of the service packets with the color belonging to the first chromatograph and the number, carried in the detection packet and sent by the sending end, of the service packets with the color belonging to the first chromatograph being used for calculating the number of lost packets. Embodiments of the present invention improve the accuracy of packet loss detection. |