Character string matching method and system
A string matching and string technology, applied in the field of string matching methods and systems, can solve problems such as the inability of security defense tools to perform effective defense, and achieve the effects of fast calculation speed, simple algorithm, and less space resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0060] Examples:
[0061] Input all text strings of length n through the string input module;
[0062] Input a pattern string of length m that needs to be matched with a text string through the string input module, where m is less than or equal to n;
[0063] Add a new movement array through the man-machine interaction module control array definition module:
[0064] Determine whether the number of times the character appears in the pattern string is greater than or equal to 2;
[0065] If the number of occurrences of the character in the pattern string is less than 2, the length of the new moving array is m; otherwise, the length of the new moving array is m-f-1, where f represents the position of the penultimate occurrence of the character in the pattern string;
[0066] Define a prefabricated array through the man-machine interaction module control array definition module;
[0067] Determine whether the character appears in the pattern string;
[0068] If it does not appear, the positio...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap