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

Back-to-source processing method and device

A processing method and technology of a processing device, applied in the computer field, can solve the problems of discontinuity, the error rate cannot be reduced, and it is difficult to deal with the error request of the origin station, etc., and the effect of reducing the error rate is achieved.

Active Publication Date: 2020-05-19
新浪技术(中国)有限公司
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Using the health check method, it is also difficult to deal with the error requests randomly generated by the origin site. Such error requests may be discontinuous, which cannot trigger the record downtime function of the health check, resulting in the failure to reduce the error rate.

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
  • Back-to-source processing method and device
  • Back-to-source processing method and device
  • Back-to-source processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] 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 making creative efforts belong to the protection scope of the present invention.

[0025] Such as figure 1 , 2 As shown, it is a flow chart of the back-to-source processing method according to the embodiment of the present invention, and the method includes:

[0026] S101: Obtain a query request from a user, and determine whether an object of the query request exists in a cache.

[0027] Preferably, after obtaining the user's query request, the query request is proxied to the cache service through the four-layer proxy service or the seven-...

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 discloses a back-to-source processing method and device, and the method comprises the steps: obtaining a query request of a user, and judging whether there is cache in an object of the query request; if NO, obtaining a set number of back-to-source IPs; taking one back-to-source IP in the set number of back-to-source IPs to carry out object return; if the returned object has an error,returning the object again through the back-to-source IP according to a preset condition or taking the next back-to-source IP in the set number of back-to-source IPs to return the object; and repeating the previous step until the returned object is correct, or the connection of the front-end server is overtime, or the number of fault switching times in the preset condition is exhausted, and ending the query request. By setting more than one switchable return source IPs, fault switching can be carried out on each random return source error in real time, so that the error rate is effectively reduced.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for back-to-source processing. Background technique [0002] CDN is an edge caching system, which is an http reverse proxy and caching system. This system generates a cachekey through the uniform resource locator url of the hypertext transfer protocol http, and checks whether the requested object is in the cache through the cachekey. Hit. If it hits, it returns directly. If it does not hit the cache, the request needs to be reverse-proxyed to the origin site. The term is called back-to-origin. For the object returned by the source, it should be returned to the client, and the object should also be written into the cache. Objects in the cache follow the LRU algorithm, and the earliest objects written to the cache are deleted from the cache first. [0003] Origin station failover solves the problem of a large number of request errors caused by exces...

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): H04L12/24
CPCH04L41/0663H04L41/0631
Inventor 李志白成刚
Owner 新浪技术(中国)有限公司