CN111294635A - Method and device for arranging desktop layout and server - Google Patents

Method and device for arranging desktop layout and server Download PDF

Info

Publication number
CN111294635A
CN111294635A CN201811487297.3A CN201811487297A CN111294635A CN 111294635 A CN111294635 A CN 111294635A CN 201811487297 A CN201811487297 A CN 201811487297A CN 111294635 A CN111294635 A CN 111294635A
Authority
CN
China
Prior art keywords
display screen
layout
waterfall flow
configuration parameters
tab
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.)
Pending
Application number
CN201811487297.3A
Other languages
Chinese (zh)
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.)
TCL Corp
TCL Research America Inc
Original Assignee
TCL Research America Inc
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 TCL Research America Inc filed Critical TCL Research America Inc
Priority to CN201811487297.3A priority Critical patent/CN111294635A/en
Publication of CN111294635A publication Critical patent/CN111294635A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor

Abstract

The invention is applicable to the technical field of intelligent televisions and provides a method, a device and a server for arranging a desktop layout, wherein the method for arranging the desktop layout comprises the steps of receiving indication information for arranging the currently displayed desktop layout of a display screen into a vertical waterfall flow layout, wherein the indication information comprises the model of the display screen, obtaining configuration parameters corresponding to the model of the display screen from a pre-established mapping table, wherein the configuration parameters comprise the screen width of the display screen, and the transverse distance and the longitudinal distance between two adjacent data storage blocks in a vertical waterfall flow layout, and arranging the vertical waterfall flow layout according to the configuration parameters. According to the method and the device, the arrangement task is executed by acquiring the configuration parameters corresponding to the model of the display screen, and the width of the picture displayed on the intelligent television is ensured to be consistent and the height of the picture is controllable when the arrangement of the vertical waterfall flow layout is carried out at the Web end.

Description

Method and device for arranging desktop layout and server
Technical Field
The invention relates to the technical field of intelligent televisions, in particular to a method, a device, a server and a computer readable storage medium for arranging desktop layout.
Background
The intelligent television is a television product which is based on the Internet application technology, integrates various functions such as audio and video, entertainment, data and the like and is used for meeting diversified and personalized requirements of users. With the development of science and technology and the continuous improvement of the living standard of people, the smart television becomes an indispensable use tool in the life of people.
To meet the different needs of users, developers sometimes need to re-program the layout of the current desktop based on the Web. However, if the layout of the portrait waterfall flow layout is directly performed on the basis of the Web, not only the inconsistency of the screen width of the display is liable to occur, but also the problem of uncontrollable screen height also occurs.
Therefore, a new technical solution is needed to solve the above technical problems.
Disclosure of Invention
In view of this, the embodiments of the present invention provide a method, an apparatus, and a server for arranging a desktop layout, which can execute an arrangement task by acquiring configuration parameters corresponding to a model of a display screen when a vertical waterfall flow layout is arranged at a Web end, so as to achieve the purpose of uniform width and controllable height of final pictures displayed on an intelligent television.
A first aspect of an embodiment of the present invention provides a method for editing a desktop layout, including:
receiving indication information for arranging a currently displayed desktop layout of a display screen into a vertical waterfall flow layout, wherein the indication information comprises the model of the display screen;
acquiring configuration parameters corresponding to the model of the display screen from a pre-established mapping relation table, wherein the configuration parameters comprise the screen width of the display screen, and the transverse distance and the longitudinal distance between two adjacent data storage blocks in a vertical waterfall flow layout;
and arranging a vertical waterfall flow layout according to the configuration parameters.
A second aspect of the embodiments of the present invention provides an apparatus for editing a desktop layout, including:
the device comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving an indication message for arranging a currently displayed desktop layout of a display screen into a vertical waterfall flow layout, and the indication message comprises the model of the display screen;
the acquisition module is used for acquiring configuration parameters corresponding to the model of the display screen from a pre-established mapping relation table, wherein the configuration parameters comprise the screen width of the display screen, and the transverse distance and the longitudinal distance between two adjacent data storage blocks in a vertical waterfall flow layout;
and the arrangement module is used for arranging the vertical waterfall flow layout according to the configuration parameters.
A third aspect of embodiments of the present invention provides a server, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method mentioned in the first aspect when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the method mentioned in the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: in this embodiment, an indication that a currently displayed desktop layout of a display screen is arranged to be a vertical waterfall flow layout is received, where the indication information includes a model of the display screen, a configuration parameter corresponding to the model of the display screen is obtained from a pre-created mapping table, where the configuration parameter includes a screen width of the display screen, a lateral distance and a longitudinal distance between two adjacent data storage blocks in a vertical waterfall flow layout, and finally the vertical waterfall flow layout is arranged according to the configuration parameter. By the embodiment of the invention, when the arrangement of the vertical waterfall flow layout is carried out at the Web end, the width of the picture finally displayed on the intelligent television is ensured to be consistent, the height is controllable, and the method has strong usability and practicability.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a flowchart illustrating a method for arranging a desktop layout according to an embodiment of the present invention;
FIG. 2-a is a flowchart illustrating a method for editing a desktop layout according to a second embodiment of the present invention;
fig. 2-b is an effect diagram of the Web end after arranging the desktop layout according to the second embodiment of the present invention;
fig. 2-c are diagrams illustrating the arrangement effect of the smart tv display according to the second embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an apparatus for editing a desktop layout according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a server according to a fourth embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
It should be understood that, the sequence numbers of the steps in this embodiment do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
It should be noted that, the descriptions of "first" and "second" in this embodiment are used to distinguish different regions, modules, and the like, and do not represent a sequential order, and the descriptions of "first" and "second" are not limited to be of different types.
In order to illustrate the technical solution of the present invention, the following is illustrated by specific examples.
Example one
Fig. 1 is a flowchart illustrating a method for arranging a desktop layout according to an embodiment of the present invention, where the method may include the following steps:
s101: receiving an indication message for arranging a currently displayed desktop layout of a display screen into a vertical waterfall flow layout, wherein the indication message comprises the model of the display screen.
It should be noted that, the method for arranging the desktop layout in this embodiment is performed on a remote platform based on a JQuery framework by using a JavaScript language, for example: the method is carried out on a cloud server, and cross-browser arrangement is supported.
Wherein, the display screen is intelligent terminal's display screen, for example: a display screen of the smart television; when the intelligent terminal is an intelligent television, the desktop layout is the arrangement mode of all elements in the desktop of the intelligent television on the desktop, and the layout controls the display effect of the desktop of the intelligent television; waterfall flow (Masonry layout), also called waterfall flow type layout, is a relatively popular website page layout, the visual presentation is a ragged multi-column layout, as the page scroll bar rolls downwards, the layout can continuously load data blocks and attach to the current tail, and the two styles of the horizontal waterfall flow layout and the vertical waterfall flow layout are gradually formed at present, the heights of all pictures in the horizontal waterfall flow layout are kept consistent, the difference of the widths is used for forming the feeling of stagger and fall, the vertical waterfall flow layout is just opposite, the widths of all pictures are kept consistent, the difference of the heights is used for forming the feeling of stagger, and the effect to be realized by the embodiment of the invention is also realized.
In one embodiment, the operating system carried by the display screen is an android system. It should be noted that the desktop Launcher in the android system is Launcher, which is an application program that is started first after the android system is loaded, and is responsible for loading the desktop on the display screen of the terminal and loading various graphic elements in the desktop. It should also be noted that the desktop UI of the android system is collectively referred to as Launcher. It should be further noted that the method for arranging the desktop layout is suitable for any type of display screen.
In one embodiment, in order to reserve the existing media resources in the newly provided desktop layout, when the portrait waterfall flow layout is developed, relevant information in the desktop layout currently used by the user, including the number, size, distribution state, spacing, content and the like of icons, may be read.
In one embodiment, the indication message further includes a version identification of the current Launcher.
In one embodiment, the desktop layout currently displayed on the display screen is a layout other than a vertical waterfall layout, such as: and (4) horizontal waterfall flow layout.
Specifically, in one embodiment, after receiving an indication message that a user triggers through a matched remote controller to arrange a currently displayed desktop layout into a vertical waterfall flow layout, the smart television forwards the indication message to a cloud server for processing.
In one embodiment, the indication message is forwarded to the server with the least number of connections.
In one embodiment, after receiving the indication message of the same user for multiple times, the smart television distributes the indication message to the same server for processing.
S102: and acquiring configuration parameters corresponding to the model of the display screen from a pre-created mapping relation table, wherein the configuration parameters comprise the screen width of the display screen, and the transverse distance and the longitudinal distance between two adjacent data storage blocks in the vertical waterfall flow layout.
It should be noted that the data storage Block is a Block, which is the smallest unit of storage and processing in the database, and includes header information data of the Block itself, PL/SQL code, and the Block is an empty data Block at the time of initial creation, that is, does not fill any media resource.
In one embodiment, the mapping relation table further includes a corresponding relation between the model of the display screen and the resolution, so that in practical application, the layout of the Web end can be applied to the display screen of the smart television according to the resolution of the screen.
S103: and arranging a vertical waterfall flow layout according to the configuration parameters.
It should be understood that, after the configuration parameters are obtained, the server may be controlled to execute the corresponding arrangement task, so as to obtain an arrangement effect diagram of the vertical waterfall flow layout.
As can be seen from the above, in the embodiment of the present invention, firstly, an indication for arranging a currently displayed desktop layout of a display screen into a vertical waterfall flow layout is received, wherein the indication information includes a model of the display screen, then, configuration parameters corresponding to the model of the display screen are obtained from a pre-created mapping table, wherein the configuration parameters include a screen width of the display screen, a transverse distance and a longitudinal distance between two adjacent data storage blocks in a vertical waterfall flow layout, and finally, the vertical waterfall flow layout is arranged according to the configuration parameters.
Example two
Fig. 2-a is a flowchart of a method for arranging a desktop layout according to a second embodiment of the present invention, which is further detailed and explained with respect to step S103 in the first embodiment, where the method may include the following steps:
s201: receiving an indication message for arranging a currently displayed desktop layout of a display screen into a vertical waterfall flow layout, wherein the indication message comprises the model of the display screen.
S202: and acquiring configuration parameters corresponding to the model of the display screen from a pre-created mapping relation table, wherein the configuration parameters comprise the screen width of the display screen, and the transverse distance and the longitudinal distance between two adjacent data storage blocks in the vertical waterfall flow layout.
The above steps S201 to S202 are the same as the steps S101 to S102 in the first embodiment, and the specific implementation process thereof can refer to the description of the steps S101 to S102, which is not repeated herein.
S203: and determining the height of the content under each tab displayed in the display screen according to the configuration parameters.
In an embodiment, after obtaining the configuration parameters corresponding to the model of the display screen, it is further required to obtain relevant information in a desktop layout currently used by the user, so as to create a plurality of categories (i.e. create a plurality of tabs) according to the relevant information, and create a corresponding Tab page (i.e. create a corresponding Tab) for each Tab, where each Tab page may be regarded as a canvas or a table, each Tab page includes a header area and a corresponding content area, and the default number of blocks in the created Tab page is 0.
In one embodiment, after the corresponding Tab page is created for each Tab, the name and order of each Tab page is set separately, for example: after 7 Tab pages (e.g., Tab1, Tab2, Tab3, Tab4, Tab5, Tab6, Tab7) are created according to the desktop layout currently used by the user, their names and orders are set to a recommendation class (first screen), a drama class (second screen), a movie class (third screen), a spot class (fourth screen), an education class (fifth screen), a game class (sixth screen), and an application class (seventh screen), respectively. It should be noted that the same type of media resource may correspond to one or more Tab pages, and the Tab may be further divided into a top Tab, a side Tab and a bottom Tab according to the position of the Tab in the interface. It should be further noted that the first screen and the second screen are a first page currently displayed by the same smart television and a second page displayed next after the scroll bar is scrolled downward.
Specifically, in an embodiment, the formula for determining the height of the content displayed on the display screen under each tab in step S203 is as follows:
H=Row*(W-((Col-1)*LSpace))/Col+(Row-1)*HSpace
h is the height of the content under each tab displayed in the display screen, W is the screen width of the display screen, Col is the number of columns contained in the content area under each tab input by a user, LSpace is the transverse distance between two adjacent data storage blocks in the vertical waterfall flow layout, Row is the number of lines contained in the content area under each tab input by the user, and HSpace is the longitudinal distance between two adjacent data storage blocks in the vertical waterfall flow layout. It should be noted that the user is a user (i.e., a developer) faced by the server, and is not a user (i.e., a consumer) faced by the display screen.
It should be noted that the number of columns Col included in the content area under each tab is numerically equal to the number of unit data storage blocks that can be placed in each row; the number of rows Row contained in the content area under each tab is numerically equal to the number of unit data storage blocks that can be placed in each column.
S204: and arranging a vertical waterfall flow layout according to the determined height of the content under each tab displayed in the display screen.
Specifically, in one embodiment, the arranging of the vertical waterfall flow layout may include the following steps a1-A3 according to the determined height of the content under each tab displayed in the display screen:
a1: determining the corresponding row number and column number in the content area under each tab according to the determined height of the content under each tab displayed in the display screen;
a2: calculating the size of a unit data storage block in a content area under each tab according to the configuration parameters and the determined number of the columns;
a3: and according to the determined row number and column number and the size of the unit data storage block, arranging the content area in each tab fully.
It should be understood that the unknowns in the above formula are only the height H of the content under each tab displayed in the display screen, the number Col of columns contained in the content area under each tab input by the user, and the number Row contained in the content area under each tab input by the user after the configuration parameters are acquired. Therefore, according to the above formula and the number of rows and columns input by the developer in a certain tab, the height of the content under the tab displayed on the display screen can be obtained, and when the height is determined to be the corresponding preset height, the number of rows and columns matching the height is determined accordingly.
In practical application, for a certain tab, the number of rows in the content area under the tab may be fixed, then the number of columns in the content area under the tab is adjusted, it is determined whether the height of the content under the tab displayed on the display screen meets a preset height, if not, and the difference between the preset height and the height is large, the number of rows in the content area under the tab is increased, and then, according to the above formula, it is calculated whether the height of the content under the tab displayed on the display screen meets the preset height, if not, the number of columns in the content area under the tab is increased, and according to the above formula, it is recalculated whether the height of the content under the tab displayed on the display screen meets the preset height, if not, the above whole process is repeated, the current number of rows is fixed, and the number of columns is adjusted, then fixing the number of columns, adjusting the number of rows, fixing the number of rows finally, adjusting the number of columns, finally finding the height meeting the requirements after searching for many times, reading the number of rows and columns in the current page after finding the height meeting the requirements, and determining the number of rows and columns corresponding to the height value. In addition, in practical application, an influence curve of the number of rows and the number of columns on the height may be obtained first, and then the number of rows and the number of columns are adjusted based on the curve, so that the height of the content on the current page displayed on the display screen meets a preset height.
It should also be understood that, in practical applications, the number of rows and the number of columns included in the content area under a certain tab may also be adjusted at the same time, so that the height of the content under the certain tab displayed in the display screen satisfies the preset height value.
It should also be understood that the certain Tab may be any one Tab in the created Tab page, or may be all tabs, as the case may be, and is not limited herein.
It should be noted that, according to the screen width of the display screen included in the configuration parameters in step S202 and the number of columns determined in step a1, the size of the unit data storage block for filling the content area under a certain tab can be calculated. Wherein the unit data block has a width and a height that are both square blocks of one cell.
It should be further noted that, in the above step a3, the content area in each tab may also be filled with a rectangular data storage block, for example: and (3) arranging the content area in each tab by using the rectangular data storage blocks 1 × 2, the rectangular data blocks 2 × 1 and the rectangular data blocks 2 × 3, and correspondingly expanding the types of the data storage blocks by developers according to actual requirements.
In one embodiment, the content area in each tab is sequentially arranged from left to right.
S205: and storing the arranged vertical waterfall flow layout and feeding back arrangement result information to a user.
In one embodiment, after the vertical waterfall stream layout is arranged, the Web end can issue the vertical waterfall stream layout in time, so that the smart television can be applied after being turned on.
S206: and if the arrangement adjusting message sent by the user is received, rearranging the vertical waterfall flow layout according to the arrangement adjusting message.
In an embodiment, after receiving the scheduling adjustment message sent by the remote controller associated with the smart tv, the steps S201 to S205 are executed again according to the scheduling adjustment message to re-schedule the vertical waterfall flow layout.
2-b can be referred to in the effect diagram after the content area in the current tab is filled up by the data storage block at the Web end, and 2-c can be referred to in the result presented to the user after the layout effect diagram of fig. 2-b is applied by the smart television.
Therefore, the second embodiment of the application is compared with the first embodiment, a specific implementation mode for arranging the vertical waterfall flow layout according to the configuration parameters is provided, when the vertical waterfall flow layout is arranged at the Web end, the corresponding arrangement task is executed through the screen width of the fixed display screen, so that the width of the picture finally displayed on the intelligent television is kept consistent, the purpose of controlling the height of the picture finally displayed on the intelligent television is achieved through locking the number of rows and columns under each page label, and the first embodiment of the application has strong usability and practicability.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an apparatus for editing a desktop layout according to a third embodiment of the present invention, and for convenience of description, only the parts related to the third embodiment of the present invention are shown.
The device for arranging the desktop layout can be a software unit, a hardware unit or a combination unit of software and hardware which are built in the server, and can also be integrated into the server as an independent pendant.
The device for arranging the desktop layout comprises:
the display device comprises a receiving module 31, a display module and a display module, wherein the receiving module 31 is used for receiving an indication message for arranging a currently displayed desktop layout of a display screen into a vertical waterfall flow layout, and the indication message comprises the model of the display screen;
an obtaining module 32, configured to obtain configuration parameters corresponding to the model of the display screen from a pre-created mapping relationship table, where the configuration parameters include a screen width of the display screen, and a horizontal distance and a vertical distance between two adjacent data storage blocks in a vertical waterfall layout;
and the arranging module 33 is used for arranging a vertical waterfall flow layout according to the configuration parameters.
In one embodiment, the apparatus further comprises;
and the adjusting module is used for rearranging the vertical waterfall flow layout according to the arrangement adjusting information if the arrangement adjusting information sent by the user is received.
In one embodiment, the apparatus further comprises:
and the feedback module is used for storing the arranged vertical waterfall flow layout and feeding back arrangement result information to a user.
In one embodiment, the apparatus further comprises:
and the determining module is used for determining the height of the content under each tab displayed in the display screen according to the configuration parameters.
In one embodiment, the formula for determining the height of the content under each tab displayed in the display screen according to the configuration parameters is as follows:
H=Row*(W-((Col-1)*LSpace))/Col+(Row-1)*HSpace
h is the height of the content under each tab displayed in the display screen, W is the screen width of the display screen, Col is the number of columns contained in the content area under each tab input by a user, LSpace is the transverse distance between two adjacent data storage blocks in the vertical waterfall flow layout, Row is the number of lines contained in the content area under each tab input by the user, and HSpace is the longitudinal distance between two adjacent data storage blocks in the vertical waterfall flow layout.
In one embodiment, the orchestration module 33 is specifically configured to:
determining the corresponding row number and column number in the content area under each tab according to the determined height of the content under each tab displayed in the display screen;
calculating the size of a unit data storage block in a content area under each tab according to the configuration parameters and the determined number of the columns;
and according to the determined row number and column number and the size of the unit data storage block, arranging the content area in each tab completely, wherein each tab comprises a header area and a corresponding content area.
Example four
Fig. 4 is a schematic structural diagram of a server according to a fourth embodiment of the present invention. As shown in fig. 4, the server 4 of this embodiment includes: a processor 40, a memory 41 and a computer program 42 stored in said memory 41 and executable on said processor 40. The processor 40, when executing the computer program 42, implements the steps of the first embodiment of the method, such as the steps S101 to S103 shown in fig. 1. Alternatively, the steps in the second embodiment of the method described above, for example, steps S201 to S206 shown in fig. 2, are implemented. The processor 40, when executing the computer program 42, implements the functions of the modules/units in the above-described device embodiments, such as the functions of the modules 31 to 33 shown in fig. 3.
Illustratively, the computer program 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 42 in the server 4. For example, the computer program 42 may be divided into a receiving module, an obtaining module, and an arranging module, and the specific functions of each module are as follows:
the device comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving an indication message for arranging a currently displayed desktop layout of a display screen into a vertical waterfall flow layout, and the indication message comprises the model of the display screen;
the acquisition module is used for acquiring configuration parameters corresponding to the model of the display screen from a pre-established mapping relation table, wherein the configuration parameters comprise the screen width of the display screen, and the transverse distance and the longitudinal distance between two adjacent data storage blocks in a vertical waterfall flow layout;
and the arrangement module is used for arranging the vertical waterfall flow layout according to the configuration parameters.
The server 4 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The server may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 4 is merely an example of a server 4 and does not constitute a limitation of server 4 and may include more or fewer components than shown, or some components in combination, or different components, e.g., the server may also include input output devices, network access devices, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the server 4, such as a hard disk or a memory of the server 4. The memory 41 may also be an external storage device of the server 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the server 4. Further, the memory 41 may also include both an internal storage unit of the server 4 and an external storage device. The memory 41 is used for storing the computer program and other programs and data required by the server. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art would appreciate that the modules, elements, and/or method steps of the various embodiments described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that has been appropriately increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method of orchestrating a desktop layout, comprising:
receiving indication information for arranging a currently displayed desktop layout of a display screen into a vertical waterfall flow layout, wherein the indication information comprises the model of the display screen;
acquiring configuration parameters corresponding to the model of the display screen from a pre-established mapping relation table, wherein the configuration parameters comprise the screen width of the display screen, and the transverse distance and the longitudinal distance between two adjacent data storage blocks in a vertical waterfall flow layout;
and arranging a vertical waterfall flow layout according to the configuration parameters.
2. The method of claim 1, further comprising, prior to arranging a portrait waterfall flow layout according to the configuration parameters:
and determining the height of the content under each tab displayed in the display screen according to the configuration parameters.
3. The method of claim 2, wherein the formula for determining the height of the content under each tab displayed in the display screen according to the configuration parameters is:
H=Row*(W-((Col-1)*LSpace))/Col+(Row-1)*HSpace
h is the height of the content under each tab displayed in the display screen, W is the screen width of the display screen, Col is the number of columns contained in the content area under each tab input by a user, LSpace is the transverse distance between two adjacent data storage blocks in the vertical waterfall flow layout, Row is the number of lines contained in the content area under each tab input by the user, and HSpace is the longitudinal distance between two adjacent data storage blocks in the vertical waterfall flow layout.
4. The method of claim 2, wherein said orchestrating a portrait waterfall flow layout according to the configuration parameters comprises:
determining the corresponding row number and column number in the content area under each tab according to the determined height of the content under each tab displayed in the display screen;
calculating the size of a unit data storage block in a content area under each tab according to the configuration parameters and the determined number of the columns;
and according to the determined row number and column number and the size of the unit data storage block, arranging the content area in each tab completely, wherein each tab comprises a header area and a corresponding content area.
5. The method of claim 1, further comprising, after the vertical waterfall flow layout is laid out:
and storing the arranged vertical waterfall flow layout and feeding back arrangement result information to a user.
6. The method according to any one of claims 1 to 5, further comprising:
and if the arrangement adjustment information sent by the user is received, rearranging the vertical waterfall flow layout according to the arrangement adjustment information.
7. An apparatus for orchestrating a layout of a desktop, comprising:
the device comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving an indication message for arranging a currently displayed desktop layout of a display screen into a vertical waterfall flow layout, and the indication message comprises the model of the display screen;
the acquisition module is used for acquiring configuration parameters corresponding to the model of the display screen from a pre-established mapping relation table, wherein the configuration parameters comprise the screen width of the display screen, and the transverse distance and the longitudinal distance between two adjacent data storage blocks in a vertical waterfall flow layout;
and the arrangement module is used for arranging the vertical waterfall flow layout according to the configuration parameters.
8. The apparatus of claim 6, further comprising:
and the adjusting module is used for rearranging the vertical waterfall flow layout according to the arrangement adjusting information if the arrangement adjusting information sent by the user is received.
9. A server comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 6 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201811487297.3A 2018-12-06 2018-12-06 Method and device for arranging desktop layout and server Pending CN111294635A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811487297.3A CN111294635A (en) 2018-12-06 2018-12-06 Method and device for arranging desktop layout and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811487297.3A CN111294635A (en) 2018-12-06 2018-12-06 Method and device for arranging desktop layout and server

Publications (1)

Publication Number Publication Date
CN111294635A true CN111294635A (en) 2020-06-16

Family

ID=71024248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811487297.3A Pending CN111294635A (en) 2018-12-06 2018-12-06 Method and device for arranging desktop layout and server

Country Status (1)

Country Link
CN (1) CN111294635A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112188292A (en) * 2020-08-28 2021-01-05 福州智象信息技术有限公司 Television desktop construction method based on android operating system
CN112866819A (en) * 2020-12-31 2021-05-28 百视通网络电视技术发展有限责任公司 Waterfall flow floor-type display interaction method, medium and equipment based on reactive native

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012100607A1 (en) * 2011-01-27 2012-08-02 腾讯科技(深圳)有限公司 Terminal desktop processing system, terminal, server and method
CN104915268A (en) * 2015-06-24 2015-09-16 上海海漾软件技术有限公司 Desktop layout storage and recovery method and device thereof, terminal equipment and system
CN107343216A (en) * 2017-06-29 2017-11-10 环球智达科技(北京)有限公司 System for showing the waterfall stream page
CN108228816A (en) * 2017-12-29 2018-06-29 北京奇虎科技有限公司 A kind of loading method and device of waterfall flow graph piece

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012100607A1 (en) * 2011-01-27 2012-08-02 腾讯科技(深圳)有限公司 Terminal desktop processing system, terminal, server and method
CN104915268A (en) * 2015-06-24 2015-09-16 上海海漾软件技术有限公司 Desktop layout storage and recovery method and device thereof, terminal equipment and system
CN107343216A (en) * 2017-06-29 2017-11-10 环球智达科技(北京)有限公司 System for showing the waterfall stream page
CN108228816A (en) * 2017-12-29 2018-06-29 北京奇虎科技有限公司 A kind of loading method and device of waterfall flow graph piece

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112188292A (en) * 2020-08-28 2021-01-05 福州智象信息技术有限公司 Television desktop construction method based on android operating system
CN112188292B (en) * 2020-08-28 2022-11-18 福州智象信息技术有限公司 Television desktop construction method based on android operating system
CN112866819A (en) * 2020-12-31 2021-05-28 百视通网络电视技术发展有限责任公司 Waterfall flow floor-type display interaction method, medium and equipment based on reactive native
CN112866819B (en) * 2020-12-31 2023-04-18 百视通网络电视技术发展有限责任公司 Waterfall flow floor-type display interaction method, medium and equipment based on reactive native

Similar Documents

Publication Publication Date Title
RU2639651C2 (en) Image identification and organization according to model without user intervention
US11048484B2 (en) Automated responsive grid-based layout design system
JP2022534214A (en) Systems and methods for providing responsive editing and viewing that integrate hierarchical fluid components and dynamic layouts
EP3040841A1 (en) Electronic device and resource display method
CN105392065A (en) Method and system for arranging page content of intelligent television
CN107818008B (en) Page loading method and device
CN104239305A (en) Electronic document generating and displaying method and apparatus
CN106296622B (en) Automatic layout jigsaw method and device
CN109492607B (en) Information pushing method, information pushing device and terminal equipment
CN112055244B (en) Image acquisition method and device, server and electronic equipment
AU2019275490A1 (en) Method of processing push information, method of pushing advertisement information, device and platform
US20170091152A1 (en) Generating grid layouts with mutable columns
CN112015509A (en) Data visualization large screen construction method, electronic device and storage medium
US9030378B2 (en) Sharing display processing system, display processing system, and display method
KR20200133399A (en) Displaying applications on a fixed orientation display
CN111294635A (en) Method and device for arranging desktop layout and server
CN109213316B (en) Automatic layout engine
US9183215B2 (en) Mosaic display systems and methods for intelligent media search
CN105045587A (en) Picture display method and apparatus
CN103049430A (en) Page display method based on IDF (interactive document format) files
CN111767492B (en) Picture loading method and device, computer equipment and storage medium
CN110456999B (en) Program creation method, program creation device, electronic equipment and computer readable storage medium
CN106535002B (en) Desktop starter template layout updating method and device
CN112492399B (en) Information display method and device and electronic equipment
US20150186456A1 (en) Electronic apparatus and method of executing application program

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200616

RJ01 Rejection of invention patent application after publication