Extended finite state machine and search method for multiple regular expression associated search

A finite state machine and joint search technology, applied in the field of string search, can solve problems such as increasing the user's processing burden and complexity, and achieve the effect of processing string fallback and efficient parallel search

Inactive Publication Date: 2008-05-07
BEIHANG UNIV
View PDF0 Cites 17 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 pres

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
  • Extended finite state machine and search method for multiple regular expression associated search

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 between state and ...

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, and also discloses a method for simultaneously searching multiple regular expressions by using the extended finite state machine. The extended finite state machine adds four parameters, including the state identification set, the state transition function identification set, the mapping function between the state and the state identification, and the mapping function between the state transition function and the state transition function identification. The conversion function also introduces a flag, which allows users to implement efficient parallel search of multiple regular expressions without writing additional routines, preserves the information of a single regular expression, and effectively handles string fallback.

Description

technical field [0001] The invention relates to an extended finite state machine for realizing joint search of multiple regular expressions, and also relates to a method for realizing character string search by using the 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...

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
IPC IPC(8): G06F17/30
Inventor 许福李虎金茂忠刘超
Owner BEIHANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products