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

Method and system for updating and releasing file based on smart refreshing

A file update and intelligent technology, applied in the direction of transmission system, electrical components, etc., can solve the problem of large amount of back-to-source

Active Publication Date: 2013-02-27
CHINANETCENT TECH
View PDF3 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] (2) When updating some resources, once the version numbers of all resources are changed, the resources will be returned to the source and re-fetched when the resources are accessed, resulting in an excessive amount of return to the source

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
  • Method and system for updating and releasing file based on smart refreshing
  • Method and system for updating and releasing file based on smart refreshing
  • Method and system for updating and releasing file based on smart refreshing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0036] The method for updating and issuing files based on intelligent refresh of the present invention includes an updating process for file resources and a processing process for a cache server to a client request. in figure 1 It shows the update process of the source station to the file resource, figure 2 It shows the processing flow of the cache server to the client request.

[0037] See figure 1 , when the content of a certain type of resource on the source site is modified (step S10), the source site updates the version number of the resource (step S11) and updates the version number of the query string referenced by the page to the resource (step S12). Wherein, updating resource content on the source site refers to modifying file resources that need to be modified on the server. The source site updates the query string of resource references,...

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 method and a system for updating and releasing a file based on smart refreshing, which are applied to performing synchronous update of files by using the source station of the cache server framework so as to reduce the pressure of the source station. The technical scheme comprises the steps of adding a query string for the version number of a resource when the resource is quoted by the source station and modifying the query strings for the version numbers of all resources when partial file resources need to be modified. The cache server tacitly approves the resources with the same URL (Uniform Resource Locator) and different version numbers as the same resource. When the version numbers are the same, the cached resource is used directly; and when the version numbers are different, verification back to the source is performed by using new URL and old cached Etag and Last-Modified values: if the resource is changed, a new resource is obtained from the source station for use; and if the source station does not change the resource, a response 304 is returned without giving the whole content of the resource.

Description

technical field [0001] The present invention relates to source station file update release technology, in particular to a source station and cache server processing method and system for update. Background technique [0002] For traditional HTTP websites, the way to refresh files is: set an expiration time for the file resource. After the file expires, the client will go to the source site to verify whether the local cache file is available. If the source site has not modified the file, it will notify the client. If the file has not been modified, the local cache file can be used; if the source site updates the resource, it will resend the resource to the client, and the client uses the new file resource. In order to update the resources of the website in a timely manner without affecting the performance of the website, the origin site usually sets a relatively short expiration time for frequently changed pages, and a relatively long expiration time for infrequently changed ...

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): H04L29/08H04L29/06
Inventor 洪珂郭文强谢玉燕
Owner CHINANETCENT TECH
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