CN107168673B - Window control method, device and system, storage medium and processor - Google Patents

Window control method, device and system, storage medium and processor Download PDF

Info

Publication number
CN107168673B
CN107168673B CN201710344511.9A CN201710344511A CN107168673B CN 107168673 B CN107168673 B CN 107168673B CN 201710344511 A CN201710344511 A CN 201710344511A CN 107168673 B CN107168673 B CN 107168673B
Authority
CN
China
Prior art keywords
windows
arrangement
arrangement mode
size
window
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.)
Active
Application number
CN201710344511.9A
Other languages
Chinese (zh)
Other versions
CN107168673A (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.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics 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 Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202011630746.2A priority Critical patent/CN112612440A/en
Priority to CN201710344511.9A priority patent/CN107168673B/en
Publication of CN107168673A publication Critical patent/CN107168673A/en
Application granted granted Critical
Publication of CN107168673B publication Critical patent/CN107168673B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1446Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display display composed of modules, e.g. video walls

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Digital Computer Display Output (AREA)

Abstract

The invention discloses a window control method, device and system, a storage medium and a processor. Wherein, the method comprises the following steps: determining a first arrangement mode from a plurality of preset arrangement modes, wherein the first arrangement mode is used for arranging a plurality of windows displayed on a spliced screen, the total area of the plurality of windows obtained by arrangement according to the first arrangement mode is larger than the total area of the plurality of windows obtained by arrangement according to a second arrangement mode, and the second arrangement mode is any one arrangement mode except the first arrangement mode in the plurality of arrangement modes; arranging the windows according to a first arrangement mode to obtain a plurality of arranged windows; and controlling the spliced screen to display the arranged windows. The invention solves the technical problem that the display space of the spliced screen cannot be fully utilized by adjusting a plurality of windows on the spliced screen in the prior art.

Description

Window control method, device and system, storage medium and processor
Technical Field
The invention relates to the field of spliced screens, in particular to a window control method, device and system, a storage medium and a processor.
Background
Multiple windows often appear on the spliced screen, each window can move freely and can be zoomed in and zoomed out, and the arrangement of the windows can be very disordered. In order to arrange a plurality of windows displayed on a spliced screen, each window can be manually zoomed in and zoomed out and arranged in the prior art, but the manual zooming in and zooming out and arrangement is very time-consuming, all the windows can not be arranged orderly, and the display space of the spliced screen is not fully utilized, so that the waste of the display space is caused.
Aiming at the problem that the display space of the spliced screen cannot be fully utilized by adjusting a plurality of windows on the spliced screen in the prior art, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a window control method, a device and a system, a storage medium and a processor, which are used for at least solving the technical problem that the display space of a spliced screen cannot be fully utilized by adjusting a plurality of windows on the spliced screen in the prior art.
According to an aspect of an embodiment of the present invention, there is provided a method for controlling a window, including: determining a first arrangement mode from a plurality of preset arrangement modes, wherein the first arrangement mode is used for arranging a plurality of windows displayed on a spliced screen, the total area of the plurality of windows obtained by arrangement according to the first arrangement mode is larger than the total area of the plurality of windows obtained by arrangement according to a second arrangement mode, and the second arrangement mode is any one arrangement mode except the first arrangement mode in the plurality of arrangement modes; arranging the windows according to a first arrangement mode to obtain a plurality of arranged windows; and controlling the spliced screen to display the arranged windows.
Further, determining a first arrangement manner from a plurality of preset arrangement manners includes: acquiring a plurality of arrangement modes; calculating the total area of the plurality of windows obtained by arranging according to each arrangement mode; comparing the total areas of the windows obtained by arranging according to each arrangement mode to obtain an arrangement mode corresponding to the maximum total area; and taking the arrangement mode corresponding to the maximum total area as a first arrangement mode.
Further, obtaining a plurality of permutation modes includes: acquiring the size of a spliced screen, the minimum size of each window, the distance between any two windows and the number of a plurality of windows; obtaining a plurality of display sizes according to the size of the spliced screen, the minimum size of each window, the distance between any two windows and the number of the plurality of windows; judging whether each display size meets a preset condition or not; and if any one display size meets the preset condition, storing the any one display size, the first transverse arrangement number and the first longitudinal arrangement number corresponding to the any one display size to obtain a plurality of arrangement modes.
Further, according to the size of the tiled screen, the minimum size of each window, the distance between any two windows and the number of the windows, obtaining a plurality of display sizes, including: obtaining a plurality of first transverse arrangement quantities according to the size of the spliced screen, the minimum size of each window and the distance between any two windows; obtaining a plurality of first longitudinal arrangement quantities according to the quantity of the plurality of windows and the plurality of first transverse arrangement quantities; and obtaining a plurality of display sizes according to the first longitudinal arrangement quantity, the size of the spliced screen and the distance between any two windows.
Further, judging whether each display size meets a preset condition comprises the following steps: judging whether each display size is larger than or equal to the minimum size of each window, and judging whether the display size of at least one window arranged transversely is smaller than or equal to the size of the spliced screen; if the first display size is larger than or equal to the minimum size of each window and the display size of at least one window arranged transversely is smaller than or equal to the size of the spliced screen, determining that the first display size meets a preset condition; and if the second display size is smaller than the minimum size of each window or the display size of at least one window arranged transversely is larger than the size of the spliced screen, determining that the second display size does not meet the preset condition.
Further, determining a first arrangement manner from a plurality of preset arrangement manners includes: acquiring the size of a spliced screen, the minimum size of each window and the distance between any two windows; and obtaining a first arrangement mode through a preset method according to the size of the spliced screen, the minimum size of each window and the distance between any two windows.
Further, arranging the plurality of windows according to the first arrangement mode to obtain a plurality of arranged windows includes: according to the first arrangement mode, display parameters of a plurality of windows are determined, wherein the display parameters comprise: a display size and a display position; and arranging the windows according to the display parameters of the windows to obtain the arranged windows.
Further, according to the first arrangement mode, determining display parameters of a plurality of windows comprises: obtaining the display sizes of a plurality of windows according to the display sizes corresponding to the first arrangement mode; and obtaining the display positions of the windows according to the first transverse arrangement number and the first longitudinal arrangement number corresponding to the first arrangement mode and the distance between any two windows.
Further, before determining the first arrangement manner from the preset plurality of arrangement manners, the method further includes: judging whether a window arrangement instruction sent by control equipment is received; and if the window arrangement instruction is judged to be received, determining a first arrangement mode from a plurality of preset arrangement modes.
Further, before determining the first arrangement manner from the preset plurality of arrangement manners, the method further includes: obtaining a second transverse arrangement number and a second longitudinal arrangement number of the plurality of windows according to the size of the spliced screen, the minimum size of each window and the distance between any two windows; judging whether the number of the plurality of windows exceeds the product of the second transverse arrangement number and the second longitudinal arrangement number; and if the number of the plurality of windows does not exceed the product of the second transverse arrangement number and the second longitudinal arrangement number, determining the first arrangement mode from a plurality of preset arrangement modes.
Further, if the number of the plurality of windows exceeds the product of the second number of the transverse arrangements and the second number of the longitudinal arrangements, the method further comprises: and generating prompt information and displaying the prompt information, wherein the prompt information is used for prompting to close the window.
According to another aspect of the embodiments of the present invention, there is also provided a control apparatus of a window, including: the device comprises a determining unit, a display unit and a display unit, wherein the determining unit is used for determining a first arrangement mode from a plurality of preset arrangement modes, the first arrangement mode is used for arranging a plurality of windows displayed on a spliced screen, the total area of the plurality of windows obtained by arrangement according to the first arrangement mode is larger than the total area of the plurality of windows obtained by arrangement according to a second arrangement mode, and the second arrangement mode is any one arrangement mode except the first arrangement mode in the plurality of arrangement modes; the arrangement unit is used for arranging the windows according to the arrangement mode of the windows to obtain a plurality of arranged windows; and the control unit is used for controlling the spliced screen to display the arranged windows.
According to another aspect of the embodiments of the present invention, there is also provided a control system of a window, including: the server is used for determining a first arrangement mode from a plurality of preset arrangement modes, arranging a plurality of windows displayed on the spliced screen according to the first arrangement mode to obtain a plurality of arranged windows, wherein the first arrangement mode is used for arranging the plurality of windows, the total area of the plurality of windows obtained by arranging according to the first arrangement mode is larger than the total area of the plurality of windows obtained by arranging according to a second arrangement mode, and the second arrangement mode is any one arrangement mode except the first arrangement mode in the plurality of arrangement modes; and the splicing screen is connected with the server and used for displaying the arranged windows.
Further, the above system further comprises: the control equipment is connected with the server and used for sending the window arrangement instruction; the server is further used for determining a first arrangement mode from a plurality of preset arrangement modes if the window arrangement instruction is judged to be received.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium including a stored program, wherein when the program runs, a device in which the storage medium is controlled executes the control method of the window in the above embodiments.
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to execute a program, where the program executes the control method of the window in the above embodiments.
In the embodiment of the invention, a first arrangement mode is determined from a plurality of preset arrangement modes, a plurality of windows are arranged according to the first arrangement mode to obtain a plurality of arranged windows, and the spliced screen is controlled to display the plurality of arranged windows, so that the aim of aligning and arranging all windows displayed in the spliced screen is fulfilled. It is easy to notice that the total area of the windows obtained by arranging according to the first arrangement mode is larger than the total area of the windows obtained by arranging according to other arrangement modes in the plurality of arrangement modes, that is, after the windows are arranged according to the first arrangement mode, the total area of the windows after arrangement is the largest, thereby solving the technical problem that the display space of the spliced screen cannot be fully utilized by adjusting the windows on the spliced screen in the prior art. Therefore, by the scheme provided by the embodiment of the invention, the technical effects of improving the utilization rate of the display space of the spliced screen and reducing the waste of the display space can be achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of a control method of a window according to an embodiment of the present invention;
FIG. 2 is a flow chart of an alternative calculation of window arrangement, size and coordinates according to an embodiment of the present invention;
FIG. 3 is a flow chart of an alternative window control method according to an embodiment of the present invention;
FIG. 4 is a flow chart of an alternative way of obtaining a first arrangement according to embodiments of the invention;
FIG. 5 is a schematic view of a control device for a window according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a control system for a window in accordance with an embodiment of the present invention; and
FIG. 7 is a schematic diagram of an alternative windowed control system, in accordance with an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a method for controlling a window, it should be noted that the steps illustrated in the flowchart of the accompanying drawings may be executed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be executed in an order different than that herein.
Fig. 1 is a flowchart of a control method of a window according to an embodiment of the present invention, as shown in fig. 1, the method including the steps of:
step S102, determining a first arrangement manner from a plurality of preset arrangement manners, where the first arrangement manner is used to arrange a plurality of windows displayed on the mosaic screen, and a total area of the plurality of windows obtained by arranging according to the first arrangement manner is larger than a total area of the plurality of windows obtained by arranging according to a second arrangement manner, and the second arrangement manner is any one arrangement manner of the plurality of arrangement manners except the first arrangement manner.
Specifically, the preset arrangement manners are arrangement manners corresponding to the windows, which are obtained in advance, that is, the number of the arrangement manners corresponds to the number of the windows, and the arrangement manners may include: the number of windows arranged in the transverse direction and the number of windows arranged in the longitudinal direction.
It should be noted that, there are various arrangement modes of multiple windows with different numbers, the arrangement modes of multiple windows with the same number may form one combination of arrangement modes, a set includes multiple arrangement modes, the sizes of the windows with different arrangement modes are different, and the first arrangement mode may be an arrangement mode in which the total area of multiple windows in the arrangement mode set is the largest, so as to ensure that the display space can be used to the maximum extent, and reduce the waste of the display space.
And step S104, arranging the windows according to the first arrangement mode to obtain a plurality of arranged windows.
And S106, controlling the spliced screen to display the arranged windows.
In an optional scheme, a server of the tiled screen (e.g., a graphic workstation controlling the tiled screen) may obtain, from a plurality of arrangement modes corresponding to all windows displayed in the tiled screen, an arrangement mode in which a total area of all windows is the largest, that is, a first arrangement mode, arrange all windows according to the first arrangement mode to obtain a plurality of arranged windows, and send the plurality of arranged windows to the tiled screen for display by the tiled screen.
According to the embodiment of the invention, the first arrangement mode is determined from the preset arrangement modes, the windows are arranged according to the first arrangement mode to obtain the arranged windows, and the spliced screen is controlled to display the arranged windows, so that the aim of aligning and arranging all the windows displayed in the spliced screen is fulfilled. It is easy to notice that the total area of the windows obtained by arranging according to the first arrangement mode is larger than the total area of the windows obtained by arranging according to other arrangement modes in the plurality of arrangement modes, that is, after the windows are arranged according to the first arrangement mode, the total area of the windows after arrangement is the largest, thereby solving the technical problem that the display space of the spliced screen cannot be fully utilized by adjusting the windows on the spliced screen in the prior art. Therefore, by the scheme provided by the embodiment of the invention, the technical effects of improving the utilization rate of the display space of the spliced screen and reducing the waste of the display space can be achieved.
Optionally, in the foregoing embodiment of the present invention, in step S102, determining the first arrangement manner from a plurality of preset arrangement manners includes:
in step S1022, a plurality of arrangement modes are acquired.
Step S1024, calculating the total area of the plurality of windows arranged in each arrangement manner.
Step S1026, comparing the total areas of the plurality of windows obtained by arranging according to each arrangement mode, and obtaining an arrangement mode corresponding to the maximum total area.
In step S1028, the arrangement corresponding to the maximum total area is set as the first arrangement.
In an optional scheme, the server may enumerate all possible arrangement modes according to the number of the multiple windows displayed in the tiled screen, that is, obtain multiple arrangement mode sets, and may calculate the total area of the windows in each arrangement mode according to the current settings (including the minimum size of the windows and the window interval) of the windows and select the arrangement mode corresponding to the maximum area as the first arrangement mode.
Optionally, in the foregoing embodiment of the present invention, in step S1022, acquiring a plurality of arrangement manners includes:
and S108, acquiring the size of the spliced screen, the minimum size of each window, the distance between any two windows and the number of the windows.
Specifically, the size of the spliced screen may include the length W and the height H of the spliced screen; on the upper partThe minimum dimension may comprise the minimum length W of the windowminAnd minimum height Hmin(ii) a The spacing between any two of the windows described above may comprise a left-right spacing WgAnd the upper and lower spacing Hg
And step S110, obtaining a plurality of display sizes according to the size of the spliced screen, the minimum size of each window, the distance between any two windows and the number of the windows.
Specifically, the size of each window displayed on the tiled screen is the same, and is the display size described above, and may include the display length w and the display height g of the window.
In an alternative, as shown in FIG. 2, the length W and height H of the tiled screen and the minimum length W of the window can be obtainedminAnd minimum height HminLeft-right spacing W between any two windowsgAnd the upper and lower spacing HgAnd the number N of the windows is multiple, and multiple display lengths w and display heights h are obtained through calculation according to the obtained data.
In step S112, it is determined whether each display size satisfies a preset condition.
Specifically, the preset condition may be a preset condition for determining that the display size meets the display requirement.
Step S114, if any display size meets the preset condition, storing any display size, the first transverse arrangement number and the first longitudinal arrangement number corresponding to any display size to obtain a plurality of arrangement modes.
In an alternative scheme, as shown in fig. 2, after a plurality of display lengths and display heights are calculated, it may be determined whether each of the calculated display lengths and display heights meets a preset condition, if a certain display length and display height meets the preset condition, it is determined that the display length and display height meet the display requirement, and the display length and display height, and the corresponding horizontal arrangement number and vertical arrangement number may be stored as an arrangement manner; and if a certain display length and a certain display height do not meet the preset condition, determining that the display length and the display height do not meet the display requirement, and directly abandoning.
Optionally, in the foregoing embodiment of the present invention, in step S110, obtaining a plurality of display sizes according to the size of the tiled display, the minimum size of each window, the distance between any two windows, and the number of the plurality of windows, includes:
step S1102, a plurality of first horizontal arrangement numbers are obtained according to the size of the tiled screen, the minimum size of each window, and the distance between any two windows.
In an alternative scheme, as shown in fig. 2, the length and height of the tiled screen, the minimum length and height of the windows, and the left-right distance and the up-down distance between any two windows may be obtained, and the maximum number m of horizontal arrangements and the maximum number n of vertical arrangements may be obtained by calculation according to the obtained data, where the first number i of horizontal arrangements may be any one value from 1 to m, and the first number i of horizontal arrangements is increased by 1 once per cycle, that is, in the first cycle, i is 1, in the second cycle, i is 2, and so on.
Step S1104, a plurality of first vertical arrangement numbers are obtained according to the number of the plurality of windows and the plurality of first horizontal arrangement numbers.
In an alternative, as shown in fig. 2, after determining the first transversely-arranged number i, first determining whether i is greater than the number N of the multiple windows, if not, calculating a ratio of the number N of the multiple windows to the first transversely-arranged number i, and rounding up to obtain a first longitudinally-arranged number, i.e., j is rounded up to N/i.
It should be noted that, if it is determined that i is greater than N in the cyclic process, the whole cyclic process is ended to obtain a plurality of arrangement modes corresponding to the plurality of windows.
Step S1106, obtaining a plurality of display sizes according to the first plurality of vertical arrangement numbers, the size of the tiled screen, and the distance between any two windows.
In an alternative, as shown in fig. 2, the display length and the display height of each window can be calculated by the following formula: w ═ W- (j-1) Wg) W/c, where c is the length-height ratio of the preset window, and the calculated display length w are judgedDisplaying whether the height h meets a preset condition, and if so, storing i, j, w and h as an arrangement mode; if not, the next cycle is performed, increasing the first number of transversal alignments i by 1.
Optionally, in the foregoing embodiment of the present invention, the step S112 of determining whether each display size satisfies a preset condition includes:
in step S1122, it is determined whether or not each display size is equal to or larger than the minimum size of each window, and whether or not the display size of at least one of the windows arranged in the lateral direction is equal to or smaller than the size of the tiled screen.
In step S1124, if the first display size is greater than or equal to the minimum size of each window, and the display size of at least one of the windows arranged in the horizontal direction is less than or equal to the size of the tiled screen, it is determined that the first display size satisfies a preset condition.
Step S1126, if the second display size is smaller than the minimum size of each window, or the display size of at least one window arranged transversely is larger than the size of the spliced screen, determining that the second display size does not meet the preset condition.
In an alternative, as shown in FIG. 2, after calculating the display length W and the display height g of each window, it can be determined whether W is greater than WminWhether H is greater than HminAnd whether the display size of at least one window arranged transversely is smaller than or equal to the size of the spliced screen, namely H-i x H- (i-1) HgIf it is greater than 0, if w>Wmin,h>HminAnd H-i H- (i-1) Hg>0, determining that each display size meets a preset condition, and storing i and j in an arrangement mode set; otherwise, the next cycle can be performed, increasing the first number of transversal alignments by 1.
Optionally, in the foregoing embodiment of the present invention, in step S102, determining the first arrangement manner from a plurality of preset arrangement manners includes:
and step S116, acquiring the size of the spliced screen, the minimum size of each window and the distance between any two windows.
And S118, obtaining a first arrangement mode through a preset method according to the size of the spliced screen, the minimum size of each window and the distance between any two windows.
Specifically, the preset method may be a method for optimizing an objective function, and the first arrangement mode may be calculated in advance according to the length and height of the spliced screen, the minimum length and minimum height of the windows, and the left-right distance and the up-down distance between any two windows under the condition that the number of different windows is calculated.
In an optional scheme, after receiving a window arrangement instruction, the server obtains the length and the height of the spliced screen, the minimum length and the minimum height of the window, and the left-right distance and the up-down distance between any two windows, and calculates to obtain a first arrangement mode according to the obtained data.
Through the scheme, the first arrangement mode can be determined directly through the preset algorithm, enumeration of all possible arrangement modes is avoided, the operation amount is reduced, and the control efficiency is improved.
Optionally, in the foregoing embodiment of the present invention, in step S104, the arranging the multiple windows according to the first arrangement manner to obtain the arranged multiple windows includes:
step S1042, determining display parameters of a plurality of windows according to the first arrangement mode, where the display parameters include: display size and display position.
Specifically, the above-described display position may be the upper left-hand corner coordinate of each window.
And step S1044, arranging the windows according to the display parameters of the windows to obtain the arranged windows.
In an optional scheme, after the server calculates to obtain the first arrangement mode, that is, the arrangement number i of the horizontal windows and the arrangement number j of the vertical windows, the display height w, the display length h and the coordinates of the upper left corner of each window can be calculated, the server can arrange the windows according to the calculated display parameters to obtain the arranged windows, and send the arranged windows to the splicing screen for display by the splicing screen.
It should be noted that, after the server calculates the display parameters of each window, the server may directly send the display parameters of each window to the mosaic screen, and the mosaic screen displays a plurality of windows according to the display parameters of each window.
Optionally, in the foregoing embodiment of the present invention, in step S1042, determining display parameters of multiple windows according to the first arrangement manner, where the determining includes:
step S120, obtaining display sizes of the windows according to the display size corresponding to the first arrangement mode.
And step S122, obtaining the display positions of the windows according to the first transverse arrangement quantity and the first longitudinal arrangement quantity corresponding to the first arrangement mode and the distance between any two windows.
In an alternative scheme, the display length W and the display height h can be obtained by calculating through the formula, the display length W and the display height h which can be obtained by calculation are used as the display length and the display height of each display window, and the upper left corner coordinate (l (W + W) of the window in the line k and the column l is obtained by calculating through the following formulag),k*(h+Hg) That is, the display position of each window is obtained.
Optionally, in the foregoing embodiment of the present invention, before determining the first arrangement manner from the preset plurality of arrangement manners in step S102, the method further includes the following steps:
in step S124, it is determined whether a window arrangement instruction sent by the control device is received.
Specifically, the control device may be a smart phone (including an Android phone and an IOS phone), an IPAD, a tablet computer, a touch all-in-one machine, a notebook computer, a computer terminal, etc., which is not specifically limited in the present invention; the window arrangement instruction may be an instruction generated by clicking a key, clicking a link, performing a gesture operation, or the like.
In step S126, if it is determined that the window arrangement instruction is received, a first arrangement manner is determined from a plurality of preset arrangement manners.
In an alternative scheme, a "window arrangement" function may be added to a control program installed on the control device, a user clicks a "window arrangement" key to generate a window arrangement instruction and send the window arrangement instruction to the server, and after receiving the window arrangement instruction, the server may determine an arrangement mode with the largest area of all windows in all possible arrangement modes, that is, a first arrangement mode.
Optionally, in the foregoing embodiment of the present invention, before determining the first arrangement manner from the preset plurality of arrangement manners in step S102, the method further includes the following steps:
and step S128, obtaining a second transverse arrangement number and a second longitudinal arrangement number of the plurality of windows according to the size of the spliced screen, the minimum size of each window and the distance between any two windows.
Specifically, the above-described second transversely arranged number and second longitudinally arranged number may be the maximum transversely arranged number and the maximum longitudinally arranged number.
In an optional scheme, the length and height of the spliced screen, the minimum length and minimum height of the windows, and the left-right distance and the up-down distance between any two windows can be obtained, and the maximum transverse arrangement number m and the maximum longitudinal arrangement number n are obtained by calculating according to the obtained data through the following formulas:
Figure BDA0001296127060000101
the whole is taken down and taken up,
Figure BDA0001296127060000102
and rounding down.
Step S130, determining whether the number of the plurality of windows exceeds the product of the second horizontally arranged number and the second vertically arranged number.
Step S132, if the number of the plurality of windows does not exceed the product of the second transverse arrangement number and the second longitudinal arrangement number, determining a first arrangement manner from a plurality of preset arrangement manners.
In an optional scheme, after the maximum transverse arrangement number m and the maximum longitudinal arrangement number n are obtained through calculation, the product of m and n may be calculated to obtain the maximum number of arrangeable windows on the spliced screen, and after the server receives a window arrangement instruction sent by the control device, it may first be determined whether the number of windows displayed on the spliced screen exceeds the maximum number of arrangeable windows on the spliced screen, and if not, a first arrangement mode may be obtained through an enumeration method or a method using an optimization objective function.
Optionally, in the above embodiment of the present invention, if the number of the plurality of windows exceeds the product of the second number of the transverse arrangements and the second number of the longitudinal arrangements, the method further includes the steps of:
and step S134, generating prompt information and displaying the prompt information, wherein the prompt information is used for prompting to close the window.
In an alternative, if so, a prompt may be generated to prompt the user to close the window that is not needed.
Fig. 3 is a flowchart of an alternative window control method according to an embodiment of the present invention, fig. 4 is a flowchart of an alternative first arrangement manner of acquisition according to an embodiment of the present invention, and a preferred embodiment of the present invention is described in detail below with reference to fig. 3 and 4.
As illustrated in fig. 3, the method may include the steps of:
in step S31, the control device issues a window arrangement instruction.
Alternatively, the operator may trigger the window arrangement instruction on the control device by clicking a key, clicking a link, performing a gesture operation, or the like.
In step S32, it is determined whether the current window exceeds the maximum alignable window.
Optionally, assuming that N windows are total on the tiled screen, and the number of current windows is N, the windows are arrangeable into m rows and N columns at most, and the number of the arrangeable windows is m × N at most, after receiving a window arrangement instruction sent by the control device, the server may first determine whether N exceeds m × N, and if not, go to step S33; if so, the flow proceeds to step S35.
And step S33, calculating the arrangement mode of the windows, the size of the windows and the coordinates of the upper left corner of the windows.
Optionally, if N is not greater than m × N, the server determines that all windows can be completely displayed on the mosaic screen, calculates the size of the window in each window arrangement mode, selects the window arrangement mode with the largest total area of all windows from the window arrangement modes, and calculates the coordinate of the upper left corner of each window in the window arrangement mode.
In step S34, the window is scaled and arranged.
Optionally, the server may scale each window according to the size of each window, arrange the plurality of windows according to the coordinates of the upper left corner of each window, obtain the arranged windows, and control the mosaic screen to display the arranged windows.
Step S35 prompts the user to close the unneeded windows.
Alternatively, if N > m × N, the server determines that all windows cannot be displayed on the mosaic screen, prompting the user to close unneeded windows.
As shown in fig. 4, the method for obtaining the first arrangement may include the following steps:
in step S41, all window arrangements are enumerated.
Optionally, after receiving the window arrangement instruction, the server may enumerate all possible window arrangement modes according to the number of currently opened windows.
Step S42, calculating the window length, width and area according to the current setting and window arrangement.
Alternatively, the length, width, and area of the windows in each arrangement may be calculated for all the window arrangements and the current settings for the windows (the minimum size of the windows, the window pitch).
In step S43, one of all the arrangement modes having the largest window area is selected.
In step S44, the position of each window in the arrangement is calculated.
Alternatively, an arrangement mode with the largest window area may be selected, and the position of each window in the arrangement mode, that is, the coordinates of the upper left corner of each window, may be calculated.
Through the steps, after the window arrangement instruction is received, the first arrangement mode can be obtained, the length, the width and the position of the window are automatically adjusted, and meanwhile, the display space of the spliced screen is fully utilized.
Example 2
According to an embodiment of the present invention, there is provided an embodiment of a control apparatus for a window.
Fig. 5 is a schematic diagram of a control apparatus of a window according to an embodiment of the present invention, as shown in fig. 5, the apparatus including:
the determining unit 51 is configured to determine a first arrangement manner from a plurality of preset arrangement manners, where the first arrangement manner is used to arrange a plurality of windows displayed on the mosaic screen, and a total area of the plurality of windows arranged according to the first arrangement manner is larger than a total area of the plurality of windows arranged according to a second arrangement manner, and the second arrangement manner is any one arrangement manner of the plurality of arrangement manners except the first arrangement manner.
Specifically, the preset arrangement manners are arrangement manners corresponding to the windows, which are obtained in advance, that is, the number of the arrangement manners corresponds to the number of the windows, and the arrangement manners may include: the number of windows arranged in the transverse direction and the number of windows arranged in the longitudinal direction.
It should be noted that, there are various arrangement modes of multiple windows with different numbers, the arrangement modes of multiple windows with the same number may form one combination of arrangement modes, a set includes multiple arrangement modes, the sizes of the windows with different arrangement modes are different, and the first arrangement mode may be an arrangement mode in which the total area of multiple windows in the arrangement mode set is the largest, so as to ensure that the display space can be used to the maximum extent, and reduce the waste of the display space.
The arranging unit 53 is configured to arrange the plurality of windows according to a first arrangement manner, so as to obtain a plurality of arranged windows.
And the control unit 55 is used for controlling the spliced screen to display the arranged windows.
In an optional scheme, a server of the tiled screen (e.g., a graphic workstation controlling the tiled screen) may obtain, from a plurality of arrangement modes corresponding to all windows displayed in the tiled screen, an arrangement mode in which a total area of all windows is the largest, that is, a first arrangement mode, arrange all windows according to the first arrangement mode to obtain a plurality of arranged windows, and send the plurality of arranged windows to the tiled screen for display by the tiled screen.
According to the embodiment of the invention, the first arrangement mode is determined from the preset arrangement modes, the windows are arranged according to the first arrangement mode to obtain the arranged windows, and the spliced screen is controlled to display the arranged windows, so that the aim of aligning and arranging all the windows displayed in the spliced screen is fulfilled. It is easy to notice that the total area of the windows obtained by arranging according to the first arrangement mode is larger than the total area of the windows obtained by arranging according to other arrangement modes in the plurality of arrangement modes, that is, after the windows are arranged according to the first arrangement mode, the total area of the windows after arrangement is the largest, thereby solving the technical problem that the display space of the spliced screen cannot be fully utilized by adjusting the windows on the spliced screen in the prior art. Therefore, by the scheme provided by the embodiment of the invention, the technical effects of improving the utilization rate of the display space of the spliced screen and reducing the waste of the display space can be achieved.
Optionally, in the above embodiment of the present invention, the determining unit 51 includes:
the first obtaining module is used for obtaining a plurality of arrangement modes.
And the calculating module is used for calculating the total area of the plurality of windows which are obtained by arranging according to each arrangement mode.
And the second obtaining module is used for comparing the total areas of the windows obtained by arranging according to each arrangement mode to obtain the arrangement mode corresponding to the maximum total area.
And the first processing module is used for taking the arrangement mode corresponding to the maximum total area as a first arrangement mode.
Optionally, in the above embodiment of the present invention, the first obtaining module includes:
and the acquisition submodule is used for acquiring the size of the spliced screen, the minimum size of each window and the distance between any two windows.
And the first processing submodule is used for obtaining a plurality of display sizes according to the size of the spliced screen, the minimum size of each window, the distance between any two windows and the number of the plurality of windows.
And the judgment submodule is used for judging whether each display size meets the preset condition.
And the storage submodule is used for storing any one display size, the first transverse arrangement quantity and the first longitudinal arrangement quantity corresponding to any one display size to obtain a plurality of arrangement modes if the display size meets the preset condition.
Optionally, in the foregoing embodiment of the present invention, the first processing sub-module includes:
and the first processing weight submodule is used for obtaining a plurality of first transverse arrangement quantities according to the size of the spliced screen, the minimum size of each window and the distance between any two windows.
And the second processing weight submodule is used for obtaining a plurality of first longitudinal arrangement quantities according to the quantity of the plurality of windows and the plurality of first transverse arrangement quantities.
And the third processing weight submodule is used for obtaining a plurality of display sizes according to the plurality of first longitudinal arrangement numbers, the size of the spliced screen and the distance between any two windows.
Optionally, in the foregoing embodiment of the present invention, the determining sub-module includes:
and the judging weight submodule is used for judging whether each display size is larger than or equal to the minimum size of each window or not and judging whether the display size of at least one window which is transversely arranged is smaller than or equal to the size of the spliced screen or not.
And the first weight determining submodule is used for determining that the first display size meets the preset condition if the first display size is larger than or equal to the minimum size of each window and the display size of at least one window arranged transversely is smaller than or equal to the size of the spliced screen.
And the second weight determining submodule is used for determining that the second display size does not meet the preset condition if the second display size is smaller than the minimum size of each window or the display size of at least one window arranged transversely is larger than the size of the spliced screen.
Optionally, in the above embodiment of the present invention, the determining unit 51 includes:
and the third acquisition module is used for acquiring the size of the spliced screen, the minimum size of each window and the distance between any two windows.
And the second processing module is used for obtaining a first arrangement mode through a preset method according to the size of the spliced screen, the minimum size of each window and the distance between any two windows.
Alternatively, in the above-described embodiment of the present invention, the arranging unit 53 includes:
a determining module, configured to determine display parameters of multiple windows according to a first arrangement manner, where the display parameters include: display size and display position.
And the arrangement module is used for arranging the windows according to the display parameters of the windows to obtain a plurality of arranged windows.
Optionally, in the foregoing embodiment of the present invention, the determining module includes:
and the second processing submodule is used for obtaining the display sizes of the windows according to the display sizes corresponding to the first arrangement mode.
And the third processing submodule is used for obtaining the display positions of the windows according to the first transverse arrangement quantity and the first longitudinal arrangement quantity corresponding to the first arrangement mode and the distance between any two windows.
Optionally, in the above embodiment of the present invention, the apparatus further includes:
and the first judgment unit is used for judging whether a window arrangement instruction sent by the control equipment is received.
The determining unit 51 is further configured to determine the first arrangement manner from a plurality of preset arrangement manners if it is determined that the window arrangement instruction is received.
Optionally, in the above embodiment of the present invention, the apparatus further includes:
and the processing unit is used for obtaining a second transverse arrangement number and a second longitudinal arrangement number of the plurality of windows according to the size of the spliced screen, the minimum size of each window and the distance between any two windows.
And a second judging unit for judging whether the number of the plurality of windows exceeds a product of the second transversely arranged number and the second longitudinally arranged number.
The determining unit 51 is further configured to determine the first arrangement from a preset plurality of arrangements if the number of the plurality of windows does not exceed a product of the second transversely-arranged number and the second longitudinally-arranged number.
Optionally, in the above embodiment of the present invention, if the number of the plurality of windows exceeds a product of the second number of the transverse arrangements and the second number of the longitudinal arrangements, the apparatus further includes:
and the generating unit is used for generating and displaying the prompt information, wherein the prompt information is used for prompting to close the window.
It should be noted that, for the preferred implementation in this embodiment, reference may be made to the description in embodiment 1, and details are not described here.
Example 3
According to an embodiment of the present invention, an embodiment of a control system for a window is provided.
Fig. 6 is a schematic diagram of a control system for a window according to an embodiment of the present invention, as shown in fig. 6, the method includes the steps of:
the server 61 is configured to determine a first arrangement manner from a plurality of preset arrangement manners, and arrange the plurality of windows according to the first arrangement manner to obtain a plurality of arranged windows, where the first arrangement manner is used to arrange the plurality of windows displayed on the mosaic screen, and a total area of the plurality of windows arranged according to the first arrangement manner is larger than a total area of the plurality of windows arranged according to a second arrangement manner, and the second arrangement manner is any one arrangement manner of the plurality of arrangement manners except the first arrangement manner.
Specifically, the server may be a graphic workstation for controlling the tiled screen; the arrangement mode can comprise: the number of windows arranged in the transverse direction and the number of windows arranged in the longitudinal direction.
It should be noted that, there are various arrangement modes of multiple windows with different numbers, the arrangement modes of multiple windows with the same number may form one combination of arrangement modes, a set includes multiple arrangement modes, the sizes of the windows with different arrangement modes are different, and the first arrangement mode may be an arrangement mode in which the total area of multiple windows in the arrangement mode set is the largest, so as to ensure that the display space can be used to the maximum extent, and reduce the waste of the display space.
And the spliced screen 63 is connected with the server and used for displaying the arranged windows.
In an optional scheme, the server of the mosaic screen may obtain, from a plurality of arrangement modes corresponding to all windows displayed in the mosaic screen, an arrangement mode in which a total area of all windows is the largest, that is, a first arrangement mode, arrange all windows according to the first arrangement mode to obtain a plurality of arranged windows, and send the plurality of arranged windows to the mosaic screen for display by the mosaic screen.
According to the embodiment of the invention, the server determines the first arrangement mode from the preset arrangement modes, arranges the windows according to the first arrangement mode to obtain the arranged windows, and controls the spliced screen to display the arranged windows, so that the aim of aligning and arranging all windows displayed in the spliced screen is fulfilled. It is easy to notice that the total area of the windows obtained by arranging according to the first arrangement mode is larger than the total area of the windows obtained by arranging according to other arrangement modes in the plurality of arrangement modes, that is, after the windows are arranged according to the first arrangement mode, the total area of the windows after arrangement is the largest, thereby solving the technical problem that the display space of the spliced screen cannot be fully utilized by adjusting the windows on the spliced screen in the prior art. Therefore, by the scheme provided by the embodiment of the invention, the technical effects of improving the utilization rate of the display space of the spliced screen and reducing the waste of the display space can be achieved.
Optionally, in the foregoing embodiment of the present invention, the server is further configured to obtain a plurality of arrangement manners, calculate a total area of the plurality of windows that are obtained by arranging according to each arrangement manner, compare the total area of the plurality of windows that are obtained by arranging according to each arrangement manner, obtain an arrangement manner corresponding to the maximum total area, and use the arrangement manner corresponding to the maximum total area as the first arrangement manner.
Optionally, in the foregoing embodiment of the present invention, the server is further configured to obtain a size of the tiled screen, a minimum size of each window, an interval between any two windows, and a number of the multiple windows, obtain multiple display sizes according to the size of the tiled screen, the minimum size of each window, the interval between any two windows, and the number of the multiple windows, determine whether each display size meets a preset condition, and if it is determined that any display size meets the preset condition, store any display size, a first horizontal arrangement number and a first vertical arrangement number corresponding to any display size, to obtain multiple arrangement modes.
Optionally, in the foregoing embodiment of the present invention, the server is further configured to obtain a plurality of first horizontal arrangement numbers according to the size of the tiled screen, the minimum size of each window, and the distance between any two windows, obtain a plurality of first vertical arrangement numbers according to the number of the plurality of windows and the plurality of first horizontal arrangement numbers, and obtain a plurality of display sizes according to the plurality of first vertical arrangement numbers, the size of the tiled screen, and the distance between any two windows.
Optionally, in the foregoing embodiment of the present invention, if it is determined that the display size of each window does not satisfy the preset condition, the server is further configured to determine the first horizontal arrangement number again according to the size of the tiled screen, the minimum size of each window, and a distance between any two windows.
Optionally, in the foregoing embodiment of the present invention, the server is further configured to determine whether each display size is greater than or equal to the minimum size of each window, and determine whether the display size of at least one window arranged horizontally is smaller than or equal to the size of the tiled screen, and if the first display size is greater than or equal to the minimum size of each window and the display size of at least one window arranged horizontally is smaller than or equal to the size of the tiled screen, determine that the first display size meets the preset condition; and if the second display size is smaller than the minimum size of each window or the display size of at least one window arranged transversely is larger than the size of the spliced screen, determining that the second display size does not meet the preset condition.
Optionally, in the above embodiment of the present invention, the server is further configured to obtain a size of the mosaic screen, a minimum size of each window, and a distance between any two windows, and obtain the first arrangement manner by using a preset method according to the size of the mosaic screen, the minimum size of each window, and the distance between any two windows.
Optionally, in the foregoing embodiment of the present invention, the server is further configured to determine display parameters of the multiple windows according to the first arrangement mode, and arrange the multiple windows according to the display parameters of the multiple windows to obtain the arranged multiple windows, where the display parameters include: display size and display position.
Optionally, in the embodiment of the present invention, the server is further configured to obtain display sizes of the multiple windows according to the display size corresponding to the first arrangement manner, and obtain display positions of the multiple windows according to a first horizontal arrangement number and a first vertical arrangement number corresponding to the first arrangement manner and a distance between any two windows.
Optionally, in the above embodiment of the present invention, fig. 7 is a schematic diagram of a control system of an optional window according to the embodiment of the present invention, and as shown in fig. 7, the system further includes:
and a control device 71 connected to the server 61 and configured to transmit the window arrangement instruction.
Specifically, the control device may be a smart phone (including an Android phone and an IOS phone), an IPAD, a tablet computer, a touch all-in-one machine, a notebook computer, a computer terminal, etc., which is not specifically limited in the present invention; the window arrangement instruction may be an instruction generated by clicking a key, clicking a link, performing a gesture operation, or the like.
The server 61 is further configured to determine a first arrangement manner from a plurality of preset arrangement manners if it is determined that the window arrangement instruction is received.
In an alternative scheme, a "window arrangement" function may be added to a control program installed on the control device, a user clicks a "window arrangement" key to generate a window arrangement instruction and send the window arrangement instruction to the server, and after receiving the window arrangement instruction, the server may determine an arrangement mode with the largest area of all windows in all possible arrangement modes, that is, a first arrangement mode.
Optionally, in the foregoing embodiment of the present invention, the server is further configured to obtain a second transversely-arranged number and a second longitudinally-arranged number of the multiple windows according to the size of the tiled screen, the minimum size of each window, and the distance between any two windows, determine whether the number of the multiple windows exceeds a product of the second transversely-arranged number and the second longitudinally-arranged number, and determine the first arrangement manner from the preset multiple arrangement manners if the number of the multiple windows does not exceed the product of the second transversely-arranged number and the second longitudinally-arranged number.
Optionally, in the foregoing embodiment of the present invention, if the number of the plurality of windows exceeds a product of the second horizontally-arranged number and the second vertically-arranged number, the server is further configured to generate a prompt message, and display the prompt message, where the prompt message is used to prompt to close the window.
It should be noted that, for the preferred implementation in this embodiment, reference may be made to the description in embodiment 1, and details are not described here.
Example 4
According to an embodiment of the present invention, an embodiment of a storage medium is provided, the storage medium including a stored program, wherein when the program runs, a device in which the storage medium is controlled executes the control method of the window in embodiment 1 described above.
Example 5
According to an embodiment of the present invention, an embodiment of a processor for running a program is provided, where the program runs to execute the control method of the window in embodiment 1.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple 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, units or modules, and may be in an electrical 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 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, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (8)

1. A method for controlling a window, comprising:
determining a first arrangement mode from a plurality of preset arrangement modes, wherein the first arrangement mode is used for arranging a plurality of windows displayed on a spliced screen, and the total area of the plurality of windows obtained by arranging according to the first arrangement mode is larger than the total area of the plurality of windows obtained by arranging according to a second arrangement mode, and the second arrangement mode is any one arrangement mode except the first arrangement mode in the plurality of arrangement modes;
arranging the plurality of windows according to the first arrangement mode to obtain a plurality of arranged windows;
controlling the spliced screen to display the arranged windows; wherein, confirm the first arrangement from a plurality of preset arrangements, include: acquiring the plurality of arrangement modes; calculating the total area of the plurality of windows obtained by arranging according to each arrangement mode; comparing the total areas of the windows obtained by arranging according to each arrangement mode to obtain an arrangement mode corresponding to the maximum total area; taking the arrangement mode corresponding to the maximum total area as the first arrangement mode;
wherein obtaining the plurality of arrangement modes comprises: acquiring the size of the spliced screen, the minimum size of each window, the distance between any two windows and the number of the windows; obtaining a plurality of display sizes according to the size of the spliced screen, the minimum size of each window, the distance between any two windows and the number of the windows; judging whether each display size meets a preset condition or not; and if any display size meets the preset condition, storing the any display size, the first transverse arrangement number and the first longitudinal arrangement number corresponding to the any display size to obtain the plurality of arrangement modes.
2. The method of claim 1, wherein obtaining a plurality of display sizes according to the size of the tiled screen, the minimum size of each window, the spacing between any two windows, and the number of the plurality of windows comprises:
obtaining a plurality of first transverse arrangement quantities according to the size of the spliced screen, the minimum size of each window and the distance between any two windows;
obtaining a plurality of first longitudinal arrangement quantities according to the quantity of the plurality of windows and the plurality of first transverse arrangement quantities;
and obtaining the plurality of display sizes according to the first longitudinal arrangement quantity, the size of the spliced screen and the distance between any two windows.
3. The method of claim 1, wherein determining whether each display size satisfies a predetermined condition comprises:
judging whether each display size is larger than or equal to the minimum size of each window, and judging whether the display size of at least one window arranged transversely is smaller than or equal to the size of the spliced screen;
if the first display size is larger than or equal to the minimum size of each window and the display size of at least one window arranged transversely is smaller than or equal to the size of the spliced screen, determining that the first display size meets the preset condition;
and if the second display size is smaller than the minimum size of each window or the display size of at least one window arranged transversely is larger than the size of the spliced screen, determining that the second display size does not meet the preset condition.
4. The method of claim 1, wherein determining the first arrangement from a predetermined plurality of arrangements comprises:
acquiring the size of the spliced screen, the minimum size of each window and the distance between any two windows;
and obtaining the first arrangement mode through a preset method according to the size of the spliced screen, the minimum size of each window and the distance between any two windows.
5. A control apparatus for a window, comprising:
the device comprises a determining unit, a display unit and a display control unit, wherein the determining unit is used for determining a first arrangement mode from a plurality of preset arrangement modes, the first arrangement mode is used for arranging a plurality of windows displayed on a spliced screen, the total area of the plurality of windows obtained by arrangement according to the first arrangement mode is larger than the total area of the plurality of windows obtained by arrangement according to a second arrangement mode, and the second arrangement mode is any one arrangement mode except the first arrangement mode in the plurality of arrangement modes;
the arrangement unit is used for arranging the windows according to the arrangement mode of the windows to obtain a plurality of arranged windows;
the control unit is used for controlling the splicing screen to display the arranged windows; the determining unit is used for determining a first arrangement mode from a plurality of preset arrangement modes in the following modes: acquiring the plurality of arrangement modes; calculating the total area of the plurality of windows obtained by arranging according to each arrangement mode; comparing the total areas of the windows obtained by arranging according to each arrangement mode to obtain an arrangement mode corresponding to the maximum total area; taking the arrangement mode corresponding to the maximum total area as the first arrangement mode;
wherein the determining unit is configured to obtain the plurality of permutation modes by: acquiring the size of the spliced screen, the minimum size of each window, the distance between any two windows and the number of the windows; obtaining a plurality of display sizes according to the size of the spliced screen, the minimum size of each window, the distance between any two windows and the number of the windows; judging whether each display size meets a preset condition or not; and if any display size meets the preset condition, storing the any display size, the first transverse arrangement number and the first longitudinal arrangement number corresponding to the any display size to obtain the plurality of arrangement modes.
6. A control system for a window, comprising:
the server is used for determining a first arrangement mode from a plurality of preset arrangement modes, and arranging a plurality of windows displayed on a spliced screen according to the first arrangement mode to obtain a plurality of arranged windows, wherein the first arrangement mode is used for arranging the plurality of windows, the total area of the plurality of windows obtained by arranging according to the first arrangement mode is larger than the total area of the plurality of windows obtained by arranging according to a second arrangement mode, and the second arrangement mode is any one arrangement mode except the first arrangement mode in the plurality of arrangement modes;
the spliced screen is connected with the server and used for displaying the arranged windows; the server is used for determining a first arrangement mode from a plurality of preset arrangement modes in the following modes: acquiring the plurality of arrangement modes; calculating the total area of the plurality of windows obtained by arranging according to each arrangement mode; comparing the total areas of the windows obtained by arranging according to each arrangement mode to obtain an arrangement mode corresponding to the maximum total area; taking the arrangement mode corresponding to the maximum total area as the first arrangement mode; wherein the server is configured to obtain the plurality of arrangement modes by: acquiring the size of the spliced screen, the minimum size of each window, the distance between any two windows and the number of the windows; obtaining a plurality of display sizes according to the size of the spliced screen, the minimum size of each window, the distance between any two windows and the number of the windows; judging whether each display size meets a preset condition or not; and if any display size meets the preset condition, storing the any display size, the first transverse arrangement number and the first longitudinal arrangement number corresponding to the any display size to obtain the plurality of arrangement modes.
7. The system of claim 6, further comprising:
the control equipment is connected with the server and used for sending a window arrangement instruction;
the server is further configured to determine a first arrangement manner from a plurality of preset arrangement manners if it is determined that the window arrangement instruction is received.
8. A storage medium characterized by comprising a stored program, wherein a device in which the storage medium is located is controlled to execute a control method of a window according to any one of claims 1 to 4 when the program is executed.
CN201710344511.9A 2017-05-16 2017-05-16 Window control method, device and system, storage medium and processor Active CN107168673B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011630746.2A CN112612440A (en) 2017-05-16 2017-05-16 Window control method, device and system, storage medium and processor
CN201710344511.9A CN107168673B (en) 2017-05-16 2017-05-16 Window control method, device and system, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710344511.9A CN107168673B (en) 2017-05-16 2017-05-16 Window control method, device and system, storage medium and processor

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202011630746.2A Division CN112612440A (en) 2017-05-16 2017-05-16 Window control method, device and system, storage medium and processor

Publications (2)

Publication Number Publication Date
CN107168673A CN107168673A (en) 2017-09-15
CN107168673B true CN107168673B (en) 2021-01-22

Family

ID=59815401

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201710344511.9A Active CN107168673B (en) 2017-05-16 2017-05-16 Window control method, device and system, storage medium and processor
CN202011630746.2A Pending CN112612440A (en) 2017-05-16 2017-05-16 Window control method, device and system, storage medium and processor

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202011630746.2A Pending CN112612440A (en) 2017-05-16 2017-05-16 Window control method, device and system, storage medium and processor

Country Status (1)

Country Link
CN (2) CN107168673B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271074A (en) 2018-09-05 2019-01-25 Oppo广东移动通信有限公司 A kind of window regulation method, window adjusting means and mobile terminal
CN113055615B (en) * 2021-02-01 2024-05-03 广州朗国电子科技股份有限公司 Conference all-in-one machine, screen segmentation display method and storage device
CN114741153A (en) * 2022-04-27 2022-07-12 亚信科技(中国)有限公司 Multi-terminal supported video layout method, apparatus, device, medium, and program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1641742A (en) * 2004-01-14 2005-07-20 佳能株式会社 Image displaying control method and apparatus thereof
CN102231105A (en) * 2011-05-27 2011-11-02 苏州阔地网络科技有限公司 Widget arrangement method and system
CN103809850A (en) * 2014-02-10 2014-05-21 联想(北京)有限公司 Information processing method and electronic equipment
CN104813393A (en) * 2012-09-21 2015-07-29 谷歌公司 Displaying applications on a fixed orientation display
CN106569767A (en) * 2016-11-08 2017-04-19 广东威创视讯科技股份有限公司 Window element drawing, displaying method and system of jointing wall
CN106649369A (en) * 2015-10-30 2017-05-10 北京国双科技有限公司 Adjustment method and device for window display

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6007855B2 (en) * 2012-09-14 2016-10-12 株式会社島津製作所 Graph display processing device
CN103399710A (en) * 2013-08-07 2013-11-20 福州瑞芯微电子有限公司 Multi-window operating achieving mobile terminal and method
CN104461301B (en) * 2014-12-22 2017-11-14 青岛大学 The method that screen window automatic aligning is realized based on world coordinates

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1641742A (en) * 2004-01-14 2005-07-20 佳能株式会社 Image displaying control method and apparatus thereof
CN102231105A (en) * 2011-05-27 2011-11-02 苏州阔地网络科技有限公司 Widget arrangement method and system
CN104813393A (en) * 2012-09-21 2015-07-29 谷歌公司 Displaying applications on a fixed orientation display
CN103809850A (en) * 2014-02-10 2014-05-21 联想(北京)有限公司 Information processing method and electronic equipment
CN106649369A (en) * 2015-10-30 2017-05-10 北京国双科技有限公司 Adjustment method and device for window display
CN106569767A (en) * 2016-11-08 2017-04-19 广东威创视讯科技股份有限公司 Window element drawing, displaying method and system of jointing wall

Also Published As

Publication number Publication date
CN112612440A (en) 2021-04-06
CN107168673A (en) 2017-09-15

Similar Documents

Publication Publication Date Title
CN107168673B (en) Window control method, device and system, storage medium and processor
EP2837992B1 (en) User interface interaction method and apparatus applied in touchscreen device, and touchscreen device
US10430068B2 (en) Method for displaying interface content and user equipment
CN109783181A (en) Screen is adapted to display methods, electronic equipment and computer storage medium
CN105224090A (en) Image display device
KR102309318B1 (en) Video processing method, apparatus and storage medium
CN106407920B (en) The fringes noise removing method of fingerprint image
US20140137016A1 (en) Selection cursor operating method, object displaying method, and terminal device
CN103257825B (en) A kind of method and apparatus regulating playing progress rate
JP2012069014A5 (en)
CN102662599A (en) Desktop configuration method and desktop switching method of Android touch screen mobile phone
JP2016509327A (en) Touch type terminal and positioning method of prompt box thereof
CN104298482A (en) Method for automatically adjusting output of mobile terminal
CN106796488A (en) The control method and control program of the method, information processor and information processor of magnified content in screen is split
CN107122104A (en) data display method and device
CN106126057B (en) Screen capture method and device and terminal equipment
CN110196705B (en) Method, device and equipment for screening output resolution of splicing processor
CN105528152A (en) Image rotation display method and system
CN104049843B (en) A kind of information processing method and electronic equipment
US20160339340A1 (en) Method and apparatus for performing interaction in chessboard interface
CN106095516B (en) Data processing method and electronic equipment
CN104777968A (en) Information processing method and electronic equipment
CN108519844B (en) Menu display method and device, storage medium, processor and terminal
CN110647263B (en) Mobile terminal desktop icon moving method, device, medium and equipment
CN107562395B (en) Mobile terminal, display data transmission processing method and storage medium

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
CB03 Change of inventor or designer information

Inventor after: Guo Kun

Inventor after: Zhong Anbiao

Inventor after: Tao Yang

Inventor after: Yang Lu

Inventor after: Chang Zhiqiang

Inventor after: Shi Wenxian

Inventor after: Su Rui

Inventor before: Guo Kun

Inventor before: Tao Yang

Inventor before: Yang Lu

Inventor before: Chang Zhiqiang

Inventor before: Shi Wenxian

Inventor before: Su Rui

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Control methods, devices and systems, storage media and processors for windows

Granted publication date: 20210122

Pledgee: Pudong Development Bank of Shanghai Limited by Share Ltd. Xi'an branch

Pledgor: XI'AN VANXVM ELECTRONICS TECHNOLOGY Co.,Ltd.

Registration number: Y2024610000022

PE01 Entry into force of the registration of the contract for pledge of patent right