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

Pattern Matching Method Based on Decision Tree Pruning

A pattern matching and decision tree technology, applied in the field of information security, can solve a large number of memory storage problems, achieve the effect of reducing memory consumption, simplifying the scale of automata, and reducing memory consumption

Active Publication Date: 2019-01-29
GUILIN UNIV OF ELECTRONIC TECH
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a pattern matching method based on decision tree pruning for the problem that the existing automata-based pattern matching algorithm needs a large amount of memory storage

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
  • Pattern Matching Method Based on Decision Tree Pruning
  • Pattern Matching Method Based on Decision Tree Pruning
  • Pattern Matching Method Based on Decision Tree Pruning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to make the technical solutions and advantages of the present invention clearer, the present invention will be further described in detail in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0041] A pattern matching method based on decision tree pruning, the specific steps are:

[0042] The text string input in this embodiment is T, the pattern set K {his, the, there, who}, wherein T is a text string composed of any characters, K in K i for the pattern string.

[0043] Phase I: Generating the automata.

[0044] Step 1, according to the generation rules of the automata of the AC algorithm, that is, the Goto function, add the pattern strings in the pattern set to the automaton in turn, and generate as figure 1 The automaton shown. At the same time, during the automaton generation process, each p...

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 present invention proposes a pattern matching method based on decision tree pruning, which combines the simplified AC algorithm of the decision tree pruning method, including automata generation, automaton simplification, calculation failure pointer, storage suffix table and matching execution, etc. step. The invention divides the traditional automaton type pattern matching algorithm into two steps: matching possible judgment and matching confirmation. Through the simplified automaton, it judges whether the text string matches the pattern string in the pattern set, and then confirms the match. On the premise of ensuring the speed, the simplified method proposed by the present invention reduces the memory consumption by 35%-40% compared with the traditional automaton type pattern matching algorithm. In addition, the present invention can effectively reduce the scale of the automaton through the pruning method of the decision tree, delete nodes that are useless for classification and judgment, and effectively reduce the memory consumption of traditional automaton type pattern matching.

Description

technical field [0001] The invention relates to the technical field of information security, in particular to a pattern matching method based on Decision Tree Pruning. Background technique [0002] Pattern matching algorithms are widely used in intrusion detection, information retrieval, pattern recognition, gene matching and many other fields. The pattern matching algorithm with stable performance is the "multiplier" of the network intrusion detection system. Automata-based pattern matching algorithms have the characteristics of stable performance, among which AC algorithm is the representative. Because the AC algorithm has the linear worst time complexity, high flexibility, can tolerate short patterns, and can resist complexity attacks, it is currently one of the preferred online matching algorithms. [0003] However, as the demand for pattern matching performance increases, pattern matching algorithms based on automata become the basis of high performance pattern matchi...

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): G06K9/62
CPCG06F18/22
Inventor 古天龙王亚南徐周波常亮陈帅王敏
Owner GUILIN UNIV OF ELECTRONIC TECH