CN111258524A - Control method and device of spliced screen group and server - Google Patents

Control method and device of spliced screen group and server Download PDF

Info

Publication number
CN111258524A
CN111258524A CN202010063100.4A CN202010063100A CN111258524A CN 111258524 A CN111258524 A CN 111258524A CN 202010063100 A CN202010063100 A CN 202010063100A CN 111258524 A CN111258524 A CN 111258524A
Authority
CN
China
Prior art keywords
screen
size
display
spliced
rectangular area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010063100.4A
Other languages
Chinese (zh)
Other versions
CN111258524B (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.)
Beijing Tricolor Technology Co ltd
Original Assignee
Beijing Tricolor 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 Beijing Tricolor Technology Co ltd filed Critical Beijing Tricolor Technology Co ltd
Priority to CN202010063100.4A priority Critical patent/CN111258524B/en
Publication of CN111258524A publication Critical patent/CN111258524A/en
Application granted granted Critical
Publication of CN111258524B publication Critical patent/CN111258524B/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)

Abstract

The invention provides a control method, a control device and a server of a spliced screen group, wherein the method comprises the following steps: acquiring the position coordinate and the screen size of each screen in the spliced screen group input by a user; obtaining the size of the maximum rectangular area corresponding to the spliced screen group according to the position coordinate of each screen and the size of the screen; and determining the display position of the spliced screen group based on the size of the preset display area and the size of the maximum rectangular area so as to control the screen in the display position. According to the method, the size of the maximum rectangular area corresponding to the spliced screen group is obtained according to the position coordinates and the screen size of each screen in the spliced screen group input by a user, the display position of the spliced screen group is determined based on the size of the maximum rectangular area and the preset display area, and the screens in the spliced screen group are controlled at the display position.

Description

Control method and device of spliced screen group and server
Technical Field
The invention relates to the technical field of software control, in particular to a control method and device for a spliced screen group and a server.
Background
The existing control method of the spliced screen group is mainly the spliced screen group which is regularly arranged (for example, continuously arranged), wherein the spliced screen group comprises a plurality of screens, the position of each screen is fixed, and the number of the screens can be set through upper computer software; and calculating a windowing mode through the arrangement mode and the proportion conversion of each screen, thereby realizing the window display of the signal sources of the regular splicing screen group. However, the method is only suitable for the spliced screen groups arranged regularly, and the display requirements of the spliced screen groups arranged in other arrangement modes are difficult to meet, so that the method is poor in applicability.
Disclosure of Invention
The invention aims to provide a control method, a control device and a control server of a spliced screen group, which are used for meeting the display requirements of spliced screen groups in various arrangement modes and improving the control applicability of the spliced screen groups.
In a first aspect, an embodiment of the present invention provides a method for controlling a tiled screen group, where the method includes: acquiring the position coordinate and the screen size of each screen in the spliced screen group input by a user; wherein, the spliced screen group comprises at least two screens; obtaining the size of the maximum rectangular area corresponding to the spliced screen group according to the position coordinate of each screen and the size of the screen; and determining the display position of the spliced screen group based on the size of the preset display area and the size of the maximum rectangular area so as to control the screen in the display position.
In an optional embodiment, the step of obtaining the size of the maximum rectangular area corresponding to the mosaic screen group according to the position coordinates and the screen size of each screen includes: acquiring the position coordinates of the screen at the upper left corner and the screen at the lower right corner in the spliced screen group; and obtaining the size of the maximum rectangular area corresponding to the spliced screen group according to the position coordinate of the screen at the upper left corner, the position coordinate of the screen at the lower right corner and the screen size of the screen at the lower right corner.
In an alternative embodiment, the screen size includes a width and a height of the screen; the position coordinates include coordinates of the upper left corner of the screen; the step of obtaining the size of the maximum rectangular area corresponding to the spliced screen group comprises the following steps: subtracting an abscissa value in the coordinates of the upper left corner of the screen at the upper left corner from an abscissa value in the coordinates of the upper left corner of the screen at the lower right corner to obtain an abscissa difference value; subtracting a vertical coordinate value in a left upper corner coordinate of the screen at the upper left corner from a vertical coordinate value in a left upper corner coordinate of the screen at the lower right corner to obtain a vertical coordinate difference value; adding the horizontal coordinate difference value to the width of the screen at the lower right corner to obtain the width of the maximum rectangular area; and adding the height of the screen at the lower right corner to the difference value of the vertical coordinates to obtain the height of the maximum rectangular area.
In an optional embodiment, the step of determining the display position of the tiled screen group based on the preset size of the display area and the size of the maximum rectangular area includes: determining the display size corresponding to the maximum rectangular area according to the size of the display area; determining a proportionality coefficient according to the size and the display size of the maximum rectangular area; and obtaining the display position of the spliced screen group based on the coordinate origin, the position coordinates and the proportionality coefficient of each screen in the spliced screen group.
In an alternative embodiment, the size of the display area includes a width and a height; the size of the largest rectangular area includes width and height; the step of determining the display size corresponding to the maximum rectangular area according to the size of the display area includes: calculating a first aspect ratio of the maximum rectangular region based on the width and height of the maximum rectangular region; calculating a second aspect ratio of the display area based on the width and height of the display area; if the first aspect ratio is smaller than the second aspect ratio, determining the height of the display area as the height of the display size corresponding to the maximum rectangular area, and determining the width of the display size according to the height of the display size; and if the first aspect ratio is larger than or equal to the second aspect ratio, determining the width of the display area as the width of the display size corresponding to the maximum rectangular area, and determining the height of the display size according to the width of the display size.
In an alternative embodiment, the position coordinate is an upper left corner coordinate; the step of obtaining the display position of the mosaic screen group based on the position coordinates and the proportionality coefficients of each screen in the mosaic screen group comprises: subtracting the coordinates of the upper left corner of the screen at the upper left corner in the spliced screen group from the coordinates of the upper left corner of each screen to obtain a first coordinate corresponding to each screen; dividing the first coordinate corresponding to each screen by the proportionality coefficient to obtain a second coordinate corresponding to each screen; dividing the screen size of each screen by the proportionality coefficient to obtain the corresponding display size of each screen; and determining the display position of each screen based on the second coordinate and the display size corresponding to each screen to obtain the display position of the spliced screen group.
In an alternative embodiment, the step of controlling the screen in the display position includes: monitoring a starting point and an end point of the mouse sliding in the display position; determining a sliding area of the mouse based on the starting point and the end point; and determining the coordinate corresponding to the sliding area according to the proportional relation between the size of the display area and the size of the maximum rectangular area so as to control the screen corresponding to the coordinate corresponding to the sliding area.
In an optional embodiment, after the step of acquiring the position coordinates and the screen size of each screen in the group of the tiled screens input by the user, the method further includes: receiving parameter information of each screen in a spliced screen group input by a user; the parameter information comprises an identification code corresponding to each screen; the position coordinates, screen size, and identification code of each screen are saved.
In a second aspect, an embodiment of the present invention provides a control device for a tiled display panel set, where the device includes: the data acquisition module is used for acquiring the position coordinates and the screen size of each screen in the spliced screen group input by a user; wherein, the spliced screen group comprises at least two screens; the size determining module is used for obtaining the size of the maximum rectangular area corresponding to the spliced screen group according to the position coordinate of each screen and the size of the screen; and the display control module is used for determining the display position of the spliced screen group based on the preset size of the display area and the size of the maximum rectangular area so as to control the screen in the display position.
In a third aspect, an embodiment of the present invention provides a server, where the server includes a processor and a memory, where the memory stores machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to execute the control method for the group of tiled screens.
The embodiment of the invention has the following beneficial effects:
the invention provides a control method, a control device and a control server of a spliced screen group, which are characterized in that firstly, the position coordinate and the screen size of each screen in the spliced screen group input by a user are obtained; further, according to the position coordinates and the screen size of each screen, the size of the maximum rectangular area corresponding to the spliced screen group is obtained; and then determining the display position of the spliced screen group based on the size of the preset display area and the size of the maximum rectangular area so as to control the screen in the display position. In the method, the size of the maximum rectangular area corresponding to the spliced screen group is obtained according to the position coordinates and the screen size of each screen in the spliced screen group input by a user, the display position of the spliced screen group is determined based on the size of the maximum rectangular area and the preset display area, and the screens in the spliced screen group are controlled at the display position.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention as set forth above.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a control method for a tiled screen group according to an embodiment of the present invention;
fig. 2 is a flowchart of another control method for a group of tiled screens according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an arrangement of a tiled display panel set according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a control device of a tiled screen group according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. 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.
The method considers that the existing control method of the spliced screen group is only suitable for the spliced screen group arranged regularly, and the display requirements of the spliced screen group in other arrangement modes are difficult to meet, so that the applicability of the mode is poor; and the windowing mode in the mode is difficult to meet the requirement of a user for windowing across screens at any position. The embodiment of the invention provides a method, a device and a server for controlling a spliced screen group, and the technology can be applied to scenes for displaying and controlling the spliced screen group in various arrangement modes, in particular scenes for displaying and controlling the spliced screen group in irregular arrangement.
In order to facilitate understanding of the embodiment of the present invention, a detailed description is first provided for a control method of a tiled screen group disclosed in the embodiment of the present invention, as shown in fig. 1, the method includes the following specific steps:
step S102, acquiring the position coordinates and the screen size of each screen in the spliced screen group input by a user; wherein, this concatenation screen group contains two at least screens.
The screen may be a Light Emitting Diode (LED) display screen, which is usually a flat panel television screen, that is, a device composed of small LED module panels and used for displaying various information such as text, images, and videos; the LED display screen usually integrates the microelectronic technology, the computer technology and the information processing, and has the advantages of bright color, wide dynamic range, high brightness, long service life, stable and reliable work and the like.
The spliced screen group comprises at least two screens, and the screens can be arranged in any mode according to user requirements, such as a straight line type, an angle type, an oblique line type and the like. The user can input the position coordinates and the screen size of each screen according to the arrangement mode of the screens in the spliced screen group and the size of each screen. During specific implementation, a user can manually input the position coordinates and the screen size of each screen in the upper computer through a preset user interface, wherein the screen is usually rectangular, the position coordinates can include four vertex coordinates of the rectangle corresponding to each screen, and the position coordinates can also only include coordinates of the upper left corner of each screen (equivalent to the coordinates of the upper left corner) for simplifying user calculation; the screen size may include the height and width of the screen.
And step S104, obtaining the size of the maximum rectangular area corresponding to the spliced screen group according to the position coordinate and the screen size of each screen.
Because each screen is rectangular, the size of the maximum rectangular area corresponding to the spliced screen group can be calculated according to the position coordinate and the screen size of each screen in the spliced screen group, and the size can include the width and the height of the maximum rectangular area. In specific implementation, the size of the maximum rectangular area can be obtained according to the position coordinate of the screen at the upper left corner and the position coordinate of the screen at the lower right corner in the spliced screen group.
And S106, determining the display position of the spliced screen group based on the size of the preset display area and the size of the maximum rectangular area so as to control the screen in the display position.
The size of the preset display area may be set according to the size of the upper computer, or may be set according to a user requirement, for example, set to 300 × 200 or 400 × 300, and in some embodiments, the size may also be referred to as a pixel value. In specific implementation, the size of the maximum rectangular area can be scaled according to a proportional relationship between the size of the maximum rectangular area and the size of the display area, so as to obtain a display position of the tiled screen group, where the display position is usually included in the display area, so that the screen in the display position can be controlled in the display area, where the display position includes the size of the display size and the corresponding position coordinate of each screen in the display area.
When a user controls a certain area in the display position through the upper computer, a windowing signal can be sent to the screen corresponding to the area, and therefore the purpose of controlling any screen in the spliced screen group is achieved.
The invention provides a control method of a spliced screen group, which comprises the steps of firstly, acquiring the position coordinate and the screen size of each screen in the spliced screen group input by a user; further, according to the position coordinates and the screen size of each screen, the size of the maximum rectangular area corresponding to the spliced screen group is obtained; and then determining the display position of the spliced screen group based on the size of the preset display area and the size of the maximum rectangular area so as to control the screen in the display position. In the method, the size of the maximum rectangular area corresponding to the spliced screen group is obtained according to the position coordinates and the screen size of each screen in the spliced screen group input by a user, the display position of the spliced screen group is determined based on the size of the maximum rectangular area and the preset display area, and the screens in the spliced screen group are controlled at the display position.
The embodiment of the invention also provides another control method of the spliced screen group, which is realized on the basis of the method of the embodiment; the method mainly describes a specific process of obtaining the size of the maximum rectangular area corresponding to the mosaic screen group (realized by the following steps S204-S206), a specific process of determining the display position of the mosaic screen group (realized by the following steps S208-S212) based on the preset size of the display area and the size of the maximum rectangular area, and a specific process of controlling the screen in the display position (realized by the following steps S214-S218); as shown in fig. 2, the method comprises the following specific steps:
step S202, acquiring the position coordinates and the screen size of each screen in the spliced screen group input by the user.
In specific implementation, after the position coordinate and the screen size of each screen in the spliced screen group input by a user are obtained, the parameter information of each screen in the spliced screen group input by the user can be received; the parameter information comprises an identification code corresponding to each screen; and stores the position coordinates, screen size, and identification code of each screen.
The parameter information may include not only the identification code corresponding to each screen, but also display brightness, display color, display saturation, and the like corresponding to each screen. The identification code may refer to an ID (identity identification number) of a physical port corresponding to the screen, and generally, after the screen is windowed, when a user controls a certain screen through an upper computer, the upper computer may send a corresponding control instruction to the physical port of the screen to control the screen.
During specific implementation, a user can input the position coordinates, the screen sizes and the parameter information of each screen in the spliced screen group in the software of the upper computer, namely the user can set the position coordinates, the screen sizes and the parameter information of each screen in the spliced screen group in the software of the upper computer according to the requirements of the user; the upper computer can send the information input by the user to the bottom layer server so as to store the information input by the user.
And step S204, acquiring the position coordinates of the screen at the upper left corner and the position coordinates of the screen at the lower right corner in the spliced screen group.
Typically, the top left screen is the first screen in the first row of the group of tiles, and the bottom right screen is the last screen in the last row of the group of tiles.
And step S206, obtaining the size of the maximum rectangular area corresponding to the spliced screen group according to the position coordinate of the screen at the upper left corner, the position coordinate of the screen at the lower right corner and the screen size of the screen at the lower right corner.
Since it is cumbersome to input the coordinates of all the points of each screen, the above position coordinates may include only the coordinates of the upper left corner of the screen in the present embodiment. The coordinate difference can be obtained by the position coordinate of the screen at the upper left corner and the position coordinate of the screen at the lower right corner, and the size of the maximum rectangular area can be obtained by combining the coordinate difference with the screen size of the screen at the lower right corner. In a specific implementation, the screen size includes a width and a height of the screen, and the step S206 can be implemented by the following steps 10 to 13:
and 10, subtracting the abscissa value in the coordinate of the upper left corner of the screen at the upper left corner from the abscissa value in the coordinate of the upper left corner of the screen at the lower right corner to obtain an abscissa difference value.
And 11, subtracting the ordinate value in the upper left corner coordinate of the upper left corner screen from the ordinate value in the upper left corner coordinate of the lower right corner screen to obtain an ordinate difference value.
And step 12, adding the horizontal coordinate difference value to the width of the screen at the lower right corner to obtain the width of the maximum rectangular area.
And step 13, adding the difference value of the vertical coordinates to the height of the screen at the lower right corner to obtain the height of the maximum rectangular area. In a particular implementation, the dimensions of the largest rectangular area include the width and height of the largest rectangular area.
Taking the example that the spliced screen group comprises two screens, the process of obtaining the width and the height of the maximum rectangular area is described in detail. As shown in fig. 3, a schematic diagram of an arrangement of a tiled screen group is given, the tiled screen group in fig. 3 includes a screen 1 and a screen 2, where the screen 1 corresponds to the screen at the upper left corner, and the screen 2 corresponds to the screen at the lower right corner, and assuming that the coordinates of the upper left corner of the screen 1 are (100 ), the width of the screen 1 is 800, and the height is 600; the coordinate of the upper left corner of the screen 2 is (900,700), the width of the screen 2 is 800, the height of the screen 2 is 600, the abscissa value in the upper left corner of the screen 2 is subtracted by the abscissa value in the upper left corner of the screen 1 to obtain an abscissa difference value 900 and 100, which is 800, and the abscissa difference value is added by the width of the screen 2 to obtain a width of the maximum rectangular area 800+800, which is 1600; based on the manner of determining the horizontal coordinate difference, the vertical coordinate difference is determined to be 700-.
In step S208, the display size corresponding to the maximum rectangular area is determined according to the size of the display area.
In specific implementation, the size corresponding to the maximum rectangular area needs to be scaled according to the size of the display area, so that the display area can display the maximum rectangular area corresponding to the spliced screen group according to a certain proportion. The size of the display area comprises width and height, and the size of the maximum rectangular area comprises width and height; in some embodiments, the step S208 may be implemented by the following steps 20 to 24:
step 20, calculating a first aspect ratio of the maximum rectangular area based on the width and height of the maximum rectangular area. The first aspect ratio is the width of the largest rectangular area divided by the height of the largest rectangular area.
Step 21, calculating a second aspect ratio of the display area based on the width and the height of the display area. The second aspect ratio is the width of the display area divided by the height of the display area.
Step 22, judging whether the first aspect ratio is smaller than the second aspect ratio; if so, go to step 23, otherwise go to step 24.
And step 23, determining the height of the display area as the height of the display size corresponding to the maximum rectangular area, and determining the width of the display size according to the height of the display size.
When the first aspect ratio is smaller than the second aspect ratio, the height is taken as the main height, and at this time, the height of the display size of the maximum rectangular area is the height of the display area, and the width of the display size can be obtained by multiplying the height of the display size by the width of the maximum rectangular area and then dividing by the height of the maximum rectangular area.
And 24, determining the width of the display area as the width of the display size corresponding to the maximum rectangular area, and determining the height of the display size according to the width of the display size.
When the first aspect ratio is larger than the second aspect ratio, the width is taken as the main width, at this time, the width of the display size of the maximum rectangular area is the width of the display area, the width of the display size is multiplied by the height of the maximum rectangular area, and then the height of the display size can be obtained by dividing the width of the maximum rectangular area; when the first aspect ratio is equal to the second aspect ratio, the width of the display size of the maximum rectangular region is the width of the display region, and the height of the display size of the maximum rectangular region is the height of the display region.
Step S210, determining a scaling factor according to the size of the largest rectangular region and the display size.
In specific implementation, if the width is taken as the main value, the ratio of the width of the maximum rectangular area to the width of the display size is a proportionality coefficient; if the height is taken as the main, the ratio of the height of the maximum rectangular area to the height of the display size is a proportionality coefficient.
For example, assuming that the size of the preset display area is 300 × 200, the arrangement of the tiled screen groups is as shown in fig. 3, the width of the largest rectangular area is 1600, and the height is 1200; calculating to obtain a first aspect ratio of 1600/1200 and a second aspect ratio of 300/200; since 1600/1200 is <300/200, the height is dominant, i.e., the height of the display size is 200, the width of the display size is 200/(1200/1600) 267, and the scale factor is 1200/200 6.
And step S212, obtaining the display position of the spliced screen group based on the position coordinates and the proportionality coefficient of each screen in the spliced screen group.
In a specific implementation, the position coordinate may be an upper left corner coordinate, and the step S212 may be implemented by the following steps 30 to 33:
and step 30, subtracting the coordinates of the upper left corner of the screen at the upper left corner in the spliced screen group from the coordinates of the upper left corner of each screen to obtain a first coordinate corresponding to each screen.
Subtracting the abscissa value of the coordinate of the upper left corner of the screen at the upper left corner in the spliced screen group from the abscissa value of the coordinate of the upper left corner of the current screen for each screen in the spliced screen group to obtain the abscissa value of the first coordinate corresponding to the current screen; and subtracting the ordinate value of the upper left-hand coordinate of the screen at the upper left-hand corner in the spliced screen group from the ordinate value of the upper left-hand coordinate of the current screen to obtain the ordinate value of the first coordinate corresponding to the current screen. In a specific implementation, the coordinate of the upper left corner of the screen at the upper left corner is subtracted from the coordinate of the upper left corner of the screen at the upper left corner, so that the first coordinate of the screen at the upper left corner is (0,0), that is, the origin of coordinates.
And 31, dividing the first coordinate corresponding to each screen by the proportionality coefficient to obtain a second coordinate corresponding to each screen.
And dividing the abscissa value and the ordinate value in the first coordinate by the proportionality coefficient respectively aiming at each screen in the spliced screen group to obtain the abscissa value and the ordinate value of the second coordinate.
And 32, dividing the screen size of each screen by the scaling coefficient to obtain the corresponding display size of each screen. For example, if the width of the screen is 800, the height is 600, and the scale factor is 6, then the width of the screen in the corresponding display size is 800/6, and the height is 600/6.
And step 33, determining the display position of each screen based on the second coordinate and the display size corresponding to each screen to obtain the display position of the spliced screen group.
During specific implementation, the initial position of each screen can be located according to the second coordinate corresponding to each screen, the initial position is matched with the display size corresponding to each screen, and the display position of each screen can be obtained, wherein the display position comprises the initial position of the screen and a displayable area corresponding to the screen.
Step S214, monitoring the starting point and the ending point of the sliding of the mouse in the display position.
The user can operate the mouse in the upper computer to control the corresponding screen. And when the server monitors that the mouse slides on the display position corresponding to the spliced screen, acquiring a starting point and an ending point of the mouse sliding.
In step S216, the sliding area of the mouse is determined based on the start point and the end point.
Based on the start and end points, a swipe area of the mouse is calculated, which is typically a rectangular area. In a specific implementation, the coordinate corresponding to the ending point and the coordinate corresponding to the starting point may be used to calculate and determine the rectangular area corresponding to the sliding-through area.
Step S218, determining coordinates corresponding to the sliding region according to the proportional relationship between the size of the display region and the size of the maximum rectangular region, so as to control the screen corresponding to the coordinates corresponding to the sliding region.
The proportional relation between the size of the display area and the size of the maximum rectangular area is equivalent to the proportional coefficient, and according to the proportional coefficient and the sliding area, the actual corresponding coordinate (equivalent to the coordinate corresponding to the sliding area) of the sliding area can be obtained, and the actual corresponding coordinate corresponds to the coordinate in the maximum rectangular area corresponding to the spliced screen group, that is, according to the actual corresponding coordinate, the corresponding screen can be found in the spliced screen group to operate the screen, for example, open the window of the screen, or can be understood as opening the window of any screen in the spliced screen group by this method.
According to the control method of the spliced screen group, a user can flexibly set the arrangement mode of the spliced screen group and the size of each screen, and can also configure the screen group function of any screen so as to meet the configuration requirements of the user on different screens.
Corresponding to the control method of the spliced screen group, an embodiment of the present invention further provides a control device of the spliced screen group, as shown in fig. 4, the device includes:
the data acquisition module 40 is used for acquiring the position coordinates and the screen size of each screen in the spliced screen group input by the user; wherein, this concatenation screen group contains two at least screens.
And a size determining module 41, configured to obtain a size of a maximum rectangular area corresponding to the spliced screen group according to the position coordinate of each screen and the screen size.
And the display control module 42 is used for determining the display position of the spliced screen group based on the preset size of the display area and the size of the maximum rectangular area so as to control the screen in the display position.
The control device of the spliced screen group firstly acquires the position coordinate and the screen size of each screen in the spliced screen group input by a user; further, according to the position coordinates and the screen size of each screen, the size of the maximum rectangular area corresponding to the spliced screen group is obtained; and then determining the display position of the spliced screen group based on the size of the preset display area and the size of the maximum rectangular area so as to control the screen in the display position. In the method, the size of the maximum rectangular area corresponding to the spliced screen group is obtained according to the position coordinates and the screen size of each screen in the spliced screen group input by a user, the display position of the spliced screen group is determined based on the size of the maximum rectangular area and the preset display area, and the screens in the spliced screen group are controlled at the display position.
Further, the size determining module 41 is configured to: acquiring the position coordinates of the screen at the upper left corner and the screen at the lower right corner in the spliced screen group; and obtaining the size of the maximum rectangular area corresponding to the spliced screen group according to the position coordinate of the screen at the upper left corner, the position coordinate of the screen at the lower right corner and the screen size of the screen at the lower right corner.
Specifically, the screen size includes a width and a height of the screen; the position coordinates include coordinates of the upper left corner of the screen; the size determining module 41 is further configured to: subtracting an abscissa value in the coordinates of the upper left corner of the screen at the upper left corner from an abscissa value in the coordinates of the upper left corner of the screen at the lower right corner to obtain an abscissa difference value; subtracting a vertical coordinate value in a left upper corner coordinate of the screen at the upper left corner from a vertical coordinate value in a left upper corner coordinate of the screen at the lower right corner to obtain a vertical coordinate difference value; adding the horizontal coordinate difference value to the width of the screen at the lower right corner to obtain the width of the maximum rectangular area; and adding the height of the screen at the lower right corner to the difference value of the vertical coordinates to obtain the height of the maximum rectangular area.
Further, the display control module 42 is configured to: determining the display size corresponding to the maximum rectangular area according to the size of the display area; determining a proportionality coefficient according to the size and the display size of the maximum rectangular area; and obtaining the display position of the spliced screen group based on the position coordinates and the proportionality coefficients of each screen in the spliced screen group.
Specifically, the size of the display area includes a width and a height; the size of the maximum rectangular area comprises width and height; the display control module 42 is further configured to: calculating a first aspect ratio of the maximum rectangular region based on the width and height of the maximum rectangular region; calculating a second aspect ratio of the display area based on the width and height of the display area; if the first aspect ratio is smaller than the second aspect ratio, determining the height of the display area as the height of the display size corresponding to the maximum rectangular area, and determining the width of the display size according to the height of the display size; and if the first aspect ratio is larger than or equal to the second aspect ratio, determining the width of the display area as the width of the display size corresponding to the maximum rectangular area, and determining the height of the display size according to the width of the display size.
Further, the position coordinate is an upper left corner coordinate; the display control module 42 is further configured to: subtracting the coordinates of the upper left corner of the screen at the upper left corner in the spliced screen group from the coordinates of the upper left corner of each screen to obtain a first coordinate corresponding to each screen; dividing the first coordinate corresponding to each screen by the proportionality coefficient to obtain a second coordinate corresponding to each screen; dividing the screen size of each screen by the proportionality coefficient to obtain the corresponding display size of each screen; and determining the display position of each screen based on the second coordinate and the display size corresponding to each screen to obtain the display position of the spliced screen group.
Further, the device further comprises a screen control module, configured to: monitoring a starting point and an end point of the mouse sliding in the display position; determining a sliding area of the mouse based on the starting point and the end point; and determining the coordinates corresponding to the sliding area according to the proportional relation between the size of the display area and the size of the maximum rectangular area so as to control the screen corresponding to the coordinates corresponding to the sliding area.
Further, the apparatus further includes a storage module configured to: receiving parameter information of each screen in a spliced screen group input by a user; the parameter information comprises an identification code corresponding to each screen; the position coordinates, screen size, and identification code of each screen are saved.
The implementation principle and the generated technical effects of the control device of the spliced screen group provided by the embodiment of the invention are the same as those of the control device of the embodiment of the method, and for brief description, the corresponding contents in the embodiment of the method can be referred to where the embodiment of the device is not mentioned.
An embodiment of the present invention further provides a server, which is shown in fig. 5, and the server includes a processor 101 and a memory 100, where the memory 100 stores machine executable instructions capable of being executed by the processor 101, and the processor 101 executes the machine executable instructions to execute the control method of the above-mentioned tiled screen group.
Further, the server shown in fig. 5 further includes a bus 102 and a communication interface 103, and the processor 101, the communication interface 103 and the memory 100 are connected through the bus 102.
The memory 100 may include a high-speed Random Access Memory (RAM) and may further include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used. The bus 102 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 5, but this does not indicate only one bus or one type of bus.
The processor 101 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 101. The processor 101 may be a general-purpose processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 100, and the processor 101 reads the information in the memory 100, and completes the steps of the method of the foregoing embodiment in combination with the hardware thereof.
The embodiment of the present invention further provides a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are called and executed by a processor, the machine-executable instructions cause the processor to implement the control method for the mosaic screen group, and specific implementation may refer to method embodiments, and is not described herein again.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the apparatus and/or the electronic device described above may refer to corresponding processes in the foregoing method embodiments, and are not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A control method of a tiled screen group, the method comprising:
acquiring the position coordinate and the screen size of each screen in the spliced screen group input by a user; wherein the spliced screen group comprises at least two screens;
obtaining the size of the maximum rectangular area corresponding to the spliced screen group according to the position coordinates and the screen size of each screen;
and determining the display position of the spliced screen group based on the size of a preset display area and the size of the maximum rectangular area so as to control the screen in the display position.
2. The method of claim 1, wherein the step of obtaining the size of the largest rectangular area corresponding to the tiled screen group according to the position coordinates and the screen size of each screen comprises:
acquiring the position coordinates of the screen at the upper left corner and the screen at the lower right corner in the spliced screen group;
and obtaining the size of the maximum rectangular area corresponding to the spliced screen group according to the position coordinate of the screen at the upper left corner, the position coordinate of the screen at the lower right corner and the screen size of the screen at the lower right corner.
3. The method of claim 2, wherein the screen size comprises a width and a height of the screen; the position coordinates comprise coordinates of an upper left corner of the screen;
the step of obtaining the size of the maximum rectangular area corresponding to the spliced screen group comprises the following steps:
subtracting the abscissa value in the coordinate of the upper left corner of the screen at the upper left corner from the abscissa value in the coordinate of the upper left corner of the screen at the lower right corner to obtain an abscissa difference value;
subtracting a vertical coordinate value in the upper left corner coordinate of the upper left corner screen from a vertical coordinate value in the upper left corner coordinate of the lower right corner screen to obtain a vertical coordinate difference value;
adding the horizontal coordinate difference value to the width of the screen at the lower right corner to obtain the width of the maximum rectangular area;
and adding the height of the screen at the lower right corner to the difference value of the vertical coordinates to obtain the height of the maximum rectangular area.
4. The method of claim 1, wherein the step of determining the display position of the tiled screen group based on the preset size of the display area and the size of the maximum rectangular area comprises:
determining the display size corresponding to the maximum rectangular area according to the size of the display area;
determining a proportionality coefficient according to the size of the maximum rectangular area and the display size;
and obtaining the display position of the spliced screen group based on the position coordinate of each screen in the spliced screen group and the proportionality coefficient.
5. The method of claim 4, wherein the dimensions of the display area include a width and a height; the dimensions of the largest rectangular area include width and height;
the step of determining the display size corresponding to the maximum rectangular area according to the size of the display area includes:
calculating a first aspect ratio of the maximum rectangular area based on the width and height of the maximum rectangular area; calculating a second aspect ratio of the display area based on the width and height of the display area;
if the first aspect ratio is smaller than the second aspect ratio, determining the height of the display area as the height of the display size corresponding to the maximum rectangular area, and determining the width of the display size according to the height of the display size;
and if the first aspect ratio is larger than or equal to the second aspect ratio, determining the width of the display area as the width of the display size corresponding to the maximum rectangular area, and determining the height of the display size according to the width of the display size.
6. The method of claim 5, wherein the location coordinates are upper left corner coordinates; the step of obtaining the display position of the spliced screen group based on the position coordinates and the proportionality coefficient of each screen in the spliced screen group comprises:
subtracting the coordinates of the upper left corner of the screen at the upper left corner in the spliced screen group from the coordinates of the upper left corner of each screen to obtain a first coordinate corresponding to each screen;
dividing the first coordinate corresponding to each screen by a proportionality coefficient to obtain a second coordinate corresponding to each screen;
dividing the screen size of each screen by the proportionality coefficient to obtain a display size corresponding to each screen;
and determining the display position of each screen based on the second coordinate and the display size corresponding to each screen to obtain the display position of the spliced screen group.
7. The method of claim 1, wherein the step of controlling the screen in the display position comprises:
monitoring a starting point and an end point of the mouse sliding in the display position;
determining a sliding-through area of the mouse based on the starting point and the end point;
and determining the coordinates corresponding to the sliding area according to the proportional relation between the size of the display area and the size of the maximum rectangular area so as to control the screen corresponding to the coordinates corresponding to the sliding area.
8. The method of claim 1, wherein after the step of obtaining the position coordinates and screen size of each screen in the group of tiled screens entered by the user, the method further comprises:
receiving parameter information of each screen in a spliced screen group input by a user; the parameter information comprises an identification code corresponding to each screen;
saving the position coordinates, the screen size, and the identification code of each screen.
9. A control device for a tiled display panel assembly, the device comprising:
the data acquisition module is used for acquiring the position coordinates and the screen size of each screen in the spliced screen group input by a user; wherein the spliced screen group comprises at least two screens;
the size determining module is used for obtaining the size of the maximum rectangular area corresponding to the spliced screen group according to the position coordinates and the screen size of each screen;
and the display control module is used for determining the display position of the spliced screen group based on the size of a preset display area and the size of the maximum rectangular area so as to control the screen in the display position.
10. A server, characterized in that the server comprises a processor and a memory, the memory storing machine executable instructions executable by the processor, the processor executing the machine executable instructions to execute the control method of the group of mosaic screens according to any one of claims 1 to 8.
CN202010063100.4A 2020-01-20 2020-01-20 Control method and device of spliced screen group and server Active CN111258524B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010063100.4A CN111258524B (en) 2020-01-20 2020-01-20 Control method and device of spliced screen group and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010063100.4A CN111258524B (en) 2020-01-20 2020-01-20 Control method and device of spliced screen group and server

Publications (2)

Publication Number Publication Date
CN111258524A true CN111258524A (en) 2020-06-09
CN111258524B CN111258524B (en) 2023-03-24

Family

ID=70952378

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010063100.4A Active CN111258524B (en) 2020-01-20 2020-01-20 Control method and device of spliced screen group and server

Country Status (1)

Country Link
CN (1) CN111258524B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112887731A (en) * 2021-01-22 2021-06-01 北京淳中科技股份有限公司 Compressed code stream fetching method and device, electronic equipment and storage medium
CN114299819A (en) * 2021-12-24 2022-04-08 业成科技(成都)有限公司 Tiled display device and driving method
WO2022126773A1 (en) * 2020-12-18 2022-06-23 威创集团股份有限公司 Text display method and system, electronic device, and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170262246A1 (en) * 2016-03-09 2017-09-14 Boe Technology Group Co., Ltd. Splicing-screen display system and splicing display method
CN108737799A (en) * 2017-04-24 2018-11-02 中兴通讯股份有限公司 A kind of projecting method, apparatus and system
CN108922426A (en) * 2018-07-13 2018-11-30 深圳市东微智能科技股份有限公司 Mosaic screen combined method and mosaic screen combined system
CN109062531A (en) * 2018-08-15 2018-12-21 京东方科技集团股份有限公司 The display methods and display control unit of mosaic screen and mosaic screen
CN109582269A (en) * 2018-12-17 2019-04-05 普联技术有限公司 Physics mosaic screen display methods, device and terminal device
CN109792560A (en) * 2016-09-23 2019-05-21 三星电子株式会社 Display device and its control method
CN110460887A (en) * 2019-08-15 2019-11-15 苏州三星电子电脑有限公司 Multi-screen combined method and its control equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170262246A1 (en) * 2016-03-09 2017-09-14 Boe Technology Group Co., Ltd. Splicing-screen display system and splicing display method
CN109792560A (en) * 2016-09-23 2019-05-21 三星电子株式会社 Display device and its control method
CN108737799A (en) * 2017-04-24 2018-11-02 中兴通讯股份有限公司 A kind of projecting method, apparatus and system
CN108922426A (en) * 2018-07-13 2018-11-30 深圳市东微智能科技股份有限公司 Mosaic screen combined method and mosaic screen combined system
CN109062531A (en) * 2018-08-15 2018-12-21 京东方科技集团股份有限公司 The display methods and display control unit of mosaic screen and mosaic screen
CN109582269A (en) * 2018-12-17 2019-04-05 普联技术有限公司 Physics mosaic screen display methods, device and terminal device
CN110460887A (en) * 2019-08-15 2019-11-15 苏州三星电子电脑有限公司 Multi-screen combined method and its control equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022126773A1 (en) * 2020-12-18 2022-06-23 威创集团股份有限公司 Text display method and system, electronic device, and storage medium
CN112887731A (en) * 2021-01-22 2021-06-01 北京淳中科技股份有限公司 Compressed code stream fetching method and device, electronic equipment and storage medium
CN114299819A (en) * 2021-12-24 2022-04-08 业成科技(成都)有限公司 Tiled display device and driving method

Also Published As

Publication number Publication date
CN111258524B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
CN111258524B (en) Control method and device of spliced screen group and server
CN108683907B (en) Optical module pixel defect detection method, device and equipment
US8885001B2 (en) Reducing power consumption for a mobile terminal
US10237454B2 (en) Method for detecting terminal static layer information, terminal and television
US20090087078A1 (en) Display testing apparatus and method
CN104035664A (en) Display method and device for user interface of application program
CN103996382A (en) Method and system for improving RGBW-image saturation
CN108596908B (en) LED display screen detection method and device and terminal
CN111145138B (en) Detection method, device and equipment for LED lamp panel and storage medium
US20140372918A1 (en) System and method for adjusting position of user interface of application
CN112927147B (en) Display data correction method and device of display module, computer equipment and medium
US8837829B2 (en) Image processing apparatus, storage medium storing image processing program, and image processing method
CN113299245A (en) Method and device for adjusting local backlight of display equipment, display equipment and storage medium
CN107704253B (en) Control character color transformation method and system and electronic device
CN112164007A (en) Image display method and apparatus, terminal and readable storage medium
US20080107335A1 (en) Methods for processing image signals and related apparatus
CN109389150B (en) Image consistency comparison method and device, storage medium and electronic equipment
TW201512834A (en) System for testing external display interface of notebook computer and the method thereof are provided
CN109559707B (en) Gamma value processing method and device of display panel and display equipment
WO2017122363A1 (en) Content projection control device, content projection control method and program
CN110062151B (en) Smooth image generation device, abnormality determination device, and smooth image generation method
CN114792283A (en) Image processing method, device and equipment and computer readable storage medium
US20200219441A1 (en) Image processing method and image processing system
CN114582279B (en) Display screen contrast improving method and device based on error diffusion and electronic equipment
CN117935726B (en) Mini-LED display screen color homogenization method and device

Legal Events

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