Page display method and device, electronic equipment and storage medium

A page and file technology, applied in the computer field, can solve the problems that the page to be displayed cannot be displayed smoothly and the file is too large, so as to achieve the effect of optimizing the display effect, improving the efficiency and optimizing the processing flow.

Pending Publication Date: 2021-10-08
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present disclosure provide a page display method, device, electronic device, and storage medium, which are used to solve the problem in the pr

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
  • Page display method and device, electronic equipment and storage medium
  • Page display method and device, electronic equipment and storage medium
  • Page display method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to solve the problem that the file that needs to be parsed by the main process of the browser is too large, resulting in the problem that the page to be displayed cannot be displayed smoothly, in the embodiment of the present disclosure, in response to the access request triggered for the hypertext markup language page to be displayed, access Request the corresponding hypertext markup language file, and send the source document object model file contained in the hypertext markup language document to the webworks process, trigger the webworks process to render the source document object model file; then, based on the hypertext markup language document The included cascading style sheet file performs style rendering on the target document object model file returned by the webworks process, and displays the obtained hypertext markup language page to be displayed; in this way, by calling the webworks process, the webworks process and the browser can be realized The ...

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 the technical field of computers, in particular to a page display method and device, electronic equipment and a storage medium, and is used for solving the problem that a to-be-displayed page cannot be smoothly displayed due to the fact that a file which needs to be analyzed by a host process of a browser in the prior art is too large. The method comprises the following steps: responding to an access request triggered for an HTML page to be displayed, sending a source DOM file contained in an obtained HTML file to a webworks process, and triggering the webworks process to render the source DOM file; and performing style rendering on target DOM file returned by webworks process based on CSS file contained in HTML file then, and displaying obtained to-be-displayed HTML page, so that parallel processing of the webworks process and the host process of the browser is realized by calling the webworks process, and the page display efficiency is improved.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular to a page display method, device, electronic equipment and storage medium. Background technique [0002] When using a smart device, you usually browse website content through a browser. When the browser obtains the Uniform Resource Locator (Uniform Resource Locator, URL) link address of a certain website, it initiates a Hypertext Transfer Protocol (Hyper Text Transfer Protocol, HTTP) request to the server, and then responds to the hypertext markup language returned by the server. (Hyper Text Markup Language, HTML) file is analyzed, and based on the Cascading Style Sheets (CascadingStyle Sheets, CSS) file and JavaScript file, the corresponding Document Object Model (DocumentObject Model, referred to as DOM) structure is calculated, and based on the obtained DOM structure , create a web view to display the corresponding page. [0003] In the prior art, the main proces...

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
IPC IPC(8): G06F16/958G06F8/41G06F8/38
CPCG06F16/972G06F8/427G06F8/38
Inventor 尚国睿
Owner BEIJING DAJIA INTERNET INFORMATION 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