Hierarchical Policy Tree for Fast Network Security Lookup

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current IPSec policy retrieval methods, such as linked lists and hash tables, face inefficiencies due to overlapping policies and the need for fast deterministic policy lookup in network security systems, while hardware solutions like TCAM are costly and limited in capacity.

Innovation Solution

The method involves creating Subnet Elements (SE), IP Address Trees (IT), Attribute Trees (AT), and Priority Trees (PT) to efficiently store and search for policies based on priority, allowing early termination of searches when a higher-priority policy is found, thereby reducing the number of comparisons needed.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If software approaches like linked lists or hash tables are used for policy retrieval, then implementation cost is reduced, but search time increases and throughput decreases

Engineering Contradiction:
Improveimplementation costVSAvoidsearch throughput
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The policy database is segmented into multiple hierarchical levels (root level, intermediate levels, and leaf levels). Each level contains policy selectors organized in a tree structure, allowing the search process to be divided into multiple stages. This segmentation enables parallel processing and reduces the number of policies examined at each stage, thereby improving throughput while maintaining software implementation.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Policies are pre-organized into a hierarchical tree structure with selectors distributed across multiple levels before the search begins. The root level contains broad selectors, and more specific selectors are placed at deeper levels. This preliminary organization allows the search algorithm to quickly eliminate large portions of the policy database by comparing packet selectors against the hierarchical structure, reducing search time and improving throughput.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If the number of policy selectors is increased to improve matching accuracy, then policy selection precision improves, but search time increases

Engineering Contradiction:
Improvepolicy matching accuracyVSAvoidsearch time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The hierarchical tree structure segments the policy selectors into multiple levels. The root level contains fewer, broader selectors that provide initial filtering, while intermediate and leaf levels contain more specific selectors. This segmentation allows the system to use many selectors for accurate matching without requiring all selectors to be examined simultaneously, as the hierarchical structure enables early termination when a match is found at any level.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The search algorithm performs partial examination of policy selectors by traversing the hierarchical tree and stopping when a match is found. It does not need to examine all selectors in the database, but only those relevant to the packet being processed. This partial action approach maintains high matching accuracy while reducing the average search time by avoiding unnecessary comparisons.

Inventive Principle:
Principle #16Partial or excessive action

3Loss of time

If hardware solutions like TCAM are used for fast policy lookup, then search time is reduced, but device cost and complexity increase

Engineering Contradiction:
Improvepolicy lookup timeVSAvoidhardware complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The patent creates a software-based copy of the TCAM functionality by implementing a hierarchical policy tree structure that mimics the fast lookup behavior of hardware TCAM. The tree structure organizes policy selectors in a way that enables efficient traversal and matching, replicating the constant-time lookup capability of TCAM using software data structures and algorithms, thereby achieving similar performance without the hardware complexity and cost.

Inventive Principle:
Principle #26Copying

4Device complexity

If policies are stored in a flat structure for simplicity, then device complexity is reduced, but search efficiency decreases

Engineering Contradiction:
Improvedata structure complexityVSAvoidsearch efficiency
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The policy database is transformed from a flat structure into a hierarchical tree structure segmented into multiple levels. Each level contains policy selectors organized by specificity and priority. This segmentation improves search efficiency by enabling the algorithm to traverse from general to specific selectors, eliminating the need to examine all policies in a flat structure, thereby achieving faster search without excessive complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent adds a hierarchical dimension to the policy storage structure by organizing selectors across multiple levels (root, intermediate, leaf) rather than in a single flat layer. This dimensional change enables the search algorithm to exploit the hierarchical relationships between selectors, improving search efficiency by allowing early termination and prioritized matching, while the tree structure remains manageable and not excessively complex.

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

Data Source

PatentUS8539547B2Policy selector representation for fast retrieval
Publication Date: 2013.09.17 CERTES NETWORKS INC
  • US8539547B2 patent drawing
  • US8539547B2 patent drawing
  • US8539547B2 patent drawing

AI summary

A method and apparatus for representing policies and searching for polices that match a packet are provided. The policies being represented and searched for include policies that overlap and policies that have “don't care” attributes.