Journal on Communications ›› 2013, Vol. 34 ›› Issue (10): 183-190.doi: 10.3969/j.issn.1000-436x.2013.10.021

• Academic communication • Previous Articles    

States constrain-based algorithm for large scale regular expression matching

Wei HE,Yun-fei GUO,Hong-chao HU   

  1. National Digital Switching System Engineering Technological R&D Center,Zhengzhou 450002,China
  • Online:2013-10-25 Published:2017-08-10
  • Supported by:
    The National Science & Technology Pillar Program;The National Science & Technology Pillar Program;The National High Technology Research and Development Program of China (863 Program);The National High Technology Research and Development Program of China (863 Program);The National High Technology Research and Development Program of China (863 Program)

Abstract:

By analysis of state explosion in deterministic finite automata DFA,a novel algorithm Group2-DFA based on state constrains was proposed to reduce the memory usage.With the state constrains,states in NFA were classified into several groups.Group2-DFA introduces two-level classification and merges NFA and DFA together to a hybrid FA construction.The experiments show that Group2-DFA can reduce memory usage efficiently and keep high throughput with a small increase of memory reading time.With 300 regex rules,Group2-DFA can cut 75% states and achieve 1Gbps throughput.

Key words: regular expression, state explosion, automata convert, state constrains

No Suggested Reading articles found!