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

Cache processing method and device

A cache processing and cache data technology, which is applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of low hit rate of the cache system, large search service delay, affecting the timeliness of data search, etc., and achieve traffic Reduced effect

Active Publication Date: 2018-06-29
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The technical problem to be solved by the embodiments of the present invention is to provide a cache processing method and a cache processing device to solve the problem that the hit rate of the cache system in the prior art is not high, which makes the delay of the search service relatively large and affects the efficiency of the data search. time-sensitive technical issues

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] 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 creative efforts fall within the protection scope of the present invention.

[0056] In order to better understand the cache processing method and device disclosed in the embodiments of the present invention, the application scenarios applicable to the embodiments of the present invention are firstly described below. see figure 2 , figure 2 It is a schematic diagram of an application scenario architecture of a cache processing method disclosed in an embodiment of the present invention. Such as figure 2 As shown, the user can connect to...

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 discloses a cache processing method. The method comprises the steps that a searching request is received, and whether or not cache data is hit is checked according to the searching request; under the situation that the cache data is hit, whether or not the hit cache data is expired is detected; under the condition that the hit cache data is expired, the hit cache data is output; under the situation that the hit cache data is not expired, whether or not the hit cache data is in the preset maximum expiration is analyzed; under the situation that the hit cache datais in the preset maximum expiration, the hit cache data is output, a searching result is obtained through a searching layer service under the situation that the condition of updating the cache data is conformed to, and the hit cache data is written into a cache according to the obtained searching result; under the situation that the hit cache data is not in the maximum expiration, the searching result is obtained through the searching layer, and the data is output according to the obtained searching result. The invention further discloses a cache processing device, and the technical problem that the hit ratio of the cache system is not high resulting in longer delay of the searching service in the prior art is solved.

Description

technical field [0001] The invention relates to the field of computer Internet, in particular to a cache processing method and a cache processing device. Background technique [0002] The search speed of a search engine is very critical to the user's search experience. If a search engine has a very slow search speed and needs to wait for a period of time to display a certain keyword, it will seriously damage the user experience. In order to improve the search speed, mainstream search engines all use search engine caching technology. [0003] Such as figure 1 The schematic diagram of the cache architecture in the prior art is shown, and the current typical cache solution, the detailed process is as follows: [0004] 1) The cached data is automatically eliminated or automatically expires according to the set time, for example, the data expires in 5 minutes; [0005] 2) The failed results of the search layer are not cached, otherwise the failure rate of the search layer will...

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): G06F17/30
CPCG06F16/9574
Inventor 骆志军
Owner TENCENT TECH (SHENZHEN) CO LTD