Data caching method
A data cache and data technology, applied in the direction of electrical digital data processing, special data processing applications, digital data information retrieval, etc., can solve the problems of processor repetitive calculation, memory space waste, inaccessibility, etc., to optimize speed and increase capacity , to achieve the effect of long-term storage
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0022] Such as figure 1 As shown, a data caching method includes:
[0023] 1) When developing an Android application, integrate this method in the framework, and initialize various parameters. Including but not limited to providing context for this method, enabling debug to print logs, and setting storage data conversion methods (this method supports caching a variety of commonly used data including ordinary strings, JsonObject, JsonArray, Bitmap, Drawable, serialized java objects and byte data, etc.), set the memory cache size, set the path cache space size in the file cache, set the value cache space size in the file cache, and set the storage folder name of the file cache. The preset cache space size is the size of the cache space that the sizeOf() function needs to process.
[0024] 2) Write cache operation, call the put() function of this method, cache the key corresponding to the data to be cached in the memory space and store it in path, and store the corresponding va...
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