Journal on Communications ›› 2015, Vol. 36 ›› Issue (5): 174-186.doi: 10.11959/j.issn.1000-436x.2015101

• Academic communication • Previous Articles    

Improved DFA algorithm based on multi-dimensional finite automata

ONGYang-yang G1,IUQin-rang L1,ANGZhen-xi Y1,HAOXiang-yu S1,INGChi-qiang X1,IAOHui-juan J2,ENGZhi-bin P1   

  1. 1 National Digital Switching System Engineering R&D Center,Zhengzhou 450002,China
    2 Collge of Chemical Engineering,China University of Petroleum,Qingdao 266555,China
  • Online:2015-05-20 Published:2015-07-17
  • Supported by:
    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 Basic Research Program of China (973 Progrma);The National Basic Research Program of China (973 Progrma);The National Key Technology R&D Program

Abstract:

Compiling multiple regular expression signatures into a combined DFA can blowup in state and storage space.Explanations from the prospective of information theory and multi-dimensional mathematical model were proposed fo-cusing on the most serious state explosion.Redundancy states were divided into zero-dimensional ones and one-dimensional ones.The former were compressed by dimension,and the later were dynamically built.The space com-plexity of the model came to the theoretical lower bound by the above methods.Then the multi-dimensional finite auto-mata (MFA) was proposed with the model.Experiments show that,the construction time taken by MFA is slightly less than XFA and is 2~3 orders of magnitude lower than DFA,STT redundancy compression algorithms and Hybrid-FA; the memory space of MFA is slightly higher than XFA,but is 1~2 orders of magnitude lower than DFA,STT redundancy compression algorithms,mDFA and Hybrid-FA; in the aspect of matching time,MFA ranks after DFA and Hybrid-FA,but ranks before XFA,and it achieves 1~2 orders of magnitude lower than that of STT redundancy compression algo-rithms and mDFA.

Key words: regular expression, DFA, finite automata, state explosion

No Suggested Reading articles found!