Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device suitable for hot data storage and medium

A technology of hot data and data, applied in the computer field, can solve the problems of cold data pollution, cold data eliminating hot data, cold data occupying hot data storage space, etc., to achieve the effect of avoiding pollution, reducing occupation, and concise form

Pending Publication Date: 2021-12-31
SUNINFO INFORMATION TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If a large amount of cold data is written into the linked list, it will occupy a large amount of storage space of the linked list, and most of the valid hot data in the linked list will be eliminated from the linked list, which will lead to low work efficiency of the linked list and poor storage effect on hot data
[0008] Similarly, in the second method, a large number of cold data with lower timestamp values ​​will be eliminated, and hot data with higher timestamp values ​​will be eliminated.
[0009] Therefore, replacing new data directly as hot data in the existing technology will cause too much cold data to occupy the limited storage space of hot data, which greatly wastes the storage resources of hot data
This is the pollution of cold data to hot data storage. This kind of pollution makes hot data unable to fully use storage resources, resulting in poor management of hot data.
Poor management of hot data will indirectly lead to inefficiency in calling hot 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
  • Method and device suitable for hot data storage and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

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

[0048]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 memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory ...

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 provides a method and device suitable for hot data caching and a medium. By distinguishing the type of the data operation request, the data to be written in the data writing operation is marked as the hottest data to be stored in the first data table, so that the second data table for storing the hot data is prevented from being occupied. When the data operation request is judged to be the data query operation, the data is queried in the second data table, and the data is marked as the hottest data after finding the data. If the data is not found, querying is performed in the first data table, the data is marked as hottest data after the data is found, and the hottest data is added into the second data table. In this way, pollution of newly-written data to the hot data table is avoided, the hot data can fully use storage resources, the form is simple, occupation of cold data to the storage resources is reduced to the maximum extent, the hot data cannot be lost due to writing of a large amount of cold data, and the efficiency of calling the hot data is indirectly improved while the management effect on the hot data is enhanced.

Description

technical field [0001] This application relates to the field of computers, in particular to a method for storing hot data. Background technique [0002] In the prior art, in order to increase the efficiency of invoking commonly used data, it is often necessary to store and manage commonly used data as hot data, and a special storage method is required for storing hot data. The management mode of hot data in the existing technology is basically: store commonly used data in a set, identify the popularity of each data through the frequency of data use and replace and maintain, new data is directly added to the set of hot data, Replace maintenance with hot data. When the limited storage space is full of data, the data that has not been used for the longest time will be eliminated. [0003] In the prior art, there are two implementation methods for the above scheme: [0004] The first is to use a linked list to achieve. Store data in the form of a linked list. When new data n...

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/0608G06F3/0646G06F3/0652G06F3/0656
Inventor 李巍
Owner SUNINFO INFORMATION TECH