Packet processing method and apparatus

US10178023B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10178023-B2
Application numberUS-201615177900-A
CountryUS
Kind codeB2
Filing dateJun 9, 2016
Priority dateDec 11, 2013
Publication dateJan 8, 2019
Grant dateJan 8, 2019

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The present invention provides a packet processing method and an apparatus. The method includes: determining a to-be-installed flow entry and packet sending information; and sending, to a switch, a flow entry installation message carrying the to-be-installed flow entry and the packet sending information, so that the switch obtains the to-be-installed flow entry and the packet sending information from the flow entry installation message, installs the flow entry, and sends a packet according to the packet sending information. In the present invention, a controller sends a flow entry installation message carrying a to-be-installed flow entry and a packet sending message, where the to-be-installed flow entry and a to-be-sent packet are simultaneously sent, so that a switch simultaneously receives the to-be-installed flow entry and the to-be-sent packet, and performs flow entry installation and packet sending, thereby reducing unnecessary signaling exchange, and improving efficiency of flow entry installation and packet sending.

First claim

Opening claim text (preview).

What is claimed is: 1. A method of processing a packet and performed by a controller, comprising: determining a to-be-installed flow entry and packet sending information; and sending, to a switch, a flow entry installation message carrying the to-be-installed flow entry and the packet sending information; wherein the packet sending information comprises packet construction information, the packet construction information comprises a message type, the message type is an end marker message, and the packet sending information instructs the switch to construct an end marker packet and send the end marker packet, so that the end marker packet is not created and sent to the switch by the controller; and wherein the end marker packet indicates an end of a payload stream on a given tunnel. 2. The method according to claim 1 , wherein the determining a to-be-installed flow entry and packet sending information comprises: determining the to-be-installed flow entry and the packet sending information by receiving a trigger message of a network element. 3. The method according to claim 1 , wherein the packet construction information further comprises at least one piece of information in the following: a destination IP address, and a GTP TEID. 4. The method according to claim 1 , wherein the packet sending information further comprises at least one piece of information in the following: a quantity of packet sending times, a sending processing action, a sending port, sending frequency, sending duration, maximum sending duration, and a maximum quantity of sending times. 5. The method according to claim 1 , wherein the method further comprises: receiving a packet sending result returned by the switch, wherein the packet sending result comprises at least one piece of information in the following: a quantity of packet sending times, a quantity of times of successful packet sending, a packet response message, and a quantity of times of packet response. 6. A method of processing a packet and performed by a switch, comprising: receiving a flow entry installation message that is sent by a controller and that carries a to-be-installed flow entry and packet sending information; obtaining the to-be-installed flow entry and the packet sending information from the flow entry installation message, wherein the packet sending information comprises packet construction information, the packet construction information comprises a message type, and the message type is an end marker message; installing the flow entry; and according to the packet sending information, constructing an end marker packet and sending the end marker packet, so that the end marker packet is not received from the controller; and wherein the end marker packet indicates an end of a payload stream on a given tunnel. 7. The method according to claim 6 , wherein the packet construction information further comprises at least one piece of information in the following: a destination IP address, and a GTP TEID. 8. The method according to claim 6 , wherein the packet sending information further comprises at least one piece of information in the following: a quantity of packet sending times, a sending processing action, a sending port, sending frequency, sending duration, maximum sending duration, and a maximum quantity of sending times; and the sending the end marker packet comprises: sending the end marker packet according to the at least one piece of information. 9. The method according to claim 8 , further comprising: receiving a packet response message returned by a packet receiving device; and sending a packet sending result to the controller, wherein the packet sending result comprises at least one piece of information in the following: a quantity of packet sending times, a quantity of times of successful packet sending, a quantity of times of packet response, and the packet response message. 10. A controller, comprising: a processor and a memory connected to the processor, where the memory stores a set of program code for execution by the processor to carry out the following steps: determining a to-be-installed flow entry and packet sending information; and sending, to a switch, a flow entry installation message carrying the to-be-installed flow entry and the packet sending information; wherein the packet sending information comprises packet construction information, the packet construction information comprises a message type, the message type is an end marker message, and the packet sending information is used to instruct the switch to construct an end marker packet and send the end marker packet, so that the end marker packet is not created and sent to the switch by the controller; and wherein the end marker packet indicates an end of a payload stream on a given tunnel. 11. The controller according to claim 10 , wherein the determining a to-be-installed flow entry and packet sending information is: determine the to-be-installed flow entry and the packet sending information by receiving a trigger message of a network element. 12. The controller according to claim 10 , wherein the packet construction information further comprises at least one piece of information in the following: a destination IP address, and a GTP TEID. 13. The controller according to claim 10 , wherein the packet sending information further comprises at least one piece of information in the following: a quantity of packet sending times, a sending processing action, a sending port, sending frequency, sending duration, maximum sending duration, and a maximum quantity of sending times. 14. The controller according to claim 10 , wherein the following step further comprises: receiving a packet sending result returned by the switch, wherein the packet sending result comprises at least one piece of information in the following: a quantity of packet sending times, a quantity of times of successful packet sending, a packet response message, and a quantity of times of packet response. 15. A switch, comprising: a processor and a memory connected to the processor, where the memory stores a set of program code for execution by the processor to carry out the following steps: receiving a flow entry installation message from a controller and that carries a to-be-installed flow entry and packet sending information; and obtaining the to-be-installed flow entry and the packet sending information from the flow entry installation message, wherein the packet sending information comprises packet construction information, the packet construction information comprises a message type, and the message type is an end marker message; installing the flow entry; and according to the packet sending information, constructing an end marker packet and sending the end marker packet, so that the end marker packet is not received from the controller; and wherein the end marker packet indicates an end of a payload stream on a given tunnel. 16. The switch according to claim 15 , wherein the packet construction information comprises at least one piece of information in the following: a destination IP address, and a GTP TEID. 17. The switch according to claim 15 , wherein the packet sending information further comprises at least one piece of information in the following: a quantity of packet sending times, a sending processing action, a sending port, sending frequency, sending duration, maximum sending duration, and a maximum quantity of sending times; and the sending the end marker packet comprising: sending the end marker packet according to the at least

Assignees

Inventors

Classifications

  • Flow based routing · CPC title

  • using an overlay routing layer · CPC title

  • for initial configuration or provisioning, e.g. plug-and-play · CPC title

  • Hybrid transport · CPC title

  • H04L45/566Primary

    Routing instructions carried by the data packet, e.g. active networks · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10178023B2 cover?
The present invention provides a packet processing method and an apparatus. The method includes: determining a to-be-installed flow entry and packet sending information; and sending, to a switch, a flow entry installation message carrying the to-be-installed flow entry and the packet sending information, so that the switch obtains the to-be-installed flow entry and the packet sending informatio…
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L12/6418. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Jan 08 2019 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 4 related publications on this page (citations in our corpus or others sharing the same primary CPC).