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

Resource updating method and device

An update method and resource configuration information technology, applied in the field of resource update methods and devices, can solve problems such as inability to quickly iterate products, long release cycle, company losses, etc., to shorten page release time, reduce labor costs, and improve page loading performance Effect

Active Publication Date: 2020-02-18
无线生活(北京)信息技术有限公司
View PDF13 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, in related technologies, some of the static resources introduced in the web pages are basically common, and all pages of the company need to be imported. When the basic static resources are updated, all pages on the entire network need to re-introduce the new CDN path, and then republish. Due to the large number of pages on the entire network, the release cycle will be very long, requiring a large number of developers and testers to invest, and the efficiency is low, resulting in the inability to quickly iterate the product and bring losses to the company

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
  • Resource updating method and device
  • Resource updating method and device
  • Resource updating method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0056] In order to solve the above-mentioned problems existing in related technologies, an embodiment of the present disclosure provides a method for updating resources, the method comprising: in response to an opening operation for a web page, acquiring the name of the resource introduced by the page; When the first resource configuration information corresponding to the resource name...

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 relates to a resource updating method and device. The method comprises the steps of obtaining a resource name introduced by a page in response to an opening operation for the page; whenfirst resource configuration information which is acquired from a server in advance and corresponds to the resource name is stored in a local storage area of the terminal, and the version number corresponding to the first resource configuration information is larger than the version number corresponding to the resource introduced by the page, executing a resource code corresponding to the first resource configuration information, wherein the first resource configuration information comprises a resource name, a resource code, a version number corresponding to the resource and a content deliverynetwork CDN address. According to the method and the device, the latest resources can be updated and the latest resource codes can be synchronously executed under the condition that the whole networkpage does not need to be re-published after the resources are updated, so that the page publishing time can be shortened, the labor cost of development and testing is reduced and the product researchand development efficiency is improved.

Description

technical field [0001] The present disclosure relates to the field of communication technologies, and in particular, to a method and device for updating resources. Background technique [0002] Web pages usually contain static resource scripts such as JS and CSS. Static resource scripts are published in the form of content distribution network (CDN, Content Delivery Network). A resource script corresponds to a CDN path, and the CDN path address is introduced in the page. The CDN has cache control, and the resource content will be cached to the browser. When the local resource content is modified and published to the CDN, when the user opens the page, the static resource cannot be updated to the latest content due to the cache of the browser, resulting in the inability to update to the latest function. . [0003] In view of the above problems, the solution adopted in related technologies is: when the local resource file is changed, a corresponding version number will be gene...

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/08H04L12/24G06F8/65G06F8/71
CPCH04L67/02H04L67/34H04L41/08G06F8/65G06F8/71
Inventor 龙佳
Owner 无线生活(北京)信息技术有限公司