Method and device for generating page

A page and page structure technology, applied in the computer field, can solve problems such as poor compatibility, and achieve the effects of avoiding compatibility problems, improving efficiency, and saving code

Active Publication Date: 2017-06-20
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a page generation method and device for the poor compatibility of drawing page elements with the same size in pixels on different display screens

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 and device for generating page
  • Method and device for generating page
  • Method and device for generating page

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0025] figure 1 It is an application environment diagram of the page generating method in an embodiment. refer to figure 1 , the method for generating a page in this embodiment is applied to an application program management system. The application program management system includes an electronic device 110, a server 120 and a terminal 130, and both the electronic device 110 and the terminal 130 can be connected to the server 120 through a network. The electronic device 110 and the terminal 130 may be physical devices of the same type or different types, such as a personal computer or a mobile t...

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 a method and a device for generating pages. The method for generating pages comprises: obtaining a page structure code and a corresponding page style code; according to the page structure code, selecting a common assembly from a common assembly library; according to the page style code, obtaining relative size of pixel-level size of the common assembly relative to the pixel-level size of a display screen; according to the relative size and the current pixel-level size of the display screen, determining the pixel-level size of the common assembly; and according to the pixel-level size of the common assembly, drawing the common assembly, to form a page. The method and the device for generating pages can adjust sizes of common assemblies in an adaptive manner because of using the relative size, and basically consistent effects can be displayed on different display screens, and a problem of compatibility in page display caused by differences of display screens is prevented.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a page generation method and device. Background technique [0002] With the development of computer technology, various types of terminals have appeared. Application programs can be run on these terminals, and pages can be generated through the application programs, so as to transmit information and interact with users through the pages, which facilitates people's life and work. [0003] At present, generating a page is mainly to define the size of the page elements in pixels in the page code, so that the page elements are drawn according to the predefined size in pixels to form a page. However, when drawing page elements with the same pixel-based size on different display screens, the rendered page elements will have different effects due to different display screens, and the compatibility is poor. Contents of the invention [0004] Based on this, it is necessary to...

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/44
CPCG06F8/38
Inventor 胡浩胡豪俊林庆杰林超
Owner TENCENT TECH (SHENZHEN) 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