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

Cache management method and device

A cache management and caching technology, applied in the computer field, can solve problems such as hot data reducing concurrency efficiency, and achieve the effect of improving concurrency efficiency, avoiding global lock competition, and improving efficiency

Active Publication Date: 2016-02-03
ZHEJIANG TMALL TECH CO LTD
View PDF7 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above two algorithms are not only prone to lock competition, which reduces the concurrency efficiency of hot data, but also because they are completely eliminated based on time series, they are cleaned by a large amount of data at the peak of access, and are eliminated from the cache.

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
  • Cache management method and device
  • Cache management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The application will be described in further detail below in conjunction with the accompanying drawings.

[0033] In a typical configuration of the present application, the terminal, the device serving the network and the trusted party all include one or more processors (CPUs), input / output interfaces, network interfaces and memory. Memory may include non-permanent storage in computer-readable media, in the form of random access memory (RAM) and / or nonvolatile memory, such as read-only memory (ROM) or flash memory (flashRAM). Memory is an example of computer readable media. Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access ...

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 application aims to provide a cache management method and device. Compared with the prior art, the cache management device provided by the application queries and determines a target cache record matched with main key information in a cache containing a plurality of cache records, wherein each cache record comprises corresponding citation information and latest access information; and updating the citation information and the latest access information corresponding to the target cache record. The citation information and the latest access information are set in the cache records, so that the cache management device can be helped to set a replacement mechanism of the cache records; the cache management device ensures that the cache records active recently are stored in the cache, so that the active cache records are prevented from being replaced; and meanwhile, "the citation information" and "the latest access information" can be modified through only one atomic instruction without the need for performing a lock operation on the cache records, so that global lock contention during modification of an existing cache management algorithm is avoided and the concurrent efficiency is effectively improved.

Description

technical field [0001] The present application relates to the field of computers, in particular to a cache management technology. Background technique [0002] Cache is a memory space opened up to improve system performance. The main function of the cache is to temporarily save the data processing results of the business system in memory and wait for the next access. In many occasions of daily development, due to the limitation of the performance of the hard disk interface or the data processing and acquisition of the business system may be very time-consuming, when the data requests of the business system are large, frequent IO and logic processing will lead to hard disk and CPU resources. bottlenecks appear. Therefore, the function of the cache is to store these data in the memory. When other threads or clients need to query the same data resource, the data will be returned directly from the cache. The resource consumption of these data processing processes will greatly...

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): G06F17/30
Inventor 黄益聪魏闯先
Owner ZHEJIANG TMALL TECH 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