Method and device for loading webpage in browser

A browser and browser kernel technology, applied in the field of browsers, can solve the problems of limited web server processing capacity and network bandwidth, slow web page loading speed, and limited number of parallel browser connections.

Active Publication Date: 2018-10-09
北京鸿享技术服务有限公司
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Due to the large number of webpage elements in the webpage, the number of resources requested by the browser when loading the webpage is also large, but the number of parallel connections of the browser is limited, and the processing capacity and network bandwidth of the webpage server are also limited. When a large number of users request to load a webpage , multiple requests are in a competitive relationship. The more requests, the greater the resources that need to be loaded, the more intense the competition between requests, and eventually the loading speed of the entire web page will be severely reduced.

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 loading webpage in browser
  • Method and device for loading webpage in browser
  • Method and device for loading webpage in browser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0105] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0106] refer to figure 1 , shows a flow chart of the steps of Embodiment 1 of a method for loading a webpage in a browser according to an embodiment of the present invention, which may specifically include the following steps:

[0107] Step 101, analyzing the webpage downloaded by the browser request, and obtaining the DOM tree structure data information of the webpage;

[0108] In a specific implementation, the user may issue a w...

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 provides a method and a device for loading a webpage in a browser. The method comprises the following steps of parsing a webpage requested to be downloaded by the browser to obtain the DOM (document object model) tree structure data information of the webpage; acquiring a text of a webpage element of a specified type from the DOM tree structure data information, wherein the text of the webpage element comprises a source address; requesting the downloading of contents of the webpage element of the specified type to a specified-type webpage element storage server corresponding to the browser according to the source address of the webpage element of the specified type; when the webpage is rendered and loaded, performing rendering by using the webpage element of the specified type downloaded from the specified-type webpage element storage server, and loading the webpage element of the specified type in the webpage. According to the embodiment of the invention, paths for requesting for downloading to a webpage server are reduced, the network switching capacity is reduced, bandwidth resources are effectively saved, the downloading time of the webpage element is reduced, and the loading speed of the webpage is further increased.

Description

technical field [0001] The invention relates to the technical field of browsers, in particular to a method for loading webpages in a browser and a device for loading webpages in a browser. Background technique [0002] A browser refers to an application program that can display the content of HTML (HyperText Markup Language, Hypertext Markup Language) files on a web server or a file system, and allow users to interact with these files. [0003] The browser mainly interacts with the web server and obtains web pages through the HTTP (Hypertext transfer protocol) protocol. These web pages are specified by URL (Uniform Resource Locator, Uniform Resource Locator). Multipurpose Internet Mail Extensions (Multipurpose Internet Mail Extensions) are specified in the HTTP protocol. [0004] A web page may include multiple documents, and each document is obtained from the server separately. Most browsers natively support a wide range of formats other than HTML, such as image formats s...

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): G06F17/30
CPCG06F16/9574
Inventor 熊鹏
Owner 北京鸿享技术服务有限公司
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