High-speed accurate single-pattern character string matching method
A string matching, single-pattern technology, applied in the field of information processing, can solve the problems of low probability of subscript out of bounds, reduced algorithm performance, and SBNDM2 algorithm performance impact, etc., to achieve high performance and wide range of applications.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0051] The present invention is described in more detail below in conjunction with accompanying drawing example:
[0052] A high-speed bit-parallel string matching method described in the present invention includes two stages: preprocessing and searching.
[0053] 1. Preprocessing: Preparatory work for matching. It mainly includes the following three steps:
[0054] a) Preprocessing of the pattern: This process is used to generate a bitmask of all characters in the alphabet. In this step, a corresponding relationship between the position of a character in the pattern and the bit in the bit mask is first given. Then generate its corresponding bitmask for each character in the character set (the bitmask is an unsigned integer), and the generation method is as follows: if the character appears in the pattern, the character in the bitmask is in each pattern The occurrence position in the bitmask according to the corresponding bit is set to 1, while the other positions are 0. A...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com