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

Version management and file pulling control methods for static files, version management and file pulling control devices, and version control system

A static file, version management technology, applied in the Internet field, can solve problems such as no rollback, no support for grayscale publishing and incremental publishing, and easy operation errors.

Active Publication Date: 2015-11-11
TENCENT TECH (BEIJING) CO LTD
View PDF4 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] But the current problem is: when there is an update in the content of the static file, such as a js file a. And if the cache time has not expired, the browser will still call the locally cached a.js file instead of re-pulling the updated a.js file from the CDN, which will inevitably cause web page static files version confusion
The implementation methods in these two solutions are all realized through manual changes, which are prone to operational errors; in addition, the two methods do not support file rollback, that is, when the new version released has errors, it cannot be rolled back to the previous version ; In addition, these two solutions do not support grayscale release and incremental release

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
  • Version management and file pulling control methods for static files, version management and file pulling control devices, and version control system
  • Version management and file pulling control methods for static files, version management and file pulling control devices, and version control system
  • Version management and file pulling control methods for static files, version management and file pulling control devices, and version control system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the purpose, technical solution and advantages of the present invention clearer, the following examples are given to further describe the present invention in detail.

[0038] figure 1 It is a schematic structural diagram of an implementation environment involved in various embodiments of the present invention. Such as figure 1 As shown, the implementation environment includes a version management server 110 , an operation server 120 , a CDN server 130 and a terminal 140 .

[0039] Wherein, the version management server 110, the operation server 120, and the CDN server 130 may each be a server, or a server cluster composed of several servers, or a cloud computing service center.

[0040] A browser runs in the terminal 140, and the terminal 140 may be a mobile phone, an iPad, a tablet computer, a laptop computer, a desktop computer, and the like.

[0041]Between the version management server 110 and the operation server 120, between the version manage...

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 version management and file pulling control methods for static files, version management and file pulling control devices, and a version control system. The version management method for the static files includes: a version number is marked at each static file in the at least one static file, the static files marked with the version numbers are regarded as to-be-released files; a version configuration file corresponding to at least one to-be-released file is generated; the version configuration file comprises a file name and the information of the version number of the at least one to-be-released file; and the at least one to-be-released file is released in a content distribution network server, and the version configuration file is released in an operation server in a gated launch manner. According to the technical scheme, clear management and control of static file versions can be realized, the chaos of the static file versions is avoided, and rollback, gated launch, and incremental release of the static files can be supported.

Description

technical field [0001] The present application relates to the Internet field, and in particular to a static file version management method, a file pull control method, a version management device, a file pull control device and a version control system. Background technique [0002] When the browser obtains relevant static files, such as js files written in javascript scripting language, cascading style sheet (CascadingStyleSheet, css) files, and image files, etc., when generating web pages, in order to improve the performance of the web, it usually sends it from the content distribution network (CDN) for the first time. ContentDeliveryNetwork, CDN) will cache these static files and set a cache time for them when downloading these static files. Files can only be obtained from the local cache area, which improves the network speed and saves network traffic. [0003] But the current problem is: when there is an update to the content of the static file, such as a js file a. A...

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/08G06F17/30
CPCG06F16/95H04L67/125
Inventor 李晓明
Owner TENCENT TECH (BEIJING) 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