Hash-Based Data Matching Using Lookup Tables

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

High-speed data searching devices like CAM and TCAM face challenges of high cost, high power consumption, and complex configuration updating, limiting their efficiency in network applications.

Innovation Solution

A data matching method and apparatus utilizing a lookup table generated based on content to be searched, with hash processing to obtain a hash index value for keyword matching, reducing costs and power consumption by employing a treelike structure that avoids redundant entries and hash conflicts.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If CAM or TCAM is used for high-speed data searching, then searching speed is improved, but cost and power consumption increase significantly

Engineering Contradiction:
Improvesearching speedVSAvoidpower consumption
Core Design Contradiction:
SpeedVSUse of energy by stationary object

Solution Approach 1:

The patent segments the data searching function into two parts: a hash function that generates index values, and a standard memory that stores data organized by these indexes. This segmentation replaces the monolithic CAM/TCAM structure with a distributed hash table approach, achieving high-speed searching through hash computation while using standard memory components that consume less power.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent substitutes the specialized CAM/TCAM hardware mechanism with a software-based hash function combined with standard memory. The hash function computes index values from search keys, and the standard memory retrieves data using these indexes, replacing the complex comparison logic of CAM/TCAM with a simpler hash-based access mechanism that reduces power consumption.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Speed

If CAM or TCAM is used for high-speed data searching, then searching speed is improved, but device cost increases

Engineering Contradiction:
Improvesearching speedVSAvoiddevice cost
Core Design Contradiction:
SpeedVSEase of manufacture

Solution Approach 1:

The patent uses standard memory components that are significantly cheaper than CAM or TCAM devices. By organizing data in a hash table structure within standard memory and using a software hash function for access, the system achieves comparable searching performance at a fraction of the hardware cost, making the solution more economically viable.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

Solution Approach 2:

The patent creates a logical copy of the data structure organization used in CAM/TCAM systems but implements it using standard memory with hash-based indexing. This copying approach allows the system to replicate the high-speed access characteristics of CAM/TCAM while using more cost-effective standard memory hardware.

Inventive Principle:
Principle #26Copying

3Productivity

If CAM or TCAM is used for data searching, then searching capability is improved, but configuration updating complexity increases

Engineering Contradiction:
Improvesearching capabilityVSAvoidconfiguration updating complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements a dynamic hash table structure where data can be easily added, removed, or updated by simply modifying the hash table entries and their corresponding index values. This dynamic organization allows for flexible configuration updates without the complexity of reconfiguring CAM or TCAM hardware, enabling rapid adaptation to changing data requirements.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the fundamental parameter of data organization from fixed-address CAM/TCAM structures to hash-based indexing. This parameter change allows configuration updates to be performed by computing new hash indexes and updating corresponding memory entries, significantly simplifying the configuration process compared to traditional CAM/TCAM reconfiguration methods.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10671667B2Data matching method and apparatus and computer storage medium
Publication Date: 2020.06.02 SANECHIPS TECH CO LTD
  • US10671667B2 patent drawing
  • US10671667B2 patent drawing

AI summary

A data matching method includes that: a lookup table is generated according to a content to be searched; hash processing is performed on a keyword to be searched to obtain a hash index value of the keyword to be searched; and a matched content to be searched is found in the lookup table according to the hash index value of the keyword to be searched. Meanwhile, a data matching apparatus is provided.