Prioritized Lookup Table for Packet Processing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for packet processing using Content-Addressable Memory (CAM) or hash functions are costly and complex, making them unsuitable for small-size lookup tables, especially in cost-sensitive market applications where they do not meet product requirements.

Innovation Solution

A method and system for hardware table lookup that uses a prioritized, multi-condition, and wildcard-inclusive lookup table, where each entry includes conditions and a result/action indicator, sorted in priority order, with bit map arrays processed using logic OR and AND procedures to apply the highest priority rule to packets, reducing the need for CAM or hash solutions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If CAM or hash function is used for lookup table implementation, then searching speed is improved, but hardware cost and circuit complexity increase

Engineering Contradiction:
Improvesearching speedVSAvoidcircuit complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The patent segments the lookup table into multiple priority levels and uses bitwise operations to process different condition combinations separately. This segmentation allows the system to avoid complex CAM circuits while maintaining high searching speed through parallel bitwise processing of segmented data.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent replaces the mechanical/electrical CAM comparison mechanism with software-based bitwise logic operations. Instead of using specialized CAM hardware for direct comparison, the system uses standard processors with bitwise AND, OR, and NOT operations to achieve the same lookup function with reduced hardware complexity.

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

2Adaptability or versatility

If CAM or hash solution is used, then lookup functionality is improved, but product cost increases making it unsuitable for cost-sensitive markets

Engineering Contradiction:
Improvelookup functionalityVSAvoidproduct cost
Core Design Contradiction:
Adaptability or versatilityVSEase of manufacture

Solution Approach 1:

The patent creates a universal lookup mechanism that can handle multiple condition types (exact match, wildcard, priority-based) using the same bitwise operation framework. This multi-functional approach eliminates the need for specialized hardware for different lookup scenarios, reducing overall product cost while maintaining versatile lookup functionality.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent uses standard, inexpensive processor instructions and memory structures instead of expensive dedicated CAM hardware. By leveraging readily available computational resources with bitwise operations, the system achieves lookup functionality at a fraction of the cost of traditional CAM implementations.

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

3Measurement precision

If prioritized multi-condition matching is implemented, then packet processing accuracy is improved, but processing complexity increases

Engineering Contradiction:
Improvematching accuracyVSAvoidprocessing complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent performs preliminary organization of lookup table entries by priority level and pre-computes bitwise masks for different condition combinations. This preliminary structuring allows the processing system to simply apply pre-prepared bitwise operations in priority order, achieving high matching accuracy without complex real-time decision logic.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces a priority dimension to the lookup process, organizing entries in hierarchical priority levels. This dimensional organization allows the system to process multiple conditions by evaluating them in priority order using bitwise operations, transforming a complex multi-dimensional matching problem into a series of simpler sequential bitwise comparisons.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

Data Source

PatentUS11711305B2Method and system for packet processing according to a table lookup
Publication Date: 2023.07.25 QUALCOMM INC
  • US11711305B2 patent drawing
  • US11711305B2 patent drawing
  • US11711305B2 patent drawing

AI summary

The present invention provides a method for packet processing according to a lookup table, comprising: receiving a packet, wherein the packet includes a packet header, and the packet header consists of control information; providing a lookup table with M entries, wherein each entry includes N conditions and a result/action indicator, and the M entries are sorted in a priority order; matching the information with the N conditions; and applying the result/action indicator in the matched entry with the highest priority on the packet.