发明名称 STATE REDUCTION METHOD FOR MEMORY-EFFICIENT DETERMINISTIC FINITE AUTOMATA
摘要 The present invention relates to a method for converting a regular expression on a text into deterministic finite automata (DFA), which is capable of realizing memory-efficient DFA by solving state blowup problems, which can occur in a process of converting a regular expression into DFA as regular expressions become complicated and a number thereof increases, by merging of a state having the same input character. The method of the present invention comprises the steps of: (a) storing, in L(i), the character string length of each of an N number of regular expression patterns; (b) reversely aligning the patterns according to the stored length L(i) of the patterns; (c) converting into DFA with uniqueness of a state converted upon a state transition; (d) searching a state having the same input character through a process of comparing DFA generated from an i(1<=i<=N-1)^th pattern with DFA generated from a j(i+1<=j<=N)^th pattern, among DFA converted in the step (c); (e) merging the combinable state searched in the step (d) to generate a new state; and (f) applying a conventional algorithm to the DFA generated in the step (e). [Reference numerals] (a) Initial DFA; (AA) Depth; (b) Search a mergeable state S4 and S6; (c) Search a mergeable state S3 and S5; (d) Non-mergeable state
申请公布号 KR101382787(B1) 申请公布日期 2014.04.08
申请号 KR20130030112 申请日期 2013.03.21
申请人 KYONGGI UNIVERSITY INDUSTRY & ACADEMIA COOPERATION FOUNDATION 发明人 CHOI, YOON HO;PARK, JONG HO;SEO, SEUNG WOO
分类号 G06F17/20 主分类号 G06F17/20
代理机构 代理人
主权项
地址