Data retrieval method and device
A technology of data retrieval and quantity, applied in the computer field, can solve the problems of high randomness of data access, low probability of hit, and inability to effectively reduce data retrieval delay and data retrieval efficiency, so as to improve data retrieval efficiency and reduce data retrieval delay Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] The embodiment of the present invention provides a data retrieval method, such as figure 1 shown, including:
[0036] 101. According to the sampling length corresponding to the sampling feature value recorded in the first-level index item to be queried and the preset sampling algorithm, sample the input complete feature value to obtain the input sampling feature value, wherein the first-level index item is stored in the fast memory in the primary index table.
[0037] It can be understood that fast memory and slow memory are relative terms, and can be specifically set according to access speed, capacity and scarcity of resources. For example, memory has the fastest access speed, followed by flash memory, and then ordinary hard disk. Optionally, the fast storage can be a memory, and the slow storage can be a flash memory or a hard disk with a relatively large capacity. The fast memory can also be a flash memory, and the corresponding slow memory can be an ordinary har...
Embodiment 2
[0046] In order to enable those skilled in the art to better understand the data retrieval method provided by the embodiment of the present invention, the method is now described in detail.
[0047] Such as figure 2 As shown, the embodiment of the present invention provides a data retrieval method, including:
[0048]201. Sampling the input complete feature value according to the sampling length corresponding to the sampling feature value recorded in the first-level index item to be queried and the preset sampling algorithm to obtain the input sampling feature value, wherein the first-level index item is stored in the fast memory in the primary index table.
[0049] Among them, the sampling feature value recorded in the primary index item is the sampling of the corresponding complete feature value, and the corresponding complete feature value is stored in the secondary index item, where the complete feature value can be the keyword of the data content through a secure hash ...
Embodiment 3
[0108] An embodiment of the present invention provides a data retrieval device, such as Figure 8 As shown, it includes: a sampling unit 301 , a primary retrieval unit 302 , and a secondary retrieval unit 303 .
[0109] The sampling unit 301 is configured to sample the input complete feature value to obtain the input sample feature value according to the sampling length corresponding to the sampling feature value recorded in the first-level index item to be queried and a preset sampling algorithm, wherein the first-level index item Stored in the primary index table of the fast memory.
[0110] A first-level retrieval unit 302, configured to, when the input sampling feature value matches any sampling feature value recorded in the first-level index item to be queried, according to the slow memory address recorded in the first-level index item The corresponding secondary index item is read from the slow memory, and the secondary index item includes a complete feature value set. ...
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