Differential Encoding of DFAs for Fast Regular Expression Matching

被引:21
|
作者
Ficara, Domenico [1 ]
Di Pietro, Andrea [1 ]
Giordano, Stefano [1 ]
Procissi, Gregorio [1 ]
Vitucci, Fabio [1 ]
Antichi, Gianni [1 ]
机构
[1] Univ Pisa, Dipartimento Ingn Informaz, I-56122 Pisa, Italy
关键词
Deep packet inspection; differential encoding; finite automata (FAs); pattern matching; regular expressions;
D O I
10.1109/TNET.2010.2089639
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Deep packet inspection is a fundamental task to improve network security and provide application-specific services. State-of-the-art systems adopt regular expressions due to their high expressive power. They are typically matched through deterministic finite automata (DFAs), but large rule sets need a memory amount that turns out to be too large for practical implementation. Many recent works have proposed improvements to address this issue, but they increase the number of transitions (and then of memory accesses) per character. This paper presents a new representation for DFAs, orthogonal to most of the previous solutions, called delta finite automata (delta FA), which considerably reduces states and transitions while preserving a transition per character only, thus allowing fast matching. A further optimization exploits Nth order relationships within the DFA by adopting the concept of "temporary transitions."
引用
收藏
页码:683 / 694
页数:12
相关论文
共 50 条
  • [31] Regular Expression Matching in Reconfigurable Hardware
    Ioannis Sourdis
    João Bispo
    João M. P. Cardoso
    Stamatis Vassiliadis
    Journal of Signal Processing Systems, 2008, 51 : 99 - 121
  • [32] General parsing with regular expression matching
    Borsotti, Angelo
    Breveglieri, Luca
    Reghizzi, Stefano Crespi
    Morzenti, Angelo
    JOURNAL OF COMPUTER LANGUAGES, 2023, 74
  • [33] 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
  • [34] From regular expression matching to parsing
    Philip Bille
    Inge Li Gørtz
    Acta Informatica, 2022, 59 : 709 - 724
  • [35] 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
  • [36] 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
  • [37] Regular expression pattern matching for XML
    Hosoya, H
    Pierce, B
    ACM SIGPLAN NOTICES, 2001, 36 (03) : 67 - 80
  • [38] Practical private regular expression matching
    Kerschbaum, Florian
    Security and Privacy in Dynamic Environments, 2006, 201 : 461 - 470
  • [39] Regular expression matching and operational semantics
    Rathnayake, Asiri
    Thielecke, Hayo
    Electronic Proceedings in Theoretical Computer Science, EPTCS, 2011, 62 : 31 - 45
  • [40] Regular Expression Matching and Operational Semantics
    Rathnayake, Asiri
    Thielecke, Hayo
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2011, (62): : 31 - 45