Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Cache data calling method and device

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, reduction of server-side data information efficiency, abnormal server-side caching components, etc., and achieve the effect of improving efficiency, reliability and stability.

Active Publication Date: 2019-09-24
BEIJING CHUANGXIN JOURNEY NETWORK TECH CO LTD
View PDF6 Cites 3 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
  • Cache data calling method and device
  • Cache data calling method and device
  • Cache data calling method and device

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 invention relates to a cache data calling method and device, and the method comprises the steps: obtaining a data request sent by a client, and wherein the data request comprises a data identifier; determining a data identifier type of the data identifier, the data identifier type being a first data identifier or a second data identifier, the first data identifier being used for identifying cache data, and the second data identifier being a data identifier which integrates the first data identifier and the cache data and feeds back the integrated data identifier and the cache data to the client; if the data identifier is a second data identifier, analyzing the second data identifier to obtain cache data; and if the data identifier is the first data identifier, calling the cache data according to the availability of the cache component, the cache component being used for caching the cache data. When the cache component is abnormal, the corresponding cache data is obtained by analyzing the second data identifier stored in the client, so that the situation that the corresponding cache data is obtained from the database is avoided, and the data information obtaining efficiency of the server side is improved.

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
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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products