IP Library Granted Patent US 11,005,752
Granted Patent B2
US 11,005,752 · App. 16/319,151 · Granted May 11, 2021

Packet transmission

Inventors: Xiaoting Jin (Beijing, CN); Wei Wang (Beijing, CN)
Assignee: New H3C Technologies Co., Ltd.
H04L45/38H04L12/4633H04L45/586H04L47/24H04L47/2433H04L49/252H04L49/354H04L49/70
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 11,005,752
App. No.
16/319,151
Granted
May 11, 2021
Kind
B2
Abstract

A method of transmitting a packet, a controller and a cloud management platform are provided. According to an example of the method, the controller may receive a packet from a virtual switch; obtain a forwarding priority corresponding to the packet; and generate a flow entry corresponding to the packet, wherein the flow entry is used to perform encapsulation of a specified type on a packet matching the flow entry and add the forwarding priority into the encapsulated packet; and distribute the flow entry to the virtual switch so that the virtual switch is capable of sending the packet using the flow entry.

Claims (34)

1. A method of transmitting a packet, comprising:

receiving, by a controller, a packet from a virtual switch;

obtaining, by the controller, a forwarding priority corresponding to the packet;

generating, by the controller, a flow entry corresponding to the packet, wherein the flow entry is used to perform encapsulation of a specified type on a packet matching the flow entry and add the forwarding priority into a Differentiated Services Code Point (DSCP) field of an outer-layer IP header of the encapsulated packet;

distributing, by the controller, the flow entry to the virtual switch so that the virtual switch is capable of sending the packet using the flow entry; and

distributing, by the controller, a configuration command to an edge network device connected, through a port, with a physical server containing the virtual switch, the configuration command is to instruct the edge network device to trust the DSCP field of the outer-layer of the encapsulated packet received via the port.

2. The method according to claim 1 , wherein obtaining the forwarding priority corresponding to the packet comprises:

querying, by the controller, a preconfigured mapping between an identifier and a forwarding priority according to information carried in the packet to obtain the forwarding priority corresponding to the information.

3. The method according to claim 2 , wherein prior to querying the preconfigured mapping between the identifier and the forwarding priority according to the information carried in the packet, the method further comprises:

obtaining, by the controller, a tenant type and/or service type corresponding to each virtual machine;

obtaining, by the controller, the forwarding priority corresponding to the tenant type and/or the service type; and

obtaining, by the controller, the identifier of the virtual machine, and

maintaining, by the controller, the mapping between the identifier and the forwarding priority.

4. The method according to claim 1 , wherein obtaining the forwarding priority corresponding to the packet comprises:

sending, by the controller, a query request message to a cloud management platform, wherein the query request message carries information in the packet; and

receiving, by the controller, a query response message from the cloud management platform, wherein the query response message carries the forwarding priority corresponding to the information.

5. A controller, comprising:

a processor; and

a non-transitory machine-readable storage medium storing machine-executable instructions which are executable by the processor to:

receive a packet from a virtual switch;

obtain a forwarding priority corresponding to the packet;

generate a flow entry corresponding to the packet, wherein the flow entry is used to perform encapsulation of a specified type on a packet matching the flow entry and add the forwarding priority into a Differentiated Services Code Point (DSCP) field of an outer-layer IP header of the encapsulated packet;

distribute the flow entry to the virtual switch so that the virtual switch is capable of sending the packet using the flow entry; and

distribute a configuration command to an edge network device connected, through a port, with a physical server containing the virtual switch, the configuration command is to instruct the edge network device to trust the DSCP field of the outer-layer of the encapsulated packet received via the port.

6. The controller according to claim 5 , wherein when obtaining the forwarding priority corresponding to the packet, the processor is further caused by the machine-executable instructions to:

query a preconfigured mapping between an identifier and a forwarding priority according to information carried in the packet to obtain the forwarding priority corresponding to the information.

7. The controller according to claim 6 , wherein prior to querying the pre-configured mapping between the identifier and the forwarding priority according to the information carried in the packet, the processor is further caused by the machine-executable instructions to:

obtain a tenant type and/or service type corresponding to each virtual machine;

obtain the forwarding priority corresponding to the tenant type and/or the service type; and

obtain the identifier of the virtual machine, and

maintain the mapping between the identifier and the forwarding priority.

8. The controller according to claim 5 , wherein when obtaining the forwarding priority corresponding to the packet, the processor is further caused by the machine-executable instructions to:

send a query request message to a cloud management platform, wherein the query request message carries information in the packet; and

receive a query response message from the cloud management platform, wherein the query response message carries the forwarding priority corresponding to the information.

Assignments (2)
CORRECTIVE ASSIGNMENT TO CORRECT THE ASSIGNEE ADDRESS PREVIOUSLY RECORDED AT REEL: 048098 FRAME: 0341. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Apr 7, 2021
From: JIN, XIAOTING; WANG, WEI
To: NEW H3C TECHNOLOGIES CO., LTD.
Reel/Frame 055852/0035 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 18, 2019
From: JIN, XIAOTING; WANG, WEI
To: NEW H3C TECHNOLOGIES CO., LTD
Reel/Frame 048098/0341 →
Priority Claims (1)
CN 201610658326.2 · Aug 11, 2016 · national
Continuity (1)
Related Publication 20190245782A1 · Aug 8, 2019