Packet Switching Device False-Positive Pattern Matching Filter

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Packet switching devices often experience false-positive matches when using pattern matching techniques, leading to inefficient processing and potential misclassification of packets in high-speed communications networks.

Innovation Solution

A method involving a packet switching device that uses a combination of table lookup operations and a second validation technique, such as generating a hash key and performing a lookup in a hash table, to filter out false-positive matches and ensure accurate pattern matching, thereby reducing processing time and improving packet classification efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If pattern matching techniques are used for packet classification, then packet classification capability is improved, but false-positive matches increase leading to reduced accuracy

Engineering Contradiction:
Improvepacket classification capabilityVSAvoidmatch accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent performs preliminary pattern matching to identify potential matches, then follows up with additional validation checks (such as verifying packet length, protocol type, or other packet characteristics) to confirm whether the match is genuine. This two-stage approach allows the system to quickly filter out non-matching packets while maintaining high accuracy by validating suspected matches.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces intermediary validation mechanisms between the initial pattern matching and final classification decisions. These intermediaries (additional validation rules, verification steps, or cross-checks) act as mediators to distinguish true matches from false positives, thereby improving accuracy without sacrificing the speed benefits of pattern matching.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If additional validation techniques are applied to reduce false positives, then match accuracy is improved, but processing time increases

Engineering Contradiction:
Improvematch accuracyVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs preliminary pattern matching on all packets to identify potential matches quickly, then applies additional validation techniques only to those packets that show promising matches. This selective validation approach maintains high accuracy for true matches while minimizing the time overhead by avoiding unnecessary validation of clearly non-matching packets.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies validation techniques partially - not to every packet, but only to those that pass initial pattern matching thresholds. This partial action approach achieves sufficient accuracy for the application while avoiding the excessive processing time that would result from validating every single packet equally.

Inventive Principle:
Principle #16Partial or excessive action

3Speed

If simple pattern matching is used, then processing speed is maintained, but false-positive matches occur reducing reliability

Engineering Contradiction:
Improveprocessing speedVSAvoidclassification reliability
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The patent uses simple pattern matching as a preliminary filtering stage to maintain high processing speed, then applies reliability checks (such as verifying packet characteristics against expected patterns for the matched protocol) only to packets that pass the initial filter. This ensures that the majority of packets are processed quickly while maintaining high reliability for the subset that requires verification.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system introduces intermediary reliability verification steps between simple pattern matching and final classification. These intermediaries validate that the packet characteristics are consistent with the matched pattern, thereby improving reliability without significantly impacting processing speed since they are applied selectively rather than universally.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10063487B2Pattern matching values of a packet which may result in false-positive matches
Publication Date: 2018.08.28 CISCO TECHNOLOGY INC
  • US10063487B2 patent drawing
  • US10063487B2 patent drawing
  • US10063487B2 patent drawing

AI summary

In one embodiment, a packet switching device determines that a packet matches one of a plurality of predetermined patterns, however, this matching may produce a false-positive match of one of the underlying rules corresponding to the plurality of predetermined patterns. In one embodiment, determining the packet matches one of the plurality of predetermined patterns includes determining a first pattern match of a packet when each particular portion of a plurality of different portions of the packet is found to be matching a corresponding particular pattern portion by performing a table lookup operation based on the particular portion as an address in a corresponding different current portion-iteration table to retrieve a corresponding partial result. In one embodiment, the first pattern match is filtered using a second validation technique for removing false-positive first pattern matches. In one embodiment, the second validation technique includes using hashing.