Data caching method and device, server and storage medium

A data caching and caching technology, applied in the field of data processing, can solve problems such as reducing data access efficiency, and achieve the effect of improving access efficiency and reducing access pressure.

Active Publication Date: 2018-09-04
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

With the rapid growth of the amount of data, the amount of data stored in the database is also increasing. As a result, when accessing the data in the database, it takes more time to find the corresponding data, which reduces the efficiency of data access.

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 method and device, server and storage medium
  • Data caching method and device, server and storage medium
  • Data caching method and device, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] In order to make the purpose, technical solution and advantages of the present application clearer, the present application 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 application, and are not intended to limit the present application.

[0069] The data caching method provided by this application can be applied to such as figure 1shown in the application environment. Wherein, the terminal 102 communicates with the server 104 through the network. Wherein, the terminal 102 can be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices, and the server 104 can be realized by an independent server or a server cluster composed of multiple servers. The server 104 is provided with a redis storage system, and the server may also communicate...

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 data caching method and device, a server and a storage medium. The method comprises the following steps of: obtaining data table identifiers in a database; querying historyaccess data and data sizes corresponding to the data table identifiers; determining caching priorities corresponding to the data table identifiers according to the queried history access data and datasizes; determining a data table identifier of a to-be-cached data table according to the caching priorities; determining a data table corresponding to the determined data table identifier from the database; and caching the obtained data table into a redis storage system. By adoption of the method, the restriction of local caching spaces is not considered, and when data tables in databases are accessed, cached data tables are queried from redis storage systems, so that the data table access efficiency is improved, and the access pressure of the databases is lightened at the same time.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular to a caching method, device, server and storage medium. Background technique [0002] With the development of Internet technology, various business-related data have become electronic data, and these electronic data are transmitted through the Internet. As more and more businesses use electronic data for business processing and recording, the data volume of electronic data has increased rapidly. [0003] However, the current traditional storage method for data is to store the data in the database, and then obtain the corresponding data from the database when the data needs to be accessed. With the rapid growth of the amount of data, the amount of data stored in the database is also increasing. As a result, when accessing the data in the database, it takes more time to find the corresponding data, which reduces the efficiency of data access. Contents of the i...

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): G06F17/30
Inventor 陈驾
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products