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

Caching method and device

A technology for caching and caching servers, applied in the computer field, can solve problems such as low flexibility and single caching method, and achieve the effect of improving flexibility

Active Publication Date: 2022-02-01
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the existing caching methods usually directly use some specific caching algorithms (such as LRU (Least Recently Used, least recently used) algorithm, LFU (Least Frequently Used, least frequently used page replacement) algorithm, etc.) for caching. The caching method is relatively simple, and the flexibility of caching is low under high concurrency conditions

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
  • Caching method and device
  • Caching method and device
  • Caching method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030]The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0031] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0032] figure 1 An exemplary system architecture 100 to which the caching method or caching device of the present application can be applied is shown.

[0033] like figure 1 As shown, the system architecture 100 may include terminal devices 101 , 102 , 103 , networks 104 , ...

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 application discloses a caching method and device. A specific implementation of the method includes: extracting a plurality of historical data query requests that respectively include query statements and query times; analyzing the extracted query times to determine a plurality of hot spots; For each hotspot time period, count the query statements in the historical data query requests whose query time belongs to the hotspot time period, and determine the hotspot query statement matching the hotspot time period; extract the hot query statement corresponding to the determined hotspot query statement Query results, at the beginning of each hot spot time period, store the query results corresponding to the hot query statements that match the time period in the cache server, and delete the query results in the cache server at the end of the hot spot time period The query results. This embodiment improves the flexibility of caching.

Description

technical field [0001] The present application relates to the field of computer technology, specifically to the field of Internet technology, and in particular to a caching method and device. Background technique [0002] With the development of computer technology, the performance of full-text search tools is becoming more and more abundant. In order to improve retrieval efficiency and flexibility, it is usually necessary to cache some retrieval result data. [0003] However, the existing caching methods usually directly use some specific caching algorithms (such as LRU (Least Recently Used, least recently used) algorithm, LFU (Least Frequently Used, least frequently used page replacement) algorithm, etc.) for caching. The caching method is relatively simple, and the flexibility of caching is low under high concurrency conditions. Contents of the invention [0004] The purpose of the embodiments of the present application is to provide an improved caching method and dev...

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): G06F16/2455G06F16/2458G06F16/22
Inventor 郑承磊
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD