The Research for Fast Exact String Matching Algorithms
- Author
- FanHongBo
- Advisor
- YaoNianMin
- School
- Harbin Engineering University
- Major
- Applied Computer Technology
- Classification
- TP391.3 Retrieval machine
- Degree
- Doctoral dissertation
- Year
- 2011
- Downloads
- 395
- Citations
- 1
- String matching
- Design of Algorithms
- exact single pattern
- exact multi-pattern
- time complexity analysis
Abstract
The String Matching problem means seeking all the occurrences of one or a set of givensymbol serial (named pattern) in another given symbol serial (named text). This problem is afundamental problem in computer science that has been widely used in most fields of text orsymbol processing, such as network security, information retrieval, and computational biology.To date, with fast developing of these application fields, existing string matching algorithmscouldn’t meet the performance demand of the application. The research fields of this paper arethe exact single pattern string matching and the exact multi-pattern string matching fields.And in this paper, some faster string matching algorithms are presented by improving existalgorithms.In the exact single pattern string matching field, we improved Q-Hash, EBOM andTVSBS and10(serial) algorithms were presented, which are SQ-Hash, TQ-Hash, SEBOM,BOMq, BOMq’, SufOMq, Suf_SEBOM, TVSBSq, TVSBSqA and FQ-Hash. It is shown inthe experimental results that algorithms presented in this paper are the fastest knownalgorithm under64.3%of cases in exact single pattern string matching field.We proved that the average time complexity of Q-Hash, SQ-Hash and TQ-Hash can reachthe lower bound of average time complexity of single pattern string matching. And on thisbasis, we proved that Wu-Manber, the most widely used multi-pattern string matchingalgorithm, can reach the lower bound of average time complexity of multi-pattern stringmatching when it chooses the same hash function with SQ-Hash.We presented a common method to research suffix jump type algorithms, named LegendMethod. This Method can gain the maximum jump distance of suffix jump. It is intuitivelyand can be directly translated into the preprocessing of algorithm. It facilitates the furtherresearches of suffix type algorithms.And we presented an isomorphism automaton of AAC which is named Set DFA. Thebuild time complexity of Set DFA is same with the build time complexity of AAC. Set DFAdoes not use the failure function. It has simpler code, less operations than AAC. And Set DFAis easy to artificial realization. The building time of Set DFA is just a haft of the buildingtimes of AAC.
Table of contents
Summary 5-6
Abstract 6-9
Chapter 1 Introduction 9-14
1.1 Background 9-12
1.1.1 information Search 9
1.1.2 network Security 9-11
1.1.3 Computational Biology 11-12
1.2 the main work and innovation 12-13
1.3 thesis structure and chapter arrangement 13-14
Chapter 2 string matching algorithm research work 14 -34
2.1 string matching definitions Status matching 14-15
2.2 single- precision mode 15-22
Research Status accurate multi-mode string matching 2.3 22-24
2.4 domestic research status 24-27
2.4.1 domestic dissertations 24-25
2.4.2 major domestic journals Related articles on 25-27
2.5 herein may be the basic concepts and definitions 27-33
2.5.1 basic definitions 27
2.5 .2 automatic machine definitions 27-29
2.5.3 Introduction typical algorithms of automatic machine 29-32
2.5.4 experimental platform defines 32-33
2.6 Summary 33-34
Chapter 3, based on Q-Hash of fast and accurate single pattern matching algorithms 34-54
3.1 Q-Hash algorithm introduced 34-36
3.2 simplifies Q-Hash algorithm 36-37
3.3 to improve jumping from 37-39
3.4 Q-Hash algorithm time series complexity Analysis 39-47
3.5 Wu-Manber series algorithm time complexity analysis 47-50
3.6 experimental data 50-52
3.7 Summary 52-54
Chapter 4 fast and accurate based on the BOM single pattern matching algorithms 54-75
4.1 basics 54-55 <br / > 4.2 EBOM algorithm introduced 55-56
4.3 EBOM simplified algorithm 56-57
4.4 Q-grams mechanism 57-59
4.5 improve the Q the maximum jump distance -grams mechanism 59-60
4.6 Factor Oracle -based class suffix hopping mechanism 60-62
4.7 above mechanism of multi-mode expansion 62 -68
4.7.1 Set BOM algorithm introduced 62-64
4.7.2 BOM multi-mode series expansion algorithm 64-68
4.8 experimental data 68-74
4.9 Summary 74-75
Chapter 5 fast and accurate based TVSBS single pattern matching algorithms 75-87
5.1 TVSBS algorithm introduced 75-78
5.1.1 BM good suffix mechanism 75
5.1.2 Quick Search mechanism 75-76
5.1.3 BM bad string mechanism 76
5.1.4 SSABS optimal matching sequence mechanism 76-77
5.1.5 TVSBS algorithm description 77-78
5.2 Q- grams mechanism 78-79
5.3 accelerated through the window to check the automatic machine 79-81
5.4 full advantage of checking character information 81-84
5.5 experimental data 84-86
5.6 Summary 86-87
Chapter 6 improved AC multi- pattern matching algorithm 87-99
6.1 AC algorithm introduction 87-90
6.2 simplifies the process of building AAC 90-93
6.3 simplifies nbsp AAC arithmetic operations ; 93-95
6.4 experimental data 95-97
6.5 Summary 97-99
conclusion 99-102
References 102-110
PhD published papers and obtained during the research 110-111
Thanks 111-113
A single pattern exact match domain comparison test nbsp appendix ; 113-122 <br / > Appendix B accurate multi- field pattern matching comparison test 122-124
Related dissertations
- Studies on the General Parallel Method to Improve the Performance of String Matching Algorithm
- An Algorithm for Matching Strings with Wildcards
- Research and Implementation on Efficient String Match for Ten Millions of Patterns
- Research on Ranking Scientific Publications Based on Citation Graph
- Design and Implementation of Ng Firewall System Based on Flow Identification Technology
- Design and Implementation of Universal Network Mapping Strategy Management System
- Studies on String Mathching Algorithm Based on the Character’s Law
- Research on Deep Packet Inspection Algorithm in High-speed IP Network
- The Substation Online Five Anti-system Software Design and Research
- A Study of the Authentication Based on Online Signatures
- Study on the Content-Based Network Security Monitoring Model and Its Key Technology
- Hardware-based String Matching Algorithm in Network Content Analysis
- Algorithms and Implementation of String Match in Intrusion Detection System
- Key Techniques of Data Filtering on High Speed Network
- Research on the Copy Detection Technology for Source Code
- Research of High-Performance String Matching Technology for Large Scale String Set
- Research on the Methods of Java Code Clone Detecting
- Research on IP Packet Classification Techniques
- R bits matching rule based on continuous parallel string matching research
- Analysis of Algorithms Based on Markov Chains Model