IP Library › Granted Patent US 12,149,446
Granted Patent B2
US 12,149,446 · App. 17/613,793 · Granted Nov 19, 2024

Message matching table lookup method, system, storage medium, and terminal

Inventor: Lifeng Rong (Shenzhen, CN)
Assignee: SANECHIPS TECHNOLOGY CO., LTD.
H04L45/745
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 12,149,446
App. No.
17/613,793
Granted
Nov 19, 2024
Kind
B2
Abstract

Disclosed are a method for message match table lookup, a system, a non-transitory computer-readable storage medium and a terminal. The method for message match table lookup includes: performing on-demand data bit width compression on information of a specified part of an input message; extracting N groups of data from compressed data, performing intra-group data comparison to obtain N groups of comparison results, and performing true value splicing on the N groups of comparison results, where N is an integer greater than 1; performing match searching of a ternary content addressable memory (TCAM) by using the true value splicing result as a keyword; and searching, according to a match hit result of the TCAM, for an Action Random Access Memory (Action RAM), and outputting, by the Action RAM, a table lookup request.

Claims (41)

1. A method for message match table lookup, comprising:

performing on-demand data bit width compression on information of a specified part of an input message;

extracting N groups of data from compressed data, performing intra-group data comparison on each of the N groups of data to obtain N groups of comparison results, and performing true value splicing on the N groups of comparison results, wherein N is an integer greater than 1;

performing match searching of a Ternary Content Addressable Memory, TCAM, by using a true value splicing result as a keyword; and

searching for an Action Random Access Memory, Action RAM, according to a match hit result of the TCAM, and outputting a table lookup request by the Action RAM;

wherein, extracting N groups of data from compressed data, performing intra-group data comparison on each of the N groups of data to obtain N groups of comparison results, and performing true value splicing on the N groups of comparison results, comprises:

extracting the N groups of data from the compressed data, each of the N groups of data comprising 2 to 3 data;

performing pairwise comparison on the data in each of the N groups of data, or comparing each data in each of the N groups of data with immediate data to obtain the N groups of comparison results; and

performing the true value splicing on the N groups of comparison results to form an N-bit true value bitmap combination;

wherein, performing match searching of a TCAM by using a true value splicing result as a keyword, comprises:

performing the match searching of the TCAM by taking the N-bit true value bitmap combination as a keyword, wherein the TCAM has a depth of N*2 or N*3, and a width of N.

2. The method for message match table lookup of claim 1 , wherein, outputting a table lookup request by the Action RAM, comprises:

concurrently outputting, by the Action RAM, a plurality of table lookup requests; and

selecting, in response to the plurality of table lookup requests containing the same table lookup requests, one of the table lookup requests according to a priority.

3. A non-transitory computer-readable storage medium storing a computer-executable instruction which, when executed by a processor, causes the processor to perform a method for message match table lookup comprising:

performing on-demand data bit width compression on information of a specified part of an input message;

extracting N groups of data from compressed data, performing intra-group data comparison on each of the N groups of data to obtain N groups of comparison results, and performing true value splicing on the N groups of comparison results, wherein N is an integer greater than 1;

performing match searching of a Ternary Content Addressable Memory, TCAM, by using a true value splicing result as a keyword; and

searching for an Action Random Access Memory, Action RAM, according to a match hit result of the TCAM, and outputting a table lookup request by the Action RAM;

wherein, extracting N groups of data from compressed data, performing intra-group data comparison on each of the N groups of data to obtain N groups of comparison results, and performing true value splicing on the N groups of comparison results, comprises:

extracting the N groups of data from the compressed data, each of the N groups of data comprising 2 to 3 data;

performing pairwise comparison on the data in each of the N groups of data, or comparing each data in each of the N groups of data with immediate data to obtain the N groups of comparison results; and

performing the true value splicing on the N groups of comparison results to form an N-bit true value bitmap combination;

wherein, performing match searching of a TCAM by using a true value splicing result as a keyword, comprises:

performing the match searching of the TCAM by taking the N-bit true value bitmap combination as a keyword, wherein the TCAM has a depth of N*2 or N*3, and a width of N.

4. A terminal device for message match table lookup, comprising:

a memory configured to store a computer-executable instruction; and

a processor configured to execute the computer-executable instruction to perform a method for message match table lookup comprising:

performing on-demand data bit width compression on information of a specified part of an input message;

extracting N groups of data from compressed data, performing intra-group data comparison on each of the N groups of data to obtain N groups of comparison results, and performing true value splicing on the N groups of comparison results, wherein N is an integer greater than 1;

performing match searching of a Ternary Content Addressable Memory, TCAM, by using a true value splicing result as a keyword; and

searching for an Action Random Access Memory, Action RAM, according to a match hit result of the TCAM, and outputting a table lookup request by the Action RAM;

wherein, extracting N groups of data from compressed data, performing intra-group data comparison on each of the N groups of data to obtain N groups of comparison results, and performing true value splicing on the N groups of comparison results, comprises:

extracting the N groups of data from the compressed data, each of the N groups of data comprising 2 to 3 data;

performing pairwise comparison on the data in each of the N groups of data, or comparing each data in each of the N groups of data with immediate data to obtain the N groups of comparison results; and

performing the true value splicing on the N groups of comparison results to form an N-bit true value bitmap combination;

wherein, performing match searching of a TCAM by using a true value splicing result as a keyword, comprises:

performing the match searching of the TCAM by taking the N-bit true value bitmap combination as a keyword, wherein the TCAM has a depth of N*2 or N*3, and a width of N.

5. The terminal device of claim 4 , wherein, outputting a table lookup request by the Action RAM, comprises:

concurrently outputting, by the Action RAM, a plurality of table lookup requests; and

selecting, in response to the plurality of table lookup requests containing the same table lookup requests, one of the table lookup requests according to a priority.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 16, 2022
From: ZTE CORPORATION
To: SANECHIPS TECHNOLOGY CO., LTD.
Reel/Frame 061789/0596 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 23, 2021
From: RONG, LIFENG
To: ZTE CORPORATION
Reel/Frame 058197/0574 →
Priority Claims (1)
CN 201910517975.4 · Jun 14, 2019 · national
Continuity (1)
Related Publication 20220231945A1 · Jul 21, 2022