IP Library › Granted Patent US 9,742,645
Granted Patent B2
US 9,742,645 · App. 14/830,381 · Granted Aug 22, 2017

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 (Beijing, CN); Li Xue (Shenzhen, CN); Jihong Mei (Shenzhen, CN); Zhanbin Wang (Langfang, CN)
Assignee: Huawei Technologies Co., Ltd.
H04L43/08H04L12/4633H04L41/5009H04L43/0829H04L43/0852H04L43/10H04L43/50H04L45/26H04L45/70H04L45/74H04L43/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,742,645
App. No.
14/830,381
Granted
Aug 22, 2017
Kind
B2
Abstract

Embodiments of the present application 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 jitter 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 application, a problem that performance measurement cannot be performed for different services transmitted in a tunnel in the prior art may be solved.

Claims (39)

1. A method, where the method is applied to a tunnel and the tunnel bears a plurality of class types of service packets, the plurality of class types of service packets are differentiated through their priorities, the method comprises:

sending, by a sending end, a first measurement message that carries request information, wherein a priority of the first measurement message is the same as a priority of a first service packet in the plurality of class types of service packets, and the first measurement message comprises a first packet loss measurement parameter;

receiving, by the sending ending, a second measurement message that carries response information corresponding to the first measurement message, wherein a priority of the second measurement message is the same as the priority of the first measurement message and the second measurement message comprises a second packet loss measurement parameter; and

measuring, by the sending end, packet loss performance of a first service in the tunnel according to the second packet loss measurement parameter in the second measurement message, where the first service packet belongs to the first service.

2. The method according to claim 1 , wherein sending the first measurement message and receiving the second measurement message comprises:

determining a measurement period of the first service packet in the tunnel, sending the first measurement message as required and receiving the second measurement message in the measurement period.

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

receiving, by the sending end, acknowledgement information of a negotiation message, wherein the negotiation message is used to negotiate measurement periods for one or more types of service packets;

and

defining, by the sending end, a measurement period of the service packet before sending the first measurement message.

4. The method according to claim 3 , wherein when the negotiation message comprises an extended type-length-value (TLV), a value field of the extended TLV comprises:

a service identification field for identifying the first service; and

a measurement period of the first service.

5. A method, where the method is applied to a plurality of tunnels and each of the plurality of tunnel bears a plurality of class types of service packets, the plurality of class types of service packets in one of the plurality of tunnels are differentiated through their priorities, and the plurality of tunnels are differentiated through their tunnel identifiers, the method comprises:

sending, by a sending end, a first measurement message that carries request information, wherein a priority of the first measurement message is the same as a priority of a first service packet in the plurality of class types of service packets, and a tunnel identifier of the first measurement message is the same as a tunnel identifier of the first service packet, and the first measurement message comprises a first packet loss measurement parameter;

receiving, by the sending end, a second measurement message that carries response information corresponding to the first measurement message, wherein a priority of the second measurement message is the same as a priority of the first measurement message, and a tunnel identifier of the second measurement message is the same as a tunnel identifier of the first measurement message, the second measurement message comprises a second packet loss measurement parameter; and

measuring, by the sending end, packet loss performance of a first service in the tunnel according to the second packet loss measurement parameter in the second measurement message, where the first service packet belongs to the first service.

6. The method according to claim 5 , wherein the first measurement message comprises

a priority identification field indicating the priority of the first measurement message,

and

a tunnel identification field indicating the tunnel identifier of the first measurement message; and

the second measurement message comprises:

a priority identification field indicating the priority of the second measurement message,

and

a tunnel identification field indicating the tunnel identifier of the second measurement message.

7. The method according to claim 6 , wherein the priority identification field is one of:

a traffic class (TC) field of a Multi-Protocol Label Switching (MPLS) tunnel,

and

a differentiated services code point (DSCP) field of an internet protocol (IP) tunnel.

8. The method according to claim 5 , wherein sending the first measurement message and receiving the second measurement message comprises:

determining a measurement period of the first service packet in the tunnel, sending the first measurement message as required and receiving the second measurement message in the measurement period.

9. An apparatus, where the apparatus is arranged on one end of a tunnel and the tunnel bears a plurality of class types of service packets, the plurality of class types of service packets are differentiated through their priorities, the apparatus comprises a non-transitory computer-readable storage medium storing program be executed by a computer, the program including instructions for:

sending a first measurement message that carries request information, wherein a priority of the first measurement message is the same as a priority of a first service packet in the plurality of class types of service packets, and the first measurement message comprises a first packet loss measurement parameter;

receiving a second measurement message that carries response information corresponding to the first measurement message from the other end of the tunnel, wherein a priority of the second measurement message is the same as the priority of the first measurement message, and the second measurement message comprises a second packet loss measurement parameter; and

measuring packet loss performance of a first service in the tunnel according to the second packet loss measurement parameter in the second measurement message, where the first service packet belongs to the first service.

10. An apparatus, where the apparatus is arranged on one end of a plurality of tunnels and each of the plurality of tunnel bears a plurality of class types of service packets, the plurality of class types of service packets in one of the plurality of tunnels are differentiated through their priorities, and the plurality of tunnels are differentiated through their tunnel identifiers, the apparatus comprises a non-transitory computer-readable storage medium storing program be executed by a computer, the program including instructions for:

sending a first measurement message that carries request information, wherein a priority of the first measurement message is the same as a priority of a first service packet in the plurality of class types of service packets, a tunnel identifier of the first measurement message is the same as a tunnel identifier of the first service packet, and the first measurement message comprises a first packet loss measurement parameter;

receiving a second measurement message that carries response information corresponding to the first measurement message, wherein a priority of the second measurement message is the same as the priority of the first service measurement message, a tunnel identifier of the second measurement message is the same as the tunnel identifier of the first measurement message, and the second measurement message comprises a second packet loss measurement parameter; and

measuring packet loss performance of a first service in the tunnel according to the second packet loss measurement parameter in the second measurement message, where the first service packet belongs to the first service.

Continuity (3)
Continuation 13691342 · Nov 30, 2012
Continuation PCTCN2009073659 · Sep 1, 2009
Related Publication 20150358221A1 · Dec 10, 2015