# US 2019/0245782 A1 · Packet transmission

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0245782 A1
- Document ID: US20190245782A1
- Status: Published application
- Kind: A1
- Application number: 16/319,151
- Filed: 2017-08-09
- Published: 2019-08-08
- Earliest claimed: 2016-08-11
- Assignees: New H3C Technologies Co., Ltd.
- Applicants: New H3C Technologies Co., Ltd.
- Inventors: Xiaoting JIN; Wei WANG
- Web page: https://patentgrep.com/patent/US20190245782A1

## CPC

- H04L 45/38: {Flow based routing}
- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 45/586: of virtual routers
- H04L 47/24: Traffic characterised by specific attributes, e.g. priority or QoS
- H04L 47/2433: {Allocation of priorities to traffic types}
- H04L 49/252: {Store and forward routing}
- H04L 49/354: for supporting virtual local area networks [VLAN]
- H04L 49/70: {Virtual switches}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## 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

### Claim 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 the encapsulated packet; and
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.

### Claim 2 (depends on 1)

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.

### Claim 3 (depends on 1)

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.

### Claim 4 (depends on 2)

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.

### Claim 5

A method of transmitting a packet, comprising:
receiving, by a cloud management platform, a query request message from a controller;
querying, by the cloud management platform, a pre-configured mapping between an identifier and a forwarding priority according to information carried in the query request message to obtain the forwarding priority corresponding to the information; and
sending, by the cloud management platform, a query response message carrying the forwarding priority to the controller so that the controller is capable of generating a flow entry, 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.

### Claim 6 (depends on 5)

The method according to claim 5, wherein prior to querying the preconfigured mapping between the identifier and the forwarding priority according to the information carried in the query request message, the method further comprises:
obtaining, by the cloud management platform, a tenant type and/or service type corresponding to each virtual machine;
obtaining, by the cloud management platform, the forwarding priority corresponding to the tenant type and/or the service type; and
obtaining, by the cloud management platform, the identifier of the virtual machine, and
maintaining, by the controller, the mapping between the identifier and the forwarding priority.

### Claim 7

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 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.

### Claim 8 (depends on 7)

The controller according to claim 7, 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.

### Claim 9 (depends on 7)

The controller according to claim 7, 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.

### Claim 10 (depends on 8)

The controller according to claim 8, 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.

### Claim 11 (depends on 5)

A cloud management platform into which the method of transmitting a packet according to claim 5 is applied, wherein the cloud management platform comprises a processor and a non-transitory machine-readable storage medium storing machine-executable instructions which are executable by the processor to:
receive a query request message from a controller;
query a pre-configured mapping between an identifier and a forwarding priority according to information carried in the query request message to obtain the forwarding priority corresponding to the information; and
send a query response message carrying the forwarding priority to the controller so that the controller is capable of generating a flow entry, 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.

### Claim 12 (depends on 11)

The cloud management platform according to claim 11, wherein prior to querying the pre-configured mapping between the identifier and the forwarding priority according to the information carried in the query request message, 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.
