A Novel Compiler for Regular Expression Matching Engine Construction

被引:0
|
作者
Jin, Xin [1 ]
Lin, Jun [1 ]
Wang, Zhongfeng [1 ]
机构
[1] Nanjing Univ, Sch Elect Sci & Engn, Nanjing, Jiangsu, Peoples R China
关键词
D O I
暂无
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Using regular expressions in intrusion detection systems (IDS) to represent some dangerous payload contents is a more efficient way than using invariant patterns. For each regular expression in regular expressions rules set a unique Nondeterministic Finite Automaton (NFA) structure is needed to be converted. It is crucial to implement a fast NFA construction. This paper presents a novel method for compiling large-scale regular expression matching engine (REME) on FPGA. We build an intelligent compiler for automatic converting regular expressions into register-transfer-level (RTL) using Verilog language, utilizing only logic slice available on FPGA because of the simple architecture used in the back-end of our compiler. Due to the independent converting method between the converting flow and the block structure, the compiler can easily change the single pattern structure to build the most advanced regular expression-matching engine (REME) which can fit the realistic demand. On a PC with a 3.3 GHz Intel i5-4590 processor and 4 GB memory, our compiler can convert more than one thousand regular expressions in less than 15 seconds. During the converting flow, the compiler provides an arbitrary match string and corresponding test bench file in Verilog as a part of the final output result.
引用
收藏
页码:251 / 256
页数:6
相关论文
共 50 条
  • [21] Translating regular expression matching into transducers
    Sakuma, Yuto
    Minamide, Yasuhiko
    Voronkov, Andrei
    JOURNAL OF APPLIED LOGIC, 2012, 10 (01) : 32 - 51
  • [22] A fast regular expression indexing engine
    Cho, JH
    Rajagopalan, S
    18TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, PROCEEDINGS, 2002, : 419 - 430
  • [23] General parsing with regular expression matching
    Borsotti, Angelo
    Breveglieri, Luca
    Reghizzi, Stefano Crespi
    Morzenti, Angelo
    JOURNAL OF COMPUTER LANGUAGES, 2023, 74
  • [24] Translating Regular Expression Matching into Transducers
    Minamide, Yasuhiko
    Sakuma, Yuto
    Voronkov, Andrei
    12TH INTERNATIONAL SYMPOSIUM ON SYMBOLIC AND NUMERIC ALGORITHMS FOR SCIENTIFIC COMPUTING (SYNASC 2010), 2011, : 107 - 115
  • [25] From regular expression matching to parsing
    Philip Bille
    Inge Li Gørtz
    Acta Informatica, 2022, 59 : 709 - 724
  • [26] Regular Expression matching with memristor TCAMs
    Graves, Catherine E.
    Ma, Wen
    Sheng, Xia
    Buchanan, Brent
    Zheng, Le
    Lam, Si-Ty
    Li, Xuema
    Chalamalasetti, Sai Rahul
    Kiyama, Lennie
    Foltin, Martin
    Hardy, Matthew P.
    Strachan, John Paul
    2018 IEEE INTERNATIONAL CONFERENCE ON REBOOTING COMPUTING (ICRC), 2018, : 242 - 252
  • [27] Regular expression matching in reconfigurable hardware
    Sourdis, Ioannis
    Vassiliadis, Stamatis
    Bispo, Joao
    Cardoso, Joao M. P.
    JOURNAL OF SIGNAL PROCESSING SYSTEMS FOR SIGNAL IMAGE AND VIDEO TECHNOLOGY, 2008, 51 (01): : 99 - 121
  • [28] Regular expression pattern matching for XML
    Hosoya, H
    Pierce, B
    ACM SIGPLAN NOTICES, 2001, 36 (03) : 67 - 80
  • [29] A novel JSON based regular expression language for pattern matching in the internet of things
    Raihan ur Rasool
    Maleeha Najam
    Hafiz Farooq Ahmad
    Hua Wang
    Zahid Anwar
    Journal of Ambient Intelligence and Humanized Computing, 2019, 10 : 1463 - 1481
  • [30] Practical private regular expression matching
    Kerschbaum, Florian
    Security and Privacy in Dynamic Environments, 2006, 201 : 461 - 470