IP Library Granted Patent US 8,407,261
Granted Patent B2
US 8,407,261 · App. 12/494,559 · Granted Mar 26, 2013

Defining a data structure for pattern matching

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,407,261
App. No.
12/494,559
Granted
Mar 26, 2013
Kind
B2
Abstract

An information processing apparatus according to the present invention comprises a generation section configured to generate an ordered tree structure by defining transition edges between nodes using, as transition conditions, respective constraints from one or more constraint pattern each including plural constraints, a search section configured to search for a second substructure K similar to a first substructure P from a root node by determining a set relation between transition conditions of respective transition edges, and a transition defining section configured to define an additional transition link from a tail node s K n of the second substructure K to a child node s P n+1 of the first substructure P, the additional transition link adding a constraint to be met by an indeterminant identified from the set relation, wherein a data structure for pattern matching is defined.

Claims (27)

1. An information processing apparatus for defining a data structure for pattern matching comprising:

a generation section configured to generate an ordered tree structure by defining transition edges between nodes using, as transition conditions, respective constraints from one or more constraint patterns each including plural constraints;

a search section configured to search for a second substructure of the ordered tree structure similar to a first substructure of the ordered tree structure from a root node by determining a set relation between transition conditions of respective transition edges;

a transition defining section configured to define an additional transition link from a tail node of the second substructure to a child node at a tail end of the first substructure, the additional transition link adding a constraint to be met by an indeterminant identified from the set relation; and

a storage device configured to store the ordered tree structure and additional transition link as the defined data structure for pattern matching.

2. The information processing apparatus according to claim 1 , further comprising a reference defining section configured to define a reference link from the tail node of the second substructure to a tail node of the first substructure the tail end of which is an end state, the reference link being subject to the constraint to be met by the indeterminant identified from the set relation.

3. The information processing apparatus according to claim 1 , wherein the search section identifies, as similar substructure, a node string connected by a transition edge whose transition condition is in an EQUALS, INCLUDED, INCLUDES, or INTERSECTS relation.

4. The information processing apparatus according to claim 1 , wherein when a transition condition from a tail node of the first substructure is in neither INCLUDED nor EQUALS relation with a transition condition from the tail node of the second substructure, the transition defining section defines the additional transition link.

5. The information processing apparatus according to claim 1 , wherein when a transition condition from a node of the first substructure is in an INCLUDED or INTERSECTS relation with a corresponding transition edge at the second substructure, the search section records the corresponding transition edge as the indeterminant and a constraint of the transition condition as the constraint to be met by the indeterminant identified from the set relation.

6. The information processing apparatus according to claim 1 , further comprising:

an automaton configured to match input information with the one or more constraint patterns represented by the defined data structure.

7. The information processing apparatus according to claim 1 , wherein each of the constraints comprising a constraint pattern includes one or more constraint elements for a character string expression, regular expression, or part-of-speech information of a word.

8. A computer program product for defining a data structure for pattern matching, the computer program product comprising at least one non-transitory computer-readable storage medium having computer-usable program code stored therein, the computer-usable program code comprising:

computer-usable program code for generating an ordered tree structure by defining transition edges between nodes using, as transition conditions, respective constraints from one or more constraint patterns each including plural constraints;

computer-usable program code for searching for a second substructure of the ordered tree structure similar to a first substructure of the ordered tree structure from a root node by determining a set relation between transition conditions of respective transition edges; and

computer-usable program code for defining an additional transition link from a tail node of the second substructure to a child node at a tail end of the first substructure, the additional transition link adding a constraint to be met by an indeterminant identified from the set relation.

9. The computer program product according to claim 8 , further comprising:

computer-usable program code for defining a reference link from the tail node of the second substructure to a tail node of the first substructure the tail end of which is an end state, the reference link being subject to the constraint to be met by the indeterminant identified from the set relation.

10. The computer program product according to claim 8 , wherein the computer-usable program code for searching for a second substructure similar to a first substructure comprises computer-usable program code for searching for a node string connected by a transition edge whose transition condition is in an EQUALS, INCLUDED, INCLUDES, or INTERSECTS relation.

11. The computer program product according to claim 8 , wherein when a transition condition from a tail node of the first substructure is in neither INCLUDED nor EQUALS relation with a transition condition from the tail node of the second substructure, the additional transition link is defined.

12. The computer program product according to claim 8 , further comprising:

computer-usable program code for, when a transition condition from a node of the first substructure is in an INCLUDED or INTERSECTS relation with a corresponding transition edge at the second substructure, recording the corresponding transition edge as the indeterminant and a constraint of the transition condition as the constraint to be met by the indeterminant identified from the set relation.

13. The computer program product according to claim 8 , further comprising:

computer-usable program code for providing an automaton configured to match input information with the one or more constraint patterns represented by the defined data structure.

14. The computer program product according to claim 8 , wherein each of the constraints comprising a constraint pattern includes one or more constraint elements for a character string expression, regular expression, or part-of-speech information of a word.

15. The computer program product according to claim 8 , further comprising:

computer-usable program code for storing the defined data structure for pattern matching in a storage device.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 4, 2024
From: BREAKWATER SOLUTIONS, LLC; REPARIO DATA, LLC
To: JETTEE, INC.
Reel/Frame 069124/0227 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 11, 2022
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: BREAKWATER SOLUTIONS LLC
Reel/Frame 058616/0384 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 30, 2009
From: KOYANAGI, TERUO; TSUBOI, YUTA
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 022891/0572 →