Efficient retrieval of variable-length character string data
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Benefits of technology
Problems solved by technology
Method used
Image
Examples
first embodiment
1. First Embodiment
[0044] 1.1) Configuration
[0045] Referring to FIG. 2, a variable-length character string retrieval apparatus 1 according to a first embodiment of the present invention generally includes a pattern registration section 131, a retrieval execution section 11 and a pattern storage section 12.
[0046] When a registration pattern 132 is inputted, the pattern registration section 131 extracts N prefixes (N: natural number) with different lengths in accordance with a given extraction rule. Further, the pattern registration section 131 selects one prefix among the extracted prefixes in accordance with a given selection rule, and sets the selected prefix as an index element for the registration pattern 132. Thereafter, a predetermined hash function is applied to the prefix set as the index element to obtain a hash value, and this prefix is registered on a prefix pattern list 121 in the pattern storage section 12, at a location according to the obtained hash value. That is, i...
second embodiment
2. Second Embodiment
[0075] In the first embodiment as described above, the prefix extractor 111 extracts prefixes with predetermined N different lengths from a retrieval key, and the pattern registration section 131 extracts a prefix to be set as an index element from a registration pattern based on the predetermined N different lengths. By comparison, in a second embodiment of the present invention, the prefix extractor 111 extracts prefixes with N different lengths according to a predetermined separating character, and the pattern registration section 131 extracts a prefix to be set as an index element from a registration pattern according to the predetermined separating character.
[0076] 2.1) Prefix Extraction
[0077] First, the operation of the prefix extractor 111 in the second embodiment will be described with reference to FIGS. 6 and 7. In the following description, it is assumed that N=4. In addition, consideration will be given to a case, for example, where a retrieval key 5...
third embodiment
3. Third Embodiment
[0092] In the first and second embodiments, the retrieval of the longest prefix match of a variable-length character string is performed. By comparison, in a third embodiment of the present invention, the retrieval of a longest suffix match will be performed. Now the third embodiment will be described with reference to FIGS. 11 and 12.
[0093]FIG. 11 is a block diagram showing an exemplary configuration of a variable-length character string retrieval apparatus 1a for retrieving a longest suffix match. Referring to FIG. 11, the variable-length character string retrieval apparatus 1a according to the third embodiment generally includes a pattern registration section 131a, a retrieval execution section 11a and a pattern storage section 12a.
[0094] When a registration pattern 132 is inputted, the pattern registration section 131a extracts N suffixes (N: natural number) with different lengths from the tail of the registration pattern 132 in accordance with a given extra...
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