Screen adaptive display method, electronic device and computer storage medium

A screen and technology to be displayed, which is applied in the computer field, can solve the problems of reducing the aesthetics of the page display, the user experience, the inability to adapt the page layout template, and affecting the effective display of page information, etc., to achieve the effect of improving effectiveness

Active Publication Date: 2019-05-21
ZHANGYUE TECH CO LTD
View PDF7 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, smart devices with other screen specifications cannot be adapted and displayed according to the page layout templates corresponding to mainstream screen specifications, thereby affecting the effective display of page information, reducing the aesthetics of page display and the user experience of users of smart devices with different screen specifications

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
  • Screen adaptive display method, electronic device and computer storage medium
  • Screen adaptive display method, electronic device and computer storage medium
  • Screen adaptive display method, electronic device and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] figure 1 A flow chart of a screen adaptation display method provided in Embodiment 1 of the present invention is shown, which is used to adjust the page layout to adapt to the screen display. Such as figure 1 As shown, the method includes the following steps:

[0024] Step S101, acquiring a preset layout template of a page to be displayed on the current screen.

[0025] In a specific embodiment of the present invention, the current screen refers to the screen on which the electronic device held by the user performs page display. The attribute information of the current screen can be obtained through the system interface of the electronic device. Wherein, the attribute information of the current screen may include aspect ratio information such as screen resolution and screen ratio.

[0026] In this embodiment, the page to be displayed refers to a page that is about to be displayed on the screen of the electronic device but has not yet been displayed. The page to be ...

Embodiment 2

[0045] image 3 A flow chart of a screen adaptation display method provided by Embodiment 2 of the present invention is shown, and this embodiment is applied to a scene where a page layout is adjusted to adapt to a screen display. Wherein, the adjusting the page layout of the page to be displayed according to the screen aspect ratio, the standard aspect ratio, and the number of interface elements included in the preset layout template includes: The horizontal resolution of the standard resolution, determine the difference between the screen resolution of the current screen and the vertical resolution of the standard resolution; determine the page to be displayed according to the preset layout template and the number of interface elements The number of vertical intervals between the various interface elements; adjusting the page layout of the page to be displayed according to the vertical resolution difference and the number of vertical intervals. Such as image 3 As shown, t...

Embodiment 3

[0076] Figure 8 A flow chart of a screen adaptation display method provided by Embodiment 3 of the present invention is shown, and this embodiment is applied to adjusting the page layout to adapt to the screen display. Such as Figure 8 As shown, the method includes the following steps:

[0077] Step S801, acquiring a preset layout template of a page to be displayed on the current screen.

[0078] Step S802, detecting whether the screen aspect ratio of the current screen is consistent with the standard aspect ratio of the preset layout template.

[0079] Step S803, if the aspect ratio of the screen is consistent with the standard aspect ratio, determine the full-screen zoom ratio between the screen resolution of the current screen and the standard resolution.

[0080] In a specific embodiment of the present invention, since the screen aspect ratio of the current screen is consistent with the standard aspect ratio, the preset layout template can be adapted to the current sc...

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 discloses a screen adaptive display method, an electronic device and a computer storage medium. The screen adaptive display method is used for adjusting page layout tobe adaptive to screen display. The method comprises: acquiring a preset layout template of a current screen to-be-displayed page; detecting whether the screen length-width ratio of the current screenis consistent with the standard length-width ratio of the preset layout template or not; and if the screen length-width ratio is inconsistent with the standard length-width ratio, adjusting the page layout of the to-be-displayed page according to the screen length-width ratio, the standard length-width ratio and the number of the interface elements included in the preset layout template so as to adapt to the current screen for display. So visible, According to the scheme, adaptive display of the to-be-displayed page on the current screen can be achieved by adjusting the page layout, the phenomenon that a large number of blank spaces exist in the page or the page cannot be completely displayed is avoided, and therefore the page information display effectiveness, the page display attractiveness and the user experience of users to which intelligent devices of different screen specifications belong are improved.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of computers, and in particular to a screen adaptation display method, electronic equipment, and computer storage media. Background technique [0002] With the rapid development of smart devices and computer technology, smart devices based on different screen specifications are becoming more and more popular among the public. [0003] At present, smart devices with different screen specifications have different share in the existing market. Correspondingly, various software such as e-books usually design user interfaces based on smart devices with mainstream screen specifications, and obtain page layout templates corresponding to mainstream screen specifications. displayed on the [0004] Among them, smart devices with mainstream screen specifications can obtain screen adaptation display based on the corresponding page layout template. However, smart devices with other screen specifi...

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/451
CPCG06F9/451G06F3/0483G06F3/04845
Inventor 汪亚磊
Owner ZHANGYUE 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