Disclosure of Invention
The technical problem to be solved by the embodiments of the present application is to provide a resolution adjustment method and apparatus for a tiled display screen, so that the definition of images displayed in each region of the display screen spliced by multiple screens is consistent.
To solve the above problems, an embodiment of the present application provides a resolution adjustment method for a tiled display screen, which is suitable for being executed in a computing device, and at least includes the following steps:
acquiring a first resolution according to the resolution of each single screen in a display screen and the splicing mode of each single screen in the display screen;
according to the first resolution, adjusting each second resolution in the screen divider, which corresponds to each single screen one by one;
and sending the adjusted second resolutions to an Android box, so that the Android box adjusts the resolutions of the images output to the single screens to the second resolutions.
Further, the splicing mode comprises transverse splicing or vertical splicing;
the obtaining the first resolution according to the resolution of each single screen in the display screen and the splicing mode of each single screen in the display screen comprises the following steps:
acquiring the width and the height of each single screen according to the resolution of each single screen, acquiring a splicing area formed by transversely splicing or vertically splicing each single screen according to the width and the height of each single screen, and acquiring the first resolution according to the width and the height of the splicing area; wherein the splicing area is rectangular.
Further, the adjusting each second resolution of the screen splitter corresponding to each single screen one to one according to the first resolution includes:
judging whether the first resolution is not larger than a preset resolution; if yes, adjusting each second resolution in the screen divider to be the first resolution;
otherwise, the first resolution is reduced according to a preset proportion, a third resolution is obtained, and each second resolution in the screen divider is adjusted to be the third resolution.
Further, the preset resolution is 3840×2160.
Further, still another embodiment of the present application provides a resolution adjustment device for a tiled display screen, including:
the data acquisition module is used for acquiring a first resolution according to the resolution of each single screen in the display screen and the splicing mode of each single screen in the display screen;
the first adjusting module is used for adjusting each second resolution ratio corresponding to each single screen in the screen divider one by one according to the first resolution ratio;
and the second adjustment module is used for sending the adjusted second resolutions to the Android box so that the Android box adjusts the resolutions of the images output to the single screens to the second resolutions.
Further, the splicing mode comprises transverse splicing or vertical splicing;
the data acquisition module is specifically configured to:
acquiring the width and the height of each single screen according to the resolution of each single screen, acquiring a splicing area formed by transversely splicing or vertically splicing each single screen according to the width and the height of each single screen, and acquiring the first resolution according to the width and the height of the splicing area; wherein the splicing area is rectangular.
Further, the first adjustment module is specifically configured to:
judging whether the first resolution is not larger than a preset resolution; if yes, adjusting each second resolution in the screen divider to be the first resolution;
otherwise, the first resolution is reduced according to a preset proportion, a third resolution is obtained, and each second resolution in the screen divider is adjusted to be the third resolution.
The implementation of the embodiment of the application has the following beneficial effects:
according to the resolution adjustment method and device for the spliced display screen, the first resolution is obtained according to the resolution of each single screen in the display screen and the splicing mode of each single screen in the display screen; according to the first resolution, adjusting each second resolution in the screen divider, which corresponds to each single screen one by one; and sending the adjusted second resolutions to the Android box so that the Android box adjusts the resolutions of the images output to the single screens to the second resolutions. Compared with the prior art, the resolution of each single screen and the splicing mode are adopted to obtain the total resolution, and the resolution of the image output to each single screen is adjusted according to the total resolution, so that the resolution of the image displayed by each single screen is consistent, the definition of the image displayed by each area in the display screen spliced by multiple screens is consistent, and the visual experience of a user is improved.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
Referring to fig. 1, a flowchart of a resolution adjustment method for a tiled display screen according to an embodiment of the present application is shown in fig. 1, and the task processing method includes steps S11 to S13. The method comprises the following steps:
step S11, obtaining a first resolution according to the resolution of each single screen in the display screen and the splicing mode of each single screen in the display screen.
The splicing mode comprises transverse splicing or vertical splicing.
Specifically, the width and the height of each single screen are obtained according to the resolution of each single screen, and after a splicing area formed by transversely splicing or vertically splicing each single screen is obtained according to the width and the height of each single screen, the first resolution is obtained according to the width and the height of the splicing area. Wherein the splicing area is rectangular.
As a preferable example of the present embodiment, the width and height of each single screen are the same. When the individual screens are spliced with each other by their widths, it is regarded as a lateral splice, where the width of the spliced area=the width of the individual screens, the number of individual screens, and the height=the width of the individual screens. The display screen after transverse splicing is shown in figure 2. When the individual screens are spliced with each other by their height, they are regarded as vertical splicing, where the width of the splicing area=the width of the individual screen, and the height=the width of the individual screen. The vertically spliced display screen is shown in fig. 3.
It should be noted that, in order to improve the display effect, the display screen spliced by each single screen is a 55 inch high definition display screen.
Step S12, adjusting each second resolution corresponding to each single screen in the screen splitter one by one according to the first resolution.
Specifically, judging whether the first resolution is not more than a preset resolution; if yes, adjusting each second resolution in the screen divider to be the first resolution; otherwise, the first resolution is reduced according to the preset proportion, the third resolution is obtained, and each second resolution in the screen divider is adjusted to be the third resolution.
For convenience of Android system usage, the maximum resolution supported by the Android system is 3840×2160, so in this embodiment, the preset resolution is 3840×2160. If the first resolution is greater than the predetermined resolution, the first resolution is scaled down.
And step S13, sending the adjusted second resolutions to the Android box so that the Android box adjusts the resolutions of the images output to the single screens to the second resolutions.
In this embodiment, the Android box is an Android7.0 and above device supporting 4K display.
The embodiment of the application provides a resolution adjustment method for a spliced display screen, which is used for acquiring a first resolution according to the resolution of each single screen in the display screen and the splicing mode of each single screen in the display screen; according to the first resolution, adjusting each second resolution in the screen divider, which corresponds to each single screen one by one; and sending the adjusted second resolutions to the Android box so that the Android box adjusts the resolutions of the images output to the single screens to the second resolutions. Compared with the prior art, the resolution of each single screen and the splicing mode are adopted to obtain the total resolution, and the resolution of the image output to each single screen is adjusted according to the total resolution, so that the resolution of the image displayed by each single screen is consistent, the definition of the image displayed by each area in the display screen spliced by multiple screens is consistent, and the visual experience of a user is improved.
Further, as shown in fig. 4, a schematic structural diagram of a resolution adjustment device for a tiled display screen according to an embodiment of the present application is provided. Comprising the following steps:
the data acquisition module 101 is configured to acquire a first resolution according to the resolution of each single screen in the display screen and the splicing manner of each single screen in the display screen.
The splicing mode comprises transverse splicing or vertical splicing.
Specifically, the width and the height of each single screen are obtained according to the resolution of each single screen, and after a splicing area formed by transversely splicing or vertically splicing each single screen is obtained according to the width and the height of each single screen, the first resolution is obtained according to the width and the height of the splicing area. Wherein the splicing area is rectangular.
The first adjustment module 102 is configured to adjust each second resolution of the screen splitter corresponding to each single screen one by one according to the first resolution.
Specifically, judging whether the first resolution is not more than a preset resolution; if yes, adjusting each second resolution in the screen divider to be the first resolution; otherwise, the first resolution is reduced according to the preset proportion, the third resolution is obtained, and each second resolution in the screen divider is adjusted to be the third resolution.
For convenience of Android system usage, the maximum resolution supported by the Android system is 3840×2160, so in this embodiment, the preset resolution is 3840×2160. If the first resolution is greater than the predetermined resolution, the first resolution is scaled down.
And the second adjustment module 103 is configured to send the adjusted second resolutions to the Android box, so that the Android box adjusts the resolutions of the images output to the single screens to the second resolutions.
In this embodiment, the Android box is an Android7.0 and above device supporting 4K display. The embodiment of the application provides a resolution adjustment device for a spliced display screen, which obtains a first resolution according to the resolution of each single screen in the display screen and the splicing mode of each single screen in the display screen; according to the first resolution, adjusting each second resolution in the screen divider, which corresponds to each single screen one by one; and sending the adjusted second resolutions to the Android box so that the Android box adjusts the resolutions of the images output to the single screens to the second resolutions. Compared with the prior art, the resolution of each single screen and the splicing mode are adopted to obtain the total resolution, and the resolution of the image output to each single screen is adjusted according to the total resolution, so that the resolution of the image displayed by each single screen is consistent, the definition of the image displayed by each area in the display screen spliced by multiple screens is consistent, and the visual experience of a user is improved.
While the foregoing is directed to the preferred embodiments of the present application, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the present application, such changes and modifications are also intended to be within the scope of the present application.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like.