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 条
  • [41] An Improved DFA for Fast Regular Expression Matching
    Ficara, Domenico
    Giordano, Stefano
    Procissi, Gregorio
    Vitucci, Fabio
    Antichi, Gianni
    Di Pietro, Andrea
    ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2008, 38 (05) : 31 - 40
  • [42] Multiple regular expression matching hardware architecture
    Zhang, Wei
    Xue, Yibo
    Song, Tian
    Qinghua Daxue Xuebao/Journal of Tsinghua University, 2009, 49 (10): : 1704 - 1707
  • [43] Streaming Regular Expression Membership and Pattern Matching
    Dudek, Bartlomiej
    Gawrychowski, Pawel
    Gourdel, Garance
    Starikovskaya, Tatiana
    PROCEEDINGS OF THE 2022 ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, SODA, 2022, : 670 - 694
  • [44] High Throughput Regular Expression Matching Algorithm
    Guo, Huifang
    Jiang, Kunpeng
    2015 INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND COMMUNICATION NETWORKS (CICN), 2015, : 368 - 372
  • [45] Compact representations of automata for regular expression matching
    Zhang, Meng
    Zhang, Yi
    Hou, Chen
    INFORMATION PROCESSING LETTERS, 2016, 116 (12) : 750 - 756
  • [46] An Overlay Automata Approach to Regular Expression Matching
    Liu, Alex X.
    Torng, Eric
    2014 PROCEEDINGS IEEE INFOCOM, 2014, : 952 - 960
  • [47] TOOLS FOR VERY FAST REGULAR EXPRESSION MATCHING
    Pasetto, Davide
    Petrini, Fabrizio
    Agarwal, Virat
    COMPUTER, 2010, 43 (03) : 50 - 58
  • [48] Towards Fast Regular Expression Matching in Practice
    Wang, Kai
    Li, Jun
    ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2013, 43 (04) : 531 - 532
  • [49] A SUBQUADRATIC ALGORITHM FOR APPROXIMATE REGULAR EXPRESSION MATCHING
    WU, S
    MANBER, U
    MYERS, E
    JOURNAL OF ALGORITHMS, 1995, 19 (03) : 346 - 360
  • [50] COMPACT FUNCTION FOR REGULAR EXPRESSION PATTERN MATCHING
    RICHARDS, M
    SOFTWARE-PRACTICE & EXPERIENCE, 1979, 9 (07): : 527 - 534