A memory-efficient deterministic finite automaton-based bit-split string matching scheme using pattern uniqueness in deep packet inspection.

This paper proposes a memory-efficient bit-split string matching scheme for deep packet inspection (DPI). When the number of target patterns becomes large, the memory requirements of the string matching engine become a critical issue. The proposed string matching scheme reduces the memory requiremen...

Full description

Bibliographic Details
Main Authors: HyunJin Kim, Kang-Il Choi, Sang-Il Choi
Format: Article
Language:English
Published: Public Library of Science (PLoS) 2015-01-01
Series:PLoS ONE
Online Access:http://europepmc.org/articles/PMC4418843?pdf=render
_version_ 1828519535896952832
author HyunJin Kim
Kang-Il Choi
Sang-Il Choi
author_facet HyunJin Kim
Kang-Il Choi
Sang-Il Choi
author_sort HyunJin Kim
collection DOAJ
description This paper proposes a memory-efficient bit-split string matching scheme for deep packet inspection (DPI). When the number of target patterns becomes large, the memory requirements of the string matching engine become a critical issue. The proposed string matching scheme reduces the memory requirements using the uniqueness of the target patterns in the deterministic finite automaton (DFA)-based bit-split string matching. The pattern grouping extracts a set of unique patterns from the target patterns. In the set of unique patterns, a pattern is not the suffix of any other patterns. Therefore, in the DFA constructed with the set of unique patterns, when only one pattern can be matched in an output state. In the bit-split string matching, multiple finite-state machine (FSM) tiles with several input bit groups are adopted in order to reduce the number of stored state transitions. However, the memory requirements for storing the matching vectors can be large because each bit in the matching vector is used to identify whether its own pattern is matched or not. In our research, the proposed pattern grouping is applied to the multiple FSM tiles in the bit-split string matching. For the set of unique patterns, the memory-based bit-split string matching engine stores only the pattern match index for each state to indicate the match with its own unique pattern. Therefore, the memory requirements are significantly decreased by not storing the matching vectors in the string matchers for the set of unique patterns. The experimental results show that the proposed string matching scheme can reduce the storage cost significantly compared to the previous bit-split string matching methods.
first_indexed 2024-12-11T19:13:58Z
format Article
id doaj.art-93b9e65818894fe58316e45ab1da6312
institution Directory Open Access Journal
issn 1932-6203
language English
last_indexed 2024-12-11T19:13:58Z
publishDate 2015-01-01
publisher Public Library of Science (PLoS)
record_format Article
series PLoS ONE
spelling doaj.art-93b9e65818894fe58316e45ab1da63122022-12-22T00:53:42ZengPublic Library of Science (PLoS)PLoS ONE1932-62032015-01-01105e012651710.1371/journal.pone.0126517A memory-efficient deterministic finite automaton-based bit-split string matching scheme using pattern uniqueness in deep packet inspection.HyunJin KimKang-Il ChoiSang-Il ChoiThis paper proposes a memory-efficient bit-split string matching scheme for deep packet inspection (DPI). When the number of target patterns becomes large, the memory requirements of the string matching engine become a critical issue. The proposed string matching scheme reduces the memory requirements using the uniqueness of the target patterns in the deterministic finite automaton (DFA)-based bit-split string matching. The pattern grouping extracts a set of unique patterns from the target patterns. In the set of unique patterns, a pattern is not the suffix of any other patterns. Therefore, in the DFA constructed with the set of unique patterns, when only one pattern can be matched in an output state. In the bit-split string matching, multiple finite-state machine (FSM) tiles with several input bit groups are adopted in order to reduce the number of stored state transitions. However, the memory requirements for storing the matching vectors can be large because each bit in the matching vector is used to identify whether its own pattern is matched or not. In our research, the proposed pattern grouping is applied to the multiple FSM tiles in the bit-split string matching. For the set of unique patterns, the memory-based bit-split string matching engine stores only the pattern match index for each state to indicate the match with its own unique pattern. Therefore, the memory requirements are significantly decreased by not storing the matching vectors in the string matchers for the set of unique patterns. The experimental results show that the proposed string matching scheme can reduce the storage cost significantly compared to the previous bit-split string matching methods.http://europepmc.org/articles/PMC4418843?pdf=render
spellingShingle HyunJin Kim
Kang-Il Choi
Sang-Il Choi
A memory-efficient deterministic finite automaton-based bit-split string matching scheme using pattern uniqueness in deep packet inspection.
PLoS ONE
title A memory-efficient deterministic finite automaton-based bit-split string matching scheme using pattern uniqueness in deep packet inspection.
title_full A memory-efficient deterministic finite automaton-based bit-split string matching scheme using pattern uniqueness in deep packet inspection.
title_fullStr A memory-efficient deterministic finite automaton-based bit-split string matching scheme using pattern uniqueness in deep packet inspection.
title_full_unstemmed A memory-efficient deterministic finite automaton-based bit-split string matching scheme using pattern uniqueness in deep packet inspection.
title_short A memory-efficient deterministic finite automaton-based bit-split string matching scheme using pattern uniqueness in deep packet inspection.
title_sort memory efficient deterministic finite automaton based bit split string matching scheme using pattern uniqueness in deep packet inspection
url http://europepmc.org/articles/PMC4418843?pdf=render
work_keys_str_mv AT hyunjinkim amemoryefficientdeterministicfiniteautomatonbasedbitsplitstringmatchingschemeusingpatternuniquenessindeeppacketinspection
AT kangilchoi amemoryefficientdeterministicfiniteautomatonbasedbitsplitstringmatchingschemeusingpatternuniquenessindeeppacketinspection
AT sangilchoi amemoryefficientdeterministicfiniteautomatonbasedbitsplitstringmatchingschemeusingpatternuniquenessindeeppacketinspection
AT hyunjinkim memoryefficientdeterministicfiniteautomatonbasedbitsplitstringmatchingschemeusingpatternuniquenessindeeppacketinspection
AT kangilchoi memoryefficientdeterministicfiniteautomatonbasedbitsplitstringmatchingschemeusingpatternuniquenessindeeppacketinspection
AT sangilchoi memoryefficientdeterministicfiniteautomatonbasedbitsplitstringmatchingschemeusingpatternuniquenessindeeppacketinspection