Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for rendering page frame by WEB primary layout and device thereof

A layout and page technology, applied in program control devices, special data processing applications, instruments, etc., can solve problems such as white screen or partial white screen, and achieve the effect of improving efficiency and user experience

Active Publication Date: 2011-05-25
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF4 Cites 39 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0061] The present invention provides a method and device for page rendering by using the native layout of WEB, so as to solve the technical problem of white screen or partial white screen in the prior art when page rendering fails

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 for rendering page frame by WEB primary layout and device thereof
  • Method for rendering page frame by WEB primary layout and device thereof
  • Method for rendering page frame by WEB primary layout and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0102] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0103] According to an aspect of the present invention, a method for page rendering using WEB native layout is provided. The so-called WEB native layout refers to the use of the tags of the page itself to control the structure of the page, such as Labels, you can control the layout of a table structure.

[0104] Please refer to figure 1 , The method 100 for page rendering using WEB native layout includes the following steps:

[0105] Step 110: Load the webpage to the DOM construction is completed.

[0106] According to the working principle of browsers (including mobile browsers), the process of browser loading web pages is roughly as follows:

[0107] HTML (or WML) parsing is complete.

[0108] The external script and style sheet are loaded.

[0109] ...

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 provides a method for rendering a page frame by a WEB primary layout and a device of the method. The method comprises the following steps of: loading a webpage to a document object model (DOM) to complete the construction; rewriting the structure of a DOM node in the webpage to generate a control piece, wherein the step of rewriting is performed on the basis of the information of the DOM node; reading the original layout information of the DOM node; and filling the layout information of the rewritten DOM node to set the layout of the control piece, wherein the step of filling the layout information of the rewritten DOM node is performed on the basis of the original layout information of the DOM node and according to a preset layout consistency filling strategy. The page frame is rendered by the method of the invention, the control piece can have a higher-level function on the basis of the original DOM node under the condition that the rendering of the page frame is successful, and the information of the original DOM node also can be kept under the condition that the rendering of the page frame is failing, so that the user experience is greatly improved, the consistency of the layout before rendering the page frame and after rendering the page frame is further guaranteed, and the page frame rendering efficiency is improved.

Description

【Technical Field】 [0001] The present invention relates to the field of web page development, and in particular to a method for page rendering using WEB native layout. 【Background technique】 [0002] In the process of opening a web page, rendering the page is one of the tasks of the browser. The so-called rendering refers to the process of modifying data items and operable elements (ie, webpage tags) of webpages to enhance the expressive ability and intervening processing capabilities of the page elements. The so-called modification processing refers to the operable limits of data items or operations, the highlighting of data items or values, and the formatted output of values. The so-called expressive ability mainly refers to the data items and operations in the user page. As the performance technology of data items and operations, page labels are required to have dynamic performance capabilities, that is, show different effects according to different requests and permission re...

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
Inventor 欧阳先伟
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products