Packet processing method and device

US10200284B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10200284-B2
Application numberUS-201615198010-A
CountryUS
Kind codeB2
Filing dateJun 30, 2016
Priority dateDec 31, 2013
Publication dateFeb 5, 2019
Grant dateFeb 5, 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.

Embodiments provide a packet processing method and a device. The method includes: acquiring a first packet, and determining an identifier of a first table. The method also includes determining description information of the first table, and performing first processing on the first packet according to the description information and the first table, where the first table is a convention table. The method also includes determining an identifier of a next table according to the description information of the first table, where the identifier of the next table corresponds to description information of the next table. The method also includes processing, according to the description information, and the next table, the first packet that has undergone the first processing.

First claim

Opening claim text (preview).

What is claimed is: 1. A packet processing method, wherein the method comprises: acquiring a first packet; determining an identifier of a first table; determining description information, corresponding to the identifier of the first table, of the first table; performing first processing on the first packet according to the description information of the first table, and according to the first table, wherein the first table is a convention table comprising an entry, the entry comprises a first parameter provided for a first processing program, and the first processing program is configured to process the first packet according to the entry; determining an identifier of a next table according to the description information of the first table, wherein the identifier of the next table corresponds to description information of the next table, and the first table comprises the identifier of the next table; and processing, according to the description information of the next table, and according to the next table, the first packet that has undergone the first processing, wherein the next table is a convention table or a flow table, and the flow table comprises a second processing program and a second parameter provided for the second processing program. 2. The method according to claim 1 , wherein the performing first processing on the first packet according to the description information of the first table, and according to the first table, comprises: determining the first processing program and the first table according to the description information of the first table; and performing the first processing on the first packet according to the first processing program and the first table. 3. The method according to claim 2 , wherein the performing the first processing on the first packet according to the first processing program and the first table comprises: determining the entry of the first table; and performing the first processing on the first packet according to the entry of the first table by using the first processing program. 4. The method according to claim 2 , wherein the description information of the first table comprises: an identifier of the first processing program, a type of the first table, a base address of the first table, expression information of a search key of the first table, and a length of an action entry of the first table. 5. The method according to claim 1 , wherein the determining an identifier of a next table according to the description information of the first table comprises: determining the identifier of the next table according to the entry of the first table. 6. A device comprising a processor and a non-transitory computer readable medium containing instructions that, when executed by the processor, causes the processor to: acquire a first packet; determine an identifier of a first table; determine description information, corresponding to the identifier of the first table, of the first table; perform first processing on the first packet according to the description information, of the first table, and according to the first table, wherein the first table is a convention table comprising an entry, the entry comprises a first parameter provided for a first processing program, and the first processing program is configured to process the first packet according to the entry; determine an identifier of a next table according to the description information of the first table, wherein the identifier of the next table corresponds to description information of the next table, and the first table includes the identifier of the next table; and process, according to the next table and the description information of the next table, the first packet that has undergone the first processing, wherein the next table is a convention table or a flow table, and the flow table includes a second processing program and a second parameter provided for the second processing program. 7. The device according to claim 6 , wherein the non-transitory computer readable medium further contains instructions that, when executed by the processor, causes the processor to: determine the first processing program and the first table according to the description information of the first table; and perform the first processing on the first packet according to the first processing program and the first table. 8. The device according to claim 7 , wherein the non-transitory computer readable medium further contains instructions that, when executed by the processor, causes the processor to: determine the entry of the first table, and perform the first processing on the first packet according to the entry of the first table by using the first processing program. 9. The device according to claim 7 , wherein the non-transitory computer readable medium further contains instructions that, when executed by the processor, causes the processor to: determine the identifier of the next table according to the entry of the first table. 10. The device according to claim 6 , wherein the instructions are configured to be executed by a processor to: determine the first processing program and the first table according to the description information of the first table; and perform the first processing on the first packet according to the first processing program and the first table. 11. The device according to claim 7 , wherein the instructions are configured to be executed by a processor to: determine the entry of the first table, and perform the first processing on the first packet according to the entry of the first table by using the first processing program. 12. The device according to claim 7 , wherein the non-transitory computer readable medium further contains instructions that, when executed by the processor, causes the processor to: determine the identifier of the next table according to the entry of the first table. 13. A non-transitory computer readable storage medium storing instructions, wherein the instructions are configured to be executed by a processor to: acquire a first packet; determine an identifier of a first table; determine description information, corresponding to the identifier of the first table, of the first table; perform first processing on the first packet according to the description information, of the first table, and according to the first table, wherein the first table is a convention table comprising an entry, the entry comprises a first parameter provided for a first processing program, and the first processing program is configured to process the first packet according to the entry; determine an identifier of a next table according to the description information of the first table, wherein the identifier of the next table corresponds to description information of the next table, and the first table includes the identifier of the next table; and process, according to the next table and the description information of the next table, the first packet that has undergone the first processing, wherein the next table is a convention table or a flow table, and the flow table includes a second processing program and a second parameter provided for the second processing program.

Assignees

Inventors

Classifications

  • Parsing or analysis of headers · CPC title

  • H04L45/745Primary

    Address table lookup; Address filtering · CPC title

  • H04L45/54Primary

    Organization of routing tables · 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 US10200284B2 cover?
Embodiments provide a packet processing method and a device. The method includes: acquiring a first packet, and determining an identifier of a first table. The method also includes determining description information of the first table, and performing first processing on the first packet according to the description information and the first table, where the first table is a convention table. T…
Who is the assignee on this patent?
Huawei Tech Co Ltd, Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L45/745. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Feb 05 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 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).