Webpage updating method and apparatus

An update method and webpage technology, applied in the Internet field, can solve problems such as the mismatch between pages and static resources, reduce the error rate of pages, and achieve the effect of overcoming the mismatch between pages and static resources

Active Publication Date: 2017-05-10
TENCENT TECH (SHENZHEN) CO LTD
View PDF14 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Based on this, it is necessary to provide a webpage updating method and device for the above technical problems, which can avoid the mismatch between the page and the static resource when the update of the page and the static resource is out of sync, thereby reducing the error rate of the page

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
  • Webpage updating method and apparatus
  • Webpage updating method and apparatus
  • Webpage updating method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The webpage updating method provided in the embodiment of the present invention can be applied to such as figure 2 shown in the application environment. refer to figure 2 As shown, the user uses the terminal 202 to interact with the server 204 through the network. The terminal 202 includes a desktop computer, a notebook computer, a tablet computer, a smart phone, etc. that can run a browser. The user may send an HTTP (HyperText Transfer Protocol, hypertext transfer protocol) request to the server 204 through the browser to request access to web applications such as virtual spaces or forums. When the server 204 needs to update the web application, it can publish the static resources and pages in the new version of the web application. Before publishing, the server 204 obtains all static resources to be released (static resources to be released include unupdated static resources and static resources to be updated), calculates information summaries corresponding to al...

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 webpage updating method. The method comprises the steps of obtaining and releasing a to-be-released static resource, wherein the to-be-released static resource includes a to-be-updated static resource; obtaining a file name and a corresponding information abstract of the to-be-updated static resource; renaming the to-be-updated static resource according to the file name and the corresponding information abstract of the to-be-updated static resource, thereby obtaining a new name of the to-be-updated static resource; and inserting the new name of the to-be-updated static resource into a page code of a to-be-released page, and releasing the to-be-released page inserted with the new name. By adopting the method, the problem of mismatch of the page and the static resource during asynchronous updating of the page and the static resource can be avoided, so that the page error rate can be reduced. In addition, the invention provides a webpage updating apparatus.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for updating a web page. Background technique [0002] With the development of Internet technology, various Web (network) applications, such as forums, microblogs, and virtual spaces, have emerged. Web applications usually have frequent iterative updates, and when the Web application needs to be updated, the static resources and pages in the Web application can be updated. If you update the static resources first and then update the page, for users who have visited the page, since the browser has cached the static resources before the update, the page will not be loaded when the page is accessed again during the update process. Updated static resources. However, for a user who visits the page for the first time, the pre-updated page may be loaded into the updated static resource, thereby causing a page error. If you update the page first and then updat...

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/30
CPCG06F16/958
Inventor 石楠
Owner TENCENT TECH (SHENZHEN) 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