IP Library Granted Patent US 9,143,425
Granted Patent B2
US 9,143,425 · App. 13/691,342 · Granted Sep 22, 2015

Method and apparatus for measuring performance of multi-service in tunnel

Inventors: Xinchun Guo (Shenzhen, CN); Guoyi Chen (Beijing, CN); Jian Li (Beijing, CN); Wei Cao (Santa Clara, CA); Li Xue (Beijing, CN); Jihong Mei (Shenzhen, CN); Zhanbin Wang (Langfang, CN)
Assignee: Huawei Technologies Co., Ltd.
H04L43/50H04L12/4633H04L41/5009H04L43/0829H04L43/0852H04L43/10H04L45/26H04L45/70H04L43/087H04L43/0835H04L43/0858H04L43/0864
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,143,425
App. No.
13/691,342
Granted
Sep 22, 2015
Kind
B2
Abstract

Embodiments of the present invention provide a method for measuring performance of multi-service in a tunnel, including: receiving a measurement message corresponding to a service packet, where a priority of the measurement message is the same as that of the service packet, and the measurement message includes at least one of the three: a packet loss measurement parameter, a delay measurement parameter, and a variation measurement parameter; and measuring performance of a service in a tunnel according to a measurement parameter in the measurement message. According to the embodiments of the present invention, a problem that performance measurement cannot be performed for different services transmitted in a tunnel in the prior art may be solved.

Claims (61)

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.

2. The method according to claim 1 , wherein receiving the measurement message corresponding to the service packet comprises at least one of:

determining a measurement period of the service packet in the tunnel, and receiving the measurement message corresponding to the service packet in the measurement period; and

receiving the measurement message sent as required corresponding to the service packet.

3. The method according to claim 2 , wherein determining the measurement period of the service packet in the tunnel comprises one of:

receiving acknowledgement information of a negotiation message, wherein the negotiation message is used to negotiate measurement periods for multiple types of service packets simultaneously or used to negotiate a measurement period for one type of service packet, and the negotiation message comprises an extended type-length-value (TLV); and

defining a measurement period of the service packet before sending the measurement packet.

4. The method according to claim 3 , wherein when the negotiation message is used to negotiate the measurement periods for the multiple types of service packets simultaneously, the value field of the extended TLV comprises:

a service identification field for identifying a service, the performance of which is to be measured; and

a measurement period of the service, the performance of which is to be measured.

5. The method according to claim 2 , wherein the measurement period comprises at least one of the three: a packet loss measurement period, a delay measurement period, and a variation measurement period.

6. The method according to claim 1 , 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.

7. 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; 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 further comprises:

identifying the service packet by using a priority identification field; and

identifying the measurement message corresponding to the service packet by using a priority identification field, wherein the priority identification field of the service packet is the same as that of the corresponding measurement message;

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;

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;

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/or

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.

8. 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 a 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;

calculating a far-end packet loss rate of the service packet through returning count and receiving count that are in the extended BFD packet; and/or

calculating a two-way delay of the service packet through local time when the extended BFD packet is received by a receiving end, and transmitting time, returning time, and receiving time that are in the extended BFD packet.

9. The method according to claim 8 , wherein receiving the measurement message corresponding to the service packet comprises at least one of:

determining a measurement period of the service packet in the tunnel, and receiving the measurement message corresponding to the service packet in the measurement period; and

receiving the measurement message sent as required corresponding to the service packet.

10. The method according to claim 9 , wherein determining the measurement period of the service packet in the tunnel comprises one of:

receiving acknowledgement information of a negotiation message, wherein the negotiation message is used to negotiate measurement periods for multiple types of service packets simultaneously or used to negotiate a measurement period for one type of service packet, and the negotiation message comprises an extended type-length-value (TLV); and

defining a measurement period of the service packet before sending the measurement packet.

11. The method according to claim 10 , wherein when the negotiation message is used to negotiate the measurement periods for the multiple types of service packets simultaneously, the value field of the extended TLV comprises:

a service identification field for identifying a service, the performance of which is to be measured; and

a measurement period of the service, the performance of which is to be measured.

12. The method according to claim 9 , wherein the measurement period comprises at least one of the three: a packet loss measurement period, a delay measurement period, and a variation measurement period.

13. 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; 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 further comprises:

identifying the service packet by using a priority identification field; and

identifying the measurement message corresponding to the service packet by using a priority identification field, wherein the priority identification field of the service packet is the same as that of the corresponding measurement message;

wherein measuring performance of a 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;

calculating a far-end packet loss rate of the service packet through returning count and receiving count that are in the extended BFD packet; and/or

calculating a two-way delay of the service packet through local time when the extended BFD packet is received by a receiving end, and transmitting time, returning time, and receiving time that are in the extended BFD packet.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 18, 2015
From: GUO, XINCHUN; CHEN, GUOYI; LI, JIAN; CAO, WEI; XUE, LI; MEI, JIHONG; WANG, ZHANBIN
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 036351/0299 →
Continuity (2)
Continuation PCTCN2009073659 · Sep 1, 2009
Related Publication 20130088994A1 · Apr 11, 2013