Method for searching character string with wildcard character and system thereof
A technology of character strings and wildcards, applied in the field of information retrieval, to achieve the effects of less hardware resource occupation, reduced complexity, and high efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0033] It should be understood that Figure 2b The steps S21 and S22 shown are not necessary every time a search is performed as needed, and these two steps are preferably performed when it is necessary to update the identification information or a character string containing wildcards. If the character string containing wildcards used for retrieval and the corresponding identification information in the information storage device are statically configured and will not be updated, steps S21 and S22 may be omitted. The scenario in this example is that the data in the information storage device for retrieving character strings containing wildcards has not been initialized, so steps S21 and S22 are executed in sequence.
[0034] Step S21
[0035] First, HSS2 acquires one or more candidate character strings containing wildcards and corresponding identification information, where the identification information indicates whether these candidate character strings containing wildcard...
no. 2 example
[0074] Below, refer to Figure 2a , 2b and combine figure 1 Introduce the second embodiment of the present invention, wherein, with figure 1 HSS2 is shown as an example of an information storage device.
[0075] In the second embodiment, the concept of positions of characters in a character string is considered, where each position is called a specific position. For example, in '12[a-c]', '1' is in the first specific position, '2' is in the second specific position, and '[a-c]' is in the third specific position.
[0076] Step S21
[0077] In step S21, HSS2 firstly obtains an alternative character string containing wildcards and corresponding identification information. Wherein, let the acquired character string include 12[a-c], 2*, 1.3. The wildcards appearing in them have the following meanings:
[0078] [x-y] means starting from x (including x) and ending at y (when both x and y are integers) or any 1 digit of a letter (when both x and y are letters), for example, [2-...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 