Research of String Matching for Internet Content Filtering
- Author
- LiuPing
- Advisor
- BaiShuo
- School
- Institute of Computing Technology
- Major
- Computer Applications
- Classification
- TP301.6 Algorithm Theory
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 157
- Citations
- 4
Abstract
String matching, an oldest problem in computer science, can be understood as the problem of searching for a pattern with some property within a given sequence. The simplest case is finding a given string inside a sequence, which suffered a great deal of research and some excellent algorithms were proposed.Recent years, however, have witnessed a dramatic increase in interest on string matching problems, especially within the rapidly growing of Internet and Computational Biology. With the increase of the application of Internet, the information in Internet is growing rapidly; and hence raised a great challenge finding a specific information timely and exactly and securely in the gigantic information stream. For the large magnitude of the data, the real time requirement of the information retrieval and the structural property of the matching text, improvement of the classical string matching techniques should be made to overcome this challenge.This thesis summarizes our attempt to solve these questions and achieve some results as follow:1. Properties of some classical algorithms on random data were summarized and analyzed. The current research of the string matching algorithms were summarized in this thesis, include of single string matching algorithms, such as KMP algorithm, Boyer-Moor algorithm and BOM algorithm, and multiple string matching algorithms, e.g., Aho-Corasick, WuManber and SBOM algorithm. The average time complexity of those algorithms were also given, which was validated by tests on the random data sets. As result, four properties of multiple string matching algorithm were given to guide algorithms designing.2. A partition strategy was proposed for multiple string matching. Experimental result shows that the speed of the classical multiple string matching algorithms decreased rapidly when the number of strings exceeds 5000. To solve this problem, a partition strategy
Table of contents
Summary 6-8
English summary 8-10
Chapter 1 Introduction 10-15
1.1 string matching technology research purpose and meaning 10-11
1.1.1 pattern matching techniques in network intrusion detection system 10-11
1.1.2 pattern matching technique in Computational Biology 11
1.2 string matching algorithm study the status 11-13
1.2.1 exact string pattern matching algorithm 12-13
1.2.2 pattern string approximate matching algorithm 13
1.3 content of this article 13-15
Chapter exact string matching algorithm for multi-mode performance analysis 15-29
2.1 multi-mode exact string matching algorithm 15-17
2.1.1 multi- pattern matching problem 15
2.1.2 multi- pattern matching algorithm 15-17
string matching algorithm performance over 2.2 mode analysis 17-27
2.2.1 algorithm running mode analysis 18-22
2.2.2 average time complexity algorithm analysis 22-25
2.2.3 experimental results and further analysis 25-27
2.3 multi-mode string matching algorithm performance formalization 27-28 <br / > 2.4 Summary 28-29
Chapter scale pattern matching 29-34
3.1 scale string matching problem and solution ideas 29 - 30
3.2 optimal partitioning continuity 30-31
3.3 optimal partitioning of equal length segments of 31-33
3.4 Summary 33-34
Chapter IV COM massive pattern matching algorithm and implementation 34-51
4.1 scale string matching algorithm -COM 34-39
4.1.1 intuitive thinking 34-35
4.1.2 dynamic programming strategy 35-37
4.1.3 shortest Path method 37-39
improved 4.2 COM algorithm 39-42
4.3 scale model train fast matching module 42-44
4.3.1 module frame 42
4.3 .2 standardization sub-module 42
4.3.3 to solve the optimal grouping and sub- optimal matching module 42-43
4.3.4 automaton constructed sequence of sub-module 43
4.3.5 scan matching sub-module 43-44
4.4 experimental results and analysis 44-50
4.4.1 experimental environment and related instructions 44
4.4.2 random data test results 44-46
4.4.3 simulated data test results 46-48
4.4.4 real data to test the results 48-50
4.5 Summary rapid string matching 50-51
Chapter XML file on 51-61
5.1 problem Description design and implementation 51-52
5.2 XMatch algorithm 52-59
5.2.1 Schema element level analysis 54-56
5.2.2 analysis path 56-57
5.2.3 construct automata DFA 57-59
5.3 trials comparing the results 59-60
5.3.1 keyword matching nbsp 59
5.3.2 comparison of pure scanning speed ; 59-60
5.4 Summary 60-61
Chapter VI conclusions and Prospects 61-63
References 63-67
published articles 67-68
Thanks 68-69
Author About 69