CN106775516B - Cross-screen window display method and device - Google Patents

Cross-screen window display method and device Download PDF

Info

Publication number
CN106775516B
CN106775516B CN201611027961.7A CN201611027961A CN106775516B CN 106775516 B CN106775516 B CN 106775516B CN 201611027961 A CN201611027961 A CN 201611027961A CN 106775516 B CN106775516 B CN 106775516B
Authority
CN
China
Prior art keywords
screen
sub
cross
length
width
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
CN201611027961.7A
Other languages
Chinese (zh)
Other versions
CN106775516A (en
Inventor
李旻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201611027961.7A priority Critical patent/CN106775516B/en
Publication of CN106775516A publication Critical patent/CN106775516A/en
Application granted granted Critical
Publication of CN106775516B publication Critical patent/CN106775516B/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)
  • Controls And Circuits For Display Device (AREA)
  • Studio Circuits (AREA)

Abstract

The invention provides a cross-screen window display method and a device, wherein the method comprises the following steps: determining the length and width of a target sub-block according to the length and width of each screen forming the television wall; dividing each screen equally according to the length and the width of the target sub-block, and recording the corresponding relation between the sub-blocks obtained by dividing equally and the screen to which the sub-blocks belong; when a cross-screen window needs to be displayed in a television wall, determining sub-blocks covered by the cross-screen window according to the position of the cross-screen window in the television wall; determining a target screen covered by the cross-screen window according to the sub-blocks covered by the cross-screen window and the corresponding relation between the sub-blocks recorded by the cross-screen window and the screen to which the sub-blocks belong, and determining the position of the cross-screen window in each target screen; and displaying the cross-screen window in the television wall according to the position of the cross-screen window in each target screen. The application of the embodiment of the invention can improve the applicability of the cross-screen window display scheme.

Description

Cross-screen window display method and device
Technical Field
The invention relates to the technical field of video monitoring, in particular to a cross-screen window display method and device.
Background
With the rapid increase of social informatization, the visualization demand of information is also sharply expanded, and the realization difficulty of high-end visualization is higher and higher. The information that a single display device can display is far from meeting the market demand, and especially in important places such as monitoring centers, command centers and dispatching centers, the multi-screen splicing system becomes an indispensable core basic system for information visualization.
At present, in a multi-screen splicing system, it is required that large screens or displays (hereinafter, a large screen is taken as an example) spliced into a whole (a television wall) must have the same size, and a schematic diagram of the system can be as shown in fig. 1A, and the large screens spliced into the television wall are arranged in X rows and Y columns (X, Y is a natural number greater than 0) in a regular manner, as in fig. 1A, X ═ Y ═ 3.
When a logical window in a television wall actually spans multiple large screens, the window needs to be divided into multiple windows according to the boundaries of the large screens when displayed, as shown in fig. 1B, a window a spans large screens 1, 2, 4, and 5; when displaying, the window A needs to be divided into a window A _1, a window A _2, a window A _3 and a window A _4, and the windows are respectively sent to the large screens 1, 2, 4 and 5 for displaying.
However, it is found in practice that the existing cross-screen window display scheme is only suitable for the equal-size large-screen splicing scene shown in fig. 1A, and is not suitable for the multi-screen splicing scene shown in fig. 1C (referred to as a special-shaped screen splicing scene herein).
Disclosure of Invention
The invention provides a cross-screen window display method and device, which aim to solve the problem that the existing cross-screen window display scheme does not support a special-shaped screen splicing scene.
According to a first aspect of the present invention, there is provided a cross-screen window display method, applied to a backend device in a video surveillance system, the method including:
determining the length and width of a target sub-block according to the length and width of each screen forming the television wall; wherein, each screen can be equally divided according to the size of the target sub-block;
dividing each screen equally according to the length and the width of the target sub-block, and recording the corresponding relation between the sub-blocks obtained by dividing equally and the screen to which the sub-blocks belong;
when a cross-screen window needs to be displayed in a television wall, determining sub-blocks covered by the cross-screen window according to the position of the cross-screen window in the television wall;
determining a target screen covered by the cross-screen window according to the sub-blocks covered by the cross-screen window and the corresponding relation between the sub-blocks recorded by the cross-screen window and the screen to which the sub-blocks belong, and determining the position of the cross-screen window in each target screen;
and displaying the cross-screen window in the television wall according to the position of the cross-screen window in each target screen.
According to a second aspect of the present invention, there is provided a cross-screen window display device, which is applied to a back-end device in a video surveillance system, the device comprising:
the first determining unit is used for determining the length and the width of the target sub-block according to the length and the width of each screen forming the television wall; wherein, each screen can be equally divided according to the size of the target sub-block;
the subblock dividing unit is used for equally dividing each screen according to the length and the width of the target subblock and recording the corresponding relation between the subblocks obtained by equal division and the screens to which the subblocks belong;
the second determining unit is used for determining the sub-blocks covered by the cross-screen windows according to the positions of the cross-screen windows in the television wall when the cross-screen windows need to be displayed in the television wall;
a third determining unit, configured to determine, according to the sub-block covered by the screen crossing window and a correspondence between the sub-block recorded by the third determining unit and a screen to which the sub-block belongs, a target screen covered by the screen crossing window, and determine a position of the screen crossing window in each target screen;
and the display unit is used for displaying the cross-screen windows in the television wall according to the positions of the cross-screen windows in the target screens.
By applying the technical scheme disclosed by the invention, the length and the width of the target sub-block are determined according to the length and the width of each screen forming the television wall, the screens are equally divided according to the length and the width of the target sub-block, and the corresponding relation between the sub-block obtained by equal division and the screen to which the sub-block belongs is recorded; when a cross-screen window needs to be displayed in a television wall, the subblocks covered by the cross-screen window are determined according to the positions of the cross-screen window in the television wall, the target screen covered by the cross-screen window and the positions of the cross-screen window in each target screen are determined according to the corresponding relation between the subblocks covered by the cross-screen window and the screen to which the subblocks belong, and the cross-screen window is displayed in the television wall according to the positions of the cross-screen window in each target screen, so that the applicability of the cross-screen window display scheme is improved.
Drawings
FIGS. 1A-1C are schematic diagrams of a multi-screen splicing video wall;
FIG. 2 is a flowchart illustrating a cross-screen window display method according to an embodiment of the present invention;
3A-3C are schematic diagrams of cross-screen window display scenes provided by embodiments of the invention;
fig. 4 is a schematic structural diagram of a cross-screen window display device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions in the embodiments of the present invention better understood and make the above objects, features and advantages of the embodiments of the present invention more comprehensible, the technical solutions in the embodiments of the present invention are described in further detail below with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a cross-screen window display method according to an embodiment of the present invention, where the cross-screen window display method may be applied to a backend device in a video monitoring system, and as shown in fig. 2, the cross-screen window display method may include:
step 201, determining the length and width of a target sub-block according to the length and width of each screen forming a television wall; wherein, each screen can be equally divided according to the size of the target sub-block.
In the embodiment of the invention, the horizontal boundary of each screen in the television wall is called as the length of the screen, and the vertical boundary is called as the width, so that the invention is not repeated in the following.
In the embodiment of the invention, in order to better determine the positions of the cross-screen windows displayed in the television wall in each display screen, the screens forming the television wall need to be ensured to be screens with equal size as much as possible; when the screens forming the television wall are not screens with the same size (namely the television wall is formed by splicing special-shaped screens), the screens can be divided into corresponding quantity of subblocks with the same size by equally dividing the screens, so that the television wall formed by splicing the special-shaped screens is virtualized into a spliced screen formed by splicing a certain quantity of subblocks with the same size.
Accordingly, in order to achieve the above object, it is necessary to determine the size (length and width) of sub-blocks (herein, referred to as target sub-blocks) into which each screen constituting the television wall can be equally divided, so that each screen constituting the television wall can be equally divided into a certain number of sub-blocks of the same size according to the size of the target sub-blocks.
As an alternative implementation, in step 201, determining the length and width of the target sub-block according to the length and width of each screen constituting the video wall includes:
performing prime factor decomposition on the length and the width of each screen respectively, and determining a first maximum common factor of the length of each screen and a second maximum common factor of the width of each screen;
and determining the length and the width of the target sub-block according to the first maximum common factor and the second maximum common factor.
In this embodiment, in order to determine the length and width of the target sub-block, the length and width of each screen constituting the television wall may be respectively prime factorized, and a maximum common factor of the length of each screen (referred to herein as a first maximum common factor) and a maximum common factor of the width of each screen (referred to herein as a second maximum common factor) may be respectively determined.
For example, suppose that screen A is 960 (pixels) long and 800 wide; if the length of the screen B is 320 and the width is 640, then the prime factors of the length and the width of the screen A and the screen B are respectively decomposed to obtain:
the screen A is long: 960-2 x2x2x2x2x3x5
The screen B is long: 320 ═ 2x2x2x2x2x5
The screen A is wide: 800 ═ 2x2x2x2x5x5
The width of the screen B: 640 ═ 2x2x2x2x2x2x5
Further, it can be found that the maximum common factor of the length of the screen a and the screen B is 2x2x2x2x5 ═ 160; the maximum common factor of the widths of the screen a and the screen B is 160x 2x2x2x 5.
In this embodiment, after a first greatest common factor of the length of each screen and a second greatest common factor of the width of each screen constituting the tv wall are determined, the length and width of the target sub-block may be determined according to the first greatest common factor and the second greatest common factor.
For example, the first greatest common factor may be directly taken as the length of the target sub-block and the second greatest common factor as the width of the target sub-block; alternatively, any of the first greatest common factors may be taken as the length of the target sub-block and any of the second greatest common factors may be taken as the width of the target sub-block.
For example, still taking the above example as an example, the maximum prime factor for the length of screen a and screen B is 160, the length of the target sub-block may be 160, 80, 40, etc.; the maximum prime factor for the width of screen a and screen B is 160, and the width of the target sub-block may be 160, 80, 40, etc.
Preferably, in the embodiment of the present invention, the maximum common factor (i.e., the first maximum common factor) of the lengths of the screens constituting the television wall may be taken as the length of the target sub-block; the maximum common factor of the widths of the screens constituting the television wall (i.e., the second maximum common factor) is taken as the width of the target sub-block.
As another alternative embodiment, in step 201, determining the length and width of the target sub-block according to the length and width of each screen constituting the video wall includes:
respectively determining the minimum value of the length of each screen and the minimum value of the width of each screen;
determining the minimum value of the length of each screen as the length of the target sub-block when the minimum value of the length of each screen can be evenly divided by the length of each screen; otherwise, reducing the minimum value of the length of each screen according to a preset step length until the reduced first value can be divided by the length of each screen or the minimum value of the length of each screen is reduced to 1, and determining the first value or 1 as the length of the target sub-block;
determining the minimum value of the length of each screen as the length of the target sub-block when the minimum value of the width of each screen can be divided by the length of each screen; otherwise, reducing the minimum value of the width of each screen according to a preset step length until the reduced second value can be divided by the width of each screen or the minimum value of the width of each screen is reduced to 1, and determining the second value or 1 as the width of the target sub-block.
In this embodiment, in order to determine the length and width of the target sub-block, the minimum value of the length (or width) of each screen constituting the video wall may be determined, and it is determined whether the length (or width) of each screen is divisible by the length (or width) of each screen, and if so, the minimum value of the length of each screen is taken as the length (or width) of the target sub-block; otherwise, the minimum value of the length (or width) of each screen may be decreased by a preset step (e.g., 1) until the minimum value of the reduced length (or width) of each screen can be divided by the length (or width) of each screen or the minimum value of the length (or width) of each screen is decreased to 1.
In the embodiment of the present invention, the reduced value divisible by the length of each screen is referred to as a first value; the reduced value divisible by the width of each screen is referred to as a second value.
For example, assuming that the length of screen a is 800, the length of screen B is 640, and the length of screen C is 160, the minimum value of the lengths of screens A, B and C is 160, which can be divided by the lengths of screens A, B and C, and thus 160 can be taken as the length of the target sub-block.
For another example, assuming that the length of the screen a is 800, the length of the screen B is 640, and the length of the screen C is 320, the minimum value of the lengths of the screens A, B and C is 320, which cannot be evenly divided by the length of the screen a, at which time, the minimum value of the lengths of the screens (i.e., 320) may be gradually decreased by a preset step (assuming that the step is 1), and when it is decreased to 160, it may be evenly divided by the lengths of the screens A, B and C, and thus, 160 may be taken as the length of the target subblock.
And step 202, equally dividing each screen according to the length and the width of the target sub-block, and recording the corresponding relation between the sub-blocks obtained by equally dividing and the screen to which the sub-blocks belong.
In the embodiment of the invention, when the length and the width of the target sub-block are determined, each screen can be equally divided according to the length and the width of the target sub-block, so that each screen forming the television wall is divided into a certain number of sub-blocks with the same size.
After the sub-block division is completed, the corresponding relationship between each sub-block and the screen to which the sub-block belongs (i.e., the corresponding relationship between the screen and the sub-block included in the screen) may be recorded.
As an optional implementation manner, in the step 202, recording correspondence between the sub-blocks obtained by dividing equally and the screens to which the sub-blocks belong may include:
numbering the equally divided subblocks according to the positions of the subblocks in the television wall;
and recording the number of the subblocks included by each screen according to the position of each subblock in the television wall and the position of each screen in the television wall.
In this embodiment, after the sub-block division for each screen is completed, the equally divided sub-blocks may be numbered according to the position of each sub-block in the television wall.
For example, the first sub-block may be numbered from left to right and from top to bottom of the tv wall, the number of the sub-block at the top left corner is 1, the number of the sub-block adjacent to the right of the sub-block is 2, and the number of the sub-block adjacent to the right of the sub-block with the sub-block number of 2 is 3 …. Assuming that the video wall is divided into 10 rows and 5 columns, the subblocks in row 1 are numbered 1, 2 … and 10 from left to right; the sub-blocks in row 2 are numbered from left to right as 11, 12 …, 20.
For another example, the subblocks may be numbered according to the row and column where the subblock is located, where the subblock in row 1 and column 1 is numbered (1, 1), and the subblock in row 1 and column 2 is numbered (1, 2) …, and the subblock in row M and column N is numbered (M, N); wherein M and N are positive integers not less than 2.
In this embodiment, after the numbers of the sub-blocks are determined, the numbers of the sub-blocks included in each screen may be determined according to the positions of the sub-blocks in the television wall and the positions of the screens in the television wall, and the numbers of the sub-blocks included in each screen may be recorded.
It should be noted that, the above steps 201 to 202 do not need to be executed every time the cross-screen window is displayed, but may be executed when the tv wall is initialized and run or when the screen forming the tv wall changes or executed periodically or regularly according to other strategies, and detailed descriptions of specific implementation of the embodiments of the present invention are omitted.
And step 203, when the cross-screen window needs to be displayed in the television wall, determining the sub-blocks covered by the cross-screen window according to the position of the cross-screen window in the television wall.
In the embodiment of the invention, when the cross-screen window needs to be displayed in the television wall, the sub-blocks covered by the cross-screen window can be determined according to the position of the cross-screen window in the television wall; the sub-blocks covered by the cross-screen window comprise all covered sub-blocks or/and partial covered sub-blocks.
As an optional implementation manner, in step 203, determining the sub-block covered by the cross-screen window according to the position of the cross-screen window in the television wall includes:
determining sub-blocks where the upper left corner, the upper right corner, the lower left corner and the lower right corner of the cross-screen window are located according to the coordinates of the upper left corner, the upper right corner, the lower left corner and the lower right corner of the cross-screen window respectively;
and determining the sub-blocks covered by the cross-screen window according to the sub-blocks of the upper left corner, the upper right corner and the lower left corner of the cross-screen window.
In this embodiment, the position of the cross-screen window in the television wall may be determined by the coordinates of the uppermost corner and the lower right corner of the cross-screen window in the television wall.
When a cross-screen window needs to be displayed in a television wall, sub-blocks of the cross-screen window at the upper left corner, the upper right corner, the lower left corner and the lower right corner can be determined according to the coordinates of the upper left corner, the upper right corner, the lower left corner and the lower right corner of the cross-screen window.
for example, assuming that the coordinates of the top left corner, the top right corner, the bottom left corner and the bottom right corner of the cross-screen window are (x1, y1), (x2, y2), (x3, y3) and (x4, y4), respectively (the top left corner of the television wall is used as the origin of coordinates), the target sub-block has a length of △ L and a width of △ W, and the sub-block where the top left corner of the cross-screen window is located can be determined by:
assuming that the quotient of dividing x1 by △ L is m1, the column of the sub-block at the top left corner of the cross-screen window is m1+1 (from left to right, the same applies below), wherein when the top left corner of the cross-screen window is located at the intersection of the m1 column and the m1+1 column (i.e., △ L can be divided by x 1), the column of the sub-block at the top left corner of the cross-screen window is determined to be m1+1 column.
assuming that the quotient of dividing y1 by △ W is n1, the line of the subblock at the top left corner of the cross-screen window is the (n 1+ 1) th line (from top to bottom, the same applies below), wherein when the top left corner of the cross-screen window is located at the intersection of the (n 1) th line and the (n 1+ 1) th line (i.e. △ W can be divided by y1), the line of the subblock at the top left corner of the cross-screen window is determined to be the (n 1+ 1) th line.
assuming that the quotient of dividing x2 by △ L is m2, if the quotient is a whole division, the column of the subblock at the upper right corner of the cross-screen window is the m2 th column, and if the quotient is not a whole division, the column of the subblock at the upper right corner of the cross-screen window is the m2+1 th column.
assuming that the quotient of y2 divided by △ W is n2, the row of the sub-block at the top right corner of the cross-screen window is n2+ 1.
assuming that the quotient of x3 divided by △ L is m3, the column where the sub-block at the bottom left corner of the cross-screen window is located is the m3+1 th column.
assuming that the quotient of dividing y3 by △ W is n3, if the quotient is an integer division, the line of the subblock at the lower left corner of the cross-screen window is n3, and if the quotient is not an integer division, the line of the subblock at the upper right corner of the cross-screen window is n3+ 1.
assuming that the quotient of dividing x4 by △ L is m4, if the quotient is a whole division, the column of the subblock at the upper right corner of the cross-screen window is the m4 th column, and if the quotient is not a whole division, the column of the subblock at the upper right corner of the cross-screen window is the m4+1 th column.
assuming that the quotient of dividing y4 by △ W is n4, if the quotient is a full division, the row of the subblock at the lower left corner of the cross-screen window is the n4 th row, and if the quotient is not a full division, the row of the subblock at the upper right corner of the cross-screen window is the n4+1 th row.
In this embodiment, after determining and managing the sub-blocks where the top left corner, the top right corner, the bottom left corner and the bottom right corner of the cross-screen window are located, the sub-blocks covered by the cross-screen window may be determined according to the sub-blocks where the top left corner, the top right corner, the bottom left corner and the bottom right corner of the cross-screen window are located.
For example, if the sub-block located at the upper left corner of the screen crossing window is the sub-block in the 3 rd row and the 4 th column, the sub-block in the 3 rd row and the 7 th column at the upper right corner, the sub-block in the 6 th row and the 4 th column at the lower left corner, and the sub-block in the 6 th row and the 7 th column at the lower right corner, the sub-blocks covered by the screen crossing window include the sub-blocks in the 3 rd to 6 th rows and the 4 th to 7 th columns, that is, the sub-blocks in the 4 th to 7 th columns in the 3 rd row, and the sub-blocks … in the 4 th to 7 th columns in the 4 th row and the sub.
And 204, determining a target screen covered by the cross-screen window according to the sub-block covered by the cross-screen window and the corresponding relation between the sub-block recorded by the cross-screen window and the screen to which the sub-block belongs, and determining the position of the cross-screen window in each target screen.
In the embodiment of the present invention, when the sub-block covered by the cross-screen window is determined, the screen (referred to as a target screen herein) covered by the cross-screen window may be determined according to the sub-block covered by the cross-screen window and the correspondence between the sub-block recorded by the sub-block and the screen to which the sub-block belongs; wherein, the screen covered by the cross-screen window can comprise a fully covered screen or/and a partially covered screen.
For example, suppose the sub-blocks covered by the cross-screen window are sub-blocks (1, 2), (1, 3), (1, 4), (2, 2), (2, 3) and (2, 4), wherein the sub-blocks (1, 2), (1, 3), (2, 2) and (2, 3) belong to screen a, and the sub-blocks (1, 4) and (2, 4) belong to screen B, then the screen covered by the cross-screen window includes screen a and screen B.
In the embodiment of the present invention, after the target screen covered by the cross-screen window is determined, the position of the cross-screen window in the target screen may be further determined according to the position of the cross-screen window in the sub-block and the position of the sub-block in the target screen.
As an optional implementation manner, in step 204, determining the position of the cross-screen window in the target screen may include:
determining the position of the cross-screen window in each sub-block according to the coordinates of the upper left corner, the upper right corner, the lower left corner and the lower right corner of the cross-screen window;
and determining the position of the cross-screen window in each target screen according to the corresponding relation between the sub-blocks and the screen to which the sub-blocks belong and the positions of the cross-screen windows in each sub-block.
In this embodiment, when the target screen covered by the cross-screen window is determined, the position of the cross-screen window in each sub-block may be further determined according to the coordinates of the upper left corner, the upper right corner, the lower left corner and the lower right corner of the cross-screen window, and further, the position of the cross-screen window in each target screen may be determined according to the correspondence between the sub-block and the screen to which the sub-block belongs and the position of the cross-screen window in each sub-block.
And step 205, displaying the cross-screen window in the television wall according to the position of the cross-screen window in each target screen.
In the embodiment of the invention, when the position of the cross-screen window in each target screen is determined, the cross-screen window can be displayed in the television wall according to the position of the cross-screen window in each target screen.
It can be seen that, in the method flow shown in fig. 2, by determining the size of the target sub-block that each screen forming the television wall can be equally divided, equally dividing each screen according to the size of the target sub-block, and recording the correspondence between the sub-block obtained by equally dividing and the screen to which the sub-block belongs, when a cross-screen window needs to be displayed in the television wall, the sub-block covered by the cross-screen window is determined according to the position of the cross-screen window in the television wall, and then the target screen covered by the cross-screen window and the position of the cross-screen window in the target screen are determined, and the cross-screen window is displayed in the television wall according to the position of the cross-screen window in each target screen, so that even if the screen forming the television wall is not a screen with an equal size, the position of the cross-screen window in the television wall can be accurately and efficiently located, and the applicability of the cross-screen window display scheme is improved.
In order to enable those skilled in the art to better understand the technical solution provided by the embodiment of the present invention, the technical solution provided by the embodiment of the present invention is described below with reference to a specific application scenario.
Taking the tv wall shown in fig. 1C as an example, suppose that the tv wall has 8 large screens, and the actual resolutions of the screens are:
screen a: 960X 800;
and a screen B: 320X 640;
and a screen C: 320X 800;
and a screen D: 160X 160;
a screen E: 160X 160;
a screen F: 1120X 320;
a screen G: 320X 320;
and a screen H: 160X 320;
a window 1 is displayed on the television wall across multiple screens.
Based on the scenario shown in fig. 1C, the implementation flow of the cross-screen window display scheme provided in the embodiment of the present invention is as follows:
1. and determining the maximum subblocks equally divided by the screens A to H.
The first method,
1) And performing quality factor decomposition on the lengths of the screens A to H to respectively obtain:
the screen A is long: 960-2 x2x2x2x2x3x5
The screen B is long: 320 ═ 2x2x2x2x2x5
Screen C is long: 320 ═ 2x2x2x2x2x5
The screen D is long: 160 ═ 2x2x2x2x5
Screen E is long: 160 ═ 2x2x2x2x5
The screen F is long: 1120-2 x2x2x2x5x7
The screen G is long: 320 ═ 2x2x2x2x2x5
The screen H is long: 160 ═ 2x2x2x2x5
And taking the quality factors contained in the screens A-H: 2. 2, 5, therefore, the maximum sub-block length that screens a-H can equally divide is 2x2x2x2x 5-160;
2) and performing quality factor decomposition on the widths of the screens A to H to respectively obtain:
the screen A is wide: 800 ═ 2x2x2x2x5x5
The width of the screen B: 640 ═ 2x2x2x2x2x2x5
The screen C is wide: 800 ═ 2x2x2x2x5x5
The screen D is wide: 160 ═ 2x2x2x2x5
The screen E is wide: 160 ═ 2x2x2x2x5
The screen F is wide: 320 ═ 2x2x2x2x2x5
The screen G is wide: 320 ═ 2x2x2x2x2x5
The screen H is wide: 320 ═ 2x2x2x2x2x5
And taking the quality factors contained in the screens A-H: 2. 2, 5, therefore, the width of the largest sub-block that screens a-H can equally divide is 2x2x2x2x 5-160;
3) according to 1) and 2), the maximum sub-blocks that the screens a to H can equally divide are 160 × 160 sub-blocks, so that the television wall shown in fig. 1C can be equally divided according to 160 × 160, and the schematic diagram can be shown in fig. 3A.
Method two
1) Obtaining the minimum value L of the length of the screens A-HminJudgment of LminWhether it can be divided by the length of the screens A-H, if so, LminThe length of the largest subblock equally divided by the screens A-H; otherwise, Lmin=Lmin-1, continuing the judgment, and continuing the loop until LminCan be divided by the length of the screens A-H, or Lmin=1;
2) Obtaining the minimum value W of the width of the screens A-HminJudgment of WminWhether it can be divided by the width of the screens A-H, if so, WminThe width of the largest subblock which can be equally divided by the screens A-H; otherwise, Wmin=Wmin-1, continuing the judgment, and looping until WminCan be divided by the width of the screens A-H, or Wmin=1;
3) According to 1) and 2), the maximum sub-blocks that the screens a to H can equally divide are 160 × 160 sub-blocks, so that the television wall shown in fig. 1C can be equally divided according to 160 × 160, and the schematic diagram can be shown in fig. 3A.
2. Dividing each screen equally according to the size of the maximum subblock which can be divided equally for each screen, and numbering the subblocks obtained by dividing equally, wherein the subblocks are respectively U (0, 0), U (0, 1), … … U (0, 9), U (1, 0), U (1, 1), … … U (1, 9), … … U (6, 0), U (6, 1) and … … U (6, 9), and 70 in total; wherein, the sub-block U (0, 0) is the sub-block … of the 1 st row and the 1 st column, and the sub-block U (6, 9) is the sub-block of the 7 th row and the 10 th column;
recording the corresponding relation between each sub-block and the screen to which the sub-block belongs:
screen a: u (0, 0), U (0, 1), U (0, 2), U (0, 3), U (0, 4), U (0, 5), U (1, 0), U (1, 1), U (1, 2), U (1, 3), U (1, 4), U (1, 5), U (2, 0), U (2, 1), U (2, 2), U (2, 3), U (2, 4), U (2, 5), U (3, 0), U (3, 1), U (3, 2), U (3, 3), U (3, 4), U (3, 5), U (4, 0), U (4, 1), U (4, 2), U (4, 3), U (4, 4), U (4, 5);
and a screen B: u (0, 6), U (0, 7), U (1, 6), U (1, 7), U (2, 6), U (2, 7), U (3, 6), U (3, 7);
and a screen C: u (0, 8), U (0, 9), U (1, 8), U (1, 9), U (2, 8), U (2, 9), U (3, 8), U (3, 9), U (4, 8), U (4, 9);
and a screen D: u (4, 6);
a screen E: u (4, 7);
a screen F: u (5, 0), U (5, 1), U (5, 2), U (5, 3), U (5, 4), U (5, 5), U (5, 6), U (6, 0), U (6, 1), U (6, 2), U (6, 3), U (6, 4), U (6, 5), U (6, 6);
a screen G: u (5, 7), U (5, 8), U (6, 7), U (6, 8);
and a screen H: u (5, 9), U (6, 9).
4. The sub-blocks covered by window 1 are determined.
Suppose the actual coordinates of window 1 are (with the top left corner of the television wall as the origin): upper left corner (1060, 600), upper right corner (1560, 600), lower left corner (1060, 920), lower right corner (1560, 920); because 70 subblocks are the same in size, 10 subblocks are transverse, 7 subblocks are vertical, and the length and the width of each subblock are 160; since 1060/160 equals to 6 and 100 and 1560/160 equals to 9 and 120, the subblocks covered by the window 1 are the 7 th (6+1 equals to 7) to the 10 th (9+1 equals to 10); since 600/160 equals 3 or 120 and 920/160 equals 5 or 120, the subblocks covered by window 1 are from row 4(3+1 equals 4) to row 6(5+1 equals 6); the subblocks covered by the window 1 are obtained to include U (3, 6), U (3, 7), U (3, 8), U (3, 9), U (4, 6), U (4, 7), U (4, 8), U (4, 9), U (5, 6), U (5, 7), U (5, 8), U (5, 9), and the specific coordinate points of the window 1 in each subblock are as follows:
u (3, 6): the left upper corner (6 × 160+100, 3 × 160+120), the right upper corner ((6+1) × 160, 3 × 160+120), the left lower corner (6 × 160+100, (3+1) × 160), the right lower corner ((6+1) × 160, (3+1) × 160);
wherein 6 of the coordinate points of the axis at the upper left corner in the sub-block U (3, 6) of the window 1 is the column index of U (3, 6), 160 is the width of the maximum cell, and 100 is the remainder of the coordinate at the upper left corner divided by the length of the sub-block; 3 of the Y-axis coordinate point at the upper left corner is a row subscript of U (3, 6), 160 is the width of the sub-block, and 120 is the remainder of the division of the Y-axis coordinate at the upper left corner by the width of the sub-block; other coordinate points are obtained in a similar manner, as follows;
u (3, 7): upper left corner (7 × 160, 3 × 160+120), upper right corner ((7+1) × 160, 3 × 160+120), lower left corner (7 × 160, (3+1) × 160), lower right corner ((7+1) × 160, (3+1) × 160);
u (3, 8): upper left corner (8 × 160, 3 × 160+120), upper right corner ((8+1) × 160, 3 × 160+120), lower left corner (8 × 160, (3+1) × 160), lower right corner ((8+1) × 160, (3+1) × 160);
u (3, 9): upper left corner (9 × 160, 3 × 160+120), upper right corner (9 × 160+120, 3 × 160+120), lower left corner (9 × 160, (3+1) × 160), lower right corner (9 × 160+120, (3+1) × 160);
u (4, 6): upper left corner (6 × 160+100, 4 × 160), upper right corner ((6+1) × 160, 4 × 160), lower left corner (6 × 160+100, (4+1) × 160), lower right corner ((6+1) × 160, (4+1) × 160);
u (4, 7): upper left corner (7 × 160, 4 × 160), upper right corner ((7+1) × 160, 4 × 160), lower left corner (7 × 160, (4+1) × 160), lower right corner ((7+1) × 160, (4+1) × 160);
u (4, 8): upper left corner (8 × 160, 4 × 160), upper right corner ((8+1) × 160, 4 × 160), lower left corner (8 × 160, (4+1) × 160), lower right corner ((8+1) × 160, (4+1) × 160);
u (4, 9): upper left corner (9 × 160, 4 × 160), upper right corner (9 × 160+120, 4 × 160), lower left corner (9 × 160, (4+1) × 160), lower right corner (9 × 160+120, (4+1) × 160);
u (5, 6): the left upper corner (6 × 160+100, 5 × 160), the right upper corner ((6+1) × 160, 5 × 160), the left lower corner (6 × 160+100, 5 × 160+120), the right lower corner ((6+1) × 160, 5 × 160+ 120);
u (5, 7): upper left corner (7 × 160, 5 × 160), upper right corner ((7+1) × 160, 5 × 160), lower left corner (7 × 160, 5 × 160+120), lower right corner ((7+1) × 160, 5 × 160+ 120);
u (5, 8): upper left corner (8 × 160, 5 × 160), upper right corner ((8+1) × 160, 5 × 160), lower left corner (8 × 160, 5 × 160+120), lower right corner ((8+1) × 160, 5 × 160+ 120);
u (5, 9): upper left corner (9 × 160, 5 × 160), upper right corner (9 × 160+120, 5 × 160), lower left corner (9 × 160, 5 × 160+120), lower right corner (9 × 160+120, 5 × 160+ 120).
5. The position of the window 1 in each screen is determined.
By comparing the units included in the screens a to H, it can be seen that: the screen referred to in the window 1 is screen B [ U (3, 6), U (3, 7) ], screen C [ U (3, 8), U (3, 9), U (4, 8), U (4, 9) ], screen D [ U (4, 6) ], screen E [ U (4, 7) ], screen F [ U (5, 6) ], screen G [ U (5, 7), U (5, 8) ], screen H [ U (5, 9) ]; thus, the window 1 is divided, and the specific coordinate points are as follows:
and a screen B: the upper left corner of U (3, 6) is (6 × 160+100, 3 × 160+120), i.e. (1060, 600);
the upper right corner of U (3, 7) is taken as ((7+1) × 160, 3 × 160+120), namely (1280, 600);
the lower left corner of U (3, 6) is (6 × 160+100, (3+1) × 160), i.e. (1060, 640);
the lower right corner of U (3, 7) is ((7+1) × 160, (3+1) × 160), i.e., (1280, 640);
and a screen C: the upper left corner of U (3, 8) is (8 × 160, 3 × 160+120), i.e., (1280, 600);
the upper right corner of the U (3, 9) is (9 × 160+120, 3 × 160+120), namely (1560, 600);
the lower left corner, taken as U (4, 8), is (8 × 160, (4+1) × 160), i.e. (1280, 800);
the lower right corner, U (4, 9), is (9 x160 +120, (4+1) x160, i.e. (1560, 800);
and a screen D: the upper left corner of U (4, 6) is (6 × 160+100, 4 × 160), i.e. (1060, 640);
the upper right corner of U (4, 6) is taken as ((6+1) × 160, 4 × 160), namely (1120, 640);
the lower left corner of U (4, 6) is (6 × 160+100, (4+1) × 160), i.e. (1060, 800);
the lower right corner of U (4, 6) is ((6+1) × 160, (4+1) × 160), i.e. (1120, 800);
a screen E: taking the upper left corner of U (4, 7) as (7 x160, 4 x 160), namely (1120, 640);
the upper right corner of U (4, 7) is taken as ((7+1) × 160, 4 × 160), i.e., (1280, 640);
the lower left corner, taken as U (4, 7), is (7 × 160, (4+1) × 160), i.e. (1120, 800);
the lower right corner of U (4, 7) is ((7+1) × 160, (4+1) × 160), i.e., (1280, 800);
a screen F: the upper left corner of U (5, 6) is (6 × 160+100, 5 × 160), i.e. (1060, 800);
the upper right corner of U (5, 6) is taken as ((6+1) × 160, 5 × 160), namely (1120, 800);
the lower left corner of U (5, 6) is (6 × 160+100, 5 × 160+120), i.e. (1060, 920);
the lower right corner of U (5, 6) is ((6+1) × 160, 5 × 160+120), i.e. (1120, 920);
a screen G: taking the upper left corner of U (5, 7) as (7 x160, 5x 160), namely (1120, 800);
the upper right corner of U (5, 8) is taken as ((8+1) × 160, 5 × 160), i.e. (1440, 800);
the lower left corner, taken U (5, 7), is (7 × 160, 5 × 160+120), i.e. (1120, 920);
the lower right corner of U (5, 8) is ((8+1) × 160, 5 × 160+120), i.e. (1440, 920);
and a screen H: taking the upper left corner of U (5, 9) as (9 x160, 5x 160), namely (1440, 800);
the upper right corner of U (5, 9) is (9 × 160+120, 5 × 160), namely (1560, 800);
the lower left corner, U (5, 9), is (9 x160, 5x 160+120), i.e. (1440, 920);
the lower right corner, U (5, 9), is (9 x160 +120, 5x 160+120), i.e. (1560, 920).
Referring to fig. 3B, which is a schematic view of another special-shaped spliced video wall provided in the embodiment of the present invention, as shown in fig. 3B, a screen a, a screen C, and a screen D are irregular rectangles, and the length and width of each screen are:
screen a: length 1 (the uppermost horizontal border of screen a) is 1280, length 2 (the lowermost horizontal border of screen a) is 960, and length 3 (the middle horizontal border of screen a) is 320; width 1 (vertical boundary on leftmost side of screen A) is 800, Width 2 (vertical boundary on rightmost side of screen A) is 640, Width 3 (vertical boundary in middle of screen A) is 160;
and a screen B: the length is 320, and the width is 800;
and a screen C: length 1 is 960, length 2 is 160, length 3 is 1120; width 1 is 320, width 2 is 160, width 3 is 480;
and a screen D: length 1 is 160, length 2 is 320, length 3 is 480; width 1 is 320, width 2 is 160, and width 3 is 480.
Based on the scenario shown in fig. 3B, the implementation flow of the cross-screen window display scheme provided in the embodiment of the present invention is as follows:
1. and determining the maximum subblocks into which the screens A-D can be equally divided.
The prime factor decomposition method is taken as an example.
1) And performing quality factor decomposition on all the lengths of the screens A-D:
screen a length 1: 1280 ═ 2x2x2x2x2x2x2x5
Screen a length 2: 960-2 x2x2x2x2x3x5
Screen a length 3: 320 ═ 2x2x2x2x2x5
Screen B length 1: 320 ═ 2x2x2x2x2x5
Screen C is 1 long: 960-2 x2x2x2x2x3x5
Screen C length 2: 160 ═ 2x2x2x2x5
Screen C length 3: 1120-2 x2x2x2x7x5
Length of screen D1: 160 ═ 2x2x2x2x5
Screen D length 2: 320 ═ 2x2x2x2x2x5
Screen D is 3 long: 480 ═ 2x2x2x2x3x5
The quality factors contained in all the lengths of the screens A-D are taken as follows: 2. 2, 5, the maximum sub-block length that screens a-D can equally divide is 2x2x2x2x 5-160;
2) and performing quality factor decomposition on all the widths of the screens A-D to respectively obtain:
screen a width 1: 800 ═ 2x2x2x2x5x5
Screen a width 2: 640 ═ 2x2x2x2x2x2x5
Screen a width 3: 160 ═ 2x2x2x2x5
Screen B width 1: 800 ═ 2x2x2x2x5x5
Screen C width 1: 320 ═ 2x2x2x2x2x5
Screen C width 2: 160 ═ 2x2x2x2x5
Screen C width 3: 480 ═ 2x2x2x2x3x5
Screen D width 1: 320 ═ 2x2x2x2x2x5
Screen D width 2: 160 ═ 2x2x2x2x5
Screen D width 3: 480 ═ 2x2x2x2x3x5
And (3) taking the quality factors contained in all the widths of the screens A-D: 2. 2, 5, the maximum sub-block width that can be equally divided among the screens a-D is 2x2x2x2x2x 5-160
3) According to 1) and 2), the maximum sub-blocks that the screens a to D can equally divide are 160 × 160 sub-blocks, so that the television wall shown in fig. 3B can be equally divided according to 160 × 160, and the schematic diagram can be shown in fig. 3C.
After the screens a to D are equally divided, the flow of the implementation scheme for cross-screen window display may refer to the related implementation in the scene shown in fig. 1B described in the above flow, and the embodiment of the present invention is not described herein again.
As can be seen from the above description, in the technical solution provided in the embodiment of the present invention, the length and width of the target sub-block are determined according to the length and width of each screen constituting the television wall, and then each screen is equally divided according to the length and width of the target sub-block, and the correspondence between the sub-block obtained by the equal division and the screen to which the sub-block belongs is recorded; when a cross-screen window needs to be displayed in a television wall, the subblocks covered by the cross-screen window are determined according to the positions of the cross-screen window in the television wall, the target screen covered by the cross-screen window and the positions of the cross-screen window in each target screen are determined according to the corresponding relation between the subblocks covered by the cross-screen window and the screen to which the subblocks belong, and the cross-screen window is displayed in the television wall according to the positions of the cross-screen window in each target screen, so that the applicability of the cross-screen window display scheme is improved.
Referring to fig. 4, a schematic structural diagram of a cross-screen window display device according to an embodiment of the present invention is provided, where the cross-screen window display device may be applied to a back-end device in a video monitoring system, and as shown in fig. 4, the cross-screen window display device may include:
a first determining unit 410 for determining the length and width of a target sub-block according to the length and width of each screen constituting the video wall; wherein, each screen can be equally divided according to the size of the target sub-block;
a subblock dividing unit 420, configured to divide each screen equally according to the length and width of the target subblock, and record a corresponding relationship between the subblocks obtained by the equal division and the screen to which the subblock belongs;
a second determining unit 430, configured to determine, when a cross-screen window needs to be displayed in a television wall, a sub-block covered by the cross-screen window according to a position of the cross-screen window in the television wall;
a third determining unit 440, configured to determine, according to the sub-block covered by the cross-screen window and a correspondence between the sub-block recorded by the third determining unit and a screen to which the sub-block belongs, a target screen covered by the cross-screen window, and determine a position of the cross-screen window in each target screen;
the display unit 450 is configured to display the cross-screen window in the television wall according to the position of the cross-screen window in each target screen.
In an optional embodiment, the first determining unit 410 is specifically configured to perform prime factor decomposition on the length and the width of each screen, and determine a first maximum common factor of the length of each screen and a second maximum common factor of the width of each screen; determining a length and a width of a target sub-block according to the first greatest common factor and the second greatest common factor.
In an optional embodiment, the first determining unit 410 is specifically configured to determine a minimum value of the length of each screen and a minimum value of the width of each screen; determining the minimum value of the length of each screen as the length of the target sub-block when the minimum value of the length of each screen can be evenly divided by the length of each screen; otherwise, reducing the minimum value of the length of each screen according to a preset step length until the reduced first value can be divided by the length of each screen or the minimum value of the length of each screen is reduced to 1, and determining the first value or 1 as the length of the target sub-block; determining the minimum value of the length of each screen as the length of the target sub-block when the minimum value of the width of each screen can be divided by the length of each screen; otherwise, reducing the minimum value of the width of each screen according to a preset step length until the reduced second value can be divided by the width of each screen or the minimum value of the width of each screen is reduced to 1, and determining the second value or 1 as the width of the target sub-block.
In an optional embodiment, the sub-block dividing unit 420 is specifically configured to number the equally divided sub-blocks according to positions of the sub-blocks in the television wall; and recording the number of the subblocks included by each screen according to the position of each subblock in the television wall and the position of each screen in the television wall.
In an optional embodiment, the second determining unit 430 is specifically configured to determine sub-blocks where the top left corner, the top right corner, the bottom left corner, and the bottom right corner of the cross-screen window are located according to coordinates of the top left corner, the top right corner, the bottom left corner, and the bottom right corner of the cross-screen window, respectively; and determining the sub-blocks covered by the cross-screen window according to the sub-blocks of the upper left corner, the upper right corner, the lower left corner and the lower right corner of the cross-screen window.
In an optional embodiment, the third determining unit 440 is specifically configured to determine, according to the coordinates of the top left corner, the top right corner, the bottom left corner, and the bottom right corner of the cross-screen window, the position of the cross-screen window in each sub-block; and determining the position of the cross-screen window in each target screen according to the corresponding relation between the sub-blocks and the screen to which the sub-blocks belong and the positions of the cross-screen window in each sub-block.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the invention. One of ordinary skill in the art can understand and implement it without inventive effort.
It can be seen from the above embodiments that the length and width of the target sub-block are determined according to the length and width of each screen constituting the television wall, and then each screen is equally divided according to the length and width of the target sub-block, and the corresponding relationship between the sub-block obtained by the equal division and the screen to which the sub-block belongs is recorded; when a cross-screen window needs to be displayed in a television wall, the subblocks covered by the cross-screen window are determined according to the positions of the cross-screen window in the television wall, the target screen covered by the cross-screen window and the positions of the cross-screen window in each target screen are determined according to the corresponding relation between the subblocks covered by the cross-screen window and the screen to which the subblocks belong, and the cross-screen window is displayed in the television wall according to the positions of the cross-screen window in each target screen, so that the applicability of the cross-screen window display scheme is improved.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (12)

1. A cross-screen window display method is applied to back-end equipment in a video monitoring system, and is characterized by comprising the following steps:
determining the length and width of a target sub-block according to the length and width of each screen forming the television wall; wherein, each screen can be equally divided according to the size of the target sub-block; the screens forming the television wall are not screens with equal size;
dividing each screen equally according to the length and the width of the target sub-block, and recording the corresponding relation between the sub-blocks obtained by dividing equally and the screen to which the sub-blocks belong;
when a cross-screen window needs to be displayed in a television wall, determining sub-blocks covered by the cross-screen window according to the position of the cross-screen window in the television wall;
determining a target screen covered by the cross-screen window according to the sub-blocks covered by the cross-screen window and the corresponding relation between the sub-blocks recorded by the cross-screen window and the screen to which the sub-blocks belong, and determining the position of the cross-screen window in each target screen;
and displaying the cross-screen window in the television wall according to the position of the cross-screen window in each target screen.
2. The method of claim 1, wherein determining the length and width of the target sub-block according to the length and width of each screen constituting the video wall comprises:
performing prime factor decomposition on the length and the width of each screen respectively, and determining a first maximum common factor of the length of each screen and a second maximum common factor of the width of each screen;
determining a length and a width of a target sub-block according to the first greatest common factor and the second greatest common factor.
3. The method of claim 1, wherein determining the length and width of the target sub-block according to the length and width of each screen constituting the video wall comprises:
respectively determining the minimum value of the length of each screen and the minimum value of the width of each screen;
determining the minimum value of the length of each screen as the length of the target sub-block when the minimum value of the length of each screen can be evenly divided by the length of each screen; otherwise, reducing the minimum value of the length of each screen according to a preset step length until the reduced first value can be divided by the length of each screen or the minimum value of the length of each screen is reduced to 1, and determining the first value or 1 as the length of the target sub-block;
determining the minimum value of the width of each screen as the width of the target sub-block when the minimum value of the width of each screen can be evenly divided by the width of each screen; otherwise, reducing the minimum value of the width of each screen according to a preset step length until the reduced second value can be divided by the width of each screen or the minimum value of the width of each screen is reduced to 1, and determining the second value or 1 as the width of the target sub-block.
4. The method according to claim 1, wherein the recording the correspondence between the equally divided sub-blocks and the screen to which the sub-blocks belong comprises:
numbering the equally divided subblocks according to the positions of the subblocks in the television wall;
and recording the number of the subblocks included by each screen according to the position of each subblock in the television wall and the position of each screen in the television wall.
5. The method of claim 1, wherein determining the sub-block covered by the cross-screen window according to the position of the cross-screen window in the television wall comprises:
determining sub-blocks where the upper left corner, the upper right corner, the lower left corner and the lower right corner of the cross-screen window are located according to the coordinates of the upper left corner, the upper right corner, the lower left corner and the lower right corner of the cross-screen window respectively;
and determining the sub-blocks covered by the cross-screen window according to the sub-blocks of the upper left corner, the upper right corner, the lower left corner and the lower right corner of the cross-screen window.
6. The method of claim 1, wherein the determining the position of the cross-screen window in each target screen comprises:
determining the position of the cross-screen window in each sub-block according to the coordinates of the upper left corner, the upper right corner, the lower left corner and the lower right corner of the cross-screen window;
and determining the position of the cross-screen window in each target screen according to the corresponding relation between the sub-blocks and the screen to which the sub-blocks belong and the positions of the cross-screen window in each sub-block.
7. A cross-screen window display device applied to a back-end device in a video monitoring system is characterized by comprising:
the first determining unit is used for determining the length and the width of the target sub-block according to the length and the width of each screen forming the television wall; wherein, each screen can be equally divided according to the size of the target sub-block; the screens forming the television wall are not screens with equal size;
the subblock dividing unit is used for equally dividing each screen according to the length and the width of the target subblock and recording the corresponding relation between the subblocks obtained by equal division and the screens to which the subblocks belong;
the second determining unit is used for determining the sub-blocks covered by the cross-screen windows according to the positions of the cross-screen windows in the television wall when the cross-screen windows need to be displayed in the television wall;
a third determining unit, configured to determine, according to the sub-block covered by the screen crossing window and a correspondence between the sub-block recorded by the third determining unit and a screen to which the sub-block belongs, a target screen covered by the screen crossing window, and determine a position of the screen crossing window in each target screen;
and the display unit is used for displaying the cross-screen windows in the television wall according to the positions of the cross-screen windows in the target screens.
8. The apparatus of claim 7,
the first determining unit is specifically configured to perform quality factor decomposition on the length and the width of each screen, and determine a first maximum common factor of the length of each screen and a second maximum common factor of the width of each screen; determining a length and a width of a target sub-block according to the first greatest common factor and the second greatest common factor.
9. The apparatus of claim 7,
the first determining unit is specifically configured to determine a minimum value of the length of each screen and a minimum value of the width of each screen; determining the minimum value of the length of each screen as the length of the target sub-block when the minimum value of the length of each screen can be evenly divided by the length of each screen; otherwise, reducing the minimum value of the length of each screen according to a preset step length until the reduced first value can be divided by the length of each screen or the minimum value of the length of each screen is reduced to 1, and determining the first value or 1 as the length of the target sub-block; determining the minimum value of the width of each screen as the width of the target sub-block when the minimum value of the width of each screen can be evenly divided by the width of each screen; otherwise, reducing the minimum value of the width of each screen according to a preset step length until the reduced second value can be divided by the width of each screen or the minimum value of the width of each screen is reduced to 1, and determining the second value or 1 as the width of the target sub-block.
10. The apparatus of claim 7,
the subblock dividing unit is specifically used for numbering subblocks obtained by equal division according to the positions of the subblocks in the television wall; and recording the number of the subblocks included by each screen according to the position of each subblock in the television wall and the position of each screen in the television wall.
11. The apparatus of claim 7,
the second determining unit is specifically configured to determine sub-blocks where the upper left corner, the upper right corner, the lower left corner and the lower right corner of the cross-screen window are located according to the coordinates of the upper left corner, the upper right corner, the lower left corner and the lower right corner of the cross-screen window respectively; and determining the sub-blocks covered by the cross-screen window according to the sub-blocks of the upper left corner, the upper right corner, the lower left corner and the lower right corner of the cross-screen window.
12. The apparatus of claim 7,
the third determining unit is specifically configured to determine the position of the cross-screen window in each sub-block according to the coordinates of the upper left corner, the upper right corner, the lower left corner and the lower right corner of the cross-screen window; and determining the position of the cross-screen window in each target screen according to the corresponding relation between the sub-blocks and the screen to which the sub-blocks belong and the positions of the cross-screen window in each sub-block.
CN201611027961.7A 2016-11-16 2016-11-16 Cross-screen window display method and device Active CN106775516B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611027961.7A CN106775516B (en) 2016-11-16 2016-11-16 Cross-screen window display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611027961.7A CN106775516B (en) 2016-11-16 2016-11-16 Cross-screen window display method and device

Publications (2)

Publication Number Publication Date
CN106775516A CN106775516A (en) 2017-05-31
CN106775516B true CN106775516B (en) 2020-05-19

Family

ID=58971533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611027961.7A Active CN106775516B (en) 2016-11-16 2016-11-16 Cross-screen window display method and device

Country Status (1)

Country Link
CN (1) CN106775516B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737746B (en) * 2018-05-04 2020-09-04 威创集团股份有限公司 Signal processing method, signal processing device, computer equipment and storage medium
CN108922426B (en) * 2018-07-13 2021-12-10 深圳市东微智能科技股份有限公司 Spliced screen combination method and spliced screen combination system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286314A (en) * 2008-05-26 2008-10-15 杭州华三通信技术有限公司 Multi-picture splicing method and device
CN101656037A (en) * 2008-08-18 2010-02-24 高德软件有限公司 Method for displaying large-format picture on small screen equipment and small screen equipment
CN101697112A (en) * 2009-10-23 2010-04-21 广东威创视讯科技股份有限公司 Method and device for processing multi-screen splicing display
CN102495712A (en) * 2011-12-15 2012-06-13 王飞 Map splicing display method based on a plurality of display terminals
CN102855114A (en) * 2012-08-20 2013-01-02 北京小米科技有限责任公司 Multi-mobile-terminal screen splicing method, screen splicing server and mobile terminal
TW201344556A (en) * 2012-04-18 2013-11-01 Chia-Hao Hsu Display device with sharable screen image
CN103516887A (en) * 2012-06-29 2014-01-15 中国移动通信集团公司 Display method, device and system of multiple terminal screens
CN103686064A (en) * 2012-08-31 2014-03-26 杭州海康威视数字技术股份有限公司 Picture segment display method and client-side
CN104375798A (en) * 2014-11-27 2015-02-25 中国科学技术大学 Method for displaying multimedia through multiple mobile intelligent device screens in combined mode
CN104679463A (en) * 2013-11-27 2015-06-03 英业达科技有限公司 Display device and method for splitting display pictures and transmitting pictures to different display units to be displayed
CN105786431A (en) * 2016-03-04 2016-07-20 京东方科技集团股份有限公司 Jointing screen and method and device for achieving automatic distribution of display content of jointing screen

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286314A (en) * 2008-05-26 2008-10-15 杭州华三通信技术有限公司 Multi-picture splicing method and device
CN101656037A (en) * 2008-08-18 2010-02-24 高德软件有限公司 Method for displaying large-format picture on small screen equipment and small screen equipment
CN101697112A (en) * 2009-10-23 2010-04-21 广东威创视讯科技股份有限公司 Method and device for processing multi-screen splicing display
CN102495712A (en) * 2011-12-15 2012-06-13 王飞 Map splicing display method based on a plurality of display terminals
TW201344556A (en) * 2012-04-18 2013-11-01 Chia-Hao Hsu Display device with sharable screen image
CN103516887A (en) * 2012-06-29 2014-01-15 中国移动通信集团公司 Display method, device and system of multiple terminal screens
CN102855114A (en) * 2012-08-20 2013-01-02 北京小米科技有限责任公司 Multi-mobile-terminal screen splicing method, screen splicing server and mobile terminal
CN103686064A (en) * 2012-08-31 2014-03-26 杭州海康威视数字技术股份有限公司 Picture segment display method and client-side
CN104679463A (en) * 2013-11-27 2015-06-03 英业达科技有限公司 Display device and method for splitting display pictures and transmitting pictures to different display units to be displayed
CN104375798A (en) * 2014-11-27 2015-02-25 中国科学技术大学 Method for displaying multimedia through multiple mobile intelligent device screens in combined mode
CN105786431A (en) * 2016-03-04 2016-07-20 京东方科技集团股份有限公司 Jointing screen and method and device for achieving automatic distribution of display content of jointing screen

Also Published As

Publication number Publication date
CN106775516A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN107240384B (en) Display brightness compensation method and device
US10832462B2 (en) Image synthesis method, image chip, and image device
CN105117081A (en) Touch substrate, manufacturing method therefor and touch display apparatus
US20160180812A1 (en) Display device, display system including the same and display method thereof
WO2015074487A1 (en) Method for displaying input-video in point-to-point manner on splicing display screen
CN104714714A (en) Mobile terminal desktop control method and device and mobile terminal
CN103680470A (en) Large screen control image display method and system
CN111492341B (en) Method for determining offset distance of spliced display screen and related device
CN106775516B (en) Cross-screen window display method and device
WO2010051702A1 (en) Split-screen display method and apparatus
CN102629460A (en) Method and apparatus for controlling frame frequency of liquid crystal display
CN110989952A (en) Multi-screen-based mouse sharing implementation method, device and system
CN105467603A (en) Three-dimensional display device
CN111986601A (en) Screen display method and device, terminal equipment and storage medium
CN110364127A (en) The adaptive display method and device of intelligent large screen system
CN111698491B (en) Multi-projection image display method and device, electronic equipment and storage medium
CN101409763A (en) Method and apparatus for displaying images
CN107526576B (en) Method and device for displaying view components of page
CN102902500A (en) Display method and device of data matrix information
KR101747768B1 (en) Method for displaying of digital signage
JP7289390B2 (en) Image processing device for display wall system and display control method
CN111010600A (en) Tiled fusion windowing method based on distributed cloud splicing and display screen
CN114222074A (en) Spliced screen driving method and device, server and storage medium
CN104854522A (en) Ladder program display device and ladder program display method
TWI486947B (en) Layer access method, data access device and layer access arrangement method

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