Research on Hardware Acceleration for String Pattern Matching

Author
WangShuo
Advisor
QuYuGui
School
University of Science and Technology of China
Major
Communication and Information System
Classification
TP302 Design and Performance Analysis
Degree
Doctoral dissertation
Year
2008
Downloads
245
Citations
3

Request the full text

Abstract

With the rapid development of network and information technology, network retrieval, routing lookup, information security and many applications string pattern matching has become increasingly high demand for speed. Therefore, in recent years, it focused on how fast and efficient way to string pattern matching. With the improvement of hardware technology level and FPGA technology development, with a the hardware parallel structure to achieve string pattern matching processing large numbers. Course, different research and design in terms of speed, area, cost, flexibility There are very different, in practical applications, these programs can play a key role in weaknesses, in certain application areas. This paper presents the design of a dedicated processor to achieve the purpose of string pattern matching acceleration. The dedicated processor is a new chip, it has a processor structure and programmable capacity for one or a certain category of applications tailored. By trading off speed, area, cost and flexibility of design constraints, the dedicated processor are often able to achieve a better balance, so as to adapt to the needs of embedded systems. Dedicated processor and therefore has a good background in the field of embedded. Dedicated processor design needs to face the specific application to customize the optimal architecture, the design process is often expand from local, based on the application of analysis and demand analysis, extract the rules and characteristics of the processing, and expand the design for these rules and characteristics . In addition, the design of a dedicated processor to have a certain integrity, including supporting compiler (synthesizer), to facilitate the development and acceptance of the engineers in the embedded field. In this paper, the specific contents are as follows: 1) analysis of the grammatical features regular and BNF. Regular type are used to describe the rules of string pattern and BNF grammar. Regular expression is one of the most extensive use of a string pattern description tool, the syntax is simple and efficient. Enhanced Backus-Naur Form (AugmentedBackus-Naur Form, ABNF) grammar definition, is the RFC2234 defined inside a string pattern matching syntax richer, specializes in the description of the structure of the network protocol and rules. The paper first analyzes the regular type and the BNF syntax characteristics of, and they describe the structure and rules of the network protocol law, in order to define the instruction set and hardware acceleration module function. 2) the definition of string pattern matching dedicated processor instruction set. According to the characteristics of regular and BNF, the definition and design of a set of instruction set, including the basic instruction set and specific instruction set. The basic instruction set to ensure a dedicated processor with basic common processing power; dedicated instruction set is a set of high-level language instruction set designed for the characteristics of the model rules of grammar, good description string mode rules, more concise expression of the relationship between the pattern rules operation, string pattern matching algorithm requires only a small amount of code that can be described, and easy to use. 3) the study of string pattern matching processor architecture design and memory management program. String pattern matching code on a general-purpose processor, comparison, judgment, looping and branching instruction occupies a very large proportion of instruction had a strong correlation. The characteristics of this algorithm requires a processor frequently access continuous storage space, pipeline disruption Cache hit rate under a problem, resulting in processor performance based on multi-stage pipeline is difficult to play. Customization of the architecture of the dedicated processor, in order to achieve greater acceleration than the need to solve such a problem to be resolved and these characteristics. In order to further improve the instruction-level parallelism, for string pattern matching multi-core processor architecture design is the research content of this article. Both single-core processors or multi-core processors, the characteristics of the algorithm will cause the processor to access memory frequently Therefore, proper memory management program is a key one. In this paper, the design of the single-core dedicated processor and dual-core dedicated processor on FPGA verification, functional testing and performance testing, test results show that the dedicated processor function to meet the actual needs of the application, can be effective in the performance improve the processing speed and efficiency of string pattern matching. The main innovations of this paper is to: 1) the design of a dedicated processor solutions, dedicated instruction through the grammatical features of the design pattern rules, string pattern matching speed can be improved, while taking into account the versatility and flexibility. 2) through a dedicated processor design flow, the article describes how the application requirements, through the functional description and analysis of the traditional program, customized to a dedicated processor for application-oriented, and further excavation of instruction-level parallelism ability The design method. 3) string pattern matching algorithm to accelerate the most difficult to overcome processor frequently accessed data processing process is not continuous storage space research dedicated processor architecture design process, design some special function unit to improve efficiency of the processor's memory access, the function and structure of these modules will bring some help and inspiration for the personnel engaged in the field of research work.

Table of contents

Abstract 6-8 ABSTRACT 8-17 Chapter 1 Introduction 17-39 1.1 string pattern matching background 17-19 1.2 string pattern matching accelerated algorithm research 19-28 1.2.1 Na (?) ve algorithm 19-20 1.2.2 KMP algorithm 20-21 1.2.3 BM algorithm 21-22 1.2.4 hardware acceleration 22-28 1.3 dedicated processor design concept knowledge 28-36 1.3.1 ASIP application background 28 1.3.2 ASIP's advantage 28-30 1.3.3 ASIP design research 30-36 1.4 The paper is organized 36-39 Chapter 2 processor design method for learning 39-53 2.1 Introduction 39 The the 2.2 electronic systems design approach to learn 39-43 2.2.1 traditional design methods 39-40 2.2.2 based IP reuse design method 40-41 the design method 2.2.3 software co 41-42 2.2.4 platform-based design methodology to learn 42-43 The of 2.3 dedicated processor design method to learn 43-51 2.3.1 design method analysis 43-46 the design 2.3.2 dedicated processor needs 46 2.3.3 dedicated processor design methods and processes 46-51 2.4 Summary 51-53 Chapter 3 dedicated string pattern matching processor architecture design 53-91 3.1 Introduction 53 3.2 string pattern rules describe grammar 53-57 3.2.1 regular expression 54-55 3.2.2 ABNF rules 55-57 3.3 instruction design and instruction encoding 57-67 3.4 single-core processor architecture design 67-79 3.4.1 datapath 68-69 3.4.2 Control pathway 69-75 3.4.3 memory organization 75-77 3.4.4 usual rules coprocessor 77-79 3.4.5 Other modules 79 3.5 dual-core architecture design 79-86 3.5.1 ABNF rules flattening rule tree 80-82 3.5.2 dual-core architecture dedicated processor architecture design 82-85 3.5.3 dual-core architecture dedicated processor memory organization 85-86 3.6 compiler design 86-88 3.7 Summary 88-91 Chapter 4 dedicated processor functional testing and performance testing 91-105 4.1 Introduction 91 The the 4.2 SIP protocols Overview and OSIP open source protocol stack 91-94 4.3 test platform designed 94-97 4.4 Functional Test 97-100 4.5 performance test 100-105 Chapter 5 Conclusion 105-109 5.1 summary of the work 105-108 5.2 further research outlook 108-109 the References 109-115 the pursuing doctorate during the research and research projects 115-117 Acknowledgements 117-118

Related dissertations

  1. The Research on the Architecture and Critical Driving Factors of International Marketing Dynamic Capabilities
    LiWei ·Nankai University ·2012 ·Doctoral dissertation
  2. Research on the Key Factors of Product Family Architecture and Their Correlation Effect Based on Customer Perspective
    ZhiHuaZuo ·Tianjin University ·2012 ·Doctoral dissertation
  3. Product After-sales Service in Problem-oriented of E-Learning System Architecture
  4. A Study on the Architecture of Semantic Peer-to-Peer Web
  5. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  6. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  7. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  8. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  9. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  10. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  11. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  12. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  13. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  14. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  15. The Design of Digital Ultrasonic Nondestructive Testing System
  16. Design and Implementation of High Speed Data Recorder Based on FPGA
  17. Design of the High-speed Data Acquisition System Based on USB Interface
    LiuYu ·Harbin Engineering University ·2013 ·Master's thesis
  18. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  19. Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
    XieJiaZu ·Tianjin Normal University ·2013 ·Master's thesis
  20. The Design and Research of PCI Data Acquisition Card Based on FPGA