Data caching method and apparatus, computer device and storage medium

A data caching and storage medium technology, applied in the field of data processing, can solve problems such as poor user experience, low efficiency, and poor performance, and achieve the effect of improving experience and serialization efficiency

Active Publication Date: 2019-03-08
PING AN TECH (SHENZHEN) CO LTD
View PDF2 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the default serialization method is generally used, that is, the serialization method of Java (JDK, Java Development Kit). This serialization method has low efficiency and poor performance during deserialization, which causes users poor experience

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0020] figure 1 It is a schematic flowchart of the data caching method provided by the embodiment of the present application. like figure 1 As shown, the method includes S101-S105.

[0021] S101. Obtain data to be cached in a business scenario.

[0022] Among them, business scenarios are some application scenarios corresponding to meet the needs of enterprises. The data to be cached is the data obtained according to specific business scenarios. For example, in...

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

Embodiments of the present application provide a data caching method and apparatus, a computer device, and a storage medium. The method comprises the following steps of obtaining the data to be cachedof the business scenario; determining a serialization mode corresponding to the data to be cached according to the business scenario and the characteristics of the data to be cached; determining a caching strategy corresponding to the data to be cached according to the service scenario; configure serialization methods and caching strategies; when the cache instruction is received, storing the data to be cached in the cache database according to the configured cache strategy according to the serialized mode. Embodiments of the present application improve serialization efficiency, data cachingefficiency, and data query efficiency, thereby improving user experience.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular to a data caching method, device, computer equipment and storage medium. Background technique [0002] In database technology, an important technology is the use of cache. In the database, the same user may execute the same query statement multiple times or different users may execute the same query statement. In order to improve the query efficiency, the user's query results can be put into the cache. When the user executes the same query next time or the next user executes the same query, the data can be obtained directly from the cache instead of reading the data from the data file in the hard disk / database, and the related parsing work can also be saved . Because memory runs much faster than hard disk / data. To this end, through the caching mechanism, the efficiency of the query can be improved. For the Redis (Remote Dictionary Server, remote data servi...

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): G06F16/2455
CPCY02D10/00
Inventor 苏渊博
Owner PING AN TECH (SHENZHEN) 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