Title :
A Regular Expression Matching Algorithm Using Transition Merging
Author :
Zhang, Jiekun ; Zhang, Dafang ; Huang, Kun
Author_Institution :
Sch. of Comput. & Commun., Hunan Univ., Changsha, China
Abstract :
With the rapid development of the network, deep packet inspection systems are faced with the challenge of high performance. On one hand, they try to reduce the memory consumption in the process of regular expression matching; on the other hand, they must provide a worst-case matching speed guarantee. The existing state merging finite automata algorithm reduces the number of states in the deterministic finite automata (DFA). But there are still a large amount of transitions. In this paper, we introduce a transition merging finite automata algorithm, which merges several transitions in the DFA, based on the state merging algorithm. The experiments show that the transition merging algorithm reduces the memory consumption by 15%~31% compared to the state merging algorithm, when compared to the original DFA, it reduces the memory consumption by 25%~42%. At the same time, the transition merging algorithm ensures the matching speed. It is a memory efficient regular expression matching algorithm.
Keywords :
finite automata; deterministic finite automata; expression matching algorithm; finite automata algorithm; memory consumption; memory efficient regular expression matching algorithm; packet inspection systems; regular expression matching; state merging algorithm; transition merging; worst-case matching speed guarantee; Automata; Communication system software; Computer networks; Doped fiber amplifiers; High performance computing; Inspection; Intrusion detection; Merging; Software algorithms; Software performance; deterministic finite automata; memory efficiency; regular expression; transition merging;
Conference_Titel :
Dependable Computing, 2009. PRDC '09. 15th IEEE Pacific Rim International Symposium on
Conference_Location :
Shanghai
Print_ISBN :
978-0-7695-3849-5
DOI :
10.1109/PRDC.2009.45