Page rendering method, apparatus and device

A page and current page technology, applied in the Internet field, can solve the problems of low page switching efficiency and poor user experience, and achieve the effect of improving page switching efficiency and enhancing user experience

Active Publication Date: 2017-10-24
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] During the above page rendering process, when switching from the second route to the first route, all routing nodes that belong to the second route but not the first route will be released, so that every time the page content is switched, all the routing nodes that belong to the first route need to be recreated. Routing but not routing nodes belonging to the second route, resulting in low page switching efficiency and poor user experience

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 rendering method, apparatus and device
  • Page rendering method, apparatus and device
  • Page rendering method, apparatus and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

[0061] In order to solve the problems in the prior art, embodiments of the present invention provide a page rendering method, device and equipment, which will be described in detail below.

[0062] It should be noted that a page rendering method provided by an embodiment of the present invention may be executed by a page rendering device. In practical applications, the page rendering device may be run on a terminal device and used when a user needs to perform page rendering, which is reasonable.

[0063] see figure 1 , figure 1 A schematic flow chart of a page rendering method provided by an embodiment of the present invention, which is applied to a terminal device, and the method includes steps:

[0064] S101. Receive a page content switching command for the current page.

[0065] It should be note...

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 invention provide a page rendering method, apparatus and device. The method comprises the steps of receiving a page content switching command for a current page; switching a state of a first route node in a virtual document object model corresponding to the current page to an activation state, switching a second route node in a virtual document object to be in a non-activation state, and updating the states of the first route node and the second route node recorded in a route node state list, wherein the route node state list is used for storing states of route nodes in the virtual document object; and performing page rendering on the current page according to the virtual document object model subjected to route node state switching, and displaying switched page contents in the current page. The page rendering is performed by applying the scheme provided by the page rendering method, apparatus and device, so that the page switching efficiency is improved and the user experience is improved.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular to a page rendering method, device and equipment. Background technique [0002] A page is usually composed of objects, which are organized in a tree structure. In addition, the objects in the page are usually represented in the form of a model. The standard model used to represent the tree structure of the above objects is called DOM ( Document Object Model, Document Object Model), in addition, on the basis of DOM, an abstract layer is added to form a virtual DOM. When the content of the page changes, the efficiency of direct DOM operations can be improved by operating on the abstract layer. [0003] As more and more web applications adopt the SPA (Single Page Application) architecture, the change of the web page is no longer to obtain a brand new page from the server but to be processed according to the routing of the virtual DOM in the front-end application framework....

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): G06F9/44G06F17/30
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