IP Library Granted Patent US 11,882,121
Granted Patent B2
US 11,882,121 · App. 17/380,012 · Granted Jan 23, 2024

Method and system for packet processing according to access control list table

Inventors: Yi-Lung Hsiao (Taipei, TW); Chih-Liang Chou (Taipei, TW)
Assignee: OPTICORE TECHNOLOGIES, INC.
H04L63/101G06F16/2255G06F21/64H04L63/0245
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,882,121
App. No.
17/380,012
Granted
Jan 23, 2024
Kind
B2
Abstract

The present invention provides a method for packet processing according to a access control list table, comprising: receiving a packet, wherein the packet includes a packet information and match items for matching; providing an access control list (ACL) codeword table; providing a mask table, wherein the ACL codeword table corresponds to the mask table; obtaining a hash key by performing a multiplexing logic operation, wherein the hash key is made by combining a multiplex result of the packet information and the mask table; obtaining a hash value by performing a hash function based on the hash key, wherein the hash value is composed of X+Y, wherein X is a signature table (hash table) index and Y is a key digest; performing a hash table indexing, based on the signature table index, wherein the signature table index is the index to an address of signature table; performing a fast pattern match, wherein the signature table contains signature fields, and if any second signature field in the signature table is matched with the digest key, the action table index of the same signature field is then assigned to an address index to an action table; and applying an action to the packet, wherein the action is listed in the action table.

Claims (28)

1. A method for packet processing according to an access control list table, comprising:

receiving a packet, wherein the packet includes a packet information and match items for matching;

providing an access control list (ACL) codeword table;

providing a mask table, wherein the ACL codeword table corresponds to the mask table;

obtaining a hash key by performing a multiplexing logic operation, wherein the hash key is made by combining a multiplex result of the packet information and the mask table;

obtaining a hash value by performing a hash function based on the hash key, wherein the hash value is composed of X+Y, wherein X is a signature table (hash table) index and Y is a key digest;

performing a hash table indexing, based on the signature table index, wherein the signature table index is an index to an address of signature table;

performing a fast pattern match, wherein the signature table contains signature fields, and in response to any second signature field in the signature table being matched with the key digest, an action table index of the same signature field is then assigned to an address index to an action table; and

applying an action to the packet, wherein the action is listed in the action table.

2. The method for packet processing according to an access control list table according to claim 1 , wherein the ACL codeword table and the mask table are stored in a memory.

3. The method for packet processing according to an access control list table according to claim 1 , wherein the action includes forwarding action, virtual local area network (ULAN) tagging operation, differentiated services code point/type of service (DSCP/ToS) modification action, or statistics or metering action.

4. The method for packet processing according to an access control list table according to claim 1 , wherein the ACL codeword table includes a mask table index, a cascade field and a last field.

5. The method for packet processing according to an access control list table according to claim 1 , wherein the obtaining the hash value is performed based on a cyclic redundancy check (CRC) algorithm or any hash algorithm.

6. The method for packet processing according to an access control list table according to claim 1 , wherein a hash value comparison is performed by the hash table index and the key digest.

7. The method for fast pattern matching according to claim 1 , wherein the signature table index is an index to the signature table and uses the key digest to match the second signature field.

8. A system for packet processing according to an access control list table, comprising:

a switch, configured to receive a packet, wherein the packet includes a packet information and match items for matching;

a memory, storing an access control list (ACL) codeword table and a mask table, wherein the ACL codeword table corresponds to the mask table;

a multiplex logic, configured to perform a multiplexing logic operation to obtain a hash key, wherein the hash key is made by combining a multiplex result of the packet information and the mask table, wherein a hash function is then performed based on the hash key to obtain a hash value, wherein the hash value is composed of X+Y, wherein X is a signature table (hash table) index and Y is a key digest;

a processor, configured to perform a hash table indexing, based on the signature table index, wherein the signature table index is an index to an address of signature table;

wherein the processor performs a fast pattern match, wherein the signature table contains signature fields, and in response to any second signature field in the signature table is matched with the key digest, an action table index of the same signature field is then assigned to an address index to an action table; and

wherein the processor performs an action to the packet, wherein the action is listed in the action table.

9. The system for packet processing according to an access control list table according to claim 8 , wherein the ACL codeword table and the mask table is stored in a memory.

10. The system for packet processing according to an access control list table according to claim 8 , wherein the action includes forwarding action, virtual local area network (VLAN) tagging operation, differentiated services code point/type of service (DSCP/ToS) modification action, or statistics or metering action.

11. The system for packet processing according to an access control list table according to claim 8 , wherein the ACL codeword table includes a mask table index, a cascade field and a last field.

12. The system for packet processing according to an access control list table according to claim 8 , wherein performing the hash function to obtain the hash value is performed based on a cyclic redundancy check (CRC) algorithm or any hash algorithm.

13. The system for packet processing according to an access control list table according to claim 8 , wherein a hash value comparison is performed the hash table index and the key digest.

14. The system for packet processing according to an access control list table according to claim 8 , wherein the signature table index is an index to the signature table and uses the key digest to match the second signature field.

Assignments (8)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 22, 2026
From: OPTICORE TECHNOLOGIES, INC.
To: QUALCOMM INCORPORATED
Reel/Frame 074741/0400 →
CHANGE OF ADDRESS Recorded Oct 6, 2023
From: OPTICORE TECHNOLOGIES, INC.
To: OPTICORE TECHNOLOGIES, INC.
Reel/Frame 065178/0404 →
CORRECTIVE ASSIGNMENT TO CORRECT THE ASSIGNEE NAME AND ASSIGNMENT DOCUMENT PREVIOUSLY RECORDED AT REEL: 060703 FRAME: 0009. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT . Recorded Dec 15, 2022
From: OPTICORE TECHNOLOGIES INC.
To: OPTICORE TECHNOLOGIES, INC.
Reel/Frame 062133/0532 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 3, 2022
From: OPTICORE TECHNOLOGIES INC.
To: OPTICORE TECHNOLOGIES INC.
Reel/Frame 060703/0009 →
CHANGE OF NAME Recorded Feb 7, 2022
From: FAITH KEEPERS INVESTMENT INC.
To: OPTICORE TECHNOLOGIES INC.
Reel/Frame 059619/0049 →
CORRECTIVE ASSIGNMENT TO CORRECT THE THE ORIGINAL ASSIGNMENT EXECUTION DATE PREVIOUSLY RECORDED AT REEL: 058377 FRAME: 0853. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Jan 19, 2022
From: CORE KEEPERS INVESTMENT INC
To: FAITH KEEPERS INVESTMENT INC
Reel/Frame 058785/0088 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 13, 2021
From: CORE KEEPERS INVESTMENT INC
To: FAITH KEEPERS INVESTMENT INC
Reel/Frame 058377/0853 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 20, 2021
From: HSIAO, YI-LUNG; CHOU, CHIH-LIANG
To: CORE KEEPERS INVESTMENT INC.
Reel/Frame 056907/0244 →
Continuity (2)
Provisional Application 63054210 · Jul 20, 2020
Related Publication 20220021679A1 · Jan 20, 2022