摘要 |
The present invention provides a method and system for measuring a frame loss ratio. The method includes: a first end acquiring a frame number of a received current measurement reply frame and a frame number of a received previous measurement reply frame, wherein the current measurement reply frame and the previous measurement reply frame are sent by a second end in response to a frame loss ratio measurement message frame sent by the first end; the first end judging whether the difference between the frame number of the current measurement reply frame and the frame number of the previous measurement reply frame is 1; if the difference is 1, the first end calculating the frame loss ratio according to count information carried in the current measurement reply frame and the previous measurement reply frame; and if the difference is greater than 1, the first end calculating the frame loss ratio according to the count information carried in the current measurement reply frame and the previous measurement reply frame and the difference. The present invention solves the problem in the prior art that frame loss ratio measurement is inaccurate in the case that a protocol frame is lost, thereby achieving the technical effect of accurately measuring the frame loss ratio. |