Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Character string matching method based on automatic control (AC) automatic machine and suffix tree

A technology of character string matching and suffix tree, which is applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of increased network delay, reduced locality, and reduced performance of network security equipment to achieve the reduction of required resources, performance-enhancing effects

Inactive Publication Date: 2013-04-03
TSINGHUA UNIV
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, caching data packets and recombining data packets have the following disadvantages: first, caching data packets will increase the network delay; Exhaustion; again, in a web security appliance with a cache memory, reading and writing packet data in large numbers in memory can also reduce the locality of the cache memory, thereby reducing the performance of the web security appliance

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
  • Character string matching method based on automatic control (AC) automatic machine and suffix tree
  • Character string matching method based on automatic control (AC) automatic machine and suffix tree
  • Character string matching method based on automatic control (AC) automatic machine and suffix tree

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention.

[0035] The present invention proposes a character string matching method based on AC automaton and suffix tree, which is an improvement to AC algorithm, by recording the state number of the automaton instead of caching the contents of the entire data packet, and this method can be used for AC algorithm at the same time In the derivative algorithm AC-Optimized, Cl-AC and other algorithms, the flow chart of the method is as follows figure 2 As shown, the method includes:

[0036] S1, compiling the feature string into an AC automaton;

[0037] S2. Compile the suffix set of the feature string into a suffix tree;

[0038] S3. Whenever a data packet enters the network security device, match the data packet according to the AC automaton, and use the suffix tree to save the matchin...

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 a character string matching method based on an automatic control (AC) automatic machine and a suffix tree, which comprises the following steps of: S1, compiling a characteristic character string into an AC automatic machine; S2, gathering suffixes of the characteristic character string and compiling into a suffix tree; S3, as long as a data packet enters into network security equipment, matching the data packet depending on the AC automatic machine, and conserving a matching state through the suffix tree; and S4, if the matching is successful, discarding the data packet. According to the character string matching method disclosed by the invention, the state numbers of the AC automatic machine and the suffix tree are conserved while matching the character string of the data packet, so that the data packet can be matched in a manner of continuing the last state even though disorder occurs, to avoid cache of the previous data packet; the shortcomings of increment of delay, deterioration of memory consumption and local reduction of a high-speed cache memory due to the cache are overcome, resource required by the network security equipment is reduced and performance of the network security equipment is improved.

Description

technical field [0001] The invention relates to the technical field of network filtering and monitoring, in particular to a string matching method based on AC automaton and suffix tree. Background technique [0002] With the continuous improvement of network security requirements, functions such as intrusion detection, anti-virus, and content filtering are increasingly applied to network security devices. The string matching algorithm is the core algorithm supporting these functions, and also determines the performance of network security devices. At present, the string matching algorithm most widely used in network security equipment is the Aho-Corasick (AC) automaton algorithm. The AC algorithm is a string matching algorithm based on the principle of automata, such as figure 1 As shown, its basic working principle is as follows: First, compile the signature string (such as virus signature database, filter keywords, etc.) For example, in a), check whether the current stat...

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): H04L29/06G06F17/30
Inventor 陈新明李军
Owner TSINGHUA UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products