CN109375971A - Layout method and device, storage medium, the electronic device of the page - Google Patents

Layout method and device, storage medium, the electronic device of the page Download PDF

Info

Publication number
CN109375971A
CN109375971A CN201811076539.XA CN201811076539A CN109375971A CN 109375971 A CN109375971 A CN 109375971A CN 201811076539 A CN201811076539 A CN 201811076539A CN 109375971 A CN109375971 A CN 109375971A
Authority
CN
China
Prior art keywords
daughter element
direct
direct daughter
layout
container
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811076539.XA
Other languages
Chinese (zh)
Other versions
CN109375971B (en
Inventor
贺三元
刘国良
黄建锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Koubei Network Technology Co Ltd
Original Assignee
Zhejiang Koubei Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Koubei Network Technology Co Ltd filed Critical Zhejiang Koubei Network Technology Co Ltd
Priority to CN201811076539.XA priority Critical patent/CN109375971B/en
Publication of CN109375971A publication Critical patent/CN109375971A/en
Application granted granted Critical
Publication of CN109375971B publication Critical patent/CN109375971B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The present invention provides a kind of layout method of page and device, storage medium, electronic devices, wherein, this method comprises: obtain the static topology page first describes file, wherein, described first describes file for generating displayed page on fixed-size fixed position, and described first to describe file include multiple first elements;First element is put into container, and determines the layout direction of first element in the above-described container;Second is generated using first element and the layout direction and describes file, wherein described second describes file for generating the displayed page of elasticity layout.Through the invention, the technical issues of static topology can not being converted into elasticity layout automatically in the related technology is solved.

Description

Layout method and device, storage medium, the electronic device of the page
Technical field
The present invention relates to computer fields, layout method and device, storage medium in particular to a kind of page, Electronic device.
Background technique
Displayed page is the interface shown on the screen, and user can be directly viewable, since the size of screen is usually solid Fixed, on different screens, the size of the good control of automatic adaptation, if displayed page is not adaptive according to screen size It answers, it will influence very much the visual experience of user.
In the related technology, the page code layout of the design original text conversion of the engineer of Vision Design, is all static topology page Face, position dimension are all fixed, and such as application No. is in the application documents of CN 105630992A, disclose one kind in static state After showing that the scheme of current scene, front end developer take these static topology codes in the page, front end can only be rewritten again Code such as rewrites it according to the actual size of screen, or rewrites layout types, is rewritten into the generation of elasticity layout Code, heavy workload, and it is easy error.
For the above problem present in the relevant technologies, at present it is not yet found that the solution of effect.
Summary of the invention
The embodiment of the invention provides a kind of layout method of page and device, storage medium, electronic devices.
According to one embodiment of present invention, a kind of layout method of page is provided, comprising: obtain the static topology page First file is described, wherein described first describes file for generating displayed page on fixed-size fixed position, institute Stating first and describing file includes multiple first elements;First element is put into container, and determines that first element exists Layout direction in the container;Second is generated using first element and the layout direction and describes file, wherein described Second describes file for generating the displayed page of elasticity layout.
Optionally, determine that the layout direction of first element in the above-described container comprises determining that direct daughter element in institute State the layout direction in container;Determine layout direction of the sub- daughter element in the direct daughter element, wherein the direct son member Element is the sub- container of the container after the completion of layout;Wherein, first element includes the direct daughter element and the son Daughter element, the sub- daughter element are the daughter elements of the direct daughter element.
Optionally, determine that the layout direction of direct daughter element in the above-described container includes: to sweep respectively from multiple initial positions The direct daughter element put into the container is retouched, the number of direct daughter element is obtained;According to obtaining the number of direct daughter element most More scanning modes determines the layout direction of the direct daughter element in the above-described container.
Optionally, it scans the direct daughter element put into the container respectively from multiple initial positions, obtains directly son member The number of element includes: that the maximum position using direct daughter element in positive direction of the x-axis is put into the container as initial position scanning Direct daughter element direct daughter element;It is scanned and is filled as initial position using maximum position of the direct daughter element in negative direction of the y-axis Into the direct daughter element of the direct daughter element in the container.
Optionally, the maximum position using direct daughter element in positive direction of the x-axis puts into the container as initial position scanning In the direct daughter element of direct daughter element include: maximum position with the first direct daughter element in positive direction of the x-axis for starting Position starts to scan, and it is directly sub to be less than described first if there is maximum position of the second direct daughter element in positive direction of the x-axis Described first direct daughter element and the second direct daughter element are merged by element in the maximum position in positive direction of the x-axis One group, and put a receptacle into, wherein the first direct daughter element is that the coordinate value in x-axis is maximum directly Daughter element;It is continued to scan on using maximum position of the second direct daughter element in positive direction of the x-axis as initial position, until having traversed The direct daughter element having, wherein directly count is incremented for daughter element after the completion of scanning each time.
Optionally, the maximum position using direct daughter element in negative direction of the y-axis puts into the container as initial position scanning In the direct daughter element of direct daughter element include: maximum position with the direct daughter element of third in negative direction of the y-axis for starting Position starts to scan, and it is directly sub to be less than the third if there is maximum position of the 4th direct daughter element in negative direction of the y-axis The direct daughter element of the third and the 4th direct daughter element are merged by element in the maximum position in negative direction of the y-axis One group, and put a receptacle into, wherein the direct daughter element of third is the smallest directly for coordinate value on the y axis Daughter element;It is continued to scan on using maximum position of the 4th direct daughter element in negative direction of the y-axis as initial position, until having traversed The direct daughter element having, wherein directly count is incremented for daughter element after the completion of scanning each time.
Optionally, determine the direct daughter element described according to the largest number of scanning modes for obtaining direct daughter element Layout direction in container includes: to be greater than to obtain using the second scanning mode in the direct daughter element obtained using the first scanning mode When the direct daughter element arrived, determine that the layout direction of the direct daughter element in the above-described container is landscape layout;Using the When the direct daughter element that one scanning mode obtains is less than the direct daughter element obtained using the second scanning mode, determine described direct The layout direction of daughter element in the above-described container is longitudinal layout, wherein first scanning mode is with direct daughter element in x Maximum position in axis positive direction is the scanning mode of initial position, and second scanning mode is with direct daughter element in y-axis Maximum position in negative direction is the scanning mode of initial position.
Optionally, determine sub- daughter element before the layout direction in the direct daughter element, the method also includes: The sub- daughter element of each directly daughter element of traversal, determines that the number of the sub- daughter element is greater than 1.
Optionally, before describing file using first element and layout direction generation second, the method Further include: by the absolute position of the first element be revised as first element in the above-described container relative to the opposite of father node Position, wherein the relative position includes the x-axis coordinate value of the direct daughter element in the above-described container, and y-axis coordinate value is high Angle value, width value.
Optionally, obtaining the first of the static topology page and describing file includes: the source code for receiving the static topology page; The source code is parsed, first is obtained and describes file.
Optionally, after describing file using first element and layout direction generation second, the method At least one further include: load described second describes file, shows the native page on a user interface;Described second is loaded to retouch File is stated, shows the H5 page on a user interface.
According to another embodiment of the invention, a kind of placement device of page is provided, comprising: obtain module, be used for Obtain the static topology page first describes file, wherein described first describes file in fixed-size fixed position Upper generation displayed page, described first to describe file include multiple first elements;Processing module is used for first yuan of white, quiet clothes Into in container, and determine the layout direction of first element in the above-described container;Generation module, for using described first yuan The plain and described layout direction generates second and describes file, wherein described second describes file for generating the displaying of elasticity layout The page.
Optionally, the processing module includes: the first determination unit, for determining direct daughter element in the above-described container It is laid out direction;Second determination unit, for determining layout direction of the sub- daughter element in the direct daughter element, wherein described Direct daughter element is the sub- container of the container after the completion of layout;Wherein, first element includes the direct daughter element With the sub- daughter element, the sub- daughter element is the daughter element of the direct daughter element.
Optionally, first determination unit includes: scanning subelement, for scanning threading respectively from multiple initial positions Direct daughter element in the container, obtains the number of direct daughter element;It determines subelement, obtains direct daughter element for basis The largest number of scanning modes determine the layout direction of the direct daughter element in the above-described container.
Optionally, the scanning subelement is also used to: being starting with maximum position of the direct daughter element in positive direction of the x-axis The direct daughter element of the direct daughter element in the container is put into position scanning;With direct daughter element in negative direction of the y-axis most Big position is the direct daughter element that the direct daughter element in the container is put into initial position scanning.
Optionally, the scanning subelement is also also used to: with maximum position of the first direct daughter element in positive direction of the x-axis Start to scan for initial position, is less than described first if there is maximum position of the second direct daughter element in positive direction of the x-axis Direct daughter element is in the maximum position in positive direction of the x-axis, by the described first direct daughter element and the second direct daughter element It is merged into a group, and puts a receptacle into, wherein the first direct daughter element is that the coordinate value in x-axis is maximum Direct daughter element;Continued to scan on using maximum position of the second direct daughter element in positive direction of the x-axis as initial position, until time All direct daughter elements are gone through, wherein the counting of directly daughter element adds one after the completion of scanning each time.
Optionally, the scanning subelement is also also used to: with maximum position of the direct daughter element of third in negative direction of the y-axis Start to scan for initial position, is less than the third if there is maximum position of the 4th direct daughter element in negative direction of the y-axis Direct daughter element is in the maximum position in negative direction of the y-axis, by the direct daughter element of the third and the 4th direct daughter element It is merged into a group, and puts a receptacle into, wherein the direct daughter element of third is coordinate value minimum on the y axis Direct daughter element;Continued to scan on using maximum position of the 4th direct daughter element in negative direction of the y-axis as initial position, until time All direct daughter elements are gone through, wherein the counting of directly daughter element adds one after the completion of scanning each time.
Optionally, the determining subelement is also used to: being greater than in the direct daughter element obtained using the first scanning mode and is adopted When the direct daughter element obtained with the second scanning mode, determine the layout direction of the direct daughter element in the above-described container for cross To layout;It is less than the direct daughter element obtained using the second scanning mode in the direct daughter element obtained using the first scanning mode When, determine the layout direction of the direct daughter element in the above-described container for longitudinal layout, wherein first scanning mode is Using maximum position of the direct daughter element in positive direction of the x-axis as the scanning mode of initial position, second scanning mode be with Direct maximum position of the daughter element in negative direction of the y-axis is the scanning mode of initial position.
Optionally, described device at least one further includes: the first display module, for described in the generation module use After first element and layout direction generation second describe file, load described second describes file, on a user interface Show the native page;Second display module, for using first element and the layout direction in the generation module After generation second describes file, load described second describes file, shows the H5 page on a user interface.
Optionally, the processing module further include: Traversal Unit, for determining sub- daughter element in first determination unit Before the layout direction in the direct daughter element, the sub- daughter element of each directly daughter element is traversed, determines the son member The number of element is greater than 1.
Optionally, described device further include: modified module, for using first element and institute in the generation module State layout direction generate second file is described before, first element is revised as in the appearance in the absolute position of the first element The relative position relative to father node in device, wherein the relative position include the direct daughter element in the above-described container X-axis coordinate value, y-axis coordinate value, height value, width value.
Optionally, the acquisition module includes: receiving unit, for receiving the source code of the static topology page;Parsing Unit obtains first and describes file for parsing the source code.
According to still another embodiment of the invention, a kind of storage medium is additionally provided, meter is stored in the storage medium Calculation machine program, wherein the computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
According to still another embodiment of the invention, a kind of electronic device, including memory and processor are additionally provided, it is described Computer program is stored in memory, the processor is arranged to run the computer program to execute any of the above-described Step in embodiment of the method.
Through the invention, after get the static topology page first describes file, by it includes first yuan of white, quiet clothes Into in the container for elasticity layout, and determine the layout direction of the first element in the above-described container, and then generate and produce bullet Property layout displayed page second file is described, it is by the description that the description file of static topology is converted into elasticity layout literary Part solves the technical issues of static topology can not being converted to elasticity layout automatically in the related technology, simplifies editor front end The workload of code, improves work efficiency.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of hardware block diagram of the layout mobile terminal of page of the embodiment of the present invention;
Fig. 2 is the flow chart of the layout method of the page according to an embodiment of the present invention;
Fig. 3 is the schematic diagram of the static topology page and elastic layout page during the present invention is implemented;
Fig. 4 is the tree structure figure of elasticity layout of the invention;
Fig. 5 is the schematic diagram that the embodiment of the present invention is scanned using the maximum position in positive direction of the x-axis as initial position;
Fig. 6 is the schematic diagram that the embodiment of the present invention is scanned using the maximum position in negative direction of the y-axis as initial position;
Fig. 7 is the structural block diagram of the layout terminal of the page according to an embodiment of the present invention;
Fig. 8 is the structural block diagram of server according to an embodiment of the present invention.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
Embodiment 1
Embodiment of the method provided by the embodiment of the present application one can mobile terminal, terminal, server or It is executed in similar arithmetic unit.For running on mobile terminals, Fig. 1 is a kind of layout of page of the embodiment of the present invention The hardware block diagram of mobile terminal.As shown in Figure 1, mobile terminal 10 may include that one or more (only shows one in Fig. 1 It is a) (processor 102 can include but is not limited to the processing of Micro-processor MCV or programmable logic device FPGA etc. to processor 102 Device) and memory 104 for storing data, optionally, above-mentioned mobile terminal can also include the biography for communication function Transfer device 106 and input-output equipment 108.It will appreciated by the skilled person that structure shown in FIG. 1 is only to show Meaning, does not cause to limit to the structure of above-mentioned mobile terminal.For example, mobile terminal 10 may also include it is more than shown in Fig. 1 Perhaps less component or with the configuration different from shown in Fig. 1.
Memory 104 can be used for storing computer program, for example, the software program and module of application software, such as this hair The corresponding computer program of the layout method of the page in bright embodiment, processor 102 are stored in memory 104 by operation Computer program realize above-mentioned method thereby executing various function application and data processing.Memory 104 can wrap Include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or Other non-volatile solid state memories.In some instances, memory 104 can further comprise long-range relative to processor 102 The memory of setting, these remote memories can pass through network connection to mobile terminal 10.The example of above-mentioned network include but It is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include The wireless network that the communication providers of mobile terminal 10 provide.In an example, transmitting device 106 includes a Network adaptation Device (Network Interface Controller, referred to as NIC), can be connected by base station with other network equipments to It can be communicated with internet.In an example, transmitting device 106 can for radio frequency (Radio Frequency, referred to as RF) module is used to wirelessly be communicated with internet.
A kind of layout method of page for running on terminal or server is provided in the present embodiment, and Fig. 2 is according to this The flow chart of the layout method of the page of inventive embodiments, as shown in Fig. 2, the process includes the following steps:
Step S202, obtain the static topology page first describe file, wherein described first describes file for solid Generate displayed page on the fixation position of scale cun, described first to describe file include multiple first elements;
Step S204 puts into first element in container, and determines the cloth of first element in the above-described container Office direction;
Step S206 generates second using first element and the layout direction and describes file, wherein described second Description file is used to generate the displayed page of elasticity layout.
Using the above method, after get the static topology page first describes file, by it includes the first element It puts into the container for elasticity layout, and determines the layout direction of the first element in the above-described container, and then generate and produce The second of the displayed page of elasticity layout describes file, by the description that the description file of static topology is converted into elasticity layout File solves the technical issues of static topology can not being converted to elasticity layout automatically in the related technology, before simplifying editor The workload for holding code, improves work efficiency.
In the present embodiment, static topology (also applauding to layout) is the fixed layout of positions and dimensions, can only be at interface A fixed page is generated, on the other hand, elasticity layout (Flexible Box), is arranged the daughter element in container Column, alignment and the layout type for distributing white space, can flexibly generate displaying according to the practical displaying size at screen or interface The page.Fig. 3 is the schematic diagram of the static topology page and elastic layout page during the present invention is implemented, wherein the left side is static topology The page, the page be it is fixed, be unable to automatic adaptation, screen the range of screen (be also possible to beyond) cannot be taken, the right is bullet Property layout page, can flexibly be shown according to screen size come automatic adaptation, static topology is the exhibition regardless of on what screen Existing size and location is all constant, to adjust control size, then elasticity layout then can do calculating in different screen sizes It shows again.
The container of elasticity layout has 12 attributes, wherein 6 are arranged on container, 6 are arranged in project, wherein set Setting the attribute on container includes: justify-content-by flex element and lineshaft registration;Flex-direction-definition Major axes orientation;Flex-wrap-flex element must uniline or automatic line feed;Flex-flow-flex-direction and The abbreviation of flex-wrap;Flex element is aligned by align-items-on intersecting axle;Align-content-has when intersecting axle Axis when redundant space, in aligning containers.The attribute being arranged in project includes: order-decision flex element sequence; Align-self-itself is aligned intersecting axle, the align-items of covering father's element setting;Flex-grow-defined item purpose is put Large scale is defaulted as 0, i.e., if there is remaining space, does not also amplify;Flex-shrink-defined item purpose reduces ratio, writes from memory Think 1, i.e., if insufficient space, which will reduce;Flex-basis-is before distributing redundant space, master that project occupies Shaft space;Flex-flex attribute is writing a Chinese character in simplified form for flex-grow, flex-shrink and flex-basis, default value 0 1auto.Latter two attribute is optional.
In an embodiment of the present embodiment, the layout direction packet of first element in the above-described container is determined It includes:
S11 determines the layout direction of direct daughter element in the above-described container;
S12 determines layout direction of the sub- daughter element in the direct daughter element, wherein the direct daughter element is in cloth It is the sub- container of the container after the completion of office;Wherein, first element is element set, including the direct daughter element and The sub- daughter element, the sub- daughter element are the daughter elements of the direct daughter element.
The description file of elasticity layout includes multiple containers, and each container can fill many elements, and element may include again Daughter element, is in a tree structure, and container is for calculating and be laid out, and element is for showing the observable page, another invention, In static topology, describe there is no container in file, daughter element is control, and element is exactly control+composite control, and daughter element is control Part is in tree structure, and after the completion of elasticity layout, the father node of element is container, and before not being laid out, the father node of element is member Element, Fig. 4 are the tree structure figures of elasticity layout of the invention, and the container of elasticity layout is also tree structure, container of the root in top layer The inside, child node is inside corresponding sub- container node.
In the present embodiment, determine that the layout direction of direct daughter element in the above-described container includes: from multiple initial positions The direct daughter element in the container is put into scanning respectively, obtains the number of direct daughter element;According to obtaining direct daughter element The largest number of scanning modes determine the layout direction of the direct daughter element in the above-described container.Multiple initial positions can be Position in x-axis or y-axis direction, such as maximum coordinate value among of the direct daughter element in positive direction of the x-axis, direct daughter element is in x-axis Maximum coordinate value among in negative direction, maximum coordinate value among of the direct daughter element in positive direction of the y-axis, direct daughter element is in y-axis losing side Upward maximum coordinate value among.
Explain in detail two of them example: in the present embodiment with maximum position of the direct daughter element in positive direction of the x-axis The direct daughter element of the direct daughter element in the container is put into for initial position scanning;With direct daughter element in negative direction of the y-axis On maximum position be direct daughter element that the direct daughter element in the container is put into initial position scanning.
In scanning mode 1, is scanned using maximum position of the direct daughter element in positive direction of the x-axis as initial position and put into institute The direct daughter element for stating the direct daughter element in container includes:
Start to scan as initial position using maximum position of the first direct daughter element in positive direction of the x-axis, if there is Maximum position of the two direct daughter elements in positive direction of the x-axis is less than maximum of the described first direct daughter element in positive direction of the x-axis When position, the described first direct daughter element and the second direct daughter element are merged into a group, and put a container into Face, wherein the first direct daughter element is the maximum direct daughter element of coordinate value in x-axis;
It is continued to scan on using maximum position of the second direct daughter element in positive direction of the x-axis as initial position, until having traversed All direct daughter elements, wherein the counting of directly daughter element adds one after the completion of scanning each time.
Fig. 5 is the schematic diagram that the embodiment of the present invention is scanned using the maximum position in positive direction of the x-axis as initial position, figure Root node is illustrated in 55 direct daughter elements, wherein elements A is the first direct daughter element, not the leftmost bit of element The location right less than the element is set, the right is greater than the location right of the element, the maximum direct son member of the coordinate value in x-axis Element, element B, Elements C, element D, element E start to start (negative direction of x-axis) to the left to sweep in the left side of elements A with elements A It retouches, discovery element B rightmost X position is less than the position of the rightmost of elements A, then elements A and B are merged into a group, are put into one Inside a elastic container, continue to start to scan, obtain Elements C, Elements C and B are merged into one using the right of element B as boundary Group is put into inside an elastic container, is continued using the right of Elements C as boundary, until scanning through the last one element E, directly Connect daughter element is counted as 4.
In scanning mode 2, is scanned using maximum position of the direct daughter element in negative direction of the y-axis as initial position and put into institute The direct daughter element for stating the direct daughter element in container includes: maximum position with the direct daughter element of third in negative direction of the y-axis Start to scan for initial position, is less than the third if there is maximum position of the 4th direct daughter element in negative direction of the y-axis Direct daughter element is in the maximum position in negative direction of the y-axis, by the direct daughter element of the third and the 4th direct daughter element It is merged into a group, and puts a receptacle into, wherein the direct daughter element of third is coordinate value minimum on the y axis Direct daughter element;Continued to scan on using maximum position of the 4th direct daughter element in negative direction of the y-axis as initial position, until time All direct daughter elements are gone through, wherein the counting of directly daughter element adds one after the completion of scanning each time.
Fig. 6 is the schematic diagram that the embodiment of the present invention is scanned using the maximum position in negative direction of the y-axis as initial position, figure Root node is illustrated in 65 direct daughter elements, wherein element D is the first direct daughter element, not the position bottom of element Set the lower position that (absolute value in negative direction of the y-axis) is greater than the element, the maximum direct son of coordinate value in negative direction of the y-axis Element, element B, Elements C, elements A, element E start to start (positive direction of y-axis) upwards with element E in the upside of element E Scanning, finding element E and Elements C, position is less than the position bottom of elements A bottom, then elements A and B are merged into one Group is put into inside an elastic container, continues to start to scan, obtain element B using the right of element E or Elements C as boundary, member Plain E, Elements C and B are merged into a group, are put into inside an elastic container, continue with the following for boundary of element B, until The last one elements A is scanned through, direct daughter element is counted as 3.
In the present embodiment, the direct daughter element is determined according to the largest number of scanning modes for obtaining direct daughter element Layout direction in the above-described container includes: to be greater than in the direct daughter element obtained using the first scanning mode using the second scanning When the direct daughter element that mode obtains, determine that the layout direction of the direct daughter element in the above-described container is landscape layout;? When the direct daughter element obtained using the first scanning mode is less than the direct daughter element obtained using the second scanning mode, institute is determined The layout direction of direct daughter element in the above-described container is stated as longitudinal layout, wherein first scanning mode is with directly son Maximum position of the element in positive direction of the x-axis is the scanning mode of initial position, and second scanning mode is with directly son member Maximum position of the element in negative direction of the y-axis is the scanning mode of initial position.With the signal of Fig. 5 and Fig. 6, swept in the transverse direction of x-axis The direct daughter element retouched is greater than the direct daughter element that the longitudinal scanning in y-axis obtains, using longitudinal layout.
When determining layout direction of the sub- daughter element in the direct daughter element, with the direct daughter element of determination in the appearance Layout direction and a recursive process in device are determining layout direction of the sub- daughter element in the direct daughter element Before, the method also includes: the sub- daughter element of each directly daughter element of traversal determines that the number of the sub- daughter element is greater than 1. The number of sub- daughter element is scanned when being greater than 1, is otherwise sky, without scanning.
In an example of the present embodiment, the second description text is being generated using first element and the layout direction Before part, further includes: by the absolute position of the first element be revised as first element in the above-described container relative to father save The relative position of point, wherein the relative position includes the x-axis coordinate value of the direct daughter element in the above-described container, and y-axis is sat Scale value, height value, width value.The position of each element can be indicated with (x, y, high, width), wherein x, y, high, Width is fixed value before a modification, and after the modification, x is the relative position in x-axis with respect to father node, and y is phase on the y axis To the relative position of father node.
In the present embodiment, obtaining the first of the static topology page and describing file includes: to receive the static topology page Source code;The source code is parsed, first is obtained and describes file.There is no container in the description file of static topology, therefore It can be by whether judging comprising container.
In the present embodiment, after describing file using first element and layout direction generation second, At least one further include: load described second describes file, shows the native page on a user interface, can be used to automatic raw At the interface of native;It loads described second and describes file, show the H5 page on a user interface.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
A kind of placement device of page is additionally provided in the present embodiment, can be terminal or server etc., which uses In realizing above-described embodiment and preferred embodiment, the descriptions that have already been made will not be repeated.As used below, term The combination of the software and/or hardware of predetermined function may be implemented in " module ".Although device is preferably described in following embodiment It is realized with software, but the realization of the combination of hardware or software and hardware is also that may and be contemplated.
Fig. 7 is the structural block diagram of the layout terminal of the page according to an embodiment of the present invention, as shown in fig. 7, the device includes:
Module 70 is obtained, first for obtaining the static topology page describes file, wherein described first describes file use In generating displayed page on fixed-size fixed position, described first to describe file include multiple first elements;
Processing module 72 for putting into first element in container, and determines first element in the container In layout direction;
Generation module 74 describes file for generating second using first element and the layout direction, wherein institute It states second and describes file for generating the displayed page of elasticity layout.
In the present embodiment, the processing module includes: the first determination unit, for determining direct daughter element described Layout direction in container;Second determination unit, for determining layout direction of the sub- daughter element in the direct daughter element, In, the direct daughter element is the sub- container of the container after the completion of layout;Wherein, first element includes described direct Daughter element and the sub- daughter element, the sub- daughter element are the daughter elements of the direct daughter element.
In an embodiment of the present embodiment, first determination unit includes: scanning subelement, is used for from multiple The direct daughter element put into the container is scanned in initial position respectively, obtains the number of direct daughter element;It determines subelement, uses The layout of the direct daughter element in the above-described container is determined in the largest number of scanning modes that basis obtains direct daughter element Direction.
In an example of the present embodiment, the scanning subelement is also used to: with direct daughter element in positive direction of the x-axis Maximum position be direct daughter element that the direct daughter element in the container is put into initial position scanning;Existed with direct daughter element Maximum position in negative direction of the y-axis is the direct daughter element that the direct daughter element in the container is put into initial position scanning.
In another example of the present embodiment, the scanning subelement is also also used to: with the first direct daughter element in x-axis Maximum position in positive direction is that initial position starts to scan, if there is the second direct daughter element in positive direction of the x-axis most Big position is less than the described first direct daughter element in the maximum position in positive direction of the x-axis, will the described first direct daughter element with The second direct daughter element is merged into a group, and puts a receptacle into, wherein the first direct daughter element be The maximum direct daughter element of coordinate value in x-axis;Using maximum position of the second direct daughter element in positive direction of the x-axis as start bit It sets and continues to scan on, until having traversed all direct daughter elements, wherein the counting of directly daughter element adds after the completion of scanning each time One.
Optionally, the scanning subelement is also also used to: with maximum position of the direct daughter element of third in negative direction of the y-axis Start to scan for initial position, is less than the third if there is maximum position of the 4th direct daughter element in negative direction of the y-axis Direct daughter element is in the maximum position in negative direction of the y-axis, by the direct daughter element of the third and the 4th direct daughter element It is merged into a group, and puts a receptacle into, wherein the direct daughter element of third is coordinate value minimum on the y axis Direct daughter element;Continued to scan on using maximum position of the 4th direct daughter element in negative direction of the y-axis as initial position, until time All direct daughter elements are gone through, wherein the counting of directly daughter element adds one after the completion of scanning each time.
Optionally, the determining subelement is also used to: being greater than in the direct daughter element obtained using the first scanning mode and is adopted When the direct daughter element obtained with the second scanning mode, determine the layout direction of the direct daughter element in the above-described container for cross To layout;It is less than the direct daughter element obtained using the second scanning mode in the direct daughter element obtained using the first scanning mode When, determine the layout direction of the direct daughter element in the above-described container for longitudinal layout, wherein first scanning mode is Using maximum position of the direct daughter element in positive direction of the x-axis as the scanning mode of initial position, second scanning mode be with Direct maximum position of the daughter element in negative direction of the y-axis is the scanning mode of initial position.
Optionally, the terminal at least one further includes: the first display module, for described in the generation module use After first element and layout direction generation second describe file, load described second describes file, on a user interface Show the native page;Second display module, for using first element and the layout direction in the generation module After generation second describes file, load described second describes file, shows the H5 page on a user interface.
Fig. 8 is the structural block diagram of server according to an embodiment of the present invention, as shown in figure 8, the device includes:
Module 80 is obtained, first for obtaining the static topology page describes file, wherein described first describes file use In generating displayed page on fixed-size fixed position, described first to describe file include multiple first elements;
Processing module 82 for putting into first element in container, and determines first element in the container In layout direction;
Generation module 84 describes file for generating second using first element and the layout direction, wherein institute It states second and describes file for generating the displayed page of elasticity layout.
In the present embodiment, the processing module includes: the first determination unit, for determining direct daughter element described Layout direction in container;Second determination unit, for determining layout direction of the sub- daughter element in the direct daughter element, In, the direct daughter element is the sub- container of the container after the completion of layout;Wherein, first element includes described direct Daughter element and the sub- daughter element, the sub- daughter element are the daughter elements of the direct daughter element.
In an embodiment of the present embodiment, first determination unit includes: scanning subelement, is used for from multiple The direct daughter element put into the container is scanned in initial position respectively, obtains the number of direct daughter element;It determines subelement, uses The layout of the direct daughter element in the above-described container is determined in the largest number of scanning modes that basis obtains direct daughter element Direction.
In an example of the present embodiment, the scanning subelement is also used to: with direct daughter element in positive direction of the x-axis Maximum position be direct daughter element that the direct daughter element in the container is put into initial position scanning;Existed with direct daughter element Maximum position in negative direction of the y-axis is the direct daughter element that the direct daughter element in the container is put into initial position scanning.
In another example of the present embodiment, the scanning subelement is also also used to: with the first direct daughter element in x-axis Maximum position in positive direction is that initial position starts to scan, if there is the second direct daughter element in positive direction of the x-axis most Big position is less than the described first direct daughter element in the maximum position in positive direction of the x-axis, will the described first direct daughter element with The second direct daughter element is merged into a group, and puts a receptacle into, wherein the first direct daughter element be The maximum direct daughter element of coordinate value in x-axis;Using maximum position of the second direct daughter element in positive direction of the x-axis as start bit It sets and continues to scan on, until having traversed all direct daughter elements, wherein the counting of directly daughter element adds after the completion of scanning each time One.
Optionally, the scanning subelement is also also used to: with maximum position of the direct daughter element of third in negative direction of the y-axis Start to scan for initial position, is less than the third if there is maximum position of the 4th direct daughter element in negative direction of the y-axis Direct daughter element is in the maximum position in negative direction of the y-axis, by the direct daughter element of the third and the 4th direct daughter element It is merged into a group, and puts a receptacle into, wherein the direct daughter element of third is coordinate value minimum on the y axis Direct daughter element;Continued to scan on using maximum position of the 4th direct daughter element in negative direction of the y-axis as initial position, until time All direct daughter elements are gone through, wherein the counting of directly daughter element adds one after the completion of scanning each time.
Optionally, the determining subelement is also used to: being greater than in the direct daughter element obtained using the first scanning mode and is adopted When the direct daughter element obtained with the second scanning mode, determine the layout direction of the direct daughter element in the above-described container for cross To layout;It is less than the direct daughter element obtained using the second scanning mode in the direct daughter element obtained using the first scanning mode When, determine the layout direction of the direct daughter element in the above-described container for longitudinal layout, wherein first scanning mode is Using maximum position of the direct daughter element in positive direction of the x-axis as the scanning mode of initial position, second scanning mode be with Direct maximum position of the daughter element in negative direction of the y-axis is the scanning mode of initial position.
Optionally, the terminal at least one further includes: the first display module, for described in the generation module use After first element and layout direction generation second describe file, load described second describes file, on a user interface Show the native page;Second display module, for using first element and the layout direction in the generation module After generation second describes file, load described second describes file, shows the H5 page on a user interface.
It should be noted that terminal and server is only difference of the scheme in executing subject, in above-mentioned identification terminal Each example and optinal plan equally adapt in the server, and generate identical technical effect.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong Following manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any Combined form is located in different processors.
Embodiment 3
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, wherein The computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:
S1, obtain the static topology page first describe file, wherein described first describes file in fixed dimension Fixation position on generate displayed page, described first to describe file include multiple first elements;
S2 puts into first element in container, and determines the layout direction of first element in the above-described container;
S3 generates second using first element and the layout direction and describes file, wherein the second description text Part is used to generate the displayed page of elasticity layout.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read- Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard The various media that can store computer program such as disk, magnetic or disk.
The embodiments of the present invention also provide a kind of electronic device, including memory and processor, stored in the memory There is computer program, which is arranged to run computer program to execute the step in any of the above-described embodiment of the method Suddenly.
Optionally, above-mentioned electronic device can also include transmission device and input-output equipment, wherein the transmission device It is connected with above-mentioned processor, which connects with above-mentioned processor.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1, obtain the static topology page first describe file, wherein described first describes file in fixed dimension Fixation position on generate displayed page, described first to describe file include multiple first elements;
S2 puts into first element in container, and determines the layout direction of first element in the above-described container;
S3 generates second using first element and the layout direction and describes file, wherein the second description text Part is used to generate the displayed page of elasticity layout.
Optionally, the specific example in the present embodiment can be with reference to described in above-described embodiment and optional embodiment Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored It is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution herein Out or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules or Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.It is all within principle of the invention, it is made it is any modification, etc. With replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of layout method of the page characterized by comprising
Obtain the static topology page first describes file, wherein described first describes file in fixed-size fixation Generate displayed page on position, described first to describe file include multiple first elements;
First element is put into container, and determines the layout direction of first element in the above-described container;
Second is generated using first element and the layout direction and describes file, wherein described second, which describes file, is used for Generate the displayed page of elasticity layout.
2. the method according to claim 1, wherein determining the layout side of first element in the above-described container To including:
Determine the layout direction of direct daughter element in the above-described container;
Determine layout direction of the sub- daughter element in the direct daughter element, wherein the direct daughter element is after the completion of layout For the sub- container of the container;
Wherein, first element includes the direct daughter element and the sub- daughter element, and the sub- daughter element is described direct The daughter element of daughter element.
3. according to the method described in claim 2, it is characterized in that, determining the layout direction of direct daughter element in the above-described container Include:
It scans the direct daughter element put into the container respectively from multiple initial positions, obtains the number of direct daughter element;
The cloth of the direct daughter element in the above-described container is determined according to the largest number of scanning modes for obtaining direct daughter element Office direction.
4. according to the method described in claim 2, being put into the container it is characterized in that, being scanned respectively from multiple initial positions Direct daughter element, the number for obtaining direct daughter element includes:
The direct son member in the container is put into using maximum position of the direct daughter element in positive direction of the x-axis as initial position scanning The direct daughter element of element;
The direct son member in the container is put into using maximum position of the direct daughter element in negative direction of the y-axis as initial position scanning The direct daughter element of element.
5. according to the method described in claim 4, it is characterized in that, maximum position with direct daughter element in positive direction of the x-axis The direct daughter element for the direct daughter element put into the container for initial position scanning includes:
Start to scan as initial position using maximum position of the first direct daughter element in positive direction of the x-axis, it is straight if there is second Maximum position of the daughter element in positive direction of the x-axis is connect less than maximum position of the described first direct daughter element in positive direction of the x-axis When, the described first direct daughter element and the second direct daughter element are merged into a group, and put a receptacle into, In, the first direct daughter element is the maximum direct daughter element of coordinate value in x-axis;
It is continued to scan on using maximum position of the second direct daughter element in positive direction of the x-axis as initial position, it is all until having traversed Direct daughter element, wherein each time scanning after the completion of directly daughter element count is incremented.
6. according to the method described in claim 4, it is characterized in that, maximum position with direct daughter element in negative direction of the y-axis The direct daughter element for the direct daughter element put into the container for initial position scanning includes:
Start to scan as initial position using maximum position of the direct daughter element of third in negative direction of the y-axis, it is straight if there is the 4th Maximum position of the daughter element in negative direction of the y-axis is connect less than maximum position of the direct daughter element of the third in negative direction of the y-axis When, the direct daughter element of the third and the 4th direct daughter element are merged into a group, and put a receptacle into, In, the direct daughter element of third is the smallest direct daughter element of coordinate value on the y axis;
It is continued to scan on using maximum position of the 4th direct daughter element in negative direction of the y-axis as initial position, it is all until having traversed Direct daughter element, wherein each time scanning after the completion of directly daughter element count is incremented.
7. according to the method described in claim 4, it is characterized in that, according to the largest number of scanning sides of direct daughter element are obtained Formula determines that the layout direction of the direct daughter element in the above-described container includes:
When the direct daughter element obtained using the first scanning mode is greater than the direct daughter element obtained using the second scanning mode, Determine that the layout direction of the direct daughter element in the above-described container is landscape layout;It is straight using the first scanning mode to obtain When connecing daughter element less than the direct daughter element obtained using the second scanning mode, the direct daughter element is determined in the above-described container Layout direction be longitudinal layout, wherein first scanning mode is the dominant bit with direct daughter element in positive direction of the x-axis It is set to the scanning mode of initial position, second scanning mode is the maximum position with direct daughter element in negative direction of the y-axis For the scanning mode of initial position.
8. a kind of placement device of the page characterized by comprising
Module is obtained, first for obtaining the static topology page describes file, wherein described first describes file for solid Generate displayed page on the fixation position of scale cun, described first to describe file include multiple first elements;
Processing module for putting into first element in container, and determines the cloth of first element in the above-described container Office direction;
Generation module describes file for generating second using first element and the layout direction, wherein described second Description file is used to generate the displayed page of elasticity layout.
9. a kind of storage medium, which is characterized in that be stored with computer program in the storage medium, wherein the computer Program is arranged to perform claim when operation and requires method described in 1 to 7 any one.
10. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory Sequence, the processor are arranged to run the computer program in method described in perform claim 1 to 7 any one of requirement.
CN201811076539.XA 2018-09-14 2018-09-14 Page layout method and device, storage medium and electronic device Active CN109375971B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811076539.XA CN109375971B (en) 2018-09-14 2018-09-14 Page layout method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811076539.XA CN109375971B (en) 2018-09-14 2018-09-14 Page layout method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN109375971A true CN109375971A (en) 2019-02-22
CN109375971B CN109375971B (en) 2020-07-31

Family

ID=65405487

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811076539.XA Active CN109375971B (en) 2018-09-14 2018-09-14 Page layout method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN109375971B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110781440A (en) * 2019-10-31 2020-02-11 北京东软望海科技有限公司 Container height adjusting method and device, computer equipment and storage medium
CN110866208A (en) * 2019-10-10 2020-03-06 东软集团股份有限公司 Responsive layout method, device and equipment for page
CN112926010A (en) * 2021-04-09 2021-06-08 上海臣星软件技术有限公司 Web page generation method and device, electronic equipment and computer storage medium
CN113010252A (en) * 2021-03-19 2021-06-22 掌阅科技股份有限公司 Application page display method, electronic equipment and storage medium
CN115858401A (en) * 2023-02-27 2023-03-28 成都光合信号科技有限公司 Page detection method and device, electronic equipment and storage medium
CN117539491A (en) * 2024-01-09 2024-02-09 腾讯科技(深圳)有限公司 Page layout method, page layout device, electronic device, storage medium and program product

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593207A (en) * 2009-07-06 2009-12-02 孟智平 The method and system of a kind of structure and generation webpage
US8458587B1 (en) * 2012-01-27 2013-06-04 Think-Cell Software Gmbh Method of entering page layout constraints into a computer
CN103336794A (en) * 2013-06-09 2013-10-02 百度在线网络技术(北京)有限公司 Method and device for providing corresponding presence information on destination page
US20140258841A1 (en) * 2013-03-07 2014-09-11 Smugmug, Inc. Method of building a customizable website
US9530187B2 (en) * 2013-06-13 2016-12-27 Apple Inc. Controlling element layout on a display
CN106503041A (en) * 2016-09-19 2017-03-15 曙光信息产业(北京)有限公司 Page layout self-adaptive method and system
CN107273081A (en) * 2017-06-20 2017-10-20 网易(杭州)网络有限公司 Method, medium, device and the computing device that multiple components are shown
CN107391465A (en) * 2017-07-26 2017-11-24 郑州云海信息技术有限公司 A kind of method and device that dendrogram bottom element is positioned in the form of element group

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593207A (en) * 2009-07-06 2009-12-02 孟智平 The method and system of a kind of structure and generation webpage
US8458587B1 (en) * 2012-01-27 2013-06-04 Think-Cell Software Gmbh Method of entering page layout constraints into a computer
US20140258841A1 (en) * 2013-03-07 2014-09-11 Smugmug, Inc. Method of building a customizable website
CN103336794A (en) * 2013-06-09 2013-10-02 百度在线网络技术(北京)有限公司 Method and device for providing corresponding presence information on destination page
US9530187B2 (en) * 2013-06-13 2016-12-27 Apple Inc. Controlling element layout on a display
CN106503041A (en) * 2016-09-19 2017-03-15 曙光信息产业(北京)有限公司 Page layout self-adaptive method and system
CN107273081A (en) * 2017-06-20 2017-10-20 网易(杭州)网络有限公司 Method, medium, device and the computing device that multiple components are shown
CN107391465A (en) * 2017-07-26 2017-11-24 郑州云海信息技术有限公司 A kind of method and device that dendrogram bottom element is positioned in the form of element group

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110866208A (en) * 2019-10-10 2020-03-06 东软集团股份有限公司 Responsive layout method, device and equipment for page
CN110781440A (en) * 2019-10-31 2020-02-11 北京东软望海科技有限公司 Container height adjusting method and device, computer equipment and storage medium
CN113010252A (en) * 2021-03-19 2021-06-22 掌阅科技股份有限公司 Application page display method, electronic equipment and storage medium
CN113010252B (en) * 2021-03-19 2022-08-09 掌阅科技股份有限公司 Application page display method, electronic equipment and storage medium
CN112926010A (en) * 2021-04-09 2021-06-08 上海臣星软件技术有限公司 Web page generation method and device, electronic equipment and computer storage medium
CN115858401A (en) * 2023-02-27 2023-03-28 成都光合信号科技有限公司 Page detection method and device, electronic equipment and storage medium
CN115858401B (en) * 2023-02-27 2023-05-16 成都光合信号科技有限公司 Page detection method and device, electronic equipment and storage medium
CN117539491A (en) * 2024-01-09 2024-02-09 腾讯科技(深圳)有限公司 Page layout method, page layout device, electronic device, storage medium and program product
CN117539491B (en) * 2024-01-09 2024-04-26 腾讯科技(深圳)有限公司 Page layout method, page layout device, electronic device, storage medium and program product

Also Published As

Publication number Publication date
CN109375971B (en) 2020-07-31

Similar Documents

Publication Publication Date Title
CN109375971A (en) Layout method and device, storage medium, the electronic device of the page
CN103823620A (en) Screen adaption method and device
CN112087379A (en) Service chain arranging method and device, storage medium and electronic device
CN110941614A (en) Form generation method and device, electronic equipment and computer readable storage medium
Pajankar Raspberry Pi Image Processing Programming
CN110245128A (en) Method for building up and device, storage medium, the electronic device of meta-model
CN106406839A (en) Processing method and device of screen adaption file
CN110851050B (en) Method and device for testing clicking of page elements
CN116912413A (en) Model generation method, model generation device, computer device, and storage medium
CN107066271B (en) Hierarchical management method and system for display object
CN115114321A (en) Dynamic query method and system
CN114757159A (en) Packaging development method and system of multifunctional data table component
CN111339656B (en) Cabinet production method and system and electronic equipment
CN101729672B (en) Management method and system of multifunction mobile equipment
CN103902148B (en) Information processing method and electronic devices
CN111338624A (en) Data processing method and related equipment
CN112200860A (en) Object position relation determining method and device, storage medium and electronic device
CN106709543B (en) Pattern identification code generating method and device
CN111050221A (en) Method and system for acquiring focus of multi-picture navigation interface of set top box
CN110751204A (en) Data fusion method and device, storage medium and electronic device
CN110874222A (en) Template deployment method and device of smart television and server
CN112306843A (en) Test method, test device and storage medium
CN116614591A (en) Data processing method and device and electronic equipment
CN112231819B (en) Method and device for determining coplanarity of line segments, storage medium and electronic device
CN117316095A (en) Method and device for generating LED display screen configuration scheme and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant