IP Library Granted Patent US 8,386,530
Granted Patent B2
US 8,386,530 · App. 13/191,947 · Granted Feb 26, 2013

Systems and methods for processing regular expressions

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 8,386,530
App. No.
13/191,947
Granted
Feb 26, 2013
Kind
B2
Abstract

A method for reducing the size of a DFA associated with a regular expression separates the functions of locating subexpressions within the DFA and determining if the located subexpressions satisfy a regular expression. For example, the functions of (1) locating subexpressions in a range asserting expression and, (2) determining whether the subexpressions satisfy the range of the range asserting expression are partitioned. In one embodiment, a first component may locate the subexpressions in a data stream using one or more DFAs, while a second component determines if the located subexpressions satisfy the range. In this embodiment, because the DFAs are not configured to determine a relationship between subexpressions, such as a range between subexpressions, the size of the resultant DFA may be significantly reduced.

Claims (13)

1. A method of processing a regular expression, the method comprising:

receiving the regular expression comprising a range asserting expression;

determining a first subexpression and a second subexpression of a range asserting expression;

storing information indicating a relationship between the first subexpression and the second subexpression as indicated in the range asserting expression;

generating a deterministic finite-state automata (DFA) corresponding to the regular expression, the generated DFA comprising terminal states corresponding to locations of each of the first and the second subexpressions in a received data stream;

in response to reaching a first terminal state indicating the location of the first subexpression:

applying the DFA to the received data stream in order to generate information regarding two or more subexpressions in the received data stream; and

processing information regarding a relationship between the two or more subexpressions and the information regarding the two or more subexpressions in the received data file stream in order to determine if the received data stream satisfies the regular expression by;

in response to reaching a second terminal state indicating the location of the second subexpression:

storing the location of the first subexpression

storing the location of the second subexpression; and

evaluating the relationship information, wherein the evaluating further comprises determining if the relationship between the first and second subexpression is satisfied by the location of the first subexpression and the location of the second subexpression.

2. The method of claim 1 , wherein the relationship information comprises a set of assertions, wherein if each of the assertions are satisfied by the received data stream, the regular expression has been located in the data stream.

Assignments (4)
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 →
TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENTS AT REEL/FRAME NO. 32856/0031 Recorded May 29, 2015
From: DEUTSCHE BANK AG NEW YORK BRANCH
To: LSI CORPORATION
Reel/Frame 035797/0943 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 24, 2015
From: LSI CORPORATION
To: INTEL CORPORATION
Reel/Frame 035090/0477 →
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 →