Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Cache management method and device, computer equipment and storage medium

A cache management and caching technology, applied in the computer field, can solve the problems of reducing cache hit rate, cache pollution, affecting data access speed, etc., and achieve the effects of determining accuracy, improving hit rate, and avoiding pollution

Active Publication Date: 2020-05-19
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the related technology eliminates the cache content, the determination of the cache content to be eliminated is not accurate enough, which leads to serious cache pollution, reduces the hit rate of the cache, and seriously affects the access speed to data.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Cache management method and device, computer equipment and storage medium
  • Cache management method and device, computer equipment and storage medium
  • Cache management method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0046] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrate...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a cache management method and device, computer equipment and a storage medium, and the method comprises the following steps: determining the access time and access frequency corresponding to cache contents when an access request for the cache contents in a cache is received; determining the ratio of the access times to the maximum access times corresponding to the cache content in the cache to obtain the access frequency corresponding to the cache content; when a cache elimination condition is met, determining a popularity value of each cache content according to the access time and the access frequency corresponding to each cache content in the cache; determining cache content to be eliminated according to the popularity value of each cache content in the cache; and deleting the cache content to be eliminated from the cache. According to the method, the time dimension and the access frequency dimension are combined to comprehensively consider the cache contentto be eliminated, so that the cache content to be eliminated is determined more accurately, cache pollution is avoided, and the cache hit rate is increased.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a cache management method, device, computer equipment and storage medium. Background technique [0002] Cache (Cache) is a small-capacity memory between the central processing unit (Central Processing Unit, CPU) and the main memory. The access speed is faster than the main memory and close to the CPU. It can provide instructions and data to the CPU at high speed and improve the execution speed of the program. Cache technology is an important technology adopted to solve the speed mismatch between CPU and main memory. [0003] In related technologies, when the cache space is completely occupied, that is, when the cache is full, it is necessary to eliminate some cache contents in the cache, so as to release part of the cache space. However, when the relevant technology eliminates the cache content, the determination of the cache content to be eliminated is not accurate e...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/06
CPCG06F3/0611G06F3/0656G06F3/0638
Inventor 陈信雄
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products