A multi-screen combination splicing playing method, device, equipment and storage medium

By constructing the coordinate system and ID of the display array, generating playback control data files, and determining the position information of the display combination, the problem of poor viewing experience for viewers in multi-screen splicing is solved, and a better viewing effect is achieved.

CN120596051BActive Publication Date: 2026-08-25GUANGZHOU LANGO ELECTRONICS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510732001.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-03
Publication Date
2026-08-25
Estimated Expiration
2045-06-03

AI Technical Summary

Technical Problem

In existing multi-screen splicing solutions, the synchronous playback between display devices results in a poor viewing experience for viewers and fails to provide a better viewing effect.

Method used

By constructing the coordinate system and ID of the display array, a playback control data file is generated. The position information of the target display array is determined according to the resolution of the content to be played, and playback controls are set in the playback area to enable each display to play a fraction of the content to be played.

Benefits of technology

It improves the viewing experience for viewers, provides a better multi-screen combination and splicing playback effect, and avoids the simple "stacked" phenomenon.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120596051B_ABST
    Figure CN120596051B_ABST
Patent Text Reader

Abstract

The application provides a multi-screen combination splicing playing method and device, equipment and storage medium. A plurality of display screens are arranged and spliced according to an arrangement order to form a display screen array. A coordinate system of the display screen array is constructed according to the first resolution of each display screen, and the ID of each display screen is determined. A playing control data file is generated according to the coordinate system of the display screen array and the ID of the display screen. The second resolution of the content to be played is obtained, and the position information of each display screen in the coordinate system in a target display screen combination is determined according to the second resolution and the playing control data file. The playing area of the playing control is automatically analyzed and determined according to the position information. Then, the content to be played is played in the playing area through the playing control. Each display screen in the playing area plays one Nth picture of the content to be played, and the display screen is not spliced and stacked, so that better watching effect and watching experience are provided for the audience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of displays, and more particularly to a method, apparatus, device, and storage medium for multi-screen combination splicing playback. Background Technology

[0002] Currently, for splicing solutions involving multiple display devices, one display device is typically designated as the master, and the rest as slaves. Based on the principle of synchronized playback, all slaves will uniformly follow the master's scheduling. For example, whatever content the master plays, the slaves will play the same content. The content played between the slaves and the master is completely identical. It is equivalent to the slaves synchronously copying and displaying the content played by the master, which is simply "stacking" multiple display devices together. This cannot provide viewers with a better viewing experience and affects the viewing experience. Summary of the Invention

[0003] This application provides a method, apparatus, device, and storage medium for multi-screen combination and splicing playback to solve at least one problem existing in the related technology. The technical solution is as follows:

[0004] In a first aspect, embodiments of this application provide a method for multi-screen combination and splicing playback, including:

[0005] Several display screens are arranged and spliced ​​together in a certain order to form a display screen array;

[0006] Based on the first resolution of each display screen, construct the coordinate system of the display screen array and determine the ID of each display screen. Based on the coordinate system of the display screen array and the ID of each display screen, generate a playback control data file.

[0007] Obtain the second resolution of the content to be played, and determine the position information of each display screen in the target display screen assembly in the coordinate system based on the second resolution and the playback control data file;

[0008] Based on the location information, the playback area of ​​the playback control is set, and the content to be played is played in the playback area through the playback control. The playback area includes N displays in the target display combination, and each display plays one-Nth of the content to be played.

[0009] In one implementation, constructing the coordinate system of the display array based on the first resolution of each display screen includes:

[0010] The length and width of each display screen are determined based on its initial resolution.

[0011] Using one vertex of each display screen as a reference point, the coordinates of each reference point are determined based on the length and width of each display screen, the reference points of each display screen, and the display screen array to construct the coordinate system of the display screen array.

[0012] In one embodiment, generating the program control data file based on the coordinate system of the display array and the ID of the display screen includes:

[0013] Based on the coordinate system of the display array, determine the total width and total length of the display array. The total width and total length are used to limit the total size of the content to be played.

[0014] Under the ID of each display screen, record the total width and total length of the display screen array, as well as the coordinates of the reference point of that display screen, to obtain the program control data file. The coordinates of the reference point represent the position of the display screen.

[0015] In one implementation, determining the position information of each display screen in the coordinate system based on the second resolution and the playback control data file includes:

[0016] Read the display screen's ID, total width, total length, and coordinates of the display screen's reference point from the playback control data file;

[0017] The number of displays N is determined based on the second resolution, total width, and total length;

[0018] Based on preset rules, N displays are selected from the display array to obtain the target display combination. Then, according to the coordinate values ​​of the reference points corresponding to the IDs of the selected N displays, the position information of each display in the target display combination in the coordinate system is obtained.

[0019] In one implementation, reading the display screen's ID, total width, total length, and coordinates of the display screen's reference point from the playback control data file includes:

[0020] Determine the path to the JSON file containing the playback control data and print log information showing the path to the passed-in JSON file;

[0021] Create a File object to represent the control data file in the JSON file path, check if the control data file exists, and if it exists, read the contents of the control data file and convert them into a string;

[0022] Print the string and create a Gson instance to parse the string, obtaining the ID, total width, total length, and coordinates of the reference point of the display for the specified data type.

[0023] In one implementation, determining the number N of displays based on the second resolution, total width, and total length includes:

[0024] When the current length corresponding to the second resolution is less than or equal to the total length and the current width corresponding to the second resolution is less than or equal to the total width, determine the first ratio of the total width to the current width and the second ratio of the total length to the current length, determine the target ratio that is the largest of the first ratio and the second ratio, and round the target ratio up to obtain the value M. The number of displays N is obtained according to M×M.

[0025] Otherwise, determine the number of displays N to be the total number of displays.

[0026] In one implementation, selecting N displays from the display array based on preset rules to obtain the target display combination includes:

[0027] When N equals the total number of displays, all displays in the display array are considered as the target display combination;

[0028] When N is less than the total number of displays, a spatial image of the space where the displays are located is obtained. The spatial image is used to identify the audience's position. Based on the audience's position and the positions of several displays, the display closest to the audience's position is determined. Starting from this display, adjacent displays are selected sequentially until N displays are selected to obtain the target display combination.

[0029] Secondly, embodiments of this application provide a multi-screen combination and splicing playback device, including:

[0030] A splicing module is used to arrange and splice several displays in a certain order to form a display array;

[0031] The generation module is used to construct the coordinate system of the display array and determine the ID of each display based on the first resolution of each display. Based on the coordinate system of the display array and the ID of each display, it generates a playback control data file.

[0032] The determination module is used to obtain the second resolution of the content to be played, and determine the position information of each display screen in the target display screen assembly in the coordinate system based on the second resolution and the playback control data file;

[0033] The playback module is used to set the playback area of ​​the playback control based on the location information, and to play the content to be played in the playback area through the playback control. The playback area includes N displays in the target display combination, and each display plays one-Nth of the content to be played.

[0034] Thirdly, embodiments of this application provide an electronic device, including: a processor and a memory, wherein the memory stores instructions that are loaded and executed by the processor to implement the methods in any of the above-described embodiments.

[0035] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed, implements the methods in any of the above-described embodiments.

[0036] The beneficial effects of the above technical solution include at least the following:

[0037] By arranging and splicing several displays in a specific order to form a display array, a coordinate system for the display array is constructed based on the first resolution of each display, and the ID of each display is determined. Based on the coordinate system and the IDs of the displays, a playback control data file is generated. The second resolution of the content to be played is obtained, and based on the second resolution and the playback control data file, the position information of each display in the target display array in the coordinate system is determined. Based on the position information, the playback area of ​​the playback control is automatically determined. Then, the content to be played is played in the playback area through the playback control. Each display in the playback area plays one-Nth of the content to be played, rather than "stacked together", providing viewers with a better viewing effect and improving the viewing experience.

[0038] The above overview is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features of this application will become readily apparent from the accompanying drawings and the following detailed description. Attached Figure Description

[0039] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the various drawings denote the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings depict only some embodiments disclosed in this application and should not be construed as limiting the scope of this application.

[0040] Figure 1 This is a flowchart illustrating the steps of a multi-screen combination and splicing playback method according to an embodiment of this application;

[0041] Figure 2 This is a flowchart illustrating the steps of a multi-screen combination and splicing playback method according to an embodiment of this application;

[0042] Figure 3 This is a schematic diagram illustrating the process of determining a target display screen combination based on the display screen closest to the viewer's position according to an embodiment of this application;

[0043] Figure 4 This is a schematic diagram illustrating the actual playback effect of an embodiment of this application;

[0044] Figure 5 This is a structural block diagram of a multi-screen combination splicing playback device according to an embodiment of this application;

[0045] Figure 6 This is a structural block diagram of an electronic device according to an embodiment of this application. Detailed Implementation

[0046] In the following description, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments can be modified in various ways without departing from the spirit or scope of this application. Therefore, the drawings and description are considered to be exemplary in nature and not restrictive.

[0047] Reference Figure 1 The flowchart illustrates a multi-screen combination and splicing playback method according to an embodiment of this application. This multi-screen combination and splicing playback method may include at least steps S100-S400:

[0048] S100. Arrange and splice several displays in a certain order to form a display array.

[0049] S200: Based on the first resolution of each display screen, construct the coordinate system of the display screen array and determine the ID of each display screen. Based on the coordinate system of the display screen array and the ID of each display screen, generate a playback control data file.

[0050] S300: Obtain the second resolution of the content to be played, and determine the position information of each display screen in the target display screen assembly in the coordinate system based on the second resolution and the playback control data file.

[0051] S400. Based on the location information, set the playback area of ​​the playback control, and play the content to be played in the playback area using the playback control. The playback area includes N displays in the target display combination, and each display plays one-Nth of the content to be played.

[0052] The technical solution of this application embodiment arranges several displays in a certain order to form a display array. Based on the first resolution of each display, a coordinate system of the display array is constructed and the ID of each display is determined. Based on the coordinate system of the display array and the ID of each display, a playback control data file is generated. The second resolution of the content to be played is obtained. Based on the second resolution and the playback control data file, the position information of each display in the target display array in the coordinate system is determined. Based on the position information, the playback area of ​​the playback control is automatically analyzed and determined. Then, the content to be played is played in the playback area through the playback control. Each display in the playback area plays one-Nth of the content to be played, which is not "stacked together", providing a better viewing effect and improving the viewing experience for the audience.

[0053] In one implementation, when selecting the number of displays, the number of displays in each row is ensured to be the same as the number of displays in each column, for example, 2×2, 3×3, 4×4, etc. Figure 2 As shown, this application example uses a 3×3 array of 9 displays (also referred to as screens) to illustrate the concept. The 9 displays are arranged and spliced ​​in a specific order to form a display array.

[0054] In one implementation, step S200 involves constructing a coordinate system for the display array based on the first resolution of each display screen, including steps S210-S220:

[0055] S210. Determine the length and width of each display screen based on the first resolution of each display screen.

[0056] For example, if the first resolution of each display screen is 1920*1080, then the length of each display screen is determined to be 1920 and the width to be 1080.

[0057] S220. Using one of the vertices of each display screen as a reference point, determine the coordinates of each reference point based on the length and width of each display screen, the reference point of each display screen, and the display screen array to construct the coordinate system of the display screen array.

[0058] For example Figure 2The top left corner of the display screen is used as the reference point, and the vertex of screen 1 is used as the origin of the coordinate system, which is the origin of the program to be played later. The coordinates of the reference points of the other screens are equivalent to the offsets relative to the origin. The rightward direction is the negative direction of the X-axis, and the downward direction is the negative direction of the Y-axis. The coordinate values ​​of the reference points represent the position of the display screen. Based on the length and width of each display screen, the coordinates of the reference point for each display screen are determined. Therefore, the coordinates of the reference point for screen 1 are (0, 0), the coordinates of the reference point for screen 2 are (-1920, 0), the coordinates of the reference point for screen 3 are (-3840, 0), the coordinates of the reference point for screen 4 are (0, -1080), the coordinates of the reference point for screen 5 are (-1920, -1080), the coordinates of the reference point for screen 6 are (-3840, -1080), the coordinates of the reference point for screen 7 are (0, -2160), the coordinates of the reference point for screen 8 are (-1920, -2160), and the coordinates of the reference point for screen 9 are (-3840, -2160), thus forming the coordinate system of the display screen array.

[0059] In one implementation, to distinguish different displays (i.e., screens), an ID for each display can be determined for different screen configurations; in step S200, a playback control data file is generated based on the coordinate system of the display array and the ID of the display, including steps S230-S240:

[0060] S230. Determine the total width and total length of the display array according to the coordinate system of the display array. The total width and total length are used to limit the total size of the content to be played.

[0061] Optionally, based on the coordinate system of the display array, the total width of the display array (3240) and the total length (5760) are determined, that is, the total size (total length × total width) of the program to be played is limited to 5760 × 3240.

[0062] S240. Under the ID of each display screen, record the total width and total length of the display screen array, as well as the coordinates of the reference point of that display screen, to obtain the program control data file.

[0063] Optionally, under the ID of each display screen, record the total width and total length of the display screen array, as well as the coordinates of the reference point of that display screen, to obtain the program control data file program.json. For example, the program control data file program.json includes the following: id is the ID of the display screen, and x and y constitute the coordinates of the reference point of the display screen:

[0064]

[0065]

[0066]

[0067]

[0068] In one implementation, step S300 includes steps S310-S330:

[0069] S310: Read the display screen ID, total width, total length, and coordinates of the display screen's reference point from the playback control data file.

[0070] Optionally, the getSplicingScreenData method can be used to read data from the program control data file program.json at the specified path and parse it into a List. <splicingscreenbean>Objects are beneficial for data processing in Android, specifically:

[0071] 1. Determine the JSON file path (jsonPath) for the playback control data file and print log information displaying the passed JSON file path. The relevant code is as follows:

[0072]

[0073] 2. Create a File object `new File(jsonPath)` representing the control data file in the JSON file path. Check if the control data file exists. If it does, read the contents of the control data file and convert them into a string. The relevant code is as follows:

[0074]

[0075] 3. Print the string and create a Gson instance to parse the string, obtaining the display data of the specified data type in the ArrayList, such as ID, total width, total length, and the coordinates of the reference point of the display, etc. The relevant code is as follows:

[0076]

[0077]

[0078] S320. Determine the number of displays N based on the second resolution, total width, and total length.

[0079] Specifically:

[0080] 1. When the current length corresponding to the second resolution is less than or equal to the total length and the current width corresponding to the second resolution is less than or equal to the total width, determine the first ratio of the total width to the current width and the second ratio of the total length to the current length. Determine the target ratio, which is the larger of the first and second ratios, and round the target ratio up to obtain the value M. Calculate the number of displays N based on M × M. For example, if the second resolution of the content to be played is 3840 × 2160, the current length corresponding to the second resolution (3840) is less than or equal to the total length (5760), and the current width corresponding to the second resolution (2160) is less than or equal to the total width (3240), the first ratio is 1.5, and the second ratio is 1.5. Therefore, the rounded value M is 2, M × M = 4, and the number of displays N = 4.

[0081] 2. Otherwise, it means that the current length exceeds the total length or the current width exceeds the total width, and the number of displays N is determined to be the total number of displays.

[0082] S330. Based on preset rules, select N displays from the display array to obtain the target display combination, and obtain the position information of each display in the target display combination in the coordinate system according to the coordinate values ​​of the reference points corresponding to the IDs of the selected N displays.

[0083] Optionally, based on preset rules, N displays are selected from the display array to obtain the target display combination, including S3301-S3302:

[0084] S3301. When N equals the total number of displays, all displays in the display array are used as the target display combination.

[0085] S3302. When N is less than the total number of displays, obtain a spatial image of the space where the displays are located, identify the audience position based on the spatial image, determine the display closest to the audience position based on the audience position and the positions of several displays, and select the adjacent displays in sequence from the display as the starting point until N displays are selected to obtain the target display combination.

[0086] Optionally, within the space containing the displays, cameras are deployed, and the position of each display in the display array is measured beforehand. Spatial images of the space containing the displays are acquired through the cameras, and these images are divided into a specified number of regions. A recognition model is used to identify the spatial images, determining the region with the highest number of people as the audience's location. Then, based on the audience's location and the positions of the displays, the relative positions of the audience and each display are calculated to determine the display closest to the audience. For example, as... Figure 3 As shown, assuming the number of displays N = 4, the target display combination of 2×2 displays needs to be determined. Currently, the display closest to the audience position is determined to be screen 8. Starting from this display, adjacent displays are selected in sequence. For example, screens 5, 7, and 9 can be determined. If screen 7 is determined, screen 4 can be selected in sequence to determine the target display combination including screens 4, 5, 7, and 8. If screen 9 is determined, screen 6 can be selected in sequence to determine the target display combination including screens 5, 6, 8, and 9.

[0087] Once the target display panel combination is determined, the coordinate values ​​of reference points corresponding to the IDs of N display panels can be selected based on the data read from the control data file. This yields the position information of each display panel in the coordinate system and generates a corresponding scene control data file, scene.json. The data defined in scene.json is used to control the playback size and position of each frame of the content to be played during actual playback. Specifically, taking a target display panel combination including screens 5, 6, 8, and 9 as an example, the scene control data file scene.json may include:

[0088]

[0089]

[0090]

[0091] Where x and y represent the coordinates (offset positions) of the image played by the playback control, such as the media player, on the corresponding coordinate axes during actual playback.

[0092] In one implementation, step S400 involves setting the playback area of ​​the playback control based on the location information, and then initializing or adjusting the position and size of the playback control based on the information of the N displays in the target display panel. If a matching display device is not found or certain conditions are not met, the system's default size is restored. The relevant code is as follows:

[0093]

[0094]

[0095]

[0096] Optionally, after successfully determining the playback area, the content to be played is played within the playback area using playback controls. The playback area comprises N displays from the target display panel, with each display showing one-Nth fraction of the content to be played. For example, the playback effect might look like this: Figure 4 As shown, it is not a "piecemeal stacking" but ultimately provides viewers with a better viewing experience and enhances the viewing experience.

[0097] Reference Figure 5 The diagram illustrates a structural block diagram of a multi-screen combination splicing playback device according to an embodiment of this application. The device may include:

[0098] A splicing module is used to arrange and splice several displays in a certain order to form a display array;

[0099] The generation module is used to construct the coordinate system of the display array and determine the ID of each display based on the first resolution of each display. Based on the coordinate system of the display array and the ID of each display, it generates a playback control data file.

[0100] The determination module is used to obtain the second resolution of the content to be played, and determine the position information of each display screen in the target display screen assembly in the coordinate system based on the second resolution and the playback control data file;

[0101] The playback module is used to set the playback area of ​​the playback control based on the location information, and to play the content to be played in the playback area through the playback control. The playback area includes N displays in the target display combination, and each display plays one-Nth of the content to be played.

[0102] The functions of each module in the device of this application embodiment can be found in the corresponding description in the above method, and will not be repeated here.

[0103] Reference Figure 6 The diagram illustrates a structural block diagram of an electronic device according to an embodiment of this application. The electronic device includes a memory 310 and a processor 320. The memory 310 stores instructions that can be executed on the processor 320. The processor 320 loads and executes these instructions to implement the multi-screen combination and splicing playback method described in the above embodiment. The number of memories 310 and processors 320 can be one or more.

[0104] In one embodiment, the electronic device further includes a communication interface 330 for communicating with external devices and exchanging data. If the memory 310, processor 320, and communication interface 330 are implemented independently, they can be interconnected via a bus to communicate with each other. This bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0105] Optionally, in a specific implementation, if the memory 310, processor 320 and communication interface 330 are integrated on a single chip, the memory 310, processor 320 and communication interface 330 can communicate with each other through an internal interface.

[0106] This application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the multi-screen combination and splicing playback method provided in the above embodiments.

[0107] This application also provides a chip, which includes a processor for calling and executing instructions stored in a memory, causing a communication device on which the chip is installed to perform the method provided in this application.

[0108] This application also provides a chip, including: an input interface, an output interface, a processor, and a memory. The input interface, output interface, processor, and memory are connected through an internal connection path. The processor is used to execute code in the memory. When the code is executed, the processor is used to execute the method provided in the application embodiment.

[0109] It should be understood that the aforementioned processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. General-purpose processors can be microprocessors or any conventional processor. It is worth noting that the processor can be a processor supporting the Advanced Reduced Instruction Set Computing (RISC) machine (ARM) architecture.

[0110] Further, optionally, the aforementioned memory may include read-only memory and random access memory, and may also include non-volatile random access memory. The memory may be volatile or non-volatile, or may include both. Non-volatile memory may include read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which serves as an external cache. Many forms of RAM are available by way of example, but not limitation. Examples include static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0111] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to this application is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another.

[0112] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. Furthermore, the described specific features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of those different embodiments or examples.

[0113] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.

[0114] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process. Furthermore, the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functionality involved.

[0115] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus or device (such as a computer-based system, a processor-included system or other system that can fetch and execute instructions from, an instruction execution system, apparatus or device).

[0116] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. All or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware, the program being stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiments.

[0117] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. This storage medium can be a read-only memory, a disk, or an optical disk, etc.

[0118] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various variations or substitutions within the technical scope disclosed in this application, and these should all be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the foregoing claims.< / splicingscreenbean>

Claims

1. A method for multi-screen combination and splicing playback, characterized in that, include: Several display screens are arranged and spliced ​​together in a certain order to form a display screen array; Based on the first resolution of each display screen, construct the coordinate system of the display screen array and determine the ID of each display screen. Based on the coordinate system of the display screen array and the ID of each display screen, generate a playback control data file. Obtain the second resolution of the content to be played, and determine the position information of each display screen in the target display screen assembly in the coordinate system based on the second resolution and the playback control data file; Based on the location information, the playback area of ​​the playback control is set, and the content to be played is played in the playback area through the playback control. The playback area includes N displays in the target display combination, and each display plays one-Nth of the content to be played. The process of constructing the coordinate system of the display array based on the first resolution of each display screen includes: The length and width of each display screen are determined based on its initial resolution. Using one vertex of each display screen as a reference point, the coordinates of each reference point are determined based on the length and width of each display screen, the reference points of each display screen, and the display screen array to construct the coordinate system of the display screen array; The step of determining the position information of each display screen in the coordinate system based on the second resolution and the playback control data file includes: Read the display screen's ID, total width, total length, and coordinates of the display screen's reference point from the playback control data file; The number of displays N is determined based on the second resolution, total width, and total length; Based on preset rules, N displays are selected from the display array to obtain the target display combination. Then, according to the coordinate values ​​of the reference points corresponding to the IDs of the selected N displays, the position information of each display in the target display combination in the coordinate system is obtained.

2. The multi-screen combination and splicing playback method according to claim 1, characterized in that: The process of generating program control data files based on the coordinate system of the display array and the ID of the display screen includes: Based on the coordinate system of the display array, determine the total width and total length of the display array. The total width and total length are used to limit the total size of the content to be played. Under the ID of each display screen, record the total width and total length of the display screen array, as well as the coordinates of the reference point of that display screen, to obtain the program control data file. The coordinates of the reference point represent the position of the display screen.

3. The multi-screen combination and splicing playback method according to claim 2, characterized in that: The reading of the display screen's ID, total width, total length, and coordinates of the display screen's reference point from the playback control data file includes: Determine the path to the JSON file containing the playback control data and print log information showing the path to the passed-in JSON file; Create a File object to represent the control data file in the JSON file path, check if the control data file exists, and if it exists, read the contents of the control data file and convert them into a string; Print the string and create a Gson instance to parse the string, obtaining the ID, total width, total length, and coordinates of the reference point of the display for the specified data type.

4. The multi-screen combination and splicing playback method according to claim 2, characterized in that: Determining the number N of displays based on the second resolution, total width, and total length includes: When the current length corresponding to the second resolution is less than or equal to the total length and the current width corresponding to the second resolution is less than or equal to the total width, determine the first ratio of the total width to the current width and the second ratio of the total length to the current length, determine the target ratio that is the largest of the first ratio and the second ratio, and round the target ratio up to obtain the value M. The number of displays N is obtained according to M×M. Otherwise, determine the number of displays N to be the total number of displays.

5. The multi-screen combination and splicing playback method according to claim 2, characterized in that: The step of selecting N displays from the display array based on preset rules to obtain the target display combination includes: When N equals the total number of displays, all displays in the display array are considered as the target display combination; When N is less than the total number of displays, a spatial image of the space where the displays are located is obtained. The spatial image is used to identify the audience's position. Based on the audience's position and the positions of several displays, the display closest to the audience's position is determined. Starting from this display, adjacent displays are selected sequentially until N displays are selected to obtain the target display combination.

6. A multi-screen combination and splicing playback device, characterized in that, include: A splicing module is used to arrange and splice several displays in a certain order to form a display array; The generation module is used to construct the coordinate system of the display array and determine the ID of each display based on the first resolution of each display. Based on the coordinate system of the display array and the ID of each display, it generates a playback control data file. The determination module is used to obtain the second resolution of the content to be played, and determine the position information of each display screen in the target display screen assembly in the coordinate system based on the second resolution and the playback control data file; The playback module is used to set the playback area of ​​the playback control according to the location information, and play the content to be played in the playback area through the playback control. The playback area includes N screens in the target display screen combination, and each screen plays one-Nth of the content to be played. The process of constructing the coordinate system of the display array based on the first resolution of each display screen includes: The length and width of each display screen are determined based on its initial resolution. Using one vertex of each display screen as a reference point, the coordinates of each reference point are determined based on the length and width of each display screen, the reference points of each display screen, and the display screen array to construct the coordinate system of the display screen array; The step of determining the position information of each display screen in the coordinate system based on the second resolution and the playback control data file includes: Read the display screen's ID, total width, total length, and coordinates of the display screen's reference point from the playback control data file; The number of displays N is determined based on the second resolution, total width, and total length; Based on preset rules, N displays are selected from the display array to obtain the target display combination. Then, according to the coordinate values ​​of the reference points corresponding to the IDs of the selected N displays, the position information of each display in the target display combination in the coordinate system is obtained.

7. An electronic device, characterized in that, include: A processor and a memory, wherein instructions are stored in the memory and loaded and executed by the processor to implement the method as described in any one of claims 1-5.

8. A computer-readable storage medium storing a computer program therein, which, when executed, implements the method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Television wall splicing method and system

    CN106454154A

  • Method and system for splicing images for splicing walls

    CN107943444A