# US 2026/0067216 A1 · Methods for storing acl entries and methods for matching acl entries and network apparatuses

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

- Number: US 2026/0067216 A1
- Document ID: US20260067216A1
- Status: Published application
- Kind: A1
- Application number: 18/963,264
- Filed: 2024-11-27
- Published: 2026-03-05
- Earliest claimed: 2024-08-30
- Assignees: New H3C Technologies Co., Ltd.
- Applicants: New H3C Technologies Co., Ltd.
- Inventors: Kaikai XU; Qian WANG
- Web page: https://patentgrep.com/patent/US20260067216A1

## CPC

- H04L 45/7452: Multiple parallel or consecutive lookup operations (lookup operation involving Bloom filters H04L45/7459)
- H04L 63/101: {Access control lists [ACL]}
- H04L 45/74591: {using content-addressable memories [CAM]}
- H04L 63/0236: {Filtering by address, protocol, port number or service, e.g. IP-address or URL}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The disclosure provides a method for storing ACL entries, a method for matching ACL entries, and a network apparatus. The method for storing ACL entries includes: obtaining an ACL entry to be stored, splitting the ACL entry into a first section and a second section, where the first section includes a source address and a destination address stored in the ACL entry, and the second section includes some or all of a transport layer source port, a transport layer destination port, a transport layer protocol type, a packet priority, and a port of the ACL entry; storing the first section in a TCAM, and storing the second section in an SRAM.

## Claims

### Claim 1

A method for storing Access Control List (ACL) entries, wherein the method comprises:
obtaining an ACL entry to be stored, and splitting the ACL entry into a first section and a second section;
wherein the first section comprises a source address and a destination address stored in the ACL entry, and the second section comprises some or all of a transport layer source port, a transport layer destination port, a transport layer protocol type, a packet priority, and a port stored in the ACL entry;
storing the first section in a Ternary Content Addressable Memory (TCAM) and the second section in a Static Random Access Memory (SRAM).

### Claim 2 (depends on 1)

The method according to claim 1, wherein, storing the first section in the TCAM and the second section in the SRAM comprising:
storing the first section in the TCAM;
allocating a first identifier to the first section stored in the TCAM;
storing the second section in the SRAM;
allocating a second identifier to the second section stored in the SRAM; wherein the first identifier uniquely corresponds the second identifier.

### Claim 3 (depends on 1)

The method according to claim 1, wherein
the first section further comprises some or all of the transport layer source port, the transport layer destination port, the transport layer protocol type, the packet priority, and the port stored in the ACL entry; and
the second section comprises information stored in the ACL entry other than information stored in the first section.

### Claim 4

A method for matching ACL entries, wherein the method comprises:
receiving a first packet;
obtaining source and destination IP addresses of the first packet;
searching, based on the source and destination IP addresses of the first packet, a Ternary Content Addressable Memory (TCAM) storing first sections of a plurality of different ACL entries, to find a matched first section, and obtaining a first identifier of the matched first section; and
searching, based on the obtained first identifier and some or all of a transport layer source port, a transport layer destination port, a transport layer protocol type, a packet priority, and a port of the first packet, a Static Random-Access Memory (SRAM) storing second sections of the plurality of different ACL entries, to find a matched second section, and
processing the first packet based on the matched second section;
wherein, each first section comprises a correspondence between each first identifier and the source and destination IP addresses stored in each of the plurality of different ACL entries, each second section comprises a correspondence between each second identifier and some or all of a transport layer source port, a transport layer destination port, a transport layer protocol type, a packet priority, and a port stored in each of the plurality of different ACL entries; and each first identifier uniquely corresponds one second identifier.

### Claim 5 (depends on 4)

The method according to claim 4, wherein searching, based on the obtained first identifier and some or all of the transport layer source port, the transport layer destination port, the transport layer protocol type, the packet priority, and the port of the first packet, the SRAM, comprising:
combining the first identifier with some or all of the transport layer source port, the transport layer destination port, the transport layer protocol type, the packet priority, and the port of the first packet to obtain a combination result; and obtaining a hash value by performing hash calculation on the combination result;
determining, based on the hash value and the first identifier, a storage area storing a target second section in the SRAM;
matching the target second section with some or all of the transport layer source port, the transport layer destination port, the transport layer protocol type, the packet priority, and the port of the first packet area to obtain the matched second section.

### Claim 6 (depends on 4)

The method according to claim 4, wherein
the first section comprises some or all of the transport layer source port, the transport layer destination port, the transport layer protocol type, the packet priority, and the port stored in the ACL entry;
the second section comprises information stored in the ACL entry other than information stored in the first section.

### Claim 7 (depends on 4)

The method according to claim 4, wherein processing the first packet based on the matched second section comprising:
discarding or permitting the first packet based on the matched second section.

### Claim 8 (depends on 1)

A network apparatus, equipped with a Ternary Content Addressable Memory (TCAM) and a Static Random Access Memory (SRAM), comprising:
a processor and a non-transitory machine-readable storage medium; wherein,
the machine-readable storage medium is to store machine-executable instructions;
the processor is to read and execute the machine-executable instructions stored in the machine-readable storage medium to perform the method according to claim 1.

### Claim 9

A network apparatus, comprising:
a processor and a non-transitory machine-readable storage medium; wherein,
the machine-readable storage medium is to store machine-executable instructions;
the processor is to read and execute the machine-executable instructions stored in the machine-readable storage medium to perform operations comprising:
receiving a first packet;
obtaining source and destination IP addresses of the first packet;
searching, based on the source and destination IP addresses of the first packet, a Ternary Content Addressable Memory (TCAM) storing first sections of a plurality of different ACL entries, to find a matched first section, and obtaining a first identifier of the matched first section; and
searching, based on the obtained first identifier and some or all of a transport layer source port, a transport layer destination port, a transport layer protocol type, a packet priority, and a port of the first packet, a Static Random-Access Memory, SRAM, storing second sections of the plurality of different ACL entries, to find a matched second section; and
processing, based on the matched second section, the first packet;
wherein, each first section comprises a correspondence between each first identifier and the source and destination IP addresses stored in each ACL entry, each second section comprises a correspondence between each second identifier and some or all of a transport layer source port, a transport layer destination port, a transport layer protocol type, a packet priority, and a port stored in each ACL entry; and each first identifier uniquely corresponds one second identifier.

### Claim 10 (depends on 9)

The method according to claim 9, wherein searching, based on the obtained first identifier and some or all of the transport layer source port, the transport layer destination port, the transport layer protocol type, the packet priority, and the port of the first packet, the SRAM, comprising:
combining the first identifier with some or all of the transport layer source port, the transport layer destination port, the transport layer protocol type, the packet priority, and the port of the first packet to obtain a combination result; and obtaining a hash value by performing hash calculation on the combination result;
determining, based on the hash value and the first identifier, a storage area storing a target second section in the SRAM;
matching the target second section with some or all of the transport layer source port, the transport layer destination port, the transport layer protocol type, the packet priority, and the port of the first packet area to obtain the matched second section.

### Claim 11 (depends on 9)

The method according to claim 9, wherein
the first section comprises some or all of the transport layer source port, the transport layer destination port, the transport layer protocol type, the packet priority, and the port stored in the ACL entry;
the second section comprises information stored in the ACL entry other than information stored in the first section.

### Claim 12 (depends on 9)

The method according to claim 9, wherein processing, based on the matched second section, the first packet, comprising:
discarding or permitting the first packet based on the matched second section.
