Cache data heat management method and system based on probability-based access frequency count
A technology for accessing frequency and caching data, which is applied in the fields of electrical digital data processing, memory system, computing, etc., can solve the problem of surge in storage demand, achieve wide application prospects, save occupation and CPU computing, and highlight the effect of substantive features
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0075] like figure 1 As shown, the present invention provides a cache data heat management method for counting access frequency based on probability, including the following steps:
[0076] S1. Set the data in the cache to be stored in units of data blocks, and set a heat statistics data structure in the data blocks, and the heat statistics data structure includes an access time record bit and an access frequency record bit;
[0077] S2. When the data block in the cache is accessed, record the current access time of the data block, count the access frequency of the data block based on the probability, and update the access frequency and access time of the data block in the heat statistics data structure;
[0078] S3. When there is a new cache request, determine whether the remaining cache space has reached the set threshold, and when the cache space reaches the set threshold, randomly select a set number of data blocks from the cache, and then select a set number of data block...
Embodiment 2
[0080] like figure 2 As shown, the present invention provides a cache data heat management method for counting access frequency based on probability, including the following steps:
[0081] S1. Set the data in the cache to be stored in units of data blocks, and set a heat statistics data structure in the data blocks, and the heat statistics data structure includes an access time record bit and an access frequency record bit;
[0082] Set the access time record bit in the heat statistics structure to Mbit, and the access frequency record bit to Nbit; the access time record bit in the heat statistics structure is 24bit, and the access frequency record bit is 8bit;
[0083] S2. When the data block in the cache is accessed, record the current access time of the data block, count the access frequency of the data block based on the probability, and update the access frequency and access time of the data block in the heat statistics data structure; the specific steps are as follows:...
Embodiment 3
[0107] like image 3 As shown, the present invention provides a cache data heat management system for counting access frequency based on probability, including:
[0108] The heat statistics structure setting module 1 is used to set the data in the cache to be stored in units of data blocks, and set the heat statistics data structure in the data blocks, and the heat statistics data structure includes the access time record bit and the access frequency record bit; setting In the heat statistics structure, the access time record bit is Mbit, and the access frequency record bit is Nbit;
[0109] The access frequency probability statistics module 2 is used to record the access time of the data block when the data block in the cache is accessed, count the access frequency of the data block based on the probability, and update the access frequency and access time of the data block in the heat statistics data structure ; Access frequency probability statistics module 2 includes:
[01...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



