Method and system for updating static resources

A technology of static resources and update methods, applied in transmission systems, website content management, instruments, etc., can solve problems such as slow publishing speed, unable to solve the problem of image resource update, etc., to achieve the effect of improving publishing speed and providing usability

Inactive Publication Date: 2018-08-17
SHENZHEN FUTU NETWORK TECH CO LTD
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a method and system for updating static resources, which are used to solve the problem that technology cannot solve the problem of updating picture resources in css files, and the version number needs to be manually updated during development.

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 static resources
  • Method and system for updating static resources

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments. In particular, the following examples are only used to illustrate the present invention, but not to limit the scope of the present invention. Likewise, the following embodiments are only some but not all embodiments of the present invention, and all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0042] The invention provides a method for updating static resources.

[0043] See figure 1 , figure 1 It is a schematic flow chart of the static resource update method of the present invention, and the static resource update method of the present invention includes:

[0044] S101: Pack the static resources.

[0045] S102: Hash the paths of the referenced packaged static resources.

[0046] S103: Collect the static resource whose hash changes wi...

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 system for updating static resources. The method comprises the steps of packaging the static resources, hashing a path of referenced packaged static resources, collecting the static resources the hashes of which change in preset time, uploading an Html file to a server, and uploading the static resources to the Tencent Cloud. In this way, packaging and releasing are completed on the premise of not affecting source codes, and the influences caused by file version conflicts in a code library are avoided; meanwhile, incremental releasing is achieved, only newly-added files are released, and the releasing speed is greatly increased; meanwhile, multiple versions of resources online today coexist, it is ensured that the static resources can always be accessedin the releasing process, and the site availability is provided.

Description

technical field [0001] The present invention relates to the technical field of static resource update, in particular to a static resource update method and system. Background technique [0002] Currently, as the release frequency of web sites gradually increases, and the number of static resources on the site increases with business expansion, every time a static resource is updated, the developer needs to manually update the version number of the changed static resource. increases, and also decreases the speed of the publishing process. [0003] Existing static resource update schemes include: regularly match the path of static resources in html, and add a search field after the access path to ensure that online sites can access the latest static resources. The release process is full release, that is, no matter Whether the file is changed or not, it will be overwritten and published. [0004] The existing static resource update solution cannot solve the problem of image ...

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): G06F17/30H04L29/08
CPCG06F16/958H04L67/02H04L67/06
Inventor 张伦易郑超
Owner SHENZHEN FUTU NETWORK TECH 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