Disclosure of Invention
The invention mainly aims to provide a display control method, a display control device, a display terminal and a computer readable storage medium, and aims to solve the technical problem that the display effect of the display terminal is poor when a user watches programs with different display sizes in the prior art.
In order to achieve the above object, the present invention provides a display control method for a display terminal, the method comprising the steps of:
Acquiring the picture display size of the display terminal and the picture display proportion of the display terminal;
determining a display mode of the display terminal;
Determining selected display parameters in a preset display parameter set based on the picture display size, the picture display proportion and the display mode;
And performing display control on the display terminal by using the selected display parameters.
Optionally, the step of determining the display mode of the display terminal includes:
And if the picture display proportion is matched with the target proportion, determining a game mode as a display mode of the display terminal.
Optionally, the step of determining the display mode of the display terminal includes:
if the picture display proportion is not matched with the target proportion, judging whether the game equipment is monitored to be connected with the display terminal or not;
if the game equipment is not monitored to be connected to the display terminal, determining a display mode of the display terminal based on a target program played by the display terminal.
Optionally, after the step of determining whether the game device is monitored to be connected to the display terminal, the method further includes:
and if the game equipment is monitored to be connected to the display terminal, determining the game mode as the display mode of the display terminal.
Optionally, the step of determining the display mode of the display terminal based on the target program played by the display terminal includes:
capturing the target program to obtain a plurality of program captures;
And determining the display mode of the display terminal based on the brightness information of the plurality of program screenshots.
Optionally, the step of determining the display mode of the display terminal based on the brightness information of the plurality of program shots includes:
obtaining a plurality of average brightness histograms based on brightness information of a plurality of program shots, wherein one program shot corresponds to one average brightness histogram;
Acquiring a plurality of brightness histograms of a plurality of program screenshots based on brightness information of the program screenshots, wherein one program screenshot corresponds to one brightness histogram;
determining the similarity between a plurality of the luminance histograms and a plurality of the average luminance histograms;
determining average brightness differences corresponding to the average brightness histograms;
And determining a display mode of the display terminal based on the similarity and the average brightness difference.
Optionally, before the step of performing display control on the display terminal using the selected display parameter, the method further includes:
acquiring a target distance between a target user and the display terminal;
Correcting the selected display parameters by utilizing the target distance to obtain result display parameters;
the step of performing display control on the display terminal by using the selected display parameters includes:
and performing display control on the display terminal by using the result display parameters.
In addition, in order to achieve the above object, the present invention also proposes a display control device for a display terminal, the device comprising:
The acquisition module is used for acquiring the picture display size of the display terminal and the picture display proportion of the display terminal;
The first determining module is used for determining a display mode of the display terminal;
the second determining module is used for determining selected display parameters from a preset display parameter set based on the picture display size, the picture display proportion and the display mode;
A control module for performing display control on the display terminal by using the selected display parameters
In addition, in order to achieve the above object, the present invention also provides a display terminal, including: the display control method comprises a memory, a processor and a display control program stored in the memory and running on the processor, wherein the display control program realizes the steps of the display control method when being executed by the processor.
In addition, in order to achieve the above object, the present invention also proposes a computer-readable storage medium having stored thereon a display control program which, when executed by a processor, implements the steps of the display control method as set forth in any one of the above.
The technical scheme of the invention provides a display control method for a display terminal, which comprises the following steps: acquiring the picture display size of the display terminal and the picture display proportion of the display terminal; determining a display mode of the display terminal; determining selected display parameters in a preset display parameter set based on the picture display size, the picture display proportion and the display mode; and performing display control on the display terminal by using the selected display parameters.
In the prior art, for the same display terminal, the display parameters are fixed, but when users watch programs with different display sizes, the display parameters required by the users are different, so that the display parameters of the display terminal are difficult to match with the watching requirements of the users, and the display effect of the display terminal is poor. By adopting the method, the display terminal automatically determines the selected display parameters in the preset display parameter set based on the picture display size, the picture display proportion and the display mode, and performs display control on the display terminal by utilizing the selected display parameters, so that the display parameters of the display terminal have higher matching degree with the watching requirements of users, and the display effect of the display terminal is improved.
Detailed Description
The following description of the embodiments of the present invention 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 embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a display terminal structure of a hardware running environment according to an embodiment of the present invention.
The display terminal may be a television, a projector, a display, or the like.
In general, a display terminal includes: at least one processor 301, a memory 302 and a display control program stored on said memory and executable on said processor, said display control program being configured to implement the steps of the display control method as described above.
Processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 301 may be implemented in at least one hardware form of DSP (DIGITAL SIGNAL Processing), FPGA (Field-Programmable gate array), PLA (Programmable Logic Array ). Processor 301 may also include a main processor, which is a processor for processing data in an awake state, also referred to as a CPU (Central ProcessingUnit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 301 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. The processor 301 may also include an AI (ARTIFICIAL INTELLIGENCE ) processor for processing the relevant display control method operations so that the display control method model can be trained and learned autonomously, improving efficiency and accuracy.
Memory 302 may include one or more computer-readable storage media, which may be non-transitory. Memory 302 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 302 is used to store at least one instruction for execution by processor 301 to implement the display control method provided by the method embodiments of the present application.
In some embodiments, the terminal may further optionally include: a communication interface 303, and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected by a bus or signal lines. The respective peripheral devices may be connected to the communication interface 303 through a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, a display screen 305, and a power supply 306.
The communication interface 303 may be used to connect at least one peripheral device associated with an I/O (Input/Output) to the processor 301 and the memory 302. In some embodiments, processor 301, memory 302, and communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 301, the memory 302, and the communication interface 303 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 304 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuitry 304 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 304 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (WIRELESS FIDELITY ) networks. In some embodiments, the radio frequency circuit 304 may further include NFC (NEAR FIELD Communication) related circuits, which is not limited by the present application.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 305 is a touch screen, the display 305 also has the ability to collect touch signals at or above the surface of the display 305. The touch signal may be input as a control signal to the processor 301 for processing. At this point, the display 305 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display 305 may be one, the front panel of an electronic device; in other embodiments, the display screen 305 may be at least two, respectively disposed on different surfaces of the electronic device or in a folded design; in still other embodiments, the display 305 may be a flexible display disposed on a curved surface or a folded surface of the electronic device. Even more, the display screen 305 may be arranged in an irregular pattern other than rectangular, i.e., a shaped screen. The display 305 may be made of LCD (LiquidCrystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The power supply 306 is used to power the various components in the electronic device. The power source 306 may be alternating current, direct current, disposable or rechargeable. When the power source 306 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 is not limiting of the display terminal and may include more or fewer components than shown, or may combine certain components, or may be arranged in different components.
In addition, the embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a display control program, and the display control program realizes the steps of the display control method when being executed by a processor. Therefore, a detailed description will not be given here. In addition, the description of the beneficial effects of the same method is omitted. For technical details not disclosed in the embodiments of the computer-readable storage medium according to the present application, please refer to the description of the method embodiments of the present application. As an example, the program instructions may be deployed to be executed on one display terminal or on multiple display terminals at one site or distributed across multiple sites and interconnected by a communication network.
Those skilled in the art will appreciate that implementing all or part of the above-described methods may be accomplished by way of computer programs, which may be stored on a computer-readable storage medium, and which, when executed, may comprise the steps of the embodiments of the methods described above. The computer readable storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random access Memory (Random AccessMemory, RAM), or the like.
Based on the above hardware structure, an embodiment of the display control method of the present invention is presented.
Referring to fig. 2, fig. 2 is a flowchart of a first embodiment of a display control method according to the present invention, where the method is used for a display terminal, and the method includes the following steps:
Step S11: and acquiring the picture display size of the display terminal and the picture display proportion of the display terminal.
The execution subject of the present invention is a display terminal, and the display terminal is provided with a display control program, and when executing the display control program, the display terminal implements the display control method of the present invention.
In a specific application, the intrinsic size of the display terminal is fixed, for example, 43 inches or 32 inches, and the user can choose to make the display terminal display a part of the screen, for example, the display terminal with the intrinsic size of 43 inches only displays the screen with 32 inches, and can choose the display proportion of the display terminal, for example, the display terminal with the intrinsic size of 43 inches only displays the screen with 16:9 of 32 inches.
In general, a user transmits a screen display size, which is a size of a desired display terminal to be displayed, and a screen display ratio, which is a ratio of the desired display terminal to be displayed to be transmitted by the user, to a display terminal through a remote controller or a voice input module. In general, the screen display size is not larger than the inherent size of the display terminal, and the screen display ratio includes 16:9, 21:9, 4:3, and the like which are commonly used. The user can set different screen display sizes and screen display ratios based on the demands, and in general, the closer the user is to the display terminal, the smaller the screen display size is.
Step S12: and determining a display mode of the display terminal.
It is also necessary to acquire a display mode of the display terminal, which may be a game mode, a reading mode, a viewing mode, or the like. Different display modes also correspond to different display parameters.
Specifically, the step of determining the display mode of the display terminal includes: and if the picture display proportion is matched with the target proportion, determining a game mode as a display mode of the display terminal.
The target ratio includes 32:9 and 21:9, and the picture display ratio is matched with the target ratio, which means that the picture display ratio is 32:9 or 21:9, that is, when the picture display ratio is matched with the target ratio regardless of the inherent size of the display terminal and the picture display size, it is indicated that the user is playing a game with the display terminal, and at this time, the game mode is determined as the display mode.
Specifically, the step of determining the display mode of the display terminal includes: the step of determining the display mode of the display terminal includes: if the picture display proportion is not matched with the target proportion, judging whether the game equipment is monitored to be connected with the display terminal or not; if the game equipment is not monitored to be connected to the display terminal, determining a display mode of the display terminal based on a target program played by the display terminal. And if the game equipment is monitored to be connected to the display terminal, determining the game mode as the display mode of the display terminal.
Specifically, when the access to the game machine (the game device, for example, XBox/PS4/PS 5) is recognized, indicating that the user wants to play a game with the display terminal, the game mode is automatically determined as the display mode at this time.
If the display proportion of the picture is not matched with the target proportion, the display mode is not determined, namely a game mode, a video watching mode, a game mode or a reading mode is possible, whether the game equipment is connected with the display terminal is continuously judged, if the game equipment is not monitored, the display mode is not the game mode, namely the video watching mode or the reading mode, and at the moment, the display mode of the display terminal is determined based on the target program played by the display terminal.
Specifically, the step of determining the display mode of the display terminal based on the target program played by the display terminal includes: capturing the target program to obtain a plurality of program captures; and determining the display mode of the display terminal based on the brightness information of the plurality of program screenshots.
When playing the target program, the target program of the playing interface may be subjected to screenshot in a continuous time (for example, 2 minutes), where the time interval of each program screenshot may be the same, for example, 5s. And then, based on the brightness information of the plurality of program screenshots, specifically determining the display mode of the display terminal.
The step of determining the display mode of the display terminal based on the brightness information of the plurality of program screenshots comprises the following steps: obtaining a plurality of average brightness histograms based on brightness information of a plurality of program shots, wherein one program shot corresponds to one average brightness histogram; acquiring a plurality of brightness histograms of a plurality of program screenshots based on brightness information of the program screenshots, wherein one program screenshot corresponds to one brightness histogram; determining the similarity between a plurality of the luminance histograms and a plurality of the average luminance histograms; determining average brightness differences corresponding to the average brightness histograms; determining a display mode of the display terminal based on the similarity and the average luminance difference
In a specific application, the target program refers to a program being played by the display terminal, and may be a web page, a television program, a music program, an electronic book, or the like. The multiple program shots of the target program may refer to all program shots of the target video within a continuous time period (2 minutes), collect brightness values (brightness information) of pictures of each program shot, obtain an average brightness value of each program shot, and construct an average brightness histogram by using the average brightness values; when the pictures of the two program screenshots have great difference, the average brightness values are also generally quite different, so that when the difference of the average brightness values of the two program screenshots (the average brightness difference) is smaller than 2, the two program screenshots can be basically judged to be identical; then, a 32-level gray-scale histogram (the brightness histogram) corresponding to each program screenshot is obtained based on the brightness value of each program screenshot, and when the picture similarity of the two program shots is higher, the values of the respective levels in the 32-level gray-scale histograms of the two program shots are closer. And calculating the similarity between the average brightness histogram and the brightness histogram of each program screenshot (the similarity refers to the proportion of the average brightness histogram to the similar data in the brightness histogram), and determining the display mode of the display terminal as a reading mode when the similarity is not lower than 85% and the average brightness difference is smaller than 2.
When the pictures of the two program screenshots have great difference, the average brightness values are also generally quite different, so that when the difference of the average brightness values of the two program screenshots (the average brightness difference) is more than or equal to 2, the two program screenshots can be basically judged to be different; then, a 32-level gray-scale histogram (the brightness histogram) corresponding to each program screenshot is obtained based on the brightness value of the picture of each program screenshot, and when the picture similarity of the two program shots is lower, the value difference of each level in the 32-level gray-scale histograms of the two program shots is larger. And calculating the similarity between the average brightness histogram and the brightness histogram of each program screenshot (the ratio of the average brightness histogram to the similar data in the brightness histogram), and determining the display mode of the display terminal as a viewing mode when the similarity is lower than 85% and the average brightness difference is greater than or equal to 2.
Step S13: and determining selected display parameters from a preset display parameter set based on the picture display size, the picture display proportion and the display mode.
In the present invention, the selected display parameter is determined from a preset display parameter set by using the three parameters of the screen display size, the screen display ratio and the display mode.
The preset display parameter set determining mode is as follows:
Determining at least one preset display size of the display terminal and determining at least one preset display proportion of the display terminal; determining at least one preset display mode of the display terminal; determining preset display parameters corresponding to at least one preset display size, at least one preset display mode and at least one preset display proportion; the preset display parameter set is obtained based on at least one preset display size, at least one preset display mode, at least one preset display proportion and the preset display parameters.
In general, a plurality of preset display sizes and a plurality of preset display proportions need to be set based on the inherent size of the display terminal, for example, for a 48-inch display terminal (full screen display proportion is 16:9), the preset display sizes include: 48 inches, 43 inches, 40 inches, 32 inches, 23.8 inches, etc., and the preset display proportions are 32:9, 16:9, 21:9, 4:3, etc., and the preset display modes can comprise a film watching mode, a game mode, a reading mode, etc.
In a specific application, a display scale and a film watching mode corresponding to the display terminal in an inherent size and full-screen display can be utilized to determine a standard combination information (taking the combination information of the inherent size, the display scale corresponding to the full-screen display and the film watching mode as a standard), and a default display parameter corresponding to the standard combination information is a preset display parameter corresponding to the standard combination information; and then, different combinations are performed by using the preset display size, the preset display mode and the preset display proportion to obtain different combination information, and finally, preset display parameters corresponding to different combination information are determined based on default display parameters corresponding to the standard combination information (the preset display parameters can comprise default display parameters corresponding to the standard combination information, namely, the preset display parameters comprise default display parameters), and in addition, the preset display parameters can also comprise whether to start low delay or not.
For example, the inherent size 48 of the display terminal is displayed in a full screen mode of 16:9, and the corresponding default display parameters are contrast, brightness, saturation, definition, backlight, color temperature, hue and the like are all 50 (meaning of 50% of the maximum value), and the low-delay effect of the game is started;
When the preset display size is 43, the preset display proportion is 32:9, the preset display mode is a game mode, the use distance is shortened because the image display size is reduced, the brightness and backlight brightness number in the preset display parameters are relatively reduced (5 points are reduced) based on the default display parameters, the definition value is directly adjusted to be higher (5 points are increased), and the low-delay effect of the game is started; wherein the other parameters may be unchanged.
When the preset display size is 40, the preset display proportion is 21:9, the preset display mode is a game mode, the use distance is shortened because the image display size is reduced relative to 32:9, the basic parameters in the image mode are reduced according to the size, the brightness and the backlight brightness number are relatively reduced (still the amplitude of 5 points) on the preset display parameters of 32:9, and the sharpness value is relatively increased (the amplitude of 5 points); other parameters may be unchanged.
When the preset display size is 32 or 23.8, the preset display proportion is 21:9, the preset display mode is a film watching mode, the use distance is shortened because the image display size is smaller than the standard size (48 inches), the basic parameters in the image mode are reduced according to the size, the brightness and the backlight brightness are relatively reduced (parameters between 5 percentage points and 10 percentage points are all available) on the basis of the default display parameters, the low-delay effect of the game is closed by the definition value pair (parameters between 10 percentage points and 15 percentage points are all available), and other parameters can be unchanged.
When the preset display size is 32 or 23.8, the preset display proportion is 21:9, when the preset display mode is the reading mode, scene change is used, the numerical values (about 10 points-15 points) of contrast, brightness, saturation and the like are reduced on the basis of the preset display parameters of the previous section, and the color temperature is adjusted to be warm; the low-latency effect of the game is turned off and other parameters may be unchanged.
When the preset display size is 32 or 23.8, the preset display proportion is 21:9, when the preset display mode is the film watching mode, scene change is used, the numerical values (about 10 points-15 points) of contrast, brightness, saturation and the like are improved on the basis of the corresponding preset display parameters of the previous section, the color temperature is adjusted to be warm, the low-delay effect of the game is closed, and other parameters can be unchanged.
It can be understood that, according to the above method, various preset display sizes, preset display modes and preset display proportions are obtained to determine various combination information, and preset display parameters corresponding to the various combination information are determined, so that a final preset display parameter set can be constructed, then one selected combination information identical to the picture display size, the picture display proportion and the display modes is determined in the preset display parameters, and the preset display parameters corresponding to the selected combination information are determined as the selected display parameters.
Step S14: and performing display control on the display terminal by using the selected display parameters.
After the selected display parameters are obtained, the contrast, brightness, saturation, definition, backlight, color temperature, hue and whether to turn on the low-delay effect in the selected display parameters are used for carrying out display control of the display terminal.
Further, before the step of performing display control on the display terminal by using the selected display parameter, the method further includes: acquiring a target distance between a target user and the display terminal; correcting the selected display parameters by utilizing the target distance to obtain result display parameters; the step of performing display control on the display terminal by using the selected display parameters includes: and performing display control on the display terminal by using the result display parameters.
For each combination information (the parameter formed by combining the preset display size, the preset display mode and the preset display proportion) in the preset display parameter set, a preset distance is corresponding to each combination information, and when the target distance is close to the preset distance (for example, a distance interval is formed by respectively adding or subtracting 10cm from the preset distance, the target distance is in the distance interval, and then the target distance is close to the preset distance), the corresponding preset display parameter is continuously adopted; if the target distance is greater than the preset distance (the target distance is outside the distance range), the display parameters are properly adjusted. That is, when the target distance is within the distance zone, no adjustment is performed, and when the target distance is outside the target zone, an adaptive adjustment is performed: for example, when the target distance is greater than the maximum value of the distance interval, properly adjusting the brightness and the definition on the basis of the selected display parameters so as to obtain the result display parameters; if the target distance is smaller than the minimum value of the distance interval, properly regulating the brightness and regulating the definition on the basis of the selected display parameters so as to obtain the result display parameters.
The technical scheme of the invention provides a display control method for a display terminal, which comprises the following steps: acquiring the picture display size of the display terminal and the picture display proportion of the display terminal; determining a display mode of the display terminal; determining selected display parameters in a preset display parameter set based on the picture display size, the picture display proportion and the display mode; and performing display control on the display terminal by using the selected display parameters.
In the prior art, for the same display terminal, the display parameters are fixed, but when users watch programs with different display sizes, the display parameters required by the users are different, so that the display parameters of the display terminal are difficult to match with the watching requirements of the users, and the display effect of the display terminal is poor. By adopting the method, the display terminal automatically determines the selected display parameters in the preset display parameter set based on the picture display size, the picture display proportion and the display mode, and performs display control on the display terminal by utilizing the selected display parameters, so that the display parameters of the display terminal have higher matching degree with the watching requirements of users, and the display effect of the display terminal is improved.
Referring to fig. 3, fig. 3 is a block diagram showing a first embodiment of a display control apparatus for a display terminal according to the present invention, based on the same inventive concept as the previous embodiment, the apparatus comprising:
An obtaining module 10, configured to obtain a picture display size of the display terminal and a picture display proportion of the display terminal;
A first determining module 20, configured to determine a display mode of the display terminal;
A second determining module 30, configured to determine a selected display parameter from a preset display parameter set based on the screen display size, the screen display scale, and the display mode;
And the control module 40 is used for performing display control on the display terminal by using the selected display parameters.
It should be noted that, since the steps executed by the apparatus of this embodiment are the same as those of the foregoing method embodiment, specific implementation manners and technical effects that can be achieved of the apparatus of this embodiment may refer to the foregoing embodiment, and will not be repeated herein.
The foregoing description is only of the optional embodiments of the present invention, and is not intended to limit the scope of the invention, and all the equivalent structural changes made by the description of the present invention and the accompanying drawings or the direct/indirect application in other related technical fields are included in the scope of the invention.