Check patentability & draft patents in minutes with Patsnap Eureka AI!

Double-cache method, device and equipment based on asynchronous decorator and storage medium

A decorator and double-caching technology, applied in the field of double-caching, devices, equipment and storage media based on asynchronous decorators, can solve complex problems and achieve the effect of improving cache efficiency

Pending Publication Date: 2020-07-24
CHINA PING AN LIFE INSURANCE CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides an asynchronous decorator-based double-buffer method, device, device, and storage medium, which are used to construct an asynchronous decorator at the task layer and data layer, extract cached data through the asynchronous decorator, and solve the problem of calling the target from the data layer. The problem of complex data improves the cache efficiency

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
  • Double-cache method, device and equipment based on asynchronous decorator and storage medium
  • Double-cache method, device and equipment based on asynchronous decorator and storage medium
  • Double-cache method, device and equipment based on asynchronous decorator and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention provides an asynchronous decorator-based double-caching method, which is used to build an asynchronous decorator at the task layer and data layer, extract cached data through the asynchronous decorator, solve the problem of calling the target data from the data layer is complicated, and improve the Cache efficiency.

[0029] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the presen...

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 the field of cloud technology, and discloses a double-cache method, device and equipment based on an asynchronous decorator and a storage medium, which are used for extractingcache data through the asynchronous decorator and improving the cache efficiency. The method comprises the steps of: acquiring a data extraction instruction, and generating a target task layer asynchronous decorator according to the data extraction instruction; obtaining a first target data key-value pair according to the target task layer asynchronous decorator and a preset construction rule; obtaining first target data in a first cache space through the target task layer asynchronous decorator, and judging whether the first target data is a null value or not through the target task layer asynchronous decorator; obtaining second target data in a second cache space if the first target data is the null value, and judging whether the second target data is a null value or not; and obtainingtarget data from the database according to a second target data key-value pair if the second target data is the null value, and sending the target data to a preset terminal.

Description

technical field [0001] The present invention relates to the field of cloud technology, in particular to a double buffering method, device, equipment and storage medium based on asynchronous decorators. Background technique [0002] With the development of technology, caching has become a technique widely used in computers to improve performance. In the context of web applications, caching is used to persist pages or data between HTTP requests and use them multiple times without having to create new ones. Its purpose: to save application processing time and resources. [0003] Tornado is the open source version of the Web server and its common tools. Tornado is significantly different from the current mainstream Web server framework. Tornado is a non-blocking server, and the speed is quite fast. Based on Tornado's asynchronous function, Tornado can process thousands of files per second. connections, so Tornado is an ideal framework for real-time Web services. [0004] Howe...

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/2455G06F16/27G06F16/21G06F8/30
CPCG06F8/315G06F16/211G06F16/24552G06F16/27
Inventor 欧阳建国
Owner CHINA PING AN LIFE INSURANCE CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More