• DocumentCode
    3298617
  • Title

    A multipattern matching algorithm using sampling and bit index

  • Author

    Chen, Jinhui ; Ye, Zhongfu ; Tang, Min

  • Author_Institution
    Univ. of Sci. & Technol. of China, Hefei
  • fYear
    2008
  • fDate
    March 31 2008-April 4 2008
  • Firstpage
    1
  • Lastpage
    8
  • Abstract
    Pattern matching is one of the basic problems in computer science. In this paper we propose a new multiple pattern matching algorithm. Unlike the well known Knuth-Morris-Pratt, Boyer-Moore, Karp-Rabin and their variants, our algorithm is derived from the ideas of sampling and bit index, sampling for efficiency and bit index for flexibility, as a result providing the simplest way to search for multiple patterns. Theoretical analysis and experimental results show that our algorithm is average-optimal with average complexity of O(n/m) for the search of patterns of length m in a text of length n. It provides a proper solution to such needs as matching long dispersed patterns and especially bit pattern matching (newly introduced in this paper) in data analysis of some private protocols´ communication.
  • Keywords
    data analysis; pattern matching; Boyer-Moore; Karp-Rabin; Knuth-Morris-Pratt; bit index; bit pattern matching; data analysis; multipattern matching; Algorithm design and analysis; Application software; Automation; Computer science; Data analysis; Pattern analysis; Pattern matching; Protocols; Runtime; Sampling methods;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Systems and Applications, 2008. AICCSA 2008. IEEE/ACS International Conference on
  • Conference_Location
    Doha
  • Print_ISBN
    978-1-4244-1967-8
  • Electronic_ISBN
    978-1-4244-1968-5
  • Type

    conf

  • DOI
    10.1109/AICCSA.2008.4493509
  • Filename
    4493509