Unlock instant, AI-driven research and patent intelligence for your innovation.

Multiple regular expression associated searching method based on extended finite state machine

A finite state machine and expression technology, applied in the computer field, can solve complex problems, increase user processing burden, etc., and achieve the effect of efficient parallel search and string back processing

Inactive Publication Date: 2010-04-14
BEIHANG UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the fallback of searching multiple regular expressions at the same time, it is more complicated to deal with. At present, it is mostly solved by users writing additional processing routines, which increases the processing burden of users.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Multiple regular expression associated searching method based on extended finite state machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The core technical idea of ​​the present invention is to expand the traditional non-deterministic finite state machine and deterministic finite state machine, and introduce state identification and state transition function identification to it, which the inventor named respectively as extended non-deterministic finite state machine machine and extended deterministic finite state machine, which are defined as follows:

[0042] Definition 1 Extended Nondeterministic Finite State Machine (E-NFA)

[0043] The extended non-deterministic finite state machine M is a nine-element formula, M=(Q, P, N, Vt∪{ε}, ρ, ω, δ, q0, F). in:

[0044] ◆The meanings of Q, Vt, ε, δ, q0, and F are the same as those of the corresponding parameters in the non-deterministic finite state machine;

[0045] ◆P represents a finite state identification set;

[0046] ◆N represents the finite state transition function identification set;

[0047] ◆ρ represents the mapping function of state and state...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an extended finite state machine, as well as a method for simultaneously searching a plurality of regular expressions by use of the extended finite state machine, which is characterized in that: four parameters, namely, an identification aggregate, a state conversion function identification aggregate, a mapping function of state and state identification, and a mapping function of the state conversion function and the state conversion function identification, are added on the finite state machine. By introducing identifications into the state and the state conversion function, the invention has the advantages that: users can accomplish concurrent search of multiple regular expressions without programming additional routines, save the information of a single regular expression and meanwhile effectively process character string rollbacks.

Description

technical field [0001] The invention relates to a multi-regular expression joint search method based on an extended finite state machine, which belongs to the technical field of computers. Background technique [0002] With the development of IT technology, the amount of information is explosively increasing, and information retrieval is playing an increasingly important role. The search method based on regular expressions has been widely used in string search due to its simple implementation and high performance, and a large number of mature support tools have emerged, among which grep, egrep, awk, sed, etc. are typical representatives. [0003] Regular expressions, also known as regular expressions or regular expressions, are often used to describe or match a series of strings that conform to a certain syntax rule. Simply put, a regular expression is a literal pattern consisting of ordinary characters (such as the characters a to z) and special characters (called metachar...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30
Inventor 许福李虎金茂忠刘超
Owner BEIHANG UNIV