# US 2022/0294764 A1 · Systems and methods for operating a networking device

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

- Number: US 2022/0294764 A1
- Document ID: US20220294764A1
- Status: Published application
- Kind: A1
- Application number: 17/672,850
- Filed: 2022-02-16
- Published: 2022-09-15
- Earliest claimed: 2018-08-27
- Assignees: Ovh
- Applicants: Ovh
- Inventors: Clement ROUSSEAU; Tristan GROLEAT
- Web page: https://patentgrep.com/patent/US20220294764A1

## CPC

- H04L 63/0263: {Rule management}
- H04L 12/44: Star or tree networks
- H04L 43/00: Arrangements for monitoring or testing data switching networks
- H04L 45/02: Topology update or discovery
- H04L 45/566: {Routing instructions carried by the data packet, e.g. active networks}
- H04L 45/74: Address processing for routing
- H04L 63/0236: {Filtering by address, protocol, port number or service, e.g. IP-address or URL}
- H04L 63/0245: {Filtering by information in the payload}
- H04L 63/1408: {by monitoring network traffic (monitoring network traffic per se H04L43/00)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Methods and systems are described for compressing a tree structure associating network packet signatures with network packet metadata, the tree structure comprising a plurality of non-leaf nodes of single bit test nodes and a plurality of leaf nodes comprising network packet metadata, the method comprising determining whether the sub-portion of the tree structure is to be compressed. If determination is made that the sub-portion of the tree structure is to be compressed, generating a compressed node data structure, the compressed node data structure comprising a path of the sub-portion of the tree structure, the path comprising a sequence of bits formed by a concatenation of the single bits associated with each one of the consecutive non-leaf nodes of the sub-portion of the tree structure, the number of bits of the sequence being equal or greater than the compression threshold.

## Claims

### Claim 1

(canceled)

### Claim 2

A method of compressing a tree data structure that associates network addresses with data packet classifications, wherein the tree data structure comprises:
a plurality of non-leaf nodes comprising single bit test nodes, and
a plurality of leaf nodes comprising data packet classifications, the method comprising:
determining an amount of consecutive non-leaf nodes of the tree data structure that have a single child;
determining, based on a compression threshold and the amount of consecutive non-leaf nodes of the tree data structure that have a single child, whether to compress a sub-portion of the tree data structure comprising the consecutive non-leaf nodes having a single child;
after determining to compress the sub-portion of the tree data structure, generating a compressed sub-portion of the tree data structure by concatenating single bit values associated with each one of the consecutive non-leaf nodes that have a single child of the sub-portion of the tree data structure thereby forming a sequence of bits, wherein an amount of bits contained in the sequence of bits is equal to or greater than the compression threshold; and
storing the compressed sub-portion of the tree data structure.

### Claim 3 (depends on 2)

The method of claim 2, wherein the compression threshold is 5 bits.

### Claim 4 (depends on 2)

The method of claim 2, wherein a predefined maximum size of the sequence of bits is 30 bits.

### Claim 5 (depends on 2)

The method of claim 2, further comprising:
receiving a network packet; and
determining, based on the tree data structure, a data packet classification of the network packet.

### Claim 6 (depends on 5)

The method of claim 5, further comprising transmitting the network packet based on a priority established by the data packet classification.

### Claim 7 (depends on 5)

The method of claim 5, further comprising identifying services to be performed on the network packet based on the data packet classification.

### Claim 8 (depends on 5)

The method of claim 5, further comprising testing the network packet based on the data packet classification to determine whether the network packet is part of a network attack.

### Claim 9 (depends on 5)

The method of claim 5, further comprising creating metrics on traffic of network packets based on the data packet classification.

### Claim 10

A method of compressing a tree data structure that associates network addresses with data packet classifications, wherein the tree data structure comprises:
a plurality of non-leaf nodes comprising single bit test nodes, and
a plurality of leaf nodes comprising data packet classifications, the method comprising:
determining an amount of consecutive non-leaf nodes of the tree data structure that have a single child;
determining, based on a compression threshold and the amount of consecutive non-leaf nodes of the tree data structure having a single child, whether to compress a sub-portion of the tree data structure comprising the consecutive non-leaf nodes that have a single child;
after determining to compress the sub-portion of the tree data structure, generating a first compressed sub-portion of the tree data structure by concatenating single bit values associated with each one of the consecutive non-leaf nodes that have a single child of the sub-portion of the tree data structure thereby forming a sequence of bits, wherein an amount of bits contained in the sequence of bits is equal to or greater than the compression threshold;
storing the first compressed sub-portion of the tree data structure in a first non-transitory computer-readable memory;
storing a second sub-portion of the tree data structure in a second non-transitory computer-readable memory, wherein a node of the second sub-portion of the tree data structure points to a node of the first compressed sub-portion of the tree data structure; and
storing a third sub-portion of the tree data structure in a third non-transitory computer-readable memory, wherein a node of the first compressed sub-portion of the tree data structure points to a node of the third sub-portion of the tree data structure.

### Claim 11 (depends on 10)

The method of claim 10, wherein the first non-transitory computer-readable memory comprises a first memory bank, wherein the second non-transitory computer-readable memory comprises a second memory bank distinct from the first memory bank, and wherein the third non-transitory computer-readable memory comprises a third memory bank distinct from the first memory bank and the second memory bank.

### Claim 12 (depends on 11)

The method of claim 11, wherein the first memory bank is part of a first QDR SRAM memory, the second memory bank is part of a second QDR SRAM memory, and the third memory bank is part of a third QDR SRAM memory.

### Claim 13 (depends on 10)

The method of claim 10, wherein the first compressed sub-portion of the tree data structure can be accessed from the first non-transitory computer-readable memory through a first single memory access, wherein the second sub-portion of the tree data structure can be accessed from the second non-transitory computer-readable memory through a second single memory access, and wherein the third sub-portion of the tree data structure can be accessed from the second non-transitory computer-readable memory through a second single memory access.

### Claim 14 (depends on 10)

The method of claim 10, further comprising:
receiving a network packet; and
determining, based on the tree data structure, a data packet classification of the network packet.

### Claim 15 (depends on 14)

The method of claim 14, further comprising transmitting the network packet based on a priority established by the data packet classification.

### Claim 16 (depends on 14)

The method of claim 14, further comprising determining, based on the data packet classification, whether the network packet is part of a network attack.

### Claim 17

A system comprising at least one processor, and memory storing a plurality of executable instructions and a tree data structure that associates network addresses with data packet classifications, wherein the tree data structure comprises:
a plurality of non-leaf nodes comprising single bit test nodes, and
a plurality of leaf nodes comprising data packet classifications, and
wherein the executable instructions, when executed by the at least one processor of the system, cause the system to:
determine an amount of consecutive non-leaf nodes of the tree data structure that have a single child;
determine, based on a compression threshold and the amount of consecutive non-leaf nodes of the tree data structure that have a single child, whether to compress a sub-portion of the tree data structure comprising the consecutive non-leaf nodes that have a single child;
after determining to compress the sub-portion of the tree data structure, generate a compressed sub-portion of the tree data structure by concatenating single bit values associated with each one of the consecutive non-leaf nodes having a single child of the sub-portion of the tree data structure thereby forming a sequence of bits, wherein an amount of bits contained in the sequence of bits is equal to or greater than the compression threshold; and
store the compressed sub-portion of the tree data structure in the memory.

### Claim 18 (depends on 17)

The system of claim 17, wherein the executable instructions, when executed by the at least one processor of the system, cause the system to:
receive a network packet; and
determine, based on the tree data structure, a data packet classification of the network packet.

### Claim 19 (depends on 18)

The system of claim 18, wherein the executable instructions, when executed by the at least one processor of the system, cause the system to transmit the network packet based on a priority established by the data packet classification.

### Claim 20 (depends on 18)

The system of claim 18, wherein the executable instructions, when executed by the at least one processor of the system, cause the system to determine, based on the data packet classification, whether the network packet is part of a network attack.

### Claim 21 (depends on 18)

The system of claim 18, wherein the executable instructions that cause the system to determine the data packet classification comprise instructions that cause the system to:
generate a signature of the data packet; and
traverse the tree data structure using the signature.
