Cache data search method and apparatus
A technology for caching data and caching, which is applied in the computer field and can solve problems such as complex logic and low efficiency of business execution
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0016] According to an embodiment of the present invention, a cache data lookup method is provided, such as figure 1 As shown, the method includes:
[0017] S102: Obtain query conditions for searching data elements in the cache, where each data element in the cache includes one or more fields, each field includes a field type and a field value, and the query conditions are used to indicate to be searched The field type and the field value to be searched;
[0018] S104: Search the cache for data elements with fields satisfying the query condition;
[0019] S106: If a data element with a field satisfying the query condition is found, read the found data element from the cache.
[0020] It should be clear that one of the problems to be solved by the embodiments of the present invention is to provide a method for effectively searching cached data.
[0021] Specifically, in the embodiment of the present invention, cache may refer to a storage method for data, wherein, compared w...
Embodiment 2
[0068] According to an embodiment of the present invention, there is also provided a cache data search device for implementing the above cache data search method, such as image 3 As shown, the device includes:
[0069] 1) Obtaining unit 302, configured to obtain query conditions for searching data elements in the cache, wherein each data element in the cache includes one or more fields, each field includes a field type and a field value, and the query The condition is used to indicate the field type to be searched and the field value to be searched;
[0070] 2) a search unit 304, configured to search the cache for a data element having a field satisfying the query condition;
[0071] 3) The output unit 306 is configured to read out the found data element from the cache when finding a data element with a field satisfying the query condition.
[0072] It should be clear that one of the problems to be solved by the embodiments of the present invention is to provide a device fo...
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