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

Method and device for updating network resources

A network resource and file update technology, applied in the Internet field, can solve problems such as short cache period, long user waiting time, slow resource loading, etc., and achieve the effect of reducing waiting time and shortening the time for loading preset network resources

Active Publication Date: 2021-08-27
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, due to the need to consider the timely update of the page file, the cache period is generally set relatively short, which leads to a high probability that the user will request the remote server to access the file when using the browser to access the URL again.
However, the delay in obtaining access files from the remote server is relatively large, which is affected by network environment factors, especially when the network environment quality is poor, and the loading of network resources is slow, resulting in long waiting time for users.

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 device for updating network resources
  • Method and device for updating network resources
  • Method and device for updating network resources

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] see figure 1 , figure 1 It is a schematic flowchart of an embodiment of the method for updating network resources in the present invention. In this embodiment, the method for updating network resources includes:

[0021] 101. During the period from the initialization of the page to the closing of the page, periodically obtain the update file of the preset network resource from the server.

[0022] When the browser accesses the content of the page through the Uniform Resource Locator (English full name: Uniform Resource Locator, English abbreviation: URL), it downloads the content of the page from the server, initializes the page to display the content of the page, and The page content is cached. During the period from the initialization of the page to the closing of the page, the browser periodically obtains the update file of the preset network resources from the server, wherein, the period refers to every preset time, or refers to the scheduled time, here No limit...

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 embodiment of the invention discloses a method and device for updating network resources. The method in the embodiment of the present invention includes: during the period from the initialization of the page to the closing of the page, periodically obtaining the update file of the preset network resource from the server; caching the update file in the browser cache; refreshing or When accessing, the preset network resource is displayed according to the update file in the browser cache.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for updating network resources. Background technique [0002] With the development of the network, people rely more and more on the Internet to obtain information, generally through the client browser to send various requests to the World Wide Web (Web) server, and display the network resources sent from the server on the page. [0003] In the prior art, webpage access acceleration is generally achieved through a hypertext transfer protocol (English full name: Hyper Text Transfer Protocol, English abbreviation: HTTP) caching technology. Specifically, when the user uses a browser on the client to access a uniform resource locator (English full name: Uniform Resource Locator, English abbreviation: URL), the browser sends request information to the server, including the URL in the request information, The server returns a response message containing the pag...

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 Patents(China)
IPC IPC(8): G06F16/958G06F16/955
CPCG06F16/955G06F16/986
Inventor 马展峰
Owner TENCENT TECH (SHENZHEN) CO LTD