A regular expression grouping algorithm based on artificial fish school algorithm
Authors:
- 1 July 2017
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 556-559
Abstract
In order to solve the problem of great memory usage when merging pattern sets into Deterministic Finite Automaton (DFA), an important method is that it divides n regular expressions into m groups in reasonable ways. Through combining minimum interactive rate grouping strategy with the advantage of global search abilities of optimization of artificial fish school algorithm (ASFA), one grouping algorithm based on improved artificial fish school(GRE-ASFA) is proposed in this paper. We redefine the distance, center, neighborhood of artificial fish. In addition, the behavior of prey about artificial fish is also improved for better finding global optimization grouping results. With the purpose of testing the performance of GRE-ASFA, regular expressions are picked up from snort and L7-filter as experimental data and Becchi open source regular expression matching engine tool is used as the experimental tool. The results of the experiment shows that this improved intelligent algorithm can obtain a better grouping result and fewer DFA states number than Heuristic algorithm and intelligent algorithm based on Becchi grouping strategy.Keywords
This publication has 4 references indexed in Scilit:
- Regular expression grouping algorithm based on ant colony optimizationJOURNAL OF SHENZHEN UNIVERSITY SCIENCE AND ENGINEERING, 2014
- 1/(1-1/k)-Optimal Algorithm for Regular Expression GroupingJournal of Software, 2012
- A workload for evaluating deep packet inspection architectures2008
- Fast and memory-efficient regular expression matching for deep packet inspection2006