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

Data cache system and data inquiry method

A data caching and metadata technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problem that the Memcached system does not support multiple indexes, etc., and achieve the effect of convenient management and use

Inactive Publication Date: 2011-07-13
卓望数码技术(深圳)有限公司
View PDF0 Cites 46 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is to provide a data cache system and a data query method for defects such as that the existing Memcached system does not support multiple indexes

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 system and data inquiry method
  • Data cache system and data inquiry method
  • Data cache system and data inquiry method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0047] The invention provides a data cache system and a data query method. In the technical solution provided by the present invention, cached data records are stored in shared memory. In this way, when an exception occurs in a key process of the cache system and the process is restarted, the data records stored in the shared memory are still available. In addition, the technical solution provided by the present invention divides the shared memory into a metadata area and a table data area. The metadata table is stored in the metadata area. The index area and the record area are set in the table d...

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 relates to a cache technology, and provides a data cache system and a data inquiry method aiming to the defects that the traditional Memcached system does not support multiple indexes and the like. The data cache system comprises a virtual storage module, a forwarding module and a hash searching module, wherein the virtual storage module is arranged in a shared memory; the forwarding module is used for receiving a search request and judging the type to which the forwarding module belongs, and forwarding the search request; and the hash searching module is used for receiving the search request of a single-value search type and extracting a keyword, searching corresponding index information from a metadata table according to the type of the keyword, searching a corresponding hash index chain table from an index domain according to the index information, searching a matched index from a sub chain table according to a hash calculation result and searching a matched data record according to the index. The invention also provides a data inquiry method. The technical scheme provided by the invention supports multiple indexes, the data record is stored in a memory sharing mode, and the defect of the traditional Memcached system is overcome.

Description

technical field [0001] The present invention relates to cache technology, more specifically, to a data cache system and a data query method. Background technique [0002] In order to reduce the access pressure of the database server, most database servers are equipped with a data cache system. The function of this data caching system is to temporarily store data frequently accessed by users. In this way, when the user accesses the temporarily stored data again, the data can be directly returned without obtaining the data from the database server, thereby reducing the load on the database server. [0003] Currently, the most commonly used network data caching system is the Memcached system. The Memcached system is a distributed memory cache system, which adopts a Client / Server (client / server) structure and communicates based on sockets. The Memcached system uses the key (key) and value (value) method to cache data. There is no concept of logical table, and all data share 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
IPC IPC(8): G06F17/30
Inventor 李升林王迎锋林伟军邓福喜吕秋明张宗元廖炳才樊小彬柳江肖伟刘志尧
Owner 卓望数码技术(深圳)有限公司
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