A method and device for retrieving cached data

A technology for caching data and caching, applied in the Internet field, can solve problems such as inability to cache components to obtain data information, reduced server-side data information efficiency, abnormal server-side caching components, etc., and achieve the effect of improving efficiency, reliability and stability.

Active Publication Date: 2021-08-24
BEIJING CHUANGXIN JOURNEY NETWORK TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in practical applications, cache component exceptions often occur on the server side. The occurrence of abnormal phenomena will result in the data information not being obtained by the cache component, but only by the original database, which in turn leads to the efficiency of obtaining data information on the server side. reduce

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
  • A method and device for retrieving cached data
  • A method and device for retrieving cached data
  • A method and device for retrieving cached data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The principle and spirit of the present disclosure will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are given only to enable those skilled in the art to better understand and implement the present disclosure, rather than to limit the scope of the present disclosure in any way.

[0026] It should be noted that although expressions such as "first" and "second" are used herein to describe different modules, steps, data, etc. of the embodiments of the present disclosure, expressions such as "first" and "second" are only for A distinction is made between different modules, steps, data, etc., without implying a particular order or degree of importance. In fact, expressions such as "first" and "second" can be used interchangeably.

[0027] figure 1 A schematic diagram of a method for invoking cached data provided by an embodiment of the present disclosure, such as figure 1 As shown, a cache data retrieva...

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 present disclosure relates to a cache data retrieval method and device, wherein the retrieval method includes obtaining a data request sent by a client, the data request includes a data identifier; determining the data identifier type of the data identifier, and the data identifier type is the first data identifier Or the second data identifier, the first data identifier is used to identify the cached data, the second data identifier is the data identifier that integrates the first data identifier and the cached data and feeds back to the client; if the data identifier is the second data identifier, parse The second data identifier obtains the cached data; if the data identifier is the first data identifier, the cached data is called according to the availability of the cache component, and the cache component is used to cache the cached data. When an exception occurs in the cache component, the corresponding cache data is obtained by parsing the second data identifier stored in the client, avoiding the occurrence of obtaining the corresponding cache data from the database, and improving the efficiency of obtaining data information on the server side.

Description

technical field [0001] The present disclosure relates to the technical field of the Internet, in particular to a method and device for retrieving cached data. Background technique [0002] At present, it is often necessary to add cache components on the server side, such as redis, memcache, etc. to temporarily store some data information, so that when the data information is called again, the server side does not need to access the original database every time, but directly uses these temporary storage Get it from the cache component of the function. [0003] However, in practical applications, cache component exceptions often occur on the server side. The occurrence of abnormal phenomena will result in the data information not being obtained by the cache component, but only by the original database, which in turn leads to the efficiency of obtaining data information on the server side. reduce. Contents of the invention [0004] In order to overcome the problems existing...

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/2455G06F9/54
CPCG06F9/547G06F2209/541G06F16/24552
Inventor 储金明
Owner BEIJING CHUANGXIN JOURNEY NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products