主权项 |
1. A method for measuring network packet loss, the method comprising:
performing, by a sending end, data packet counting processing on a service stream sent to a receiving end, to obtain a first data packet count corresponding to a measurement period identifier; sending, by the sending end, an Operation, Administration, Maintenance (OAM) packet comprising a measurement period identifier to be queried to the receiving end, wherein the OAM packet and a data packet of the service stream are transmitted on the same path; receiving, by the sending end, a second data packet count that is fed back by the receiving end after the receiving end receives the OAM packet and corresponding to the measurement period identifier to be queried, wherein the second data packet count is a count obtained by the receiving end by performing data packet counting processing on the received service stream; and determining, by the sending end, a network packet loss situation according to the first data packet count and the second data packet count. |