A method and device for obtaining cached data

A technology for caching data and obtaining devices, which is applied in the computer field and can solve problems such as service anomalies and achieve the effect of relieving pressure

Active Publication Date: 2018-09-07
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this solution provides protection for the back-end data source, the service is abnormal

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe operations as sequential processing, many of the operations may be performed in parallel, concurrently, or simultaneously. In addition, the order of operations can be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.

[0029] The term "computer equipment" in this context, also referred to as "computer", refers to an intelligent electronic device that can perform predetermined processing procedures such as numerical calculations and / or logic calculations by running predetermined programs or instructions, which may include a processor and The memory is realized by the processor...

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 invention provides a cache data acquisition method and apparatus. The method comprises: according to a data request of an application server, acquiring a data signature corresponding to the data request from a data signature cache server, and if the data signature is acquired from the data signature cache server, acquiring cache data corresponding to the data signature from a corresponding local disk; if the data signature is not acquired from the data signature cache server, determining that cache data acquisition fails; and if the data signature cache server goes down, acquiring cache data corresponding to the data request from a corresponding data content cache server. Compared with the prior art, according to the cache data acquisition method and apparatus provided by the present invention, the data signature cache server is accessed to acquire the data signature, and the cache data is acquired from the local disk, so as to avoid initiating a request to the data content cache server; and when the data signature cache server goes down, the cache data is acquired from the data content cache server, so that pressure of the data content cache server is relieved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for acquiring cached data. Background technique [0002] The cache system stores data information frequently accessed by users, which helps users obtain data nearby when initiating data access, and achieves the effect of access acceleration. However, the existing technologies usually only have content caching, which needs to transfer a large amount of data. Moreover, when the cache system crashes, different processing schemes will bring different effects to the system. [0003] At present, the two commonly used solutions for dealing with cache system crashes are: [0004] 1) When the cache system crashes and there is no response, directly transparently transmit the request to the backend real data source. This solution caused the back-end data source to crash instantaneously, causing the system to avalanche and unable to provide services, which in...

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): G06F3/06
CPCG06F3/0604G06F3/061G06F3/062
Inventor 徐宪君白建民胡斌
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) 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