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

Data cache processing method, system and data cache device

A technology of cache processing and data cache, applied in electrical digital data processing, special data processing applications, memory systems, etc., can solve the problems of low record search efficiency, waste of memory space, etc., to improve memory usage, reduce waste, and generalize good effect

Active Publication Date: 2008-02-13
SHENZHEN TENCENT COMP SYST CO LTD
View PDF0 Cites 60 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The purpose of the embodiments of the present invention is to provide a data cache processing method, aiming to solve the problems of wasting memory space and low record search efficiency when using the existing cache structure to cache 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
  • Data cache processing method, system and data cache device
  • Data cache processing method, system and data cache device
  • Data cache processing method, system and data cache device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0031] In the embodiment of the present invention, configure cached nodes and corresponding memory slices, store data index information and pointers to corresponding memory slices in nodes, store data in memory slices, and The memory slices perform various data cache processing operations, such as inserting records, reading records, or deleting records.

[0032] FIG. 2 shows the cache structure provided by the embodiment of the present invention, including two areas, a node area and a memory fragment (Chunk) area. The memory slice area is a shared memory area allocated in memory. The shared 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 present invention, which applies to the data cache field, provides a data cache process method, method and device. The method includes the following steps: configure a node in a cache and a corresponding memory slice; the node is used for storing the index information of the data and pointing to a pointer of the corresponding memory slice which is used to store the data written into the cache; according to the configured node and corresponding memory slice, cache the data. The present invention has a low demand on a data size, a good generality and requires no prior knowledge of single storage data size and distribution, thus not only enhancing generality of the cache, but also reducing memory waste as well as improving memory usage rate.

Description

technical field [0001] The invention belongs to the field of data cache, and in particular relates to a data cache processing method, system and data cache device. Background technique [0002] In computer and Internet applications, in order to increase the user's access speed and reduce the pressure on the back-end server, the front-end of slow systems or devices such as databases and disks generally adopts cache (Cache) technology, using memory and other fast access The device stores data frequently accessed by users. Because the access speed of memory is much faster than that of disk, it can not only reduce the pressure on back-end devices, but also respond to user requests in a timely manner. [0003] Various data types can be stored in the cache, such as user attribute data, picture data, and various files that the user needs to save. FIG. 1 shows the structure of an existing cache, including a header structure, a hash (Hash) bucket, and multiple nodes (Node). Among t...

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): G06F12/08G06F12/12G06F12/06G06F17/30G06F12/0802
CPCG06F12/0802
Inventor 姚星毛剑谢明
Owner SHENZHEN TENCENT COMP SYST 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