Accelerating Knuth-Morris-Pratt String Matching over LZ77 Compressed Text
Accelerating Knuth-Morris-Pratt String Matching over LZ77 Compressed Text
复制标题
DOI:
10.1109/dcc50243.2021.00070
复制
发表时间:
2021-03
期刊:
影响因子:
--
通讯作者:
Xiuwen Sun;Di Wu;Da Mo;Jie Cui;Hong Zhong
中科院分区:
文献类型:
--
作者:
Xiuwen Sun;Di Wu;Da Mo;Jie Cui;Hong Zhong
For comprehensive analyzing or efficient searching from massive data, string matching is widely used as a core technique of the network traffic detection applications and text editors. However, the increasing compressed text challenges string matching to achieve high-speed processing. In this paper, we propose KCM, a fast Knuth-Morris-Pratt based string matching method over LZ77 compressed text. It leverages the gathered heuristic information during scanning to skip the characters that should have been scanned. In our evaluation with real traffic, KCM skips more than 90% compression text, which nearly approaches the theoretical upper bound. It can achieve 1.61 Gbps throughput and boost 1.87 times than the classic string matching.