A resource loading method, device and system

A resource and corresponding relationship technology, applied in the network field, can solve problems such as incomplete and incomplete server resources, incomplete loading of browser resources, etc.

Active Publication Date: 2019-06-14
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, when the browser loads server resources, errors may occur during network transmission. In this case, even if the resources in the server are complete, the resources loaded by the browser will be incomplete. If the browser loads incomplete resources, the webpage browsed by the user is not loaded completely, or the webpage cannot be loaded, which affects the user experience
The network environment and remote servers will also be unstable. In these cases, the server resources may be incomplete. If the browser downloads incomplete resources from the server and caches them, when the user uses the browser to browse the cached resources corresponding to When viewing a webpage, the webpage that the user browses may be incompletely loaded, or the webpage cannot be loaded. At this time, it is useless for the user to refresh the webpage. It is necessary to manually clear the cache of the local hard disk and refresh the browser to display it normally.
[0004] It can be seen that in the prior art, due to incomplete loading of browser resources, when the webpage browsed by the user is incompletely loaded, or the webpage cannot be loaded, the user has to manually refresh the browser cache to view the webpage normally.

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
  • A resource loading method, device and system
  • A resource loading method, device and system
  • A resource loading method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] figure 1 A schematic flowchart of a resource loading method provided in Embodiment 1 of the present invention, applied to a browser, includes the following steps:

[0049] Step S110, according to the acquired website information, load the resource corresponding to the website information.

[0050] Specifically, the website address information includes a certain webpage address obtained by the browser and identifiers of different resources on the webpage corresponding to the webpage address. The identifier can be calculated and generated according to the content of different resources on the webpage through a hash algorithm or other computer algorithms. Therefore, different resources on the webpage correspond to unique identifiers. Generating an identifier through a hash algorithm or other computer algorithms is a technology well known to those skilled in the art, and the present invention will not repeat it here.

[0051]When the URL information acquired by the browse...

Embodiment 2

[0083] A specific embodiment will be described below.

[0084] For example, in practical applications, after the html resource on the web page corresponding to the URL information www.iqiyi.com / x / 1.html is updated, the preset URL information backup method is used to obtain no less than one URL corresponding to the URL information. Backing up the website information, and backing up the resources corresponding to the backup website information to the server corresponding to the backup website information, wherein, each backup website information corresponds to a server, and the server corresponding to each backup website information is the same as the server corresponding to the website information are not the same; the URL information backup method is sent to the browser.

[0085] The URL information obtained by the browser only includes the webpage URL www.iqiyi.com / x / 1.html, which is a webpage address obtained for the first time. The resource corresponding to the webpage addr...

Embodiment 3

[0094] The embodiment of the invention also discloses a resource loading device, figure 2 A schematic structural diagram of a resource loading device provided by Embodiment 3 of the present invention, which is applied to a browser, includes:

[0095] The loading module 210 is configured to load resources corresponding to the website information according to the acquired user website information.

[0096] Specifically, the website address information includes a certain web page address obtained by the browser and identifiers of different resources on the corresponding web page. The identifier can be calculated and generated according to the content of the webpage resource through a hash algorithm or other computer algorithms. Therefore, different resources on the webpage correspond to unique identifiers. Generating an identifier through a hash algorithm or other computer algorithms is a technology well known to those skilled in the art, and the present invention will not repe...

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

Embodiments of the present invention disclose a resource loading method, apparatus and system. The method applied to a browser comprises: according to acquired website address information, loading a resource corresponding to the website address information; detecting integrity of the loaded resource; and if the loaded resource is not complete, determining backup website address information corresponding to the website information according to a stored corresponding relationship between website address information and backup website address information, and loading a resource corresponding to the backup website information. By applying the method, apparatus and system disclosed by the embodiments of the present invention, the purpose that the browser automatically loads the resource again when the loaded resource is not complete is achieved, so that the user can normaly watch the webpage without the need for manually refreshing the browser cache when the webpage that the user is browsing is not loaded completely or the webpage can not be loaded.

Description

technical field [0001] The present invention relates to the field of network technology, in particular to a resource loading method, device and system. Background technique [0002] When a user browses a webpage with a browser, the normal display of the webpage needs to rely on the two steps of browser resource loading and rendering. Browser rendering is based on the complete loading of browser resources, and complete browser resource loading depends on The integrity of the browser's cache resources depends on the integrity of the server's resources. [0003] However, when the browser loads server resources, errors may occur during network transmission. In this case, even if the resources in the server are complete, the resources loaded by the browser will be incomplete. If the browser loads incomplete resources, the webpage browsed by the user is incompletely loaded, or the webpage cannot be loaded, which affects the user experience. The network environment and remote ser...

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/957
CPCG06F16/9574
Inventor 孙阔杨琛沈佳
Owner BEIJING QIYI CENTURY SCI & 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