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

A cache management method and device

A cache management and caching technology, applied in the computer field, can solve problems such as reducing query access speed, and achieve the effects of improving query speed, reducing cache space requirements, and high query efficiency

Active Publication Date: 2020-09-11
ZHEJIANG TMALL TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this scheme, all the data is stored on the disk. Although a small part of the data and its hash key are cached in memory, most queries require disk IO read operations during index query, which greatly reduces the query access cost. speed

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0023] 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.

[0024] 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 RAM. Memory is an example of computer readable media.

[0025] 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 acce...

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. The method comprises: storing first index information of each data block and the data block to a disk, wherein the storage position of the data block in the disk corresponds to the first index information; and writing all first index information in the disk into corresponding caches. Compared with the prior art, multiple pieces of index information established with the method can break through value range limitation of single piece of index information to realize query on mass data; meanwhile, the matching of query keywords is performed in the cache with relatively high access speed, so that the query speed is greatly increased; and in addition, the data blocks stored in the disk are stored in the caches when necessary as needed, so that the cache space is saved while the query efficiency is ensured. Through the cache management method and device, users can quickly access to the mass data, so that great convenience is brought for applications of instant data statistics, calculation, analysis and the like on the basis of obtaining the mass data.

Description

technical field [0001] The present application relates to the field of computers, in particular to a cache management technology. Background technique [0002] With the development of the Internet, various computing engines and application systems have put forward higher requirements for data management, hoping to access more data and increase the speed of accessing data. [0003] Currently, the schemes adopted in this field are: [0004] One is the full memory hash index technology. In this solution, all data is cached in memory, so the amount of hash index data is limited by the memory size, and the index of massive data cannot be realized. [0005] The other is the disk hash index technology. In this scheme, all the data is stored on the disk. Although a small part of the data and its hash key are cached in memory, most queries require disk IO read operations during index query, which greatly reduces the query access cost. speed. Contents of the invention [0006] ...

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 Patents(China)
IPC IPC(8): G06F12/0871G06F16/2455
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