Patent ID: 9143425
Filing Date: 2015-09-22
Classification: H04L

Abstract:
1. A method for measuring performance of multi-service in a tunnel, comprising: receiving a measurement message corresponding to a service packet, wherein a priority of the measurement message is the same as a priority of the corresponding service packet, the measurement message comprises a measurement parameter, and the measurement parameter comprises at least one of the three: a packet loss measurement parameter, a delay measurement parameter, and a variation measurement parameter, wherein the measurement message is an extended bidirectional forwarding detection (BFD) packet, and the extended BFD packet comprises at least one of: a packet loss measurement TLV and a delay measurement TLV; and measuring performance of a service in a tunnel according to the measurement parameter in the measurement message; wherein before receiving the measurement message corresponding to the service packet, the method comprises: identifying the service packet by using a priority identification field and a tunnel identification field; and identifying the measurement message corresponding to the service packet by using a priority identification field and a tunnel identification field, wherein the priority identification field and the tunnel identification field of the service packet are the same as those of the corresponding measurement message; wherein measuring performance of the service in a tunnel according to the measurement message comprises: identifying, according to a priority identification field and a tunnel identification field of a received packet, a received service packet and an extended BFD packet corresponding to the service packet; at least one of: calculating a near-end packet loss rate of the service packet through transmitting count in the extended BFD packet and the number of preset-type packets that have been received by a receiving end; and calculating a one-way delay of the service packet through transmitting time in the extended BFD packet, local time when the extended BFD packet is received by the receiving end, and a time difference between a sending end and the receiving end.