Multiple-mode-string matching method and device
A string matching and pattern string technology, applied in the computer field to reduce time overhead, improve efficiency, and avoid repeated comparisons
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0042] The main problem with existing multi-mode strings is that there are a lot of repeated comparisons. For example, there are the following character strings in the pattern string: "People's Republic of China", "Chinese Embassy", "China is not Chinese", "News", "Xinhua Daily". Since the first character in the three pattern strings is "中", this character will be compared three times in the existing scheme.
[0043] Therefore, the overall idea of the present invention is: in order to avoid such repeated comparisons, first sort and sort the pattern strings to generate a decision tree structure, and traverse downwards from the root node, each path is one or more pattern strings , and then reverse the matching method, and use the main string to match on the decision tree structure.
[0044] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail belo...
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