The Research of Multiple Pattern Matching Algorithm on Chinese/English Mixed Texts and GPU Parallelization
- Author
- WangZhen
- Advisor
- LiRenFa
- School
- Hunan University
- Major
- Computer Science and Technology
- Classification
- TP391.1 Text Processing
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 0
- Citations
- 0
- Content Audit
- multiple pattern matching
- Chinese/English mixed
- Graphics Processing Unit (GPU)
- Parallel computing
- computer unified devicearchitecture (CUDA)
Abstract
With the development of computer, communication and network, informationleakage and security have been more and more concerned. Content audit of networkinformation can ensure that the information will not be leaked and prevent theillegal information effectively. The key technology for content audit is multiplepattern matching. In the network environment of China, multiple pattern matchingwill face the Chinese/English mixed particular problem. Traditional multiplepattern matching in this environment will cause the expansion of space,mismatching or leakage matching. With the increasing of the network data scale,real-time content audit have higher requirements. Therefore, we proposed somenew protection methods in this research work.(1) With the Trie structure a matching algorithm based on the node addedmixed multiple pattern matching is proposed. By adding a small amount of nodes,the algorithm avoids stagger matching for the Chinese first byte. The algorithm canprocess the pattern string which has containing both Chinese and Englishcharacters properly, and avoids mismatching effectively. It prevents the occurrenceof false matching and simplifies the process of matching by the elimination ofbranches statement to make the algorithm be paralleled easier. Based on storing thematchings number of each state, one optimization algorithm is proposed. Thealgorithm reduces the time cost of pattern matching, and improves the matchingefficiency.(2) One GPU parallel optimization algorithm based on splitting the text fortexts matchings is proposed. By pretreatment of text data, this algorithm splits thetext, and improves matching efficiency by parallelization. A common text matchingplatform based on GPU is proposed. This platform provides a unified functioninterface. Researchers can complete the multi-pattern matching algorithm forparallel optimization by make their core code embedded into the interface functionssimply. The platform simplifies the process of coding, and improves the efficiencyof development.
Table of contents
Abstract 5-6
Abstract 6-10
illustrations index 10-11
Schedule Index 11-12 <br / > Chapter 1 Introduction 12-19
1.1 background 12-13
1.2 related research questions 13-16
1.2.1 multi-Mode match 13
1.2.2 Trie structure 13
1.2.3 English mixed environment 13-14
1.2.4 GPU parallel processing 14-15
1.2.5 CUDA architecture difficulties and challenges faced by 15-16
1.2.6 16
1.3 research and contribution 16-17
1.3.1 research ideas and content 16-17
1.3.2 contribution 17
1.4 thesis structure 17- 19
Chapter 2 studies 19-27
2.1 Introduction 19-20
2.2 multi-pattern matching algorithm 20-21
2.2.1 prefix search 20
2.2.2 suffix search 20-21
2.2.3 substring search 21
2.3 English mixed environment matching algorithm under 21-25
2.3.1 all bytes exactly match the hash algorithm 22
2.3.2 split character-based matching algorithm 22
2.3.3 -based multi- pattern matching algorithm jump 22
2.3.4 complete hash algorithm 22-24
2.3.5 cued completely hash algorithm 24-25
2.4 multi-pattern matching parallelization 25
2.4.1 Brute Force algorithm parallelization 25
2.4.2 adding redundant information matching parallelization 25
2.4.3 parallelized AC algorithm 25
2.5 Conclusion 25-27
Chapter 3 Add the matching node-based multi-mode hybrid Britain 27-38
3.1 Introduction 27-28
3.2 full hash Trie algorithm based on node add 28- 33
cued nbsp 3.2.1 Trie structure ; 28-29
dislocation 3.2.2 Chinese characters match 29-30
on 3.2.3 Trie structure adding nodes algorithm 30-32
3.2.4 build complete state transition 32-33
3.2.5 add text-based matching process node 33
3.3 memory storage status results 33-35
3.3.1 contains the current state of the number of matches 33-34
3.3.2 optimized for text matching process 34-35
3.4 multi-byte character encoding processing 35-36
3.4.1 multi-byte encoding node add 35
3.4.2 Add a compromise real-time strategy 35-36
3.5 temporal complexity analysis 36
3.5.1 spatial complexity 36
3.5. 2 time complexity 36
3.6 Conclusion 36-38
Chapter 4 GPU -based hybrid multi- pattern matching Britain parallelization 38-48
4.1 Introduction 38-39
4.2 Rich Text parallel algorithms 39
4.3 GPU -based parallel algorithms text split 39-43
4.3 .1 text split 40-41
4.3.2 deal with the split small text 41-42
processing nbsp 4.3.3 split text at ; 42-43
4.4 GPU parallel optimization algorithms 43-46
4.4.1 parallelization pretreatment 43-44
data structure stored nbsp 4.4.2 ; 44-45
4.4.3 space compression 45-46
4.5 GPU -based general-purpose parallel text matching prototype system 46-47
4.6 Conclusion 47-48
Chapter 5, the results of experiments and analysis 48-57
5.1 Introduction 48
5.2 experimental environment 48 <br / > 5.2.1 hardware platform 48
5.2.2 software platform 48
5.3 experimental data 48-49
5.3.1 multiple text experiment 49
5.3.2 large text experiment 49
5.4 results and analysis 49-55
5.4.1 THT and NA-Trie algorithm efficiency comparison 49-51
5.4.2 serial / parallel algorithm efficiency comparison affect 51-54
5.4.3 serial number matching mode efficiency 54-55
5.5 Conclusion 55-57
conclusion 57-59
references 59-63
Appendix A master's degree papers published during 63-64
Appendix B to participate in projects and studying for a master's degree during the awards 64-65
Thanks 65
Related dissertations
- Loan Default Prediction Based on Imbalanced Data Classification
- A Study of GPU-based Parallel Learning to Rank
- Research of Text Flow Recognition System under the Integration of Telecommunications Networks, Cable TV Networks and the Internet
- Research on System Stability for Haptic Rendering
- Research on Key Technology of Modeling and Rendering for Virtual Natural Scene
- Study on Distributed Large-scale Microscopic Traffic Simulation
- Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
- Research on Boundary Face Method Base on GPU-acceleration
- Parallelization Research of Face Recognition and Texture Synthesis Algorithm Base on MATLAB Multi-core Clusters
- Research of Image Registration and Mosaic Technology Based on GPU
- Model Optimization Technique Based on Viewpoint-dependent and Application
- Research on Detection and Recognition of Traffic Objects in City Environments
- Human Action Recognition Based on Kinect Skeleton Information
- Study of adaptive beamforming processor based on GPU
- Study and Implementation of Fast Super-resolution Reconstruction Methods
- A Parallel Research on Feature Detection and Feature Matching Based on3D Reconstruction with Multi-View
- Research about Data Mining Technologies Based on Cloud Computing
- Study on Granularity Clustering
- E-commerce Applications Based on Multi-core Cluster Parallelization
- Research on Processing Methods of Data Stream Based on Parallel Computing