Unlock instant, AI-driven research and patent intelligence for your innovation.

Page rendering method and device

A page and element technology, applied in the Internet field, can solve the problems of poor page display effect, inability to display content on one screen, content not filling the display screen, etc., to achieve the effect of optimizing page display effect

Active Publication Date: 2017-11-28
北京龙之心科技有限公司
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Different mobile terminals often correspond to different screen sizes. When displaying the page content in the target page, for a terminal with a wide screen size, the content may not fill the display screen. For a terminal with a small and narrow screen size, There will also be a situation where all the content cannot be displayed on one screen. You need to slide the horizontal scroll bar of the page to see other content that is not displayed on the screen
resulting in poor page display

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0047] Terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the conte...

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 page rendering method and device. The method comprises the steps that a conversion coefficient is determined according to a screen width and a preset full-screen rem value, wherein the preset full-screen rem value is a rem value corresponding to full-screen display of a page; scaling of a to-be-rendered element by use of the conversion coefficient enables the page to be displayed in the same display form on display devices with different widths; then a rem value corresponding to the to-be-rendered element is determined according to a pixel value of the page, a first pixel value of the to-be-rendered element in the page and the preset full-screen rem value; a second pixel value corresponding to the to-be-rendered element in a screen used for displaying the page is obtained based on the conversion coefficient and the rem value corresponding to the to-be-rendered element, wherein the second pixel value is adaptive to the width of the display screen; and finally the to-be-rendered element is rendered according to the second pixel value adaptive to the width of the display screen. Through the page rendering method and device, it is guaranteed that the page can be displayed in the same display form in the screen of any size, and the page display effect is optimized.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular to a page rendering method and device. Background technique [0002] With the continuous popularization of mobile terminals, devices used by people to browse webpages are gradually transformed into mobile terminals. [0003] Different mobile terminals often correspond to different screen sizes. When displaying the page content in the target page, for a terminal with a wide screen size, the content may not fill the display screen. For a terminal with a small and narrow screen size, There will also be a situation where all the content cannot be displayed on one screen. It is necessary to slide the horizontal scroll bar of the page to see other content that is not displayed on the display screen. As a result, the page display effect is not good. Contents of the invention [0004] In view of this, an embodiment of the present invention provides a page rendering method a...

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): G06F9/44G06F17/30
CPCG06F9/451G06F16/9574
Inventor 康永威张菊元
Owner 北京龙之心科技有限公司