Skip to main navigation Skip to search Skip to main content

Space-time tradeoff in the Aho-Corasick string matching algorithm

  • Yisi Xu
  • , Derek Pao

Research output: Chapters, Conference Papers, Creative and Literary WorksRGC 32 - Refereed conference paper (with host publication)peer-review

Abstract

The Aho-Corasick (AC) string matching algorithm is widely used in intrusion detection systems and anti-virus systems. The basic version consisting of the GOTO and failure functions is very memory efficient, but its processing speed is slow. On the other hand, the version with fully expanded transition rule table is much faster but it requires huge amount of memory space. In this article we study the space-time tradeoff in the AC algorithm. A transition rule table compression scheme based on transition edge elimination and perfect hashing is developed. The proposed method can reduce the size of the fully expanded transition rule table by a factor of 23 to 25, and the processing speed is 5 to 7.7 times the speed of the basic version.
Original languageEnglish
Title of host publication2015 IEEE Conference on Communications and NetworkSecurity, CNS 2015
PublisherIEEE
Pages713-714
ISBN (Print)9781467378765
DOIs
Publication statusPublished - 3 Dec 2015
Event3rd IEEE International Conference on Communications and Network Security, CNS 2015 - Florence, Italy
Duration: 28 Sept 201530 Sept 2015

Conference

Conference3rd IEEE International Conference on Communications and Network Security, CNS 2015
PlaceItaly
CityFlorence
Period28/09/1530/09/15

Research Keywords

  • deterministic finite automaton
  • string matching
  • transition rule table compression

Fingerprint

Dive into the research topics of 'Space-time tradeoff in the Aho-Corasick string matching algorithm'. Together they form a unique fingerprint.

Cite this