Check patentability & draft patents in minutes with Patsnap Eureka AI!

Page layout method and device, storage medium, and electronic device

A layout method and layout technology, applied in the computer field, can solve the problems of fixed position and size, heavy workload, error-prone, etc., and achieve the effect of simplifying workload and improving work efficiency.

Active Publication Date: 2019-02-22
ZHEJIANG KOUBEI NETWORK TECH CO LTD
View PDF9 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The display page is an interface displayed on the screen, and the user can directly view it. Since the size of the screen is usually fixed, the size of the control must be automatically adapted on different screens. If the display page does not adapt to the screen size, it will will greatly affect the user's visual experience
[0003] In related technologies, the page code layout converted from the design draft of the visual design engineer is a static layout page, and the position and size are fixed. Display the scheme of the current scene. After the front-end developers get these static layout codes, they can only rewrite the front-end codes, such as rewriting them according to the actual size of the screen, or rewriting the layout type and rewriting them into flexible layout codes. A lot of work and error-prone
[0004] For the above-mentioned problems existing in related technologies, no effective solution has been found yet

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 layout method and device, storage medium, and electronic device
  • Page layout method and device, storage medium, and electronic device
  • Page layout method and device, storage medium, and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, a server or a similar computing device. Taking running on a mobile terminal as an example, figure 1 It is a block diagram of the hardware structure of a page layout mobile terminal according to an embodiment of the present invention. Such as figure 1 As shown, the mobile terminal 10 may include one or more ( figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the above-mentioned mobile terminal also A transmission device 106 for communication functions as well as input and output devices 108 may be included. Those of ordinary skill in the art can understand that, figure 1 The shown structure is only for illustration, and does not limit the structure ...

Embodiment 2

[0072] In this embodiment, a page layout device is also provided, which may be a terminal or a server, and the device is used to implement the above embodiments and preferred implementation modes, and those that have already been explained will not be repeated. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

[0073] Figure 7 is a structural block diagram of a page layout terminal according to an embodiment of the present invention, such as Figure 7 As shown, the device includes:

[0074] An acquisition module 70, configured to acquire a first description file of a static layout page, wherein the first description file is used to generate a display page at a fixed position with a fixed size, and t...

Embodiment 3

[0098] An embodiment of the present invention also provides a storage medium, in which a computer program is stored, wherein the computer program is set to execute the steps in any one of the above method embodiments when running.

[0099] Optionally, in this embodiment, the above-mentioned storage medium may be configured to store a computer program for performing the following steps:

[0100] S1. Acquire a first description file of a static layout page, wherein the first description file is used to generate a display page at a fixed position with a fixed size, and the first description file includes a plurality of first elements;

[0101] S2, packing the first element into a container, and determining a layout direction of the first element in the container;

[0102] S3. Generate a second description file by using the first element and the layout direction, where the second description file is used to generate a display page with an elastic layout.

[0103] Optionally, in 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 provides a page layout method and device, a storage medium and an electronic device, wherein, the method comprises: obtaining a first description file of a static layout page, wherein, the first description file is used for generating a display page at a fixed position with a fixed size, and the first description file comprises a plurality of first elements; loading the first elementinto a container and determining a layout direction of the first element in the container; generating a second description file by using the first element and the layout direction, wherein the seconddescription file is used to generate a presentation page of an elastic layout. The invention solves the technical problem that the static layout cannot be automatically converted into the elastic layout in the related art.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a page layout method and device, a storage medium, and an electronic device. Background technique [0002] The display page is an interface displayed on the screen, and the user can directly view it. Since the size of the screen is usually fixed, the size of the control must be automatically adapted on different screens. If the display page does not adapt to the screen size, it will It will greatly affect the user's visual experience. [0003] In related technologies, the page code layout converted from the design draft of the visual design engineer is a static layout page, and the position and size are fixed. Display the scheme of the current scene. After the front-end developers get these static layout codes, they can only rewrite the front-end codes, such as rewriting them according to the actual size of the screen, or rewriting the layout type and rewriting them into flexibl...

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/451
CPCG06F9/451
Inventor 贺三元刘国良黄建锋
Owner ZHEJIANG KOUBEI NETWORK TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More