Skip navigation

DSpace JSPUI

DSpace preserves and enables easy and open access to all types of digital content including text, images, moving images, mpegs and data sets

Learn More
DSpace logo
English
中文
  • Browse
    • Communities
      & Collections
    • Publication Year
    • Author
    • Title
    • Subject
    • Advisor
  • Search TDR
  • Rights Q&A
    • My Page
    • Receive email
      updates
    • Edit Profile
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 電機工程學系
Please use this identifier to cite or link to this item: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/40301
Title: 使用現場可程式化閘陣列實作出管線架構的Perl相容正規表示法樣式比對器
The Design and Implementation of a Perl Compatible Regular Expression Pattern Matching Engine with Pipeline Architecture using FPGAs
Authors: Ching-Liang Chang
張清諒
Advisor: 勝德
Keyword: 現場可程式化閘陣列,Perl相容正規表示法,Snort,樣式,正規表示法,
FPGA,Perl Compatible Regular Expression,Snort,Pattern,Regular Expression,
Publication Year : 2008
Degree: 碩士
Abstract: 在入侵偵測系統中,正規表示法用非常適合用來描述網路攻擊特徵。本篇論文著重於如何用運管線架構到非決定狀態機的硬體實作來達到增加系統的產能。我們提出一種分享比較運算元的比較器,分享比較器包含了美國信息互換標準代碼解碼器、靜態樣式比對以及字元類別,接著我們分割比較器成為兩階段的管線。進一步,我們運用一個三階段管線到我們的正規表示樣式比對器;它包含了一個兩階段的比較器和一個一階段的非決定狀態機辨識器。此外,當使用三階段管線架構,還可以容易實作出起始字元。最後,實驗結果顯示,原本的正規表示法樣式比對器產出可以到1.8 Gbps,使用三階段管線架構則是2.4 Gbps的產出在Altera DE2上。由此可知,三階段管線架構增加效能比原先的架構足足提升了三十百分比。
A regular expression is powerful to describe signature patterns used in an Intrusion Detection System (IDS). This paper focuses on how to employ a pipeline architecture to NFA-based hardware implementations in order to increase the system performance. We propose a comparator that shares comparison operators including the ASCII decoder, the static pattern matching, and the char classes, and then we partition the comparator into two stages. As a result, we apply a three-stage pipeline to our Perl compatible regular expression pattern matching engine (PCRE engine) including a two-stage pipeline comparator and a one-stage NFA-based pattern recognizer. In addition, we can easily implement Caret meta-character (means the beginning of a string) when using the three-stage pipeline architecture. Finally, experimental results show that the proposed three-stage PCRE engine has a throughput of 2.4 Gbps as compared with the 1.8 Gpbs of the original PCRE engine in an Altera DE2 platform. This means that the proposed approach can have 30% performance increase in the current implementation with respect to the non-pipeline one.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/40301
Fulltext Rights: 有償授權
Appears in Collections:電機工程學系

Files in This Item:
File SizeFormat 
ntu-97-1.pdf
  Restricted Access
1.75 MBAdobe PDF
Show full item record


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved