CN113467736A - Display window creating method and device and electronic equipment - Google Patents

Display window creating method and device and electronic equipment Download PDF

Info

Publication number
CN113467736A
CN113467736A CN202110726771.9A CN202110726771A CN113467736A CN 113467736 A CN113467736 A CN 113467736A CN 202110726771 A CN202110726771 A CN 202110726771A CN 113467736 A CN113467736 A CN 113467736A
Authority
CN
China
Prior art keywords
window
boundary
area
display window
initial
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110726771.9A
Other languages
Chinese (zh)
Inventor
雷伟军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN202110726771.9A priority Critical patent/CN113467736A/en
Publication of CN113467736A publication Critical patent/CN113467736A/en
Priority to PCT/CN2022/097693 priority patent/WO2023273821A1/en
Priority to GB2400354.3A priority patent/GB2622549A/en
Pending legal-status Critical Current

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
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/14Display of multiple viewports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2300/00Aspects of the constitution of display devices
    • G09G2300/02Composition of display devices
    • G09G2300/026Video wall, i.e. juxtaposition of a plurality of screens to create a display screen of bigger dimensions
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0464Positioning
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/003Details of a display terminal, the details relating to the control arrangement of the display terminal and to the interfaces thereto
    • G09G5/005Adapting incoming signals to the display format of the display terminal
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/22Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
    • G09G5/32Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory with means for controlling the display position

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application provides a display window creating method, a display window creating device and electronic equipment, wherein the display window creating method comprises the following steps: determining an initial window area; determining at least one target virtual output area having an intersection with the initial window area from among a plurality of virtual output areas corresponding to a plurality of physical output areas into which the television wall has been divided; the plurality of physical output areas correspond to output ports which are used for transmitting decoded video streams on decoding equipment connected with the television wall; and adjusting the initial window area according to the distance between the corresponding boundaries on the initial window area and the target virtual output area, and sending the adjusted initial window area to the television wall so as to control the television wall not to generate window black edges according to the target display window created by the adjusted initial window area.

Description

Display window creating method and device and electronic equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for creating a display window, and an electronic device.
Background
The television wall is a whole display wall composed of at least one display. Typically, at least one display window may be created on a television wall, with each display window displaying a respective video.
In a video wall control networking, the method generally comprises the following steps: a management platform, decoding equipment and video wall for managing the video wall. The management platform can send the video data transmitted to the television wall to the decoding device, and the decoding device sends the decoded video data to the television wall after decoding the video data so as to be displayed by a display window of the television wall.
The television wall comprises a plurality of interfaces, and each interface is connected with a decoding output port of the decoding device and used for receiving a decoded video stream sent by the decoding device. The television wall is divided into at least one output area in advance according to the interfaces on the television wall, and different output areas correspond to different interfaces. In the existing mode, after the display window is deployed, when the display window is controlled to be displayed on a television wall, a window black edge appears on the display window.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for creating a display window, and an electronic device, which are used to implement that a window black border is not generated on a display window created on a television wall.
Specifically, the method is realized through the following technical scheme:
according to a first aspect of the present application, there is provided a display window creation method applied to a management platform for managing a television wall, the method including:
determining an initial window area of a target display window to be created;
determining at least one target virtual output area having an intersection with the initial window area from among a plurality of virtual output areas corresponding to a plurality of physical output areas into which the television wall has been divided; the plurality of physical output areas correspond to output ports which are used for transmitting decoded video streams on decoding equipment connected with the television wall;
and adjusting the initial window area according to the distance between the corresponding boundaries on the initial window area and the target virtual output area, and sending the adjusted initial window area to the television wall, so that the television wall does not generate window black edges according to a target display window created by the adjusted initial window area.
According to a second aspect of the present application, there is provided a display window creation apparatus applied to a management platform for managing a tv wall, the apparatus comprising:
a window region determining unit for determining an initial window region;
an output area determination unit for determining at least one target virtual output area having an intersection with the initial window area from among a plurality of virtual output areas corresponding to a plurality of physical output areas into which the television wall has been divided; the plurality of physical output areas correspond to output ports which are used for transmitting decoded video streams on decoding equipment connected with the television wall;
and the adjusting unit is used for adjusting the initial window area according to the distance between the corresponding boundaries on the initial window area and the target virtual output area, and sending the adjusted initial window area to the television wall, so that the television wall does not generate window black edges according to the target display window created by the adjusted initial window area.
According to a third aspect of the present application, there is provided an electronic device comprising a readable storage medium and a processor;
wherein the readable storage medium is configured to store machine executable instructions;
the processor is configured to read the machine executable instruction on the readable storage medium and execute the instruction to implement the display window creation method.
According to a fourth aspect of the present application, there is provided a computer-readable storage medium having stored therein a computer program which, when executed by a processor, implements the above-described display window creation method.
According to a fifth aspect of the present application, there is provided a computer program, which is stored in a computer-readable storage medium and causes a processor to implement the above-described display window creation method when the computer program is executed by the processor.
As can be seen from the above description, when the management platform creates the display window, the initial window region is determined, and the initial window region is adjusted according to the distance between the initial window region and the corresponding boundary on the target virtual output region having an intersection with the initial window region, so that the display window created based on the adjusted initial window region does not generate window black edges.
Drawings
Fig. 1 is a diagram illustrating a video wall control networking according to an exemplary embodiment of the present application;
FIG. 2 is a schematic diagram of an output region shown in an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram of an output area and display window shown in an exemplary embodiment of the present application;
FIG. 4 is a schematic diagram illustrating an output region in positional relationship to an initial window region in accordance with an exemplary embodiment of the present application;
FIG. 5 is a flow chart illustrating a display window creation method according to an exemplary embodiment of the present application;
FIG. 6 is a schematic diagram illustrating another output region and initial window region positional relationship in accordance with an exemplary embodiment of the present application;
FIG. 7 is a schematic diagram illustrating another output region and initial window region positional relationship in accordance with an exemplary embodiment of the present application;
FIG. 8 is a diagram illustrating a hardware configuration of an electronic device according to an exemplary embodiment of the present application;
fig. 9 is a block diagram of a display window creation apparatus according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Referring to fig. 1, fig. 1 is a diagram illustrating a video wall control networking according to an exemplary embodiment of the present application, where the networking includes at least: management platform, decoding equipment and video wall.
The management platform is used for managing the television wall, such as pre-deploying display windows on the television wall. The user can realize the control of the television wall through the management platform.
And the decoding device is connected with the television wall and used for decoding the video data transmitted to the television wall, sending the decoded video data to the television wall and displaying the video data in a window of the television wall.
The television wall is a whole display wall consisting of at least one display. The television wall comprises a plurality of interfaces, and the interfaces on the television wall are connected with a decoding output port of the decoding equipment and used for receiving the decoded video stream sent by the decoding equipment. According to the interface on the television wall, the television wall is divided into at least one physical output area in advance, and different physical output areas correspond to different interfaces. In addition, the television wall is also provided with at least one display window for playing videos in advance. The display window is created according to the physical output area, so that the decoded data output by the decoding output port can be displayed in the display window arranged in the physical output area, and the created display window can not generate window black edges.
Before describing the methods provided herein, several concepts related to the present application will be described.
1) Physical output area
The television wall is divided into at least one physical output area in advance according to the interface on the television wall, and the interface corresponding to each physical output area is connected with one decoding output port of the decoding device.
As shown in fig. 2, it is assumed that the video wall includes 4 interfaces, and the 4 interfaces are respectively connected to a decoding output port a, a decoding output port B, a decoding output port C, and a decoding output port D on the decoding device. The television wall is divided into 4 output areas in advance, namely a physical output area A corresponding to the decoding output port A, a physical output area B corresponding to the decoding output port B, a physical output area C corresponding to the decoding output port C and a physical output area D corresponding to the decoding output port D.
2) Virtual output area
The virtual output regions correspond to respective physical output regions, which are actually divided output regions on a television wall. And the virtual output area is information on the management platform that describes the physical output area. For example, there are 16 physical output regions divided on the television wall, and the arrangement mode is 4 × 4, then virtual output regions corresponding to the physical output regions are maintained on the management platform, there are 15 virtual output regions, and the arrangement mode is also 4 × 4.
For example, the area coordinates of the virtual output area may be real area coordinates of the physical output area on a television wall, and the area coordinates of the virtual output area may also be coordinates generated by mapping the real area coordinates of the physical output area on the television wall to a coordinate system of the management platform. The virtual output area is merely exemplified here, and is not particularly limited.
3) Display window
The display window is used for playing video data. The number of the created display windows is set by a user, and the purpose to be achieved by the application is to automatically create a display window array on an output area, so that each created display window does not generate a window black border.
For example, as shown in fig. 3, assuming that the physical output area is 2 × 2 and the display window array is 5 × 5, the display window array created on the physical output area is as shown in fig. 3. Wherein the dashed boxes represent physical output areas and the implementation boxes represent display windows.
4) Reasons for generating window black edge of display window
When the boundary distance between a first boundary of a window area of a display window and a second boundary corresponding to the first boundary in a physical output area where the first boundary is located is within a preset range corresponding to the first boundary, a black edge appears on the display window.
As shown in fig. 4, for example, if the distance between the right boundary of the display window and the right boundary of the physical output area is within the range of (0, L1) corresponding to the right boundary, the display window appears black.
For another example, if the distance between the lower boundary of the display window and the lower boundary of the physical output area is within the range of (0, L2) corresponding to the lower boundary, the display window has a black border.
When the distance between the right boundary of the display window and the right boundary (and/or the left boundary) of the physical output area is not within the preset range corresponding to the right boundary, the distance between the left boundary of the display window and the left boundary (and/or the right boundary) of the physical output area is not within the preset range corresponding to the left boundary, the distance between the upper boundary of the display window and the upper boundary (and/or the lower boundary) of the physical output area is not within the preset range corresponding to the upper boundary, and the distance between the lower boundary of the display window and the lower boundary (and/or the upper boundary) of the physical output area is not within the preset range corresponding to the lower boundary, the display window does not have window black borders.
It should be noted that the preset ranges corresponding to the upper and lower boundaries of the display window may be the same range or different ranges. The preset ranges corresponding to the left and right boundaries of the display window may be the same range or different ranges. This is merely an example and is not particularly limited.
If the coordinate information of the window region and the target virtual output region is coordinate information in a video wall coordinate system, the boundary distance between the first boundary and the second boundary and the preset range are both information in the video wall coordinate system.
And if the coordinate information of the window area and the target virtual area is the coordinate information under the coordinate system of the management platform, the boundary distance between the first boundary and the second boundary and the preset range are all the information under the coordinate system of the management platform. And will not be described in detail below.
The application aims to provide a display window creating method, and a management platform determines an initial window area. The management platform then determines, from among the plurality of virtual output areas into which the television wall has been divided, at least one target virtual output area having an intersection with the initial window area. And the management platform adjusts the initial window area according to the distance between the corresponding boundaries on the initial window area and the target virtual output area so as to control the television wall not to generate window black edges when displaying videos according to the target display window established by the adjusted initial window area.
The management platform determines an initial window area when creating the display window, and adjusts the initial window area according to the distance between the initial window area and a corresponding boundary on a target virtual output area having an intersection with the initial window area, so that the display window created based on the adjusted initial window area does not generate window black edges.
Referring to fig. 5, fig. 5 is a flowchart illustrating a display window creation method according to an exemplary embodiment of the present application, which may be applied to the management platform shown in fig. 1 and may include the following steps.
Step 501: the management platform determines an initial window region of a target display window to be created.
In the present application, since the management platform is used for managing the television wall, the management platform maintains the size information of the television wall and the related information of each divided physical output area on the television wall. Wherein the related information of the physical output area comprises: the physical output area size, the physical output area identifier, and the physical output area position information are only exemplary and are not specifically limited to the information related to the output area.
Since the management platform maintains the information about the physical output areas, the management platform can obtain the virtual output areas corresponding to the physical output areas.
It should be noted that the size information of the tv wall maintained on the management platform and the size information of each virtual output area may be real size information of the tv wall and the physical output area in a tv wall coordinate system, or size information of the real size information of the tv wall and the physical output area in the tv wall coordinate system mapped in a management platform coordinate system, which is only described by way of example and is not specifically limited herein.
In the present application, the management platform is preconfigured with information about the designated array of display windows that need to be created. For example, the related information includes: the number and arrangement of the display windows in the display window array are specified (for example, the management platform is configured with the display window array to be created by M × N in advance), and the identification information of each display window (for example, the management platform also maintains the information of the numbers of the M × N display windows to be created, and the like). This is merely an example and is not particularly limited.
Wherein the designated display window array is composed of at least one display window. For example, when the number of display windows is 1, the designated display window array includes one display window; when the display windows are multiple (for example, the number of the display windows is M × N), the designated display window array is formed by arranging the display windows in an order of M rows and N columns.
The management platform can control the television wall to create a designated display window array on the physical output area, so that each display window in the designated display window array does not generate a window black border.
Step 501 is described in detail below with reference to the trigger condition of step 501 and the implementation method of step 501.
1) Triggering condition of step 501
In the present application, other display windows except the last display window in the designated display window array, and/or the last display window in a row in the designated display window array, and/or the last display window in a column in the designated display window array may be created according to steps 501 to 503. Because, during the creation of the display window, the management platform will adjust the boundary of the initial window area of the display window, and the window area of the latter display window is determined based on the existing display window area, this will result in that, upon determining the last display window area in the array of designated display windows, and/or in determining the last display window region in a row in the designated display window array, and/or upon determining a last display window region of a column in the designated display window array, and because the remaining window creation area of the television wall does not meet the preset window creation condition, the last display window in the designated display window array, and/or in one row in the designated display window array, and/or in one column in the designated display window array cannot be created.
Therefore, in an alternative implementation, the management platform may detect whether the target display window is the last display window in the designated window array, and/or whether the target display window is the last display window in a row in the designated window array, and/or whether the target display window is the last display window in a column in the designated window array.
Optionally, upon detecting, the management platform may determine whether to create a last display window in the designated window array currently based on the number of the target display window to be created currently. For example, the management platform numbers the display windows to be created in the designated window array in advance, and if the number of the target display window to be created currently is the last number, it is determined that the target display window to be created currently is the last display window in the designated display window array.
Of course, the management platform may also determine whether to create a non-last display window in the designated window array according to the adjusted number of initial window regions and the number of display windows in the display window array, which is only exemplary and not specifically limited herein.
Of course, the management platform may also determine whether the target display window is the last display window in a row or the last display window in a column based on the number of the target display window maintained by the management platform.
For example, to create 3 × 4 display windows, the 12 display windows are numbered as 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, and 12 in order from left to right and from top to bottom. Where number 4 is the last display window in the first row and number 9 is the last display window in the first column.
When the management platform is to determine the initial window region of the display window numbered 4, the management platform determines the display window to be the last display window in the first row based on the number 4.
When the management platform is to determine the initial window region of the display window with the number 9, the management platform determines the display window to be the last display window in the first column based on the number.
Of course, the management platform may also determine whether the target display window is the last display window in a row or the last display window in a column according to the adjusted number of the initial window regions and the adjusted number of display windows in the display window array, which is merely exemplary and not specifically limited herein.
If the target display window is the last display window in the designated display window array, and/or the target display window is the last display window in a row in the designated display window array, and/or the target display window is the last display window in a column in the designated window array, the management platform executes the step of determining the initial window area of the target display window to be created, that is, implements creation of the target display window corresponding to the initial window area based on steps 501 to 503, if it is determined that the remaining window creation area of the television wall meets the preset window creation condition.
When the target display window is not the last display window in the designated window array, and/or the target display window is not the last display window in a row in the designated window array, and/or the target display window is not the last display window in a column in the designated window array, the step of determining the initial window area of the target display window to be created is performed, that is, the creation of the target display window corresponding to the initial window area is realized based on steps 501 to 503.
Wherein the preset window creating condition comprises: the residual window creating area meets the creation of a minimum display window supported by the television wall;
and/or;
the width of the residual window creating area is greater than the maximum value of a preset range corresponding to the left boundary or the right boundary of the initial window area to be determined, and the height of the residual window creating area is greater than the maximum value of a preset range corresponding to the upper boundary or the lower boundary of the initial window area to be determined.
The following exemplifies "the remaining window creation area satisfies creation of the minimum display window supported by the television wall".
Assuming that the size of the minimum display window supported by the television wall is a & ltb & gt, when the product of the length and the width of the residual window creation area is less than a & ltb & gt, the residual window creation area is indicated not to meet the creation of the minimum display window supported by the television wall. If the product of the length and the width of the residual window creating area is greater than or equal to a x b, the residual window creating area is indicated to meet the creation of the minimum display window supported by the television wall
The following relation "the width of the remaining window creation area is greater than the maximum value of the preset range corresponding to the left boundary or the right boundary of the initial window area to be determined, and the height of the remaining window creation area is greater than the maximum value of the preset range corresponding to the upper boundary or the lower boundary of the initial window area to be determined".
For example, if the boundary distance between the left and right boundaries of the display window region and the left and right boundaries of the output region is within the range of (0, L1), a black border is generated, and the boundary distance between the upper and lower boundaries of the display window region and the upper and lower boundaries of the output region is within the range of (0, L2), a black border is generated.
If the width of the remaining window creation area is less than L1 and/or the height of the remaining window creation area is less than L2, it indicates that the width and/or height of the remaining window creation area is less than the maximum value of the preset range, and further indicates that the remaining window creation area does not satisfy the preset window creation condition.
If the width of the remaining window creation area is greater than L1 and the height of the remaining window creation area is greater than L2, it indicates that the width and/or height of the remaining window creation area is greater than the maximum value of the preset range, and further indicates that the remaining window creation area satisfies the preset window creation condition.
In addition, in this embodiment of the application, when the determined target display window is the last display window in the designated window array, and/or the last display window in a row of the designated window array, and/or the last display window in a column of the designated window array, if the management platform determines that the remaining window creation area of the television wall does not satisfy the preset window creation condition, the management platform may send an alarm message to prompt that the last display window in the designated window array cannot be created, and/or the last display window in a row of the designated window array cannot be created, and/or the last display window in a column of the designated window array cannot be created.
2) Implementation of step 501
In an alternative implementation manner, in a case that the target display window to be created is the first display window in the designated window array, the management platform may determine the initial window area according to coordinates of a preset point in the television wall.
If the coordinate system of the management platform is the same as that of the television wall, the management platform can determine the initial window area directly according to the coordinates of the preset point in the television wall.
If the coordinate system of the management platform is different from the coordinate system of the television wall and the coordinate system of the management platform is mapped by the coordinate system of the television wall, the management platform can convert the coordinates of the preset points in the television wall into the coordinates of the preset points in the coordinate system of the management platform, and then the initial window area is determined based on the converted coordinates of the preset points. This is merely an example and is not particularly limited.
The management platform may determine whether the target display window is the first display window based on the number of the target display window to be currently created, or determine whether the target display window is the first display window according to the number of display windows of which the initial window region has been successfully adjusted, which is merely exemplary and is not specifically limited herein.
For example, assume that, in the management platform coordinate system, the vertex at the upper left corner of the tv wall is used as the origin, the line where the upper boundary of the tv wall is located is used as the abscissa, and the line where the right boundary of the tv wall is located is used as the ordinate.
Suppose that under the coordinate system of the management platform, the coordinates of the top left corner vertex of the television wall are (0, 0), and the coordinates of the bottom left corner vertex are (x)10) and coordinates of the vertex of the lower right corner are (x)1,y1) The coordinate of the vertex at the upper right corner is (0, y)1)。
Assume that the array of display windows that needs to be created is M x N.
Assuming that the preset point is P under the coordinate system of the management platform0,P0Has the coordinates of (x)0,y0)。
The management platform can determine an initial window area of the first display window according to the preset point. For example, under the management platform coordinate system, the management platform can set the preset point P0As the coordinates of the upper left corner of the initial window area of the first display window. The lower left corner of the first display window area is taken as (x)0,y0+ height of first display window), the upper right corner coordinate of the first display window area is (x)0+ width of first display window, y0) And the lower right corner coordinate of the first display window area is (x)0+ firstWidth of a display window, y0+ height of first display window).
For example, assuming that the management platform is to build an M × N display window array, the management platform is to build M rows of N display windows, so that each display window has a width of x1a/N, height of y1/M。
In addition, in the embodiment of the present application, the width and the height of each display window may also be set by the user.
It should be noted that the information related to the coordinates maintained or determined on the management platform (such as the window area determined on the management platform, the virtual output area maintained, the calculated distance between the first boundary and the second boundary, the preset range, the preset point, and the like) is determined based on the coordinate system of the management platform. The coordinate system of the management platform may be the same as the coordinate system of the video wall, or may be obtained by mapping the coordinate system of the video wall. Which will not be described in detail below.
In another optional implementation manner, in a case that the target display window is a non-first display window in the designated window array, the management platform determines the initial window area according to the window area corresponding to the display window of which the initial window area has been adjusted by the designated window array.
In this embodiment of the application, the management platform may detect whether a target display window to be currently created is a first display window in a current row, where the current row specifies other rows in the window array except the first row.
In this embodiment, the management platform may determine whether the target display window is the first display window in the other rows of the window array except the first row according to the number of the target display window. For example, to create 3 × 4 display windows, the 12 display windows are numbered as 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, and 12 in order from left to right and from top to bottom. Where the number 5 is the second row first display window, and the number 9 is the third row first display window.
Assuming that the target display window is numbered 5, this indicates that the target display window is the first target display window in the second row.
Of course, the management platform may also determine whether the target display window is the first display window in the other rows of the window array except the first row according to the adjusted number of the initial window regions. For example, the management platform needs to create a 3 × 4 display window array, the management platform has successfully adjusted the initial window regions of 4 display windows, and the initial window region of the target display window to be currently determined is the initial window region of the 5 th display window, so that the target display window may be determined to be the first display window in the second row.
This is merely an example and is not particularly limited.
And under the condition that the target display window is the first display window of the current row in the appointed window array, the management platform determines the initial window area according to the window area corresponding to the display window in the row of which the initial window area is regulated latest.
Wherein the row most recently adjusted the initial window area is a row most recently adjusted the initial window area except the current row.
For example, the display windows of the designated display window array are arranged from top to bottom and from left to right, and assuming that the target display window to be created currently is the first display window of the second row, the row of the designated window array to which the initial window region has been adjusted newly is the first row.
For another example, the display windows of the designated display window array are arranged from bottom to top and from left to right, and assuming that the target display window to be created currently is the first display window in the third row, the row with the latest initial window area adjusted is the fourth row in the designated window array.
In addition, in the case that the target display window is the first display window of the current row in the designated window array, when determining the initial window region according to the window region corresponding to the display window in the row of the latest adjusted initial window region, the management platform may determine the initial window region according to the window region corresponding to any display window (such as the first display window, the second display window, and the like) in the row of the latest adjusted initial window region.
Preferably, in the case that the target display window is the first display window of the current row in the designated window array, the management platform may determine the initial window area according to the window area corresponding to the first display window in the row of the newly adjusted initial window area
For example, as shown in fig. 3, assuming that the target display window to be created is the first display window in the second row, the management platform may determine the initial window area of the first display window in the second row according to the window area of the first display window in the first row.
For example, the management platform may determine, according to the left lower corner vertex of the first display window area in the first row as the left upper corner vertex of the initial window area of the first display window in the second row, and according to the width and height of the first display window area in the second row, the other three vertex coordinates of the initial window area of the first display window in the second row, where the determination manner is as described above in the case of determining the initial window area of the first display window, and details thereof are not repeated here.
When the target display window is a non-first display window of the current row, the management platform may determine the initial window area according to a latest adjusted initial window area in the current row.
For example, as shown in fig. 3, assuming that the target display window to be currently created is the second display window of the second row, the management platform may determine the initial window area of the second display window of the second row according to the latest adjusted initial window area (i.e. the adjusted initial window area of the first display window of the second row).
For example, the management platform may determine, according to the top-right vertex of the first initial window region of the second line as the top-left vertex of the initial window region of the second display window of the second line, and according to the width and height of the second display window region of the second line, the other three vertex coordinates of the initial window region of the second display window of the second line, where the determination manner is as described above in the case of determining the initial window region of the first display window, and is not described here again.
Step 502: the management platform determines at least one target virtual output area having intersection with the initial window area from a plurality of virtual output areas corresponding to a plurality of physical output areas into which the television wall has been divided; the plurality of physical output areas correspond to output ports for transmitting decoded video streams on decoding equipment connected with the television wall.
In this case, the management platform may determine, among all the virtual output regions, at least one virtual output region that has an intersection with the initial window region, where, for convenience of description, the at least one output region that has an intersection with the initial window region is referred to as a target virtual output region.
For example, as shown in diagram a in fig. 6. In the case shown in a diagram in fig. 6, the initial window region is in the virtual output region 1, and the output region 1 is the target virtual output region.
For example, as shown in diagram b of fig. 6. In the case shown in b diagram in fig. 6, since the initial window region intersects with both the virtual output region 1 and the virtual output region 2, both the virtual output region 1 and the virtual output region 2 are target virtual output regions.
Step 503: and the management platform adjusts the initial window area according to the distance between the corresponding boundaries on the initial window area and the target virtual output area, and sends the adjusted initial window area to the television wall, so that the television wall does not generate window black edges according to the target display window created by the adjusted initial window area.
When implemented, the management platform may determine a target boundary pair, the target boundary pair comprising: the distance between a first boundary and a second boundary, which are positioned in the initial window area and correspond to the first boundary in the target virtual output area where the first boundary is positioned, is within a preset range corresponding to the first boundary. Then, the management platform can adjust a first boundary of the target boundary pair so that the distance between the first boundary and a second boundary is not within the preset range; wherein the preset range represents a range in which a black border is generated.
In implementation, the management platform may adjust the first boundary of a target boundary pair after determining the target boundary pair. Then another target boundary pair is determined, and then the first boundary in the other target boundary pair is adjusted. In one example, the management platform may keep the size of the initial window area unchanged when adjusting the first boundary of the target boundary pair after determining the first target boundary pair, that is, the remaining boundaries of the initial window area need to be adjusted along with the adjustment of the first boundary, and then adjust the first boundary of another target boundary pair when determining that another target boundary pair still exists, where the adjusted first boundary is kept stationary in the adjusted direction of the first boundary when adjusting the latter first boundary. Of course, in practical application, the management platform may also sequentially adjust the first boundary of the determined target boundary pairs after determining all the target boundary pairs, and the size of the initial window area may be appropriately changed during the adjustment process. This is merely an example and is not particularly limited.
The following describes "determine target boundary pair" and "adjust first boundary of target boundary pair" in detail, respectively.
Step 5031: the management platform determines a target boundary pair.
Step 5031 is described in detail below through step a1 to step a 2.
Step A1, the management platform determines the boundary pairs.
For convenience of description, the boundary in the initial window region is referred to as a first boundary, and the boundary in the target virtual output region is referred to as a second boundary.
When determining, for each first boundary in the initial window region, the management platform may obtain, from all boundaries of the target virtual output region where the first boundary is located, a boundary corresponding to the position of the first boundary as a second boundary, and then form a boundary pair with the first boundary and the second boundary.
For example, as shown in a diagram in fig. 6, if the first boundary is the left boundary of the initial window region, since the first boundary is in the output region 1, the left boundary and/or the right boundary in the output region 1 is/are used as the second boundary, and the first boundary and the second boundary are combined into a boundary pair.
If the first boundary is the right boundary of the initial window region, because the first boundary is in the output region 1, the left boundary and/or the right boundary in the output region 1 is/are taken as the second boundary, and the first boundary and the second boundary form a boundary pair.
If the first boundary is the upper boundary of the initial window region, because the first boundary is in the output region 1, the upper boundary and/or the lower boundary in the output region 1 are/is taken as the second boundary, and the first boundary and the second boundary form a boundary pair.
If the first boundary is the lower boundary of the initial window region, because the first boundary is in the output region 1, the upper boundary and/or the lower boundary in the output region 1 is/are taken as the second boundary, and the first boundary and the second boundary form a boundary pair.
For another example, as shown in b of fig. 6, if the first boundary is the left boundary of the initial window region, since the first boundary is in the output region 3, the left boundary and/or the right boundary in the output region 3 is/are used as the second boundary, and the first boundary and the second boundary form a boundary pair.
If the first boundary is the right boundary of the initial window region, because the first boundary is in the output region 2, the left boundary and/or the right boundary in the output region 2 is/are taken as the second boundary, and the first boundary and the second boundary form a boundary pair.
If the first boundary is the upper boundary of the initial window region, since the first boundary is in the output region 2 and the output region 3, the upper boundary and/or the lower boundary in the output region 2 is/are taken as the second boundary, and/or the upper boundary and/or the lower boundary in the output region 3 is/are taken as the second boundary, and the first boundary and the second boundary are combined into a boundary pair.
If the first boundary is the lower boundary of the initial window region, since the first boundary is in the output region 2 and the output region 3, the upper boundary and/or the lower boundary in the output region 2 is/are taken as the second boundary, and/or the upper boundary and/or the lower boundary in the output region 3 is/are taken as the second boundary, and the first boundary and the second boundary are combined into a boundary pair.
Step A2, the management platform determines whether the determined boundary pair is a target boundary pair.
During implementation, the management platform may detect whether a distance between a first boundary and a second boundary in the determined boundary pair is within a preset range corresponding to the first boundary, and determine the determined boundary pair as a target boundary pair if the distance between the first boundary and the second boundary in the determined boundary pair is within the preset range corresponding to the first boundary. And if the distance between the first boundary and the second boundary in the determined boundary pair is not within the preset range corresponding to the first boundary, determining the determined boundary pair as a non-target boundary pair.
Wherein the preset range is a preset range for generating a black edge.
The following step a2 is exemplified below.
For example, assume that the preset ranges corresponding to the upper and lower boundaries of the initial window region are (0, L2 ]. assume that the preset ranges corresponding to the left and right boundaries of the initial window region are (0, L1 ].
For example, as shown in a diagram in fig. 6, assuming that the first boundary of the pair of boundaries 1 is the right boundary of the initial window area and the second boundary is the right boundary of the virtual output area 1, the management platform may detect whether the distance between the right boundary of the initial window area and the right boundary of the virtual output area 1 is (0, L1 ]. in a diagram in fig. 6, since the distance between the right boundary of the initial window area and the right boundary of the virtual output area 1 is (0, L1], the pair of boundaries 1 is the target pair of boundaries.
For another example, as shown in a diagram in fig. 6, a first boundary of the boundary pair 2 is an upper boundary of the initial window region, and a second boundary is an upper boundary of the virtual output region 1, the management platform may detect whether the upper boundary of the initial window region and the upper boundary of the virtual output region 1 are at (0, L2 ]. assuming that the distance between the upper boundary of the initial window region and the upper boundary of the virtual output region 1 is not at (0, L2], the boundary pair 2 is not a target boundary pair.
For another example, as shown in diagram b in fig. 6, assuming that the first boundary of the pair of boundaries 3 is the right boundary of the initial window region and the second boundary is the left boundary of the virtual output region 2, the management platform may detect whether the right boundary of the initial window region and the left boundary of the virtual output region 2 are at (0, L1 ]. since, in this example, the distance between the right boundary of the initial window region and the left boundary of the virtual output region 2 is at (0, L1], the pair of boundaries 3 is the target pair of boundaries.
In this embodiment, for a non-target boundary pair (i.e., the distance between the first boundary and the second boundary in the non-target boundary pair is not within the preset range corresponding to the first boundary), the management platform may maintain the position of the first boundary in the boundary pair unchanged.
For the target boundary pair, the management platform may adjust the first boundary in the target boundary pair according to step 5032.
Step 5032: the management platform adjusts a first boundary of the target boundary pair such that a distance between the first boundary and a second boundary is not within the preset range.
In implementation, it is assumed that the preset range corresponding to the first boundary is (0, L ]. wherein the preset range is a range where a black border is generated, when the first boundary is a left boundary and/or a right boundary of the initial window region, L in the preset range is L1, and when the first boundary is an upper boundary and/or a lower boundary of the initial window region, L in the preset range is L2, wherein L1 and L2 may be the same or different, and are not specifically limited herein.
Step B1: the management platform may determine a first chucking position and a second chucking position.
During implementation, the management platform may determine a position where a second boundary of the target boundary pair is located as a second adsorption position, and determine a position located in a target virtual output area where the second boundary is located and located at a distance L from the second adsorption position as a first adsorption position.
For example, as shown in a of fig. 6, the line 2 is located at the second adsorption position, and the line 1 is located at the first adsorption position.
Step B2: the management platform can determine the nearest adsorption position corresponding to the first boundary and adjust the first boundary to the nearest adsorption position corresponding to the first boundary. Wherein the closest suction position is a suction position closest to the first boundary among the first suction position and the second suction position.
In the implementation, the management platform selects the suction position closest to the first boundary as the closest suction position from the first suction position and the second suction position. For example, if the first boundary is close to the first suction position, the first suction position is the closest suction position, and the management platform may adjust the first boundary to the first suction position. If the first boundary is close to the second adsorption position, the second adsorption position is the closest adsorption position, and the management platform can adjust the first boundary to the second adsorption position.
When comparing the distance between the first boundary and the two adsorption positions, the management platform can determine the distance between the first boundary and the second boundary based on the L and the distance d between the first boundary and the second boundary.
If L-d < d, indicating that the first adsorption location is closer to the first boundary, the first boundary is adjusted to the first adsorption location. If L-d is larger than or equal to d, the second adsorption position is closer to the first boundary, and the first boundary is adjusted to the second adsorption position.
For example, as shown in a diagram of fig. 6, assuming that the initial window region corresponds to a predetermined range of (0, L1), assuming that the boundary distance between the right boundary of the initial window region and the right boundary in the output region 1 is less than L1, the right boundary of the initial window region needs to be adjusted.
In the adjustment, the management platform may determine a first suction position (e.g., line 1 in a diagram of fig. 6) and a second suction position (e.g., line 2 in a diagram of fig. 6) in the virtual output area 1, the second suction position being disposed on the right boundary in the virtual output area 1, and the first suction position being disposed at a distance L within the output area 1.
Assume that the right boundary of the initial window region is at a boundary distance d from the right boundary in the virtual output region 1.
Assuming that L1-d < d indicates that the right boundary of the initial window area is closer to the first adsorption location, the first adsorption location is determined to be the nearest adsorption location and the right boundary is adjusted to the first adsorption location.
Suppose that, under the coordinate system of the management platform, the coordinate of the upper left corner of the initial window area of the target display window is (x)0,y0) The lower left corner is taken as (x)0,y0+ height of target display window), and coordinates of upper right corner as (x)0+ width of target display window, y0) The coordinate of the lower right corner is (x)0+ width of target display window, y0+ height of target display window).
The adjusted initial window area has an upper left corner coordinate of (x)0,y0) The lower left corner is taken as (x)0,y0+ height of target display window), and (x) in the upper right corner0+ Width of target display Window- (L1-d), y0) The coordinate of the lower right corner is (x)0+ Width of target display Window- (L1-d), y0+ height of target display window).
For example, as shown in b diagram of fig. 6, the preset range corresponding to the right boundary of the initial window region is (0, L1], it is assumed that the first boundary of a target boundary pair is the right boundary of the initial window region, the second boundary is the left boundary in the virtual output region 2, and the boundary distance between the right boundary of the initial window region and the left boundary in the virtual output region 2 where the right boundary is located is less than L1.
In adjusting the right boundary of the initial window region, the management platform may determine a first suction position (e.g., line 3 in the b diagram of fig. 6) and a second suction position (e.g., line 2 in the b diagram of fig. 6) in the virtual output region 2, the second suction position being disposed on the left boundary in the virtual output region 2, the first suction position being disposed within the virtual output region 2 and at a distance L1 from the second suction position.
Assume that the right boundary of the initial window region of the target display window is a boundary distance d from the left boundary in the virtual output region 2.
Assuming that L1-d < d indicates that the right border of the initial window area of the target display window is closer to the first adsorption position, the first adsorption position is determined to be the most recent adsorption position and the right border is adjusted to the first adsorption position (i.e., line 3).
Suppose that, under the coordinate system of the management platform, the coordinate of the upper left corner of the initial window area of the target display window is (x)0,y0) The lower left corner is taken as (x)0,y0+ height of target display window), and coordinates of upper right corner as (x)0+ width of target display window, y0) The coordinate of the lower right corner is (x)0+ width of target display window, y0+ height of target display window).
The adjusted initial window area has an upper left corner coordinate of (x)0,y0) The lower left corner is taken as (x)0,y0+ height of target display window), and (x) in the upper right corner0+ Width of target display Window + (L1-d), y0) The coordinate of the lower right corner is (x)0+ Width of target display Window + (L1-d), y0+ height of target display window).
Furthermore, in the present application, it is easy to appear that different boundaries of the initial window area correspond to the same nearest suction position.
For example, as shown in a diagram in fig. 7, assuming that the boundary distance between the left boundary of the initial window region and the right boundary of the virtual output region 1 is less than L1, and the left boundary of the initial window region is closer to the line 2, the closest adsorption position corresponding to the left boundary of the initial window region is the line 2.
The boundary distance between the right boundary of the initial window region and the left boundary of the virtual output region 2 is less than L1, and the distance between the right boundary of the initial window region of the target display window and the line 2 is closer, so that the nearest adsorption position corresponding to the left boundary of the initial window region of the target display window is the line 2.
This results in the left and right borders of the initial window area of the target display window corresponding to the same nearest suction location (i.e., line 2).
Therefore, in order to prevent different boundaries of the initial window region from being adjusted to the same closest suction position, in this embodiment of the application, after the management platform determines the closest suction position of the first boundary of the target boundary pair, the management platform adjusts the first boundary to the closest suction position when determining that the closest suction position corresponding to another first boundary is the same as the closest suction position corresponding to the first boundary.
And for another boundary, the management platform may adjust the other boundary to another location. During adjustment, if the width or height of the initial window area is greater than L, the management platform adjusts the other first boundary according to the width or height of the initial window area; if the width or the height of the initial window area is less than or equal to L, the management platform adjusts the other first boundary to the farthest adsorption position; wherein the farthest suction position is a suction position farthest from the other first boundary among the first suction position and the second suction position.
For example, as shown in fig. 7 a, assume that the first border of the target border pair is the left border of the initial window region of the target display window and the second border is the left border in the virtual output region 2. The other border is the right border of the initial window region of the target display window. The first boundary corresponds to a predetermined range of (0, L1) — assuming that the first adsorption position is line 2 and the second adsorption position is line 3.
In this example, the nearest suction positions corresponding to both the left and right boundaries of the initial window region of the target display window are all lines 2.
When adjusting the first border of the target border pair, the management platform may detect whether the closest suction position corresponding to another first border is the same as the closest suction position corresponding to the first border, in this example, the closest suction positions corresponding to the another first border (i.e., the right border of the initial window region) and the first border (i.e., the left border of the initial window region) are both the line 2, so the management platform may finally adjust the first border (i.e., the left border of the initial window region) onto the line 2.
In response to the other first boundary (i.e., the right boundary of the initial window region), the management platform may detect whether the width of the target display window is greater than or equal to L1.
As shown in fig. 7 b, if the width of the target display window is greater than or equal to L1, the other first border (i.e. the right border of the initial window region of the target display window) is adjusted to the right to a position away from the right border by the width w of the target display window.
As shown in fig. 7 c, if the width of the target display window is smaller than L1, the other first border (i.e., the right border of the initial window area of the target display window) is adjusted to the farthest adsorption position (i.e., line 3).
It should be noted that, in the present application, the management platform may directly perform the above adjustment on the first boundary and the other boundary when determining that the latest suction positions corresponding to the first boundary and the other boundary are the same.
In practical application, the management platform may adjust the first boundary of all the target boundary pairs to the corresponding nearest adsorption position. The management platform detects whether another first boundary is the same as the nearest adsorption position of the first boundary or not for each first boundary, and if so, readjusts the other boundary according to the mode of adjusting the other first boundary. This is merely an example and is not particularly limited.
In one example, the management platform may adjust a first boundary of each target boundary pair such that a distance between the first boundary and a second boundary is not within a preset range. Specifically, adjusting the first boundary of each target boundary pair may include:
aiming at every two pairs of target boundary pairs, wherein a first boundary and another first boundary in the two pairs of target boundary pairs are left and right boundaries or upper and lower boundaries of an initial window area, if the optimal adsorption position corresponding to the first boundary is different from the nearest adsorption position corresponding to another first boundary, the first boundary and the another first boundary are respectively adjusted to the corresponding nearest adsorption positions; if the optimal adsorption position corresponding to the first boundary is the same as the nearest adsorption position corresponding to another first boundary, adjusting the first boundary to the nearest adsorption position, and adjusting the other first boundary according to the following steps: if the width or height of the initial window area is larger than L, adjusting the other first boundary according to the width or height of the initial window area; if the width or the height of the initial window area is less than or equal to L, adjusting the other first boundary to the farthest adsorption position; wherein the farthest suction position is a suction position farthest from the other first boundary among the first suction position and the second suction position.
Because the distance between the corresponding boundaries in the adjusted initial window area and the target virtual output area of the target output area is within the preset range, the target display window created by the television wall based on the adjusted initial window area does not generate window black edges.
In addition, in the embodiment of the present application, the management platform may send the adjusted initial window area to the television wall, so that the target display window created by the television wall according to the adjusted initial window area does not generate a window black border.
In an optional implementation manner, the management platform may send all adjusted initial display window regions to the television wall when all adjusted initial display window regions are determined, so that the television wall creates a corresponding display window according to each adjusted initial display window region.
In practical applications, the management platform may further send the adjusted initial display window area to the television wall after determining each adjusted initial display window area, so that a target display window created by the television wall according to the adjusted initial display window area does not generate a window black border.
This is merely an example and is not particularly limited.
In addition, it should be noted that the adjusted initial display window sent to the tv wall by the management platform may be the window vertex coordinates of the adjusted initial display window.
And under the condition that the coordinate systems of the management platform and the television wall are consistent, the management platform can directly send the adjusted window vertex coordinates of the initial display window to the television wall.
Under the condition that the coordinate systems of the management platform and the television wall are not consistent, because the window vertex coordinate of the adjusted initial display window is the coordinate determined under the coordinate system of the management platform, the management platform needs to convert the window vertex coordinate of the adjusted initial display window determined under the platform coordinate system into the window vertex coordinate of the adjusted initial display window determined under the television wall coordinate system, and then send the window vertex coordinate of the adjusted initial display window determined under the television wall coordinate system to the television wall. Of course, the management platform may also send the window vertex coordinates of the adjusted initial display window determined in the platform coordinate system to the television wall, so that the window vertex coordinates of the adjusted initial display window determined in the management platform coordinate system by the television wall are converted into the window vertex coordinates of the adjusted initial display window determined in the television wall coordinate system. This is merely an example and is not particularly limited.
As can be seen from the above description, when the management platform creates the display window, the initial window region is determined, and the initial window region is adjusted according to the distance between the initial window region and the corresponding boundary on the target virtual output region having an intersection with the initial window region, so that the display window created based on the adjusted initial window region does not generate window black edges.
In addition, the present application further provides an electronic device, where the electronic device may be the management platform, and may include: a readable storage medium and a processor;
wherein the readable storage medium is configured to store machine executable instructions;
the processor is configured to read the machine executable instructions on the readable storage medium and execute the instructions to implement the method steps for creating the display window.
Optionally, as shown in fig. 8, the electronic device may include a communication interface 801, a bus 804, in addition to a processor 802, a machine-readable storage medium 803; wherein the communication interface 801, the processor 802 and the machine-readable storage medium 803 communicate with each other via a bus 804. The processor 802 may perform the above-described method of creating a display window by reading and executing machine-executable instructions in the machine-readable storage medium 803 corresponding to the data processing control logic.
Referring to fig. 9, fig. 9 is a block diagram of a device for creating a display window according to an exemplary embodiment of the present application. The device can be applied to an electronic device (such as the management platform), and can include:
a window region determining unit 901, configured to determine an initial window region of a target display window to be created;
an output area determining unit 902, configured to determine at least one target virtual output area having an intersection with the initial window area from a plurality of virtual output areas corresponding to a plurality of physical output areas into which the television wall has been divided; the plurality of physical output areas correspond to output ports which are used for transmitting decoded video streams on decoding equipment connected with the television wall;
an adjusting unit 903, configured to adjust the initial window area according to a distance between corresponding boundaries on the initial window area and the target virtual output area, and send the adjusted initial window area to the television wall, so that the television wall does not generate a window black border according to a target display window created by the adjusted initial window area.
Optionally, the window area determining unit 901 is configured to, when determining the initial window area, determine the initial window area according to coordinates of a preset point in the television wall when the target display window is a first display window in the designated window array; determining the initial window area according to the window area corresponding to the display window of which the initial window area is adjusted by the designated window array under the condition that the target display window is not the first display window in the designated window array;
optionally, the window area determining unit 901, when determining the initial window area according to a window area corresponding to a display window for which an initial window area has been adjusted for a specified window array, is configured to, when the target display window is a first display window of a current row, specify other rows in the window array except the first row by the current row, and determine the initial window area according to a window area corresponding to a display window in a row for which an initial window area has been adjusted recently; under the condition that the target display window is a non-first display window of the current row, determining the initial window area according to the latest adjusted initial window area in the current row;
optionally, the adjusting unit 903 is configured to determine a target boundary pair when the initial window region is adjusted according to a distance between the initial window region and a corresponding boundary on the target virtual output region, where the target boundary pair includes: a first boundary located in the initial window area, a second boundary corresponding to the first boundary in a target virtual output area where the first boundary is located, and a distance between the first boundary and the second boundary are within a preset range corresponding to the first boundary; adjusting a first boundary of the target boundary pair such that a distance between the first boundary and a second boundary is not within the preset range; wherein the preset range represents a range in which a black edge is generated;
optionally, a preset range corresponding to the first boundary is (0, L), and the preset range is a condition for generating a window black edge;
the adjusting unit 903 is used for adjusting the first boundary of the boundary pair to the nearest adsorption position; wherein the closest suction position is a suction position closest to the first boundary among the first suction position and the second suction position; the second adsorption location is located on the second boundary; and the first adsorption position is positioned in the target virtual output area where the second boundary is positioned, and the distance between the first adsorption position and the second adsorption position is L.
Optionally, the adjusting unit 903 is configured to, when the first boundary is adjusted to the closest suction position, adjust the first boundary to the closest suction position when it is determined that the closest suction position corresponding to another first boundary is the same as the closest suction position corresponding to the first boundary;
optionally, the adjusting unit 903 is further configured to adjust the another first boundary according to the following: if the width or height of the initial window area is larger than L, adjusting the other first boundary according to the width or height of the initial window area; if the width or the height of the initial window area is less than or equal to L, adjusting the other first boundary to the farthest adsorption position; wherein the farthest suction position is a suction position farthest from the other first boundary among the first suction position and the second suction position;
optionally, before the determining the initial window area, the window area determining unit 901 is further configured to execute the step of determining the initial window area if the target display window is not the last display window in the designated window array, and/or the target display window is not the last display window in a row in the designated window array, and/or the target display window is not the last display window in a column in the designated window array; if the target display window is the last display window in the display window array, and/or the target display window is the last display window in a row in the specified window array, and/or the target display window is the last display window in a column in the specified window array, executing the step of determining the initial window area when determining that the remaining window creation area of the television wall meets the preset window creation condition;
optionally, the window creating condition includes: the residual window creating area meets the creation of a minimum display window supported by the television wall; and/or; the width of the residual window creating area is greater than the maximum value of the preset range corresponding to the left boundary or the right boundary of the initial window area, and the height of the residual window creating area is greater than the maximum value of the preset range corresponding to the upper boundary or the lower boundary of the initial window area.
In addition, the present application also provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method for creating the display window.
A computer-readable storage medium as referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: volatile memory, non-volatile memory, or similar storage media. In particular, the computer-readable storage medium may be a RAM (random Access Memory), a flash Memory, a storage drive (e.g., a hard disk drive), a solid state disk, any type of storage disk (e.g., a compact disk, a DVD, etc.), or similar storage medium, or a combination thereof.
Further, the present application also provides a computer program, which is stored in a computer-readable storage medium and causes a processor to implement the above-described method of creating a display window when the computer program is executed by the processor.
For the apparatus, the computer-readable storage medium, the computer program, and the electronic device embodiment, since they substantially correspond to the method embodiment, reference may be made to the partial description of the method embodiment 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 application. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (11)

1. A display window creation method applied to a management platform for managing a television wall, the method comprising:
determining an initial window area of a target display window to be created;
determining at least one target virtual output area having an intersection with the initial window area from among a plurality of virtual output areas corresponding to a plurality of physical output areas into which the television wall has been divided; the plurality of physical output areas correspond to output ports which are used for transmitting decoded video streams on decoding equipment connected with the television wall;
and adjusting the initial window area according to the distance between the corresponding boundaries on the initial window area and the target virtual output area, and sending the adjusted initial window area to the television wall, so that the television wall does not generate window black edges according to a target display window created by the adjusted initial window area.
2. The method of claim 1, wherein said determining an initial window region comprises:
determining the initial window area according to the coordinates of a preset point in the television wall under the condition that the target display window is the first display window in the designated window array;
and under the condition that the target display window is a non-first display window in the appointed window array, determining the initial window area according to the window area corresponding to the display window of which the initial window area is adjusted by the appointed window array.
3. The method of claim 2, wherein determining the initial window region in dependence upon a window region corresponding to the display window for which the initial window region has been adjusted for the specified window array comprises:
when the target display window is the first display window of the current row, the current row designates other rows except the first row in the window array, and the initial window area is determined according to the window area corresponding to the display window in the row of which the initial window area is adjusted latest;
and under the condition that the target display window is a non-first display window of the current row, determining the initial window area according to the latest adjusted initial window area in the current row.
4. The method of claim 1, wherein said adjusting the initial window region in dependence upon a distance between the initial window region and a corresponding boundary on the target virtual output region comprises:
determining a target boundary pair, the target boundary pair comprising: a first boundary located in the initial window area, a second boundary corresponding to the first boundary in a target virtual output area where the first boundary is located, and a distance between the first boundary and the second boundary are within a preset range corresponding to the first boundary;
adjusting a first boundary of the target boundary pair such that a distance between the first boundary and a second boundary is not within the preset range; wherein the preset range represents a range in which a black border is generated.
5. The method according to claim 4, wherein the first boundary corresponds to a predetermined range of (0, L), and the predetermined range is a condition for generating a window black border;
the adjusting a first boundary of the target boundary pair, comprising:
adjusting the first boundary to a nearest adsorption position;
wherein the closest suction position is a suction position closest to the first boundary among the first suction position and the second suction position; the second adsorption location is located on the second boundary; and the first adsorption position is positioned in the target virtual output area where the second boundary is positioned, and the distance between the first adsorption position and the second adsorption position is L.
6. The method of claim 5, wherein said adjusting said first boundary to a nearest adsorption position comprises:
when the nearest adsorption position corresponding to another first boundary is determined to be the same as the nearest adsorption position corresponding to the first boundary, adjusting the first boundary to the nearest adsorption position;
the method further comprises the following steps:
adjusting the another first boundary as follows:
if the width or height of the initial window area is larger than L, adjusting the other first boundary according to the width or height of the initial window area;
if the width or the height of the initial window area is less than or equal to L, adjusting the other first boundary to the farthest adsorption position; wherein the farthest suction position is a suction position farthest from the other first boundary among the first suction position and the second suction position.
7. The method of claim 1, wherein prior to said determining an initial window region, the method further comprises:
if the target display window is not the last display window in the designated window array, and/or the target display window is not the last display window in a row in the designated window array, and/or the target display window is not the last display window in a column in the designated window array, then executing the step of determining the initial window area;
if the target display window is the last display window in the designated display window array, and/or the target display window is the last display window in a row in the designated window array, and/or the target display window is the last display window in a column in the designated window array, executing the step of determining the initial window area when determining that the remaining window creation area of the television wall meets the preset window creation condition.
8. The method of claim 7, wherein the window creation condition comprises:
the residual window creating area meets the creation of a minimum display window supported by the television wall;
and/or;
the width of the residual window creating area is greater than the maximum value of the preset range corresponding to the left boundary or the right boundary of the initial window area, and the height of the residual window creating area is greater than the maximum value of the preset range corresponding to the upper boundary or the lower boundary of the initial window area.
9. A display window creation apparatus applied to a management platform for managing a television wall, the apparatus comprising:
a window region determining unit for determining an initial window region;
an output area determination unit for determining at least one target virtual output area having an intersection with the initial window area from among a plurality of virtual output areas corresponding to a plurality of physical output areas into which the television wall has been divided; the plurality of physical output areas correspond to output ports which are used for transmitting decoded video streams on decoding equipment connected with the television wall;
and the adjusting unit is used for adjusting the initial window area according to the distance between the corresponding boundaries on the initial window area and the target virtual output area, and sending the adjusted initial window area to the television wall, so that the television wall does not generate window black edges according to the target display window created by the adjusted initial window area.
10. The apparatus of claim 9, wherein the window region determining unit, when determining the initial window region, is configured to determine the initial window region according to coordinates of a preset point in the tv wall if a target display window is a first display window in the designated window array; determining the initial window area according to the window area corresponding to the display window of which the initial window area is adjusted by the designated window array under the condition that the target display window is not the first display window in the designated window array;
the window area determining unit is used for determining the initial window area according to the window area corresponding to the display window of which the initial window area is adjusted aiming at the specified window array, wherein the window area determining unit is used for determining the initial window area according to the window area corresponding to the display window of which the initial window area is adjusted in the row of which the initial window area is newly adjusted, wherein the current row specifies other rows except the first row in the window array under the condition that the target display window is the first display window of the current row; under the condition that the target display window is a non-first display window of the current row, determining the initial window area according to the latest adjusted initial window area in the current row;
the adjusting unit is configured to determine a target boundary pair when adjusting the initial window region according to a distance between the initial window region and a corresponding boundary on the target virtual output region, where the target boundary pair includes: a first boundary located in the initial window area, a second boundary corresponding to the first boundary in a target virtual output area where the first boundary is located, and a distance between the first boundary and the second boundary are within a preset range corresponding to the first boundary; adjusting a first boundary of the target boundary pair such that a distance between the first boundary and a second boundary is not within the preset range; wherein the preset range represents a range in which a black edge is generated;
the preset range corresponding to the first boundary is (0, L), and the preset range is a condition for generating a window black edge;
the adjusting unit is used for adjusting the first boundary to the nearest adsorption position when adjusting the first boundary in the boundary pair; wherein the closest suction position is a suction position closest to the first boundary among the first suction position and the second suction position; the second adsorption location is located on the second boundary; the first adsorption position is positioned in a target virtual output area where the second boundary is positioned, and the distance between the first adsorption position and the second adsorption position is L;
the adjusting unit is used for adjusting the first boundary to a nearest adsorption position when the nearest adsorption position corresponding to another first boundary is determined to be the same as the nearest adsorption position corresponding to the first boundary;
the adjusting unit is further configured to adjust the another first boundary according to: if the width or height of the initial window area is larger than L, adjusting the other first boundary according to the width or height of the initial window area; if the width or the height of the initial window area is less than or equal to L, adjusting the other first boundary to the farthest adsorption position; wherein the farthest suction position is a suction position farthest from the other first boundary among the first suction position and the second suction position;
the window area determining unit, before the initial window area is determined, is further configured to execute the step of determining the initial window area if the target display window is not the last display window in the designated window array, and/or the target display window is not the last display window in a row in the designated window array, and/or the target display window is not the last display window in a column in the designated window array; if the target display window is the last display window in the display window array, and/or the target display window is the last display window in a row in the specified window array, and/or the target display window is the last display window in a column in the specified window array, executing the step of determining the initial window area when determining that the remaining window creation area of the television wall meets the preset window creation condition;
the window creation conditions include: the residual window creating area meets the creation of a minimum display window supported by the television wall; and/or; the width of the residual window creating area is greater than the maximum value of the preset range corresponding to the left boundary or the right boundary of the initial window area, and the height of the residual window creating area is greater than the maximum value of the preset range corresponding to the upper boundary or the lower boundary of the initial window area.
11. An electronic device, comprising a readable storage medium and a processor;
wherein the readable storage medium is configured to store machine executable instructions;
the processor is configured to read the machine executable instructions on the readable storage medium and execute the instructions to implement the steps of the method of any one of claims 1 to 8.
CN202110726771.9A 2021-06-29 2021-06-29 Display window creating method and device and electronic equipment Pending CN113467736A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202110726771.9A CN113467736A (en) 2021-06-29 2021-06-29 Display window creating method and device and electronic equipment
PCT/CN2022/097693 WO2023273821A1 (en) 2021-06-29 2022-06-08 Display window creating method and apparatus, and electronic device
GB2400354.3A GB2622549A (en) 2021-06-29 2022-06-08 Display window creating method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110726771.9A CN113467736A (en) 2021-06-29 2021-06-29 Display window creating method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN113467736A true CN113467736A (en) 2021-10-01

Family

ID=77873632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110726771.9A Pending CN113467736A (en) 2021-06-29 2021-06-29 Display window creating method and device and electronic equipment

Country Status (3)

Country Link
CN (1) CN113467736A (en)
GB (1) GB2622549A (en)
WO (1) WO2023273821A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023273821A1 (en) * 2021-06-29 2023-01-05 杭州海康威视数字技术股份有限公司 Display window creating method and apparatus, and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0212563A2 (en) * 1985-08-14 1987-03-04 Hitachi, Ltd. Display control method for multi-window system
EP0547993A2 (en) * 1991-12-18 1993-06-23 International Business Machines Corporation 3-D multiple view window
CN101141629A (en) * 2006-09-05 2008-03-12 黄柏霞 Multi-stage picture division based fast digital video control method
CN101895741A (en) * 2009-05-22 2010-11-24 宏正自动科技股份有限公司 To the image processing of range of interest special processing and the method and system of transmission
CN102073468A (en) * 2011-01-05 2011-05-25 广东威创视讯科技股份有限公司 Method for realizing image edge blending based on window system
US20140062270A1 (en) * 2012-09-05 2014-03-06 Joseph Nick Salvator Divona Video Wall Cover
CN105427244A (en) * 2015-11-03 2016-03-23 中南大学 Remote sensing image splicing method and device
CN108307171A (en) * 2016-08-18 2018-07-20 北京康得新创科技股份有限公司 3D video walls and method for displaying image and device for 3D video walls

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8443298B2 (en) * 2006-06-30 2013-05-14 International Business Machines Corporation Method and apparatus for repositioning a horizontally or vertically maximized display window
TWI470598B (en) * 2012-08-07 2015-01-21 Wistron Corp Method for adjusting display and computer program product thereof
CN106980510B (en) * 2017-04-14 2020-08-04 宁波视睿迪光电有限公司 Window self-adaption method and device of player
CN107391066A (en) * 2017-07-14 2017-11-24 西安万像电子科技有限公司 Window display method and device
KR101979410B1 (en) * 2017-09-19 2019-05-16 에스케이텔레콤 주식회사 Image display method
CN113467736A (en) * 2021-06-29 2021-10-01 杭州海康威视数字技术股份有限公司 Display window creating method and device and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0212563A2 (en) * 1985-08-14 1987-03-04 Hitachi, Ltd. Display control method for multi-window system
EP0547993A2 (en) * 1991-12-18 1993-06-23 International Business Machines Corporation 3-D multiple view window
CN101141629A (en) * 2006-09-05 2008-03-12 黄柏霞 Multi-stage picture division based fast digital video control method
CN101895741A (en) * 2009-05-22 2010-11-24 宏正自动科技股份有限公司 To the image processing of range of interest special processing and the method and system of transmission
CN102073468A (en) * 2011-01-05 2011-05-25 广东威创视讯科技股份有限公司 Method for realizing image edge blending based on window system
US20140062270A1 (en) * 2012-09-05 2014-03-06 Joseph Nick Salvator Divona Video Wall Cover
CN105427244A (en) * 2015-11-03 2016-03-23 中南大学 Remote sensing image splicing method and device
CN108307171A (en) * 2016-08-18 2018-07-20 北京康得新创科技股份有限公司 3D video walls and method for displaying image and device for 3D video walls

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ACHIM EBERT ETC, 《 IEEE TRANSACTIONS ON VISUALIZATION AND COMPUTER GRAPHICS 》, vol. 16, no. 1 *
常辉;戴树岭;王行仁;: "可扩展的多投影视频显示技术研究", 系统仿真学报, no. 1 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023273821A1 (en) * 2021-06-29 2023-01-05 杭州海康威视数字技术股份有限公司 Display window creating method and apparatus, and electronic device
GB2622549A (en) * 2021-06-29 2024-03-20 Hangzhou Hikvision Digital Tec Display window creating method and apparatus, and electronic device

Also Published As

Publication number Publication date
GB2622549A (en) 2024-03-20
GB202400354D0 (en) 2024-02-21
WO2023273821A1 (en) 2023-01-05

Similar Documents

Publication Publication Date Title
CN106997453B (en) Event signal processing method and device
CN106878786B (en) Method and device for displaying barrage in VR video
US20140247330A1 (en) Local multi view image display apparatus and method
US20090310935A1 (en) Stereoscopic image generation device and program
US20140139521A1 (en) Apparatus and method for providing augmented reality using synthesized environment map
CN106980510B (en) Window self-adaption method and device of player
KR102250821B1 (en) Display apparatus and operating method thereof
WO2015112069A1 (en) Multi-view display control
US11341712B2 (en) VR video processing method and related apparatus
WO2016178340A1 (en) Free viewpoint video data distribution system
JP4528212B2 (en) Trimming control device and trimming control program
EP3086205A1 (en) Method and apparatus for identifying operation event
CN113467736A (en) Display window creating method and device and electronic equipment
CN105262971A (en) Replay method and device of video of fisheye camera
CN110989952A (en) Multi-screen-based mouse sharing implementation method, device and system
CN118138889B (en) Intelligent follow-up shooting method, system and storage medium of camera in virtual scene
CN110334652B (en) Image processing method, electronic device, and storage medium
US11127141B2 (en) Image processing apparatus, image processing method, and a non-transitory computer readable storage medium
US10861167B2 (en) Graphics processing systems
CN109614177B (en) Selection assembly and control method thereof
CN113965697B (en) Parallax imaging method based on continuous frame information, electronic device and storage medium
US7660432B2 (en) Method for controlling creation of stereoscopic image
US20180191998A1 (en) Video communication method and system
CN118311908B (en) Configuration method of polyhedral controller and polyhedral controller
EP3752956B1 (en) Methods, systems, and media for detecting two-dimensional videos placed on a sphere in abusive spherical video content

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