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
Embodiment
[0061] Input all text strings with a length of n through the string input module;
[0062] A pattern string whose length is m and is to be matched with a text string is input through the string input module, and m is less than or equal to n;
[0063] Add a new mobile array through the control array definition module of the human-computer interaction module:
[0064] Determine whether the number of times a character appears in the pattern string is greater than or equal to 2;
[0065] If the number of times a character appears 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, and f represents the penultimate position of the character in the pattern string;
[0066] Define a prefabricated array through the control array definition module of the human-computer interaction module;
[0067] Determine whether a character appears in the pattern string;
[0068] If it does not appear, the position of...
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