Data caching method, device, terminal, and computer-readable storage medium

A data caching and data technology, applied in the field of data processing, can solve the problems affecting the user's good experience, long invalid waiting time, and reducing the running speed of threads, etc., so as to improve the good experience, shorten the invalid waiting time, and ensure the running speed. Effect

Active Publication Date: 2022-02-11
ALIBABA (CHINA) CO LTD
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a data caching method, device, terminal, and computer-readable storage medium to solve the problem in the prior art that the invalid waiting time of each thread becomes very long, thereby reducing the running time of the thread. Speed, which affects the user's good 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, device, terminal, and computer-readable storage medium
  • Data caching method, device, terminal, and computer-readable storage medium
  • Data caching method, device, terminal, and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0063] The terms "comprising" and "having" and any variations thereof in the description and claims of the present invention are intended to cover a non-exclusive inclusion, for example, a process comprising a series of steps or a device of structure need not be limited to the expressly listed Instead, those structures or steps may include other steps or structures not expressly listed or inherent to the process or device.

[0064] figure 1It is...

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 invention provide a data caching method, device, terminal, and computer-readable storage medium. The method includes: when multiple threads are running, acquiring the data type of data to be cached in each thread; Determine at least one target cache block corresponding to the data type among the plurality of cache blocks; determine an encryption method corresponding to the target cache block according to the target cache block; store the data to be cached in the target cache block by using the encryption method. The present invention realizes that when there are multiple threads running, at least one target cache block corresponding to the data type is determined in a plurality of preset cache blocks according to the data type, and the data to be cached is stored in the target cache block in an encrypted manner , so that when there are data to be cached by multiple threads, they can be stored in corresponding target cache blocks, effectively shortening the invalid waiting time of each thread, and ensuring the running speed of each thread.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a data caching method, device, terminal and computer-readable storage medium. Background technique [0002] At present, there are two ways to update terminal applications: hot update and cold deployment. Among them, hot update is a common update method for many applications. When updating, you only need to download and install the updated part of the code; cold deployment means that the APP is updated in the AppStore, and you need to re-download all the installation packages when updating; compared with cold deployment, hot update has more advantages. It has the advantages of fast update speed and data loss prevention. [0003] When the application program is updated through hot update, there will be multiple threads running at the same time. At this time, in order to meet the hot update requirements and ensure data consistency in the case of multi-threading, gen...

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): G06F12/0871G06F8/65
CPCG06F12/0871G06F8/65
Inventor 陈溯
Owner ALIBABA (CHINA) 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