Cached data loading method and apparatus
A technology for caching data and data, which is applied in the field of data processing, and can solve problems such as low cache hit rate of cached data, system avalanche, lack of data caching flexibility, etc., to achieve the effect of improving utilization efficiency and avoiding system avalanche
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
application example 1
[0222] Figure 5 It is the method flow chart of application example 1 of the present invention, as Figure 5 shown, including:
[0223] Step 500, scan the service access layer, read the interface with automatic loading information, and determine whether to automatically load data through the automatic loading information; the automatic loading information in this application example may include an automatic loading flag;
[0224] Step 501: Load and cache the data in the database corresponding to the identified interface containing the automatic loading information according to the preset cache parameter information; here, the cached data can be written into the cache center;
[0225] In this application example, the cache parameter information includes: preset data identification information, and / or cache condition information, and / or expiration time; wherein, the data identification information includes: combination according to interface parameters, and / or Interface parame...
application example 2
[0234] This application example first needs to establish a message queue containing the data status information of all cached data; the data status information is collected in advance, including: the previous request time of the cached data, the number of times the cached data is loaded, and each load The time of the cached data, and / or the number of times the cached data is accessed within a preset time period. This application example uses a process to read the first data status information in the message queue as an example to illustrate; Image 6 It is the method flowchart of application example 2 of the present invention, as Image 6 shown, including:
[0235] Step 600, read the first data status information of the current queue from the message queue;
[0236] Step 601. Obtain the previous request time of the cached data from the data status information, and read the current system time;
[0237] It should be noted that information such as the request time and the cur...
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