IP Library Granted Patent US 8,432,822
Granted Patent B2
US 8,432,822 · App. 12/714,660 · Granted Apr 30, 2013

Method, system and device of packet sampling

Inventors: Hong Lv (Shenzhen, CN); Peng Ma (Shenzhen, CN)
Assignee: Huawei Technologies Co., Ltd.
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 8,432,822
App. No.
12/714,660
Granted
Apr 30, 2013
Kind
B2
Abstract

A method and a system for sampling a packet as well as a device are disclosed herein. The method includes the following steps: a notification node of an LSP sends obtained information about the protocol type of a packet to a specific netflow sampling entity; the netflow sampling entity determines the protocol type of the packet according to the information about the protocol type after receiving the packet, and samples the packet according to the determined protocol type. Through the embodiments of the present invention, the accuracy of netflow sampling is improved significantly.

Claims (35)

1. A notification router adapted for sampling a packet for an intermediate node on a Label Switching Path (LSP) in a Multi-Protocol Label Switch, MPLS-based network, comprising:

an obtaining unit, configured to obtain information about a protocol type of a packet;

a determining unit, configured to determine a netflow sampling device that requires the information; and

a sending unit, configured to send the information about the protocol type of the packet to the netflow sampling device, wherein:

the notification router is an ingress node of the LSP, and the obtaining unit comprises:

a unit, configured to obtain an outer label and an inner label distributed to the packet according to stored label distribution information, and obtain the protocol type of the packet by resolving a packet header of the packet.

2. A notification router adapted for sampling a packet for an intermediate node on a Label Switching Path (LSP) in a Multi-Protocol Label Switch, MPLS-based network, comprising:

an obtaining unit, configured to obtain information about a protocol type of a packet;

a determining unit, configured to determine a netflow sampling device that requires the information; and

a sending unit, configured to send the information about the protocol type of the packet to the netflow sampling device, wherein:

the notification router is a label distribution node of the LSP, and the obtaining unit comprises:

a unit, configured to use an inner label distributed to the packet and a corresponding protocol type as the information about the protocol type of the packet.

3. A notification router adapted for sampling a packet for an intermediate node on a Label Switching Path (LSP) in a Multi-Protocol Label Switch, MPLS-based network, comprising:

an obtaining unit, configured to obtain information about a protocol type of a packet;

a determining unit, configured to determine a netflow sampling device that requires the information; and

a sending unit, configured to send the information about the protocol type of the packet to the netflow sampling device,

wherein the determining unit comprises:

a unit, configured to use an intermediate node specified in configuration information as the netflow sampling device according to the configuration information.

4. A method for sampling a packet for an intermediate node on a Label Switching Path (LSP) in a Multi-Protocol Label Switch (MPLS)-based network, comprising:

determining, by a netflow sampling entity, a protocol type of the packet according to information about the protocol type of the packet obtained by and sent from a notification node of the LSP after receiving the packet transmitted for packet sampling for the intermediate node; and

sampling, by the netflow sampling entity, the packet according to the determined protocol type;

wherein the information about the protocol type of the packet contains a corresponding relation between an inner label and the protocol type of the packet, and the step of determining the protocol type of the packet comprises:

determining the protocol type corresponding to the inner label carried in the packet, and using the determined protocol type as the protocol type of the packet.

5. The method for sampling a packet according to claim 4 , wherein the step of obtaining, by the notification node, the information about the protocol type of the packet comprises:

obtaining, by an ingress node, the inner label distributed to the packet according to a stored label distribution information, and obtaining the protocol type of the packet by resolving a packet header of the packet, if the notification node is the ingress node; or

using, by a label distribution node, the protocol type corresponding to the inner label distributed to the packet as the information about the protocol type of the packet, if the notification node is the label distribution node.

6. A method for sampling a packet for an intermediate node on a Label Switching Path (LSP) in a Multi-Protocol Label Switch (MPLS)-based network, comprising:

determining, by a netflow sampling entity, a protocol type of the packet according to information about the protocol type of the packet obtained by and sent from a notification node of the LSP after receiving the packet transmitted for packet sampling for the intermediate node; and

sampling, by the netflow sampling entity, the packet according to the determined protocol type; wherein the method further comprising:

the notification node determining the netflow sampling entity; and

wherein the step of determining the netflow sampling entity comprises using an intermediate node specified in configuration information as the netflow sampling entity according to the configuration information.

7. A method for sampling a packet for an intermediate node on a Label Switching Path (LSP) in an Multi-Protocol Label Switch (MPLS)-based network, comprising:

determining, by a netflow sampling entity, a protocol type of the packet according to information about the protocol type of the packet obtained by and sent from a notification node of the LSP after receiving the packet transmitted for packet sampling for the intermediate node; and

sampling, by the netflow sampling entity, the packet according to the determined protocol type, wherein:

the information about the protocol type of the packet sent to the netflow sampling entity is carried in one of a label stack field of a packet header of the packet and a newly added packet header field of the packet.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 9, 2010
From: LV, HONG; MA, PENG
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 024051/0113 →
Priority Claims (1)
CN 2007 1 0165565 · Nov 12, 2007 · national
Continuity (2)
Continuation PCTCN2008073000 · Nov 10, 2008
Related Publication 20100157837A1 · Jun 24, 2010