IP Library Granted Patent US 9,064,032
Granted Patent B2
US 9,064,032 · App. 13/646,315 · Granted Jun 23, 2015

Blended match mode DFA scanning

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 9,064,032
App. No.
13/646,315
Granted
Jun 23, 2015
Kind
B2
Abstract

Disclosed is a method for simultaneously finding matches for rules that require greedy matching and comprehensive matching by executing a single Deterministic Finite Automaton (DFA). DFAs annotations are used to enable a single DFA to represent rules that require greedy and comprehensive matching. DFA descents are performed from various positions in an input stream, match information is recorded and match results are selectively generated (filtered) to achieve the greedy or comprehensive match behavior required by individual rules.

Claims (24)

1. A method for matching rules to an input stream by executing a single DFA having a plurality of states, wherein said rules require greedy matching and comprehensive matching, comprising:

in a scanner:

executing the DFA in a single scan descent;

reporting comprehensive match tokens;

reporting greedy match tokens; and

if it is known that a given start position in the input stream cannot be the beginning of a comprehensive match, and the start position overlaps a committed greedy match, skipping to the next viable position in the input stream.

2. The method of claim 1 , wherein the step of reporting greedy matches comprises:

recording non-terminal matches as greedy-last accept information;

updating the greedy-last accept information as the descent continues; and

reporting the last updated greedy-last accept information when the descent ends.

3. The method of claim 1 , said method further comprising selectively filtering greedy matches by iteratively inspecting match tokens in the increasing order of the start position.

4. The method of claim 1 , wherein the step of reporting greedy matches comprises:

recording non-terminal matches as greedy-last accept information;

updating the greedy-last accept information as the descent continues;

reporting the last updated greedy-last accept information when the descent ends; and

wherein said method further comprises selectively filtering greedy matches by iteratively inspecting match tokens in the increasing order of the start position.

5. The method of claim 1 , wherein the steps of reporting comprehensive match tokens and reporting greedy match tokens do not affect each other.

6. The method of claim 1 , said method further comprising:

sorting any reported tokens.

7. The method of claim 1 , said method further comprising:

annotating sections of branches in the DFA that lead only to greedy matches, wherein a scanner is enabled to abandon DFA descents that overlap committed greedy matches.

8. The method of claim 1 , wherein each of said plurality of states is associated with a state instruction block:

wherein an accepting state instruction block contains at least one comprehensive match token and at least one greedy match token; and

the at least one comprehensive match token is at a nonnegative offset from the base address in the state instruction block and the at least one greedy match token is at a negative offset from the base address in the state instruction.

Assignments (5)
TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENT RIGHTS (RELEASES RF 032856-0031) Recorded Feb 2, 2016
From: DEUTSCHE BANK AG NEW YORK BRANCH, AS COLLATERAL AGENT
To: LSI CORPORATION; AGERE SYSTEMS LLC
Reel/Frame 037684/0039 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 24, 2015
From: LSI CORPORATION
To: INTEL CORPORATION
Reel/Frame 035090/0477 →
TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENTS AT REEL/FRAME NO. 32856/0031 Recorded Nov 18, 2014
From: DEUTSCHE BANK AG NEW YORK BRANCH
To: LSI CORPORATION; AGERE SYSTEMS LLC
Reel/Frame 034286/0872 →
PATENT SECURITY AGREEMENT Recorded May 8, 2014
From: LSI CORPORATION; AGERE SYSTEMS LLC
To: DEUTSCHE BANK AG NEW YORK BRANCH, AS COLLATERAL AGENT
Reel/Frame 032856/0031 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 12, 2012
From: RUEHLE, MICHAEL
To: LSI CORPORATION
Reel/Frame 029118/0419 →