Welcome to Journal of University of Chinese Academy of Sciences,Today is

Journal of University of Chinese Academy of Sciences ›› 2013, Vol. 30 ›› Issue (5): 706-712.DOI: 10.7523/j.issn.2095-6134.2013.05.021

Previous Articles     Next Articles

An improved multi-pattern string matching algorithm and GPU parallelization

QIAN Quan1,2, ZHU Wei1,2, CHE Hong-Yi1,2, ZHANG Rui1,2   

  1. 1. School of Computer Engineering & Science, Shanghai University, Shanghai 200072, China;
    2. State Key Laboratory of Information Security, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China
  • Received:2012-10-11 Revised:2013-02-06 Online:2013-09-15
  • Contact: 钱权,E-mail:qqian@shu.edu.cn

Abstract: Multi-pattern matching algorithm has been widely used in text searching, intrusion detection, and some other areas. We focus on two matching algorithms, AC and regular expression. By comparing their DFA automata building process, we integrate the two processes to a new novel AC algorithm. The new AC maintains the advantages of the traditional AC when matching fails, the pointer of the target pattern does not turn back, and the AC automata pointer just moves back by a few steps. Meanwhile, we also discuss the AC parallelization based on GPU and CUDA, and compare the running performance when using GPU global memory or the texture one.

Key words: multi-pattern string matching, regulation expression matching, GPU, CUDA

CLC Number: