Unlock instant, AI-driven research and patent intelligence for your innovation.

Data query method and device based on multi-level cache

A data query and caching technology, applied in the computer field, can solve problems such as long system response time, weak concurrency and poor stability of the stand-alone throughput system

Pending Publication Date: 2021-09-07
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the case of high-concurrency and high-traffic access, the system may have a long response time or even be unavailable for a short time, affecting user experience
Existing technologies generally deal with this deficiency through hardware expansion, distribution or hierarchical caching, etc., but these methods have problems such as high cost, poor stability, single-machine throughput and weak system concurrency under the condition of high concurrent and large traffic 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 query method and device based on multi-level cache
  • Data query method and device based on multi-level cache
  • Data query method and device based on multi-level cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0058] According to an aspect of an embodiment of the present invention, a multi-level cache-based data query method is provided.

[0059] figure 1 is a schematic diagram of the principle of the multi-level cache-based data query method of the embodiment of the present invention, as shown in figure 1 As shown, the present invention adopts a multi-level cache mechanism 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

The invention discloses a data query method and device based on a multi-level cache, and relates to the technical field of computers. A specific embodiment of the method comprises the steps of receiving an inventory query request; judging whether inventory state data corresponding to the inventory query request exists in a cache or not; the cache comprising a first cache, a second cache and a third cache; wherein the first cache caches inventory state data of a preset calling party, and the second cache caches inventory state data of goods without goods, the third cache caches inventory state data of the hot objects; if yes, taking the inventory state data as result data; and otherwise, acquiring basic data corresponding to the inventory query request from a database, determining the inventory state data according to the basic data, and taking the inventory state data as result data. According to the embodiment, under the condition of high-concurrency and large-flow access, the single-machine throughput and the system concurrency capability can be improved, stability and reliability are achieved, the user experience is improved, and cost is saved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a multi-level cache-based data query and device. Background technique [0002] In the case of high-concurrency and high-traffic access, the system may have long response time or even short-term unavailability, which affects user experience. Existing technologies generally deal with this deficiency through hardware expansion, distribution or hierarchical caching, etc., but these methods have problems such as high cost, poor stability, single-machine throughput and weak system concurrency under the condition of high concurrent and large traffic access. Contents of the invention [0003] In view of this, the embodiment of the present invention provides a data query method and device based on multi-level cache, which can improve the throughput of a single machine and the concurrency capability of the system in the case of high-concurrency and large-traffic access, and is stable a...

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/2458
CPCG06F16/24552G06F16/2471
Inventor 张亚琴李世杰刘强孟强
Owner BEIJING WODONG TIANJUN INFORMATION TECH CO LTD