WebKit browser webpage content loading method and device

A webpage content and browser technology, applied in the browser field, can solve problems such as slow data downloading by network modules, slow down the loading speed of webpage content in WebKit browsers, and occupying network resources, so as to reduce overall time, enhance user experience, and increase speed Effect

Inactive Publication Date: 2012-02-08
MSTAR SOFTWARE R&D (SHENZHEN) LTD +1
View PDF3 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] As mentioned above, in the known technology, when the WebKit browser parses the data to construct the document object model tree, it will construct the rendering tree at the same time, that is, when constructing a document object model (DOM, Document Object Model) tree node, it will Visibility builds the corresponding rendering (Render) tree nodes. This method needs to occupy network resources, causing the network module to download data slowly, thereby reducing the loading speed of WebKit browser web content and seriously affecting the user experience of browsing web pages.

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
  • WebKit browser webpage content loading method and device
  • WebKit browser webpage content loading method and device
  • WebKit browser webpage content loading method and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0059] see Figure 4 , the first embodiment of the WebKit browser device of the present invention includes:

[0060] Network module 201: used to enable the WebKit browser client to perform network data communication with the server;

[0061] Download module 202: for downloading web page content data through the network module;

[0062] Parsing module 203: for parsing the webpage content data to obtain parsing results;

[0063] The first creation module 204: used to construct the document object model tree node according to the analysis result, and make the download module continue to download the webpage content data, make the analysis module analyze the webpage content data, and the first creation module continues to build the document object model tree node , until all the document object model tree nodes of the document object model tree are constructed;

[0064] The second creation module 205: for creating a document object model tree according to the document object mo...

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 discloses a WebKit browser webpage content loading method and device. The method comprises the following steps of: downloading the webpage content data through a network module of a WebKit browser; analyzing the webpage content data to obtain an analysis result; establishing a document object model tree node according to the analysis result, and continuing the steps of downloading the webpage content data, analyzing the webpage content data and establishing the document object model tree node until all document object model tree nodes of a document object model tree are established; establishing the document object model tree according to the document object model tree nodes; generating a corresponding render tree according to the document object model tree; and displaying the webpage according to the render tree. In the invention, as the process of establishing the render tree is performed independently, the process does not occupy network resources; and when complicated webpage content is loaded, the total time of loading a webpage can be reduced, and the user experience in browsing the webpage is enhanced.

Description

technical field [0001] The invention relates to the technical field of browsers, in particular to a method and device for loading webpage content in a WebKit browser. Background technique [0002] With the development of Internet technology, the application range of web browsers has become more and more extensive, from initially running on personal computers, to now extending to various embedded systems such as mobile phones, handheld computers, and digital TVs. There are more and more applications developed based on browsers, and the content of web pages is also becoming more and more abundant. However, rich and complex web pages will prolong the loading time of the browser, and the user needs to spend more time waiting for the page to load completely, which brings great inconvenience to the user. Especially for browser applications in the embedded field, due to hardware resource constraints, how to quickly load pages and present them to users is a huge challenge for brows...

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/957G06F16/986
Inventor 亢祖直孙明勇
Owner MSTAR SOFTWARE R&D (SHENZHEN) 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