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

Data caching system and data query method

A technology of data caching and caching tables, which is applied in transmission systems, electrical digital data processing, special data processing applications, etc. It can solve the problems that the Memcached system does not support multiple indexes, improve reliability and security, and facilitate management and use Effect

Inactive Publication Date: 2011-07-06
卓望数码技术(深圳)有限公司
View PDF0 Cites 87 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 caching system and data query method
  • Data caching system and data query method
  • Data caching system and data query method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0029] The invention provides a data cache system and a data query method. Each cache server stores cache data in a shared memory in the form of a cache table. In this way, when an exception occurs in a key process of the cache system and the process restarts, the cached data stored in the shared memory is still available. In addition, the cache table is logically divided into an index area and a data area to facilitate data management and use. At the same time, multiple index tables are stored in the index area, so that the same data record can be queried through multiple indexes. Finally, the t...

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 the cache technique, and provides a data caching system and a data query method, in order to overcome the disadvantages that the existing Memcached system does not support multi-index and the like. The data caching system comprises a cache proxy, and at least one cache server in communication connection with the cache proxy, wherein the cache proxy is used for receiving aquery quest and carrying out hash calculation, and sending the query quest to the corresponding cache server; and the cache server is used for extracting the search field and the search keyword contained in the query quest, searching the corresponding index table in an index region of a cache table of the search field stored in a shared memory, searching the corresponding index in the index tableaccording to the search keyword, searching the corresponding data record in a data region in the cache table according to the index, and returning to the searched data record through the cache proxy.The invention also provides a data query method. The technical scheme provided by the invention is helpful in improving the overall reliability and the security of the data caching system.

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 application 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, value) method to cache data. There is no concept of logical table, and all data share the same stor...

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/30H04L29/08
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