Cache data processing method, electronic equipment, memory medium of computer
A technology for caching data and processing methods, applied in electrical digital data processing, special data processing applications, calculations, etc., and can solve problems such as low efficiency and slow speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] figure 1 A flow chart showing a cache data processing method according to Embodiment 1 of the present invention, as shown in figure 1 As shown, the cache data processing method specifically includes the following steps:
[0030] Step S101, update the algorithm factor of the preset data key generation algorithm corresponding to the business type according to the update feedback information of the batch data.
[0031] When the bulk data is updated, for example, the database stores the prices of many books, when a new discount is set for the prices of a large number of books, and the book prices are modified, there will be batch data that needs to be updated. According to the feedback information after updating the batch data from the database, or according to the update feedback information of the batch data after the business completes the batch data update, the business type related to the batch data can be obtained from it, and the preset corresponding to the business...
Embodiment 2
[0043] figure 2 A flow chart showing a method for processing cached data according to Embodiment 2 of the present invention, as shown in figure 2 As shown, the cache data processing method includes the following steps:
[0044] Step S201, according to the update feedback information of the batch data, set the cache data expiration flag corresponding to the service type.
[0045] Step S202, update the algorithm factor of the preset data key generation algorithm corresponding to the service type according to the cache data expiration flag corresponding to the service type.
[0046] According to the update feedback information of the batch data, it is first determined whether the update data volume of the batch data is greater than a preset update threshold. If yes, set the cache data expiration flag according to the business type of the batch data. If the updated data volume of the batch data is less than the preset update threshold, for example, the updated data volume of ...
Embodiment 3
[0059] Embodiment 3 of the present application provides a non-volatile computer storage medium, where at least one executable instruction is stored in the computer storage medium, and the computer executable instruction can execute the cache data processing method in any of the above method embodiments.
[0060] Specifically, the executable instruction can be used to make the processor perform the following operations: update the algorithm factor of the preset data key generation algorithm corresponding to the business type according to the update feedback information of the batch data; receive the data query request sent by the client; carry the data query request The first data key of the data to be queried; use the updated preset data key generation algorithm to generate the second data key used in the cache according to the first data key; correlate the data query result corresponding to the first data key with the second data key associated and stored in the cache.
[006...
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