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

Data caching method, device, server and storage medium

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

Active Publication Date: 2021-09-21
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF4 Cites 0 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, device, server and storage medium
  • Data caching method, device, server and storage medium
  • Data caching method, device, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

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

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 application relates to a data caching method, device, server and storage medium. The method includes: acquiring a data table identifier in the database; querying historical access data and data volume corresponding to the data table identifier; determining a cache priority corresponding to the data table identifier according to the queried historical access data and data volume; Determine the data table identifier of the data table to be cached according to the cache priority; obtain the data table corresponding to the determined data table identifier from the database; cache the obtained data table in the redis storage system. This method does not need to consider the limitation of the local cache space. When accessing the data table in the database, the cached data table is first queried from the redis storage system, which improves the access efficiency of the data table and reduces the access pressure of the database.

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 amount of electronic data has grown rapidly. [0003] However, the current traditional storage methods for data are 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 becoming larger and larger. As a result, when accessing the data in the database, it takes more time to find the corresponding data, which reduces the data access efficiency. SUMMARY OF...

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 Patents(China)
IPC IPC(8): G06F16/2453
Inventor 陈驾
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT 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