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

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

A technology of data caching and caching blocks, which is applied in the field of data processing, and can solve problems that affect user experience, long invalid waiting time, and reduce thread running speed, so as to improve good experience, shorten invalid waiting time, and ensure running speed Effect

Active Publication Date: 2020-01-03
ALIBABA (CHINA) CO LTD
View PDF14 Cites 2 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 and device, terminal and computer readable storage medium
  • Data caching method and device, terminal and computer readable storage medium
  • Data caching method and 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, not all, embodiments of the present invention. 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 a schematic f...

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 embodiment of the invention provides a data caching method and device, a terminal and a computer readable storage medium, and the method comprises the steps: obtaining the data type of to-be-cached data in each thread during the operation of a plurality of threads; determining at least one target cache block corresponding to the data type in a plurality of preset cache blocks according to thedata type; determining an encryption mode corresponding to the target cache block according to the target cache block; and storing the to-be-cached data to the target cache block in an encryption mode. According to the invention, when a plurality of threads are operated, at least one target cache block corresponding to the data type is determined in a plurality of preset cache blocks according tothe data type, the to-be-cached data is stored in the target cache block in the encryption mode, so that when the to-be-cached data of multiple threads exists, the to-be-cached data can be respectively stored in the corresponding target cache block, the invalid waiting time of each thread is effectively shortened, and the running speed of each thread is ensured.

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 Applications(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products