Pattern matching method based on decision tree pruning

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

Active Publication Date: 2016-11-02
GUILIN UNIV OF ELECTRONIC TECH
View PDF8 Cites 17 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 invention provides a pattern matching method based on decision tree pruning. The simplified AC algorithm of the decision tree pruning method is combined in the pattern matching method, and the pattern matching method comprises the steps of generation of an automatic machine, simplification of the automatic machine, failure pointer calculation and suffix table storage and matching. The conventional automatic machine type pattern matching algorithm is divided into two steps: matching possibility judgment and matching confirmation. The possibility of matching of text strings and pattern strings in a pattern set is judged by the simplified automatic machine and then matching confirmation is performed. Compared with the conventional automatic machine type pattern matching algorithm, memory consumption of the simplified method is reduced for 35%-40% under the premise of guaranteeing speed. Besides, the scale of the automatic machine can be effectively reduced by the decision tree pruning method, and nodes useless for classification judgment are deleted so that memory consumption of the conventional automatic machine type pattern matching can be effectively reduced.

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