Finite automaton generating method of regular expression with wildcards
A finite automaton and expression technology, applied in the field of network intrusion detection, can solve the problems of consuming large compilation time, unable to support wildcards well, and long compilation time, so as to reduce the consumption of pre-compilation time and improve the efficiency of compilation. Efficiency, the effect of improving processing efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0026] The technical solution of the present invention will be specifically described below in conjunction with the accompanying drawings.
[0027] The invention provides a method for generating a finite automaton with a wildcard regular expression, which is characterized in that it is implemented according to the following steps:
[0028] S1: Generate an abstract syntax tree T according to the regular expression with wildcards, and number each node of the abstract syntax tree T;
[0029] S2: Calculate the nullable (n) of each node and three position sets of each node according to the abstract syntax tree T generated in step S1, the position set corresponds to the set of node numbers in the syntax tree, wherein, nullable(n) indicates whether the subexpression represented by node n can be empty; the three position sets are respectively expressed as: firstpos(n), lastpos(n) and followpos(p), and firstpos(n) indicates the subexpression represented by node n The position set of t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com