Online recognition of dictionary with one gap

Amihood Amir, Avivit Levy, Ely Porat, B. Riva Shalom

Research output: Contribution to journalArticlepeer-review

Abstract

We formalize and examine the online Dictionary Recognition with One Gap problem (DROG) which is the following. Preprocess a dictionary D of d patterns each containing a special gap symbol that matches any string, so that given a text arriving online a character at a time, all patterns from D which are suffixes of the text that has arrived so far and have not been reported yet, are reported before the next character arrives. The gap symbols are associated with bounds determining possible lengths of matching strings. Online DROG captures the difficulty in a bottleneck procedure for cyber-security, as many digital signatures of viruses manifest themselves as patterns with a single gap. Following the work on the closely related online Dictionary Matching with One Gap problem (DMOG), we provide algorithms whose time cost depends linearly on δ(GD), where GD is a bipartite graph that captures the structure of D and δ(GD) is the degeneracy of this graph. These algorithms are of practical interest since although δ(GD) can be as large as d, and even larger if GD is a multi-graph, it is typically a small constant in practice.

Original languageEnglish
Article number104633
JournalInformation and Computation
Volume275
DOIs
StatePublished - Dec 2020

Keywords

  • Dictionary matching
  • Network intrusion detection systems
  • Pattern matching

All Science Journal Classification (ASJC) codes

  • Theoretical Computer Science
  • Information Systems
  • Computer Science Applications
  • Computational Theory and Mathematics

Fingerprint

Dive into the research topics of 'Online recognition of dictionary with one gap'. Together they form a unique fingerprint.

Cite this