Research on Regular Expression Matching Algorithm for Network Packet
- Author
- HeZuo
- Advisor
- GuoYunFei
- School
- PLA Information Engineering University
- Major
- Communication and Information System
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 2
- Citations
- 0
Abstract
With the Internet becoming an integrated business platform, various new applications areemerging, information capacity is growing steady and network interface rate is increasing rapidly.As the key component of security and refined organization, packet inspection meets thechallenge of high transmit rate and memory consumption. To solve the problems above,searchers focused on high performance regular expression matching (REM) mechanisms. In thisdissertation, REM algorithms are studied mainly in three aspects: improving the matching speed,reducing the memory consumption and supporting multi-stream matching.To improve the matching speed, a novel REM algorithm MC-DFA is proposed by analyzingthe architecture that could match multi-characters per cycle. By combining the single charactertransitions in standard DFA, MC-DFA can match multi-characters per cycle which increase thematching speed significantly. To reduce the memory redundancy that introduced bymulti-characters, a deep compress algorithm for state transition table is also proposed inMC-DFA. Experimental results in FPGA show that MC-DFA can achieve6.7Gbps throughput.To reduce the memory use of DFA, a hybrid automata architecture SC-HFA which based onstate constrains is proposed by analyzing the problem that states number increased exponentiallywhile translate NFA to DFA. By dividing the NFA states set into several groups, SC-HFA putsthe states that would cause the exponential increase into different groups and leads to a hybridarchitecture which reduces the states. Simulation shows that SC-HFA could reduce75%states.To deal with the concurrent streams in reality network, a novel scheme VLSM-HFA whichbased on time-division multiplexing is proposed for REM. For multi-stream supporting,VLSM-HFA introduces distributed memory to save and load matching states of different streams.By combining the MC-DFA and SC-HFA together, VLSM-HFA can achieve high performance inmatching speed and memory consumption. With a new variable length switching method,VLSM-HFA ensures the fast switching among streams. FPGA implementation shows that with3386rules, VLSM-HFA can process131concurrent streams and achieve9.6Gbps throughput.In conclusion, with the foundation of theoretic analysis, this dissertation studies highperformance REM via algorithm design and platform evaluation. The theoretic analysis providesfundamental for researches while platform implementation evaluates the correctness of relatedalgorithms and provides reference design for other network processing systems.
Table of contents
Summary 4-5
ABSTRACT 5-8
catalog 8-9
table record 9-10
the first chapter 10-20
1.1 background and significance 10-11
1.2 review of relevant 11-17
1.2.1 regular expression matching principle 11-13
1.2.2 upgrade rate matching method 13-14
1.2.3 reduce the memory footprint of the method 14-15
1.2.4 supports concurrent data streams matching method 15-16
1.2.5 regular expression matching summary and Outlook 16-17
1.3 main content 17-18
1.4 thesis structure 18-20
Chapter II supports single-cycle multi-character matching MC-DFA 20-36
more than 2.1 character matches characterization 20-21
2.2 core algorithm 21-29
2.2.1 input characters doubling algorithm ICDA 21-23 <br / > 2.2.2 ICDA algorithm performance analysis 23-25 ??
2.2.3 STT depth compression algorithm STT-DCA 25-29
2.2.4 MC-DFA performance analysis 29
2.3 performance evaluation 29-34
2.3.1 test data and platforms 29-30
2.3.2 single character average memory access times 30-31
2.3.3 throughput 31-32
2.3.4 memory footprint 32-33
2.3.5 pretreatment time 33-34
2.4 Summary 34-36
Chapter III support large-scale structural features of hybrid automata SC-HFA 36-48
3.1 status exponential growth in the number of phenomena analysis 36-37
3.2 core algorithm between 37-42
3.2.1 design constraint relationship status 37-38
3.2 .2 NFA state grouping algorithm 38-39
3.2.3 NFA / DFA hybrid structure generation algorithm 39-41
3.2.4 performance Analysis 41
3.2.5 SC-HFA structure 41-42
3.3 performance evaluation 42-46
3.3.1 test data and platforms 42
3.3.2 two segmentation parameters kp selection 42-43
3.3.3 space storage Performance 43-44
3.3.4 throughput 44-45
3.3.5 single character average memory access times 45
3.3.6 pretreatment time 45-46
3.4 Summary 46-48
the fourth chapter of concurrent data streams based on time division multiplexing matching scheme VLSM-HFA 48-62
4.1 time division multiplexing features 48-49
4.2 core idea 49-54
4.2.1 Memory-HFA 49-50
nbsp 4.2.2 preprocessing of data streams ; 50-51
4.2.3 variable-length switching mechanism VLS 51-52
4.2.4 VLSM-HFA structure 52-53
4.2.5 performance Analysis 53-54
4.3 FPGA realization 54-57
4.3.1 hardware design 54-55
4.3.2 distributed RAM mapping 55
4.3.3 pipeline design 55-57
4.4 performance evaluation 57-60
4.4.1 test data and platforms 57
4.4.2 supports multiple data streams and memory 57-58
4.4.3 throughput 58-59
4.4.4 pretreatment time 59-60
4.5 chapter Summary 60-62
Chapter summary and Outlook 62-64
5.1 major achievements 62
5.2 job Outlook 62-64
Thanks 64-66
References major work 66-70
Author Biography pursuing a master's degree completed during 70
Related dissertations
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
- Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
- Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
- Research of Dual Chanel High Speed Data Acquisition Card
- Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
- The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
- Design of Remote Strain Measurement System Based on FGPA
- The Design of Digital Ultrasonic Nondestructive Testing System
- Design and Implementation of High Speed Data Recorder Based on FPGA
- Design of the High-speed Data Acquisition System Based on USB Interface
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
- The Design and Research of PCI Data Acquisition Card Based on FPGA
- Usb Without Invasive Data Collection Technology Research
- Research on On-line Diameter Measurement System Based on FPGA
- Design of High Speed Data Acqusition and Storage System Based on FPGA
- Design and Realize of a Type of Automatic Target-scoring System