Display device control method and display device
By determining the working mode according to the screen brightness and ambient brightness of the display device, adjusting the screen brightness and calling the gamma correction code, the problem of insufficient adjustment of the display screen brightness is solved, and accurate and comprehensive optimization of the display effect in different environments is achieved.
Patent Information
- Application Number
- CN202510502683.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-21
- Publication Date
- 2025-07-08
AI Technical Summary
In the prior art, the display screen brightness adjustment is insufficient, especially in dark environments, and the lack of precise and comprehensive adjustment methods, resulting in the display effect not suitable for the current environment.
By determining the operating mode according to the screen brightness and ambient brightness of the display device, adjusting the screen brightness and calling the gamma correction code, the grayscale level is accurately adjusted to optimize the display effect.
It realizes automatic and precise adjustment of the brightness and grayscale of the display device in different environments, providing a more comfortable display effect, and improving the user experience in low-light environments.
Smart Images

Figure CN120279864A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of image display, and particularly relates to a display device control method and a display device applying the screen brightness control method. Background Art
[0002] When using electronic devices such as computers and smartphones in a relatively dark environment, such as a cinema or a residential house with the lights turned off, the display screens of the electronic devices are very likely to appear too bright, making the user feel dazzling and uncomfortable, and others nearby are also easily disturbed.
[0003] Although most electronic devices can usually adjust the display screen brightness manually or automatically, manual adjustment of the display screen brightness requires the user to spend time operating and has a low accuracy; while the existing technical solutions for automatically adjusting the display screen brightness usually only increase or decrease the display screen brightness correspondingly according to the brightness of the external environment, making it tend to be consistent with the external environment brightness. That is to say, in this existing technical solution, the only parameter used as the basis for adjusting the display screen brightness is the external environment brightness, and it does not consider other factors such as the current brightness of the display screen itself and the display mode, etc., on the influence of the brightness adjustment effect. Its adjustment means are only limited to simply increasing or decreasing the display screen brightness, lacking technical means for adjusting display parameters from other aspects. Obviously, the existing technical solutions for manually or automatically adjusting the screen brightness have relatively limited effects on improving the display effect.
[0004] Therefore, it is necessary to provide a more novel display device control method and the corresponding display device, which can control the display screen of the electronic device in a dark environment to adjust the relevant display parameters of the display screen in a more accurate and comprehensive manner, and obtain a display effect more suitable for the current environment. Summary of the Invention
[0005] The purpose of this application is to provide a display device control method and a display device, aiming to solve the problem of insufficient adjustment of the display screen brightness in the prior art, especially in a relatively dark environment, and be able to adjust the relevant display parameters of the display device more accurately and comprehensively, so as to obtain a display effect more suitable for the current environment.
[0006] To achieve the above purpose, on the one hand, this application discloses a display device control method, including the following steps: S1, determine the working mode of the display device according to the screen brightness of the display device and the environmental brightness in the environment where the display device is located; S2, adjust the screen brightness of the display device according to the determined working mode, and call the gamma correction code corresponding to the working mode; S3, adjust the gray level of the display device according to the called gamma correction code.
[0007] Optionally, step S1 includes: Determine at least two screen brightness levels and at least two ambient brightness levels according to the screen brightness of the display device and the ambient brightness in the environment where the display device is located, respectively; Determine the working mode of the display device according to the screen brightness level where the current screen brightness of the display device is located and the ambient brightness level in the environment where the display device is currently located.
[0008] Optionally, the determining at least two screen brightness levels according to the screen brightness of the display device includes: Obtain the brightness data of all pixels of the display device; Judge whether the brightness data of each pixel is within a preset brightness judgment interval: If all the brightness data is not within the brightness judgment interval, determine that the screen brightness is at a preset first screen brightness level; If there is pixel brightness data within the preset brightness judgment interval, count the number of pixels within the preset brightness judgment interval; Judge whether the proportion of the number of pixels within the preset brightness judgment interval to all pixels exceeds a preset threshold. If so, If so, determine that the screen brightness is at a preset second screen brightness level; if not, determine that the screen brightness is at the first screen brightness level.
[0009] Optionally, the determining at least two ambient brightness levels according to the ambient brightness in the environment where the display device is located includes: Obtain ambient light data; Judge whether the light intensity exceeds a preset light intensity threshold according to the light data; If so, determine that the ambient brightness is at a preset second ambient brightness level; If not, determine that the ambient brightness is at a preset first ambient brightness level.
[0010] Optionally, the determining the working mode of the display device according to the screen brightness level where the current screen brightness of the display device is located and the ambient brightness level in the environment where the display device is currently located includes: If the screen brightness level is the second screen brightness level and the ambient brightness level is the first ambient brightness level, determine that the working mode of the display device is a preset low brightness mode; If not, determine that the working mode of the display device is a preset normal mode.
[0011] Optionally, step S2 includes: The gamma correction code includes a first gamma correction code and a second gamma correction code; If the working mode of the display device is the normal mode, adjust the screen brightness of the display device to a preset normal mode brightness, and select and call a preset first gamma correction code.
[0012] If the working mode of the display device is the low brightness mode, adjust the screen brightness of the display device to a preset low brightness mode brightness, and select and call a preset second gamma correction code.
[0013] Optionally, if the working mode of the display device is the low brightness mode, adjust the screen brightness of the display device to a preset low brightness mode brightness, and select and call a preset second gamma correction code, including: If it is determined that the working mode of the display device is the low brightness mode, determine whether the current display data of the display device is background data or content data; If the current display data of the display device is background data, adjust the screen brightness of the display device to a preset dark mode brightness, and select and call a preset second gamma correction code; If the current display data of the display device is content data, further determine whether the content data is picture data or text data; If the content data is picture data, adjust the screen brightness of the display device to a preset dark mode brightness, and select and call a preset second gamma correction code; If the content data is text data, adjust the screen brightness of the display device to a preset dark mode brightness, and further determine the type of the text data, and select and call a preset second gamma correction code according to the type of the text data.
[0014] Optionally, further determining the type of the text data and selecting and calling a preset second gamma correction code according to the type of the text data includes: Determine whether the gray level of the text data belongs to a preset first gray level range; If so, call a preset second gamma correction code, and further replace the gray level of the text data with a second gray level range; If not, call a preset second gamma correction code.
[0015] A second aspect of the present application discloses a display device, the display device includes: A working mode determination module, configured to determine the working mode of the display device according to the screen brightness of the display device and the ambient brightness in the environment where the display device is located; A working mode execution module, configured to adjust the screen brightness of the display device according to the determined working mode, and call a gamma correction code corresponding to the working mode; A display parameter adjustment module, configured to adjust the gray level of the display device according to the called gamma correction code.
[0016] Optionally, the working mode determination module includes a photosensitive unit for determining the ambient brightness in the environment where the display device is located; the display device further includes a reflective film and a cover plate, and the reflective film and the cover plate are provided with detection ports for exposing the photosensitive unit.
[0017] Compared with the prior art, the display device control method and the display device provided by the embodiments of the present application can automatically and accurately adjust the brightness and gray level of the display device in different environments, solve the problem that the brightness adjustment of the display device in the prior art is not intelligent enough, and avoid visual discomfort caused by too high or too low brightness. Especially in a dark environment, the present invention can provide a more comfortable display effect and improve the use experience of the electronic device in a low-light environment. Brief Description of the Drawings
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.
[0019] Figure 1 It is a schematic flowchart of a display device control method provided by an embodiment of the present invention.
[0020] Figure 2 For Figure 1 It is a schematic flowchart of determining the working mode in the method shown.
[0021] Figure 3 For Figure 1 It is a schematic flowchart of determining the screen brightness level in the method shown.
[0022] Figure 4 For Figure 1 It is a schematic flowchart of determining the ambient brightness level in the method shown.
[0023] Figure 5 For Figure 1 It is a schematic flowchart of determining the association between the working mode and the screen brightness level and the ambient brightness level in the method shown.
[0024] Figure 6 For Figure 2Schematic diagram of the process of calling the corresponding gamma correction code according to the working mode in the method shown.
[0025] Figure 7 For Figure 1 Schematic diagram of adjusting the gray level in a low-brightness mode provided by an embodiment of the present invention in the method shown.
[0026] Figure 8 For Figure 6 Schematic diagram of specific embodiments of the first gamma correction code and the second gamma correction code regarding gray level and brightness in the method shown.
[0027] Figure 9 For Figure 5 Schematic diagram of the association between the working mode and the screen brightness level and the ambient brightness level in the method shown.
[0028] Figure 10 Code table of the first gamma correction code and the second gamma correction code regarding gray level and brightness in the schematic diagram shown in 8.
[0029] Figure 11 Schematic diagram of the working module of a display device provided by an embodiment of the present invention.
[0030] Figure 12 For Figure 10 Schematic diagram of the photosensitive circuit in the working mode determination module of the display device shown.
[0031] Figure 13 For Figure 10 Schematic diagram of the appearance of the display device shown. Detailed implementation manners
[0032] Hereinafter, specific embodiments of the present application will be described in detail with reference to the drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the description of the present application without creative efforts shall fall within the scope of protection of the present application.
[0033] Figure 1 Schematic diagram of the process of a display device control method provided by an embodiment of the present invention. Figure 10 Code table of the first gamma correction code and the second gamma correction code regarding gray level and brightness in the schematic diagram shown in 8. Refer to Figure 1 And Figure 10 , The main purpose of the present application is to provide a display device control method and a display device. The display device control method is used to determine the working mode according to the screen brightness and the ambient brightness, and adjust the screen brightness and gray level of the display device. The method includes the following steps: S1: Determine the operating mode of the display device according to the screen brightness of the display device and the ambient brightness in the environment where the display device is located.
[0034] Among them, the display device obtains the current ambient brightness and the screen brightness of the display device through its control system. The ambient brightness data can be obtained through an external light sensor device or the display device through an interface, or through ambient data input by the user. In this example, assume that the ambient brightness is 50 lux and the screen brightness of the display device is 300 nit.
[0035] The system makes a comprehensive judgment based on these two parameters and selects the corresponding operating mode. For example: If the ambient brightness is low (for example, less than 100 lux) and the current screen brightness is greater than the set threshold (for example, 200 nit), then select the "low brightness mode".
[0036] If the ambient brightness is high (for example, greater than 300 lux), then select the "high brightness mode" or "normal brightness mode" to ensure that the display device adapts to different lighting conditions.
[0037] S2: Adjust the screen brightness of the display device according to the determined operating mode, and call the gamma correction code corresponding to the operating mode.
[0038] Among them, if entering the low brightness mode, the screen brightness will be automatically adjusted to a lower value, such as 150 nit, to adapt to the low brightness environment; if entering the normal brightness mode or high brightness mode, the brightness will be adjusted to the corresponding standard value, such as 250 nit or higher. At this time, the display device will call the control gamma correction code corresponding to this operating mode to adjust the screen brightness.
[0039] S3: Adjust the gray level of the display device according to the called gamma correction code.
[0040] Among them, according to the called operating mode gamma correction code, the display device will further adjust the gray level to optimize the display effect. The specific adjustment varies according to the different operating modes: If in the low brightness mode, the gray level may be adjusted from L0~L32 to L64~L96 to ensure that the display effect in the low brightness environment is clearer and more comfortable.
[0041] If in the normal or high brightness mode, the gray level adjustment is relatively small to ensure the natural transition and details of the displayed content.
[0042] Through these steps, the display device can intelligently adjust the working mode, brightness, and gray level according to the screen brightness and ambient brightness, thereby providing the best display effect suitable for the current environment, avoiding visual discomfort caused by over-brightness or over-darkness, and enhancing the user's visual experience.
[0043] Figure 2 For Figure 1 the flow chart for determining the working mode in the method shown, refer to Figure 2 Furthermore, step S1: Determine the working mode of the display device according to the screen brightness of the display device and the ambient brightness in the environment where the display device is located. It includes the following steps: S101: Determine at least two screen brightness levels and at least two ambient brightness levels respectively according to the screen brightness of the display device and the ambient brightness in the environment where the display device is located.
[0044] Among them, the display device first obtains the current screen brightness and ambient brightness. Through these two brightness values, the system determines the levels of the screen brightness and ambient brightness respectively.
[0045] For example, the brightness levels of the screen are divided as follows: Screen brightness level 1: 0 - 100 nit; Screen brightness level 2: 101 - 300 nit; Screen brightness level 3: 301 - 500 nit; Assume the current screen brightness is 250 nit, and the system determines that it belongs to screen brightness level 2. The division of the ambient brightness levels is as follows: Ambient brightness level 1: 0 - 100 lux; Ambient brightness level 2: 101 - 500 lux; Assume the current ambient brightness is 80 lux, and the system determines that it belongs to ambient brightness level 1.
[0046] Step S102: Determine the working mode of the display device according to the screen brightness level where the current screen brightness of the display device is located and the ambient brightness level where the current environment where the display device is located is located.
[0047] The current screen brightness level is 2 (medium brightness), and the ambient brightness level is 1 (low - brightness environment).
[0048] The display device determines according to these two levels that it needs to enter the low - brightness mode to avoid discomfort caused by too high screen brightness and at the same time adapt to the low ambient brightness.
[0049] Figure 3 For Figure 1Flow chart for determining the screen brightness level in the method shown. Refer to Figure 3 Furthermore, step S101: Determine at least two screen brightness levels based on the screen brightness of the display device and the ambient brightness in the environment where the display device is located. The steps include: S111: Obtain the brightness data of all pixels of the display device.
[0050] Among them, the display device obtains the current screen brightness data (Data) through a built-in light sensor or other control systems, indicating the brightness state of the current screen of the display device.
[0051] S112: Determine whether the brightness data of each pixel is within a preset brightness judgment interval.
[0052] Among them, the display device determines whether the obtained brightness data is within a preset brightness judgment interval. For example, assume that the preset brightness judgment interval is [L128 ~ L255].
[0053] If Data ∈ [L128 ~ L255], go to step S113; If Data is not within the interval [L128 ~ L255], go to step S116.
[0054] S113: If there is brightness data within the brightness judgment interval, count the number of pixels within the preset brightness judgment interval.
[0055] Among them, if the brightness data is within the interval [L128 ~ L255], the display device will count the number of all pixels within the brightness judgment interval. For example, assume there are 100 pixel brightness data, and 60 of them are within the brightness judgment interval.
[0056] S114: Determine whether the proportion of the number of pixels within the preset brightness judgment interval to all pixels exceeds a preset threshold.
[0057] Among them, if the brightness data exists within the interval [L128 ~ L255], the display device then determines whether the proportion of the brightness data within this interval to the total brightness data exceeds a preset value. For example, assume the preset threshold is 50%.
[0058] If the proportion exceeds the preset value (e.g., 60% > 50%), go to step S115; If the proportion does not exceed the preset value, go to step S116.
[0059] S115: Determine that the brightness data is the preset second screen brightness level.
[0060] If the luminance data is within the range of [L128 - L255], and the proportion of the luminance data within this range exceeds a preset value (e.g., exceeds 50%), the display device determines that the luminance data is the second screen luminance level and may perform corresponding screen luminance adjustment operations.
[0061] S116: Determine that the luminance data is the preset first screen luminance level.
[0062] If the luminance data is not within the range of [L128 - L255], or the proportion of the luminance data within this range does not exceed the preset value (e.g., is less than 50%), the display device determines that the luminance data is the first screen luminance level and performs corresponding screen luminance calibration operations.
[0063] In this embodiment, the display device first determines whether the data is within the preset luminance judgment range [L128 - L255] according to the acquired luminance data. If the data is within this range, the display device further calculates the proportion of the luminance data within this range in the total luminance data and determines whether this proportion exceeds the preset value. Based on the judgment of the proportion, the display device decides to determine the luminance data as the preset second screen luminance level (when the proportion exceeds the preset value) or the preset first screen luminance level (when the proportion does not exceed the preset value). If the luminance data is not within this range, it is directly determined as the first screen luminance level.
[0064] Refer to Figure 4 , further, the step S101: Determine at least two ambient luminance levels according to the screen luminance of the display device and the ambient luminance in the environment where the display device is located. The steps include: Step S121: Obtain ambient light data.
[0065] In this step, the display device obtains ambient light data (light intensity) through its built-in ambient light sensor or other external devices, and uses this as the basis for judging the ambient luminance.
[0066] For example, the display device obtains the current ambient light data as 300 lux.
[0067] Step S122: Determine whether the light intensity exceeds a preset light intensity threshold according to the light data.
[0068] Among them, the display device determines whether the acquired ambient light data exceeds the preset light intensity threshold. For example, the preset light intensity threshold is 200 lux.
[0069] If the ambient light data exceeds 200 lux (i.e., 300 lux > 200 lux), enter step S123; If the ambient light data does not exceed 200 lux, proceed to step S124.
[0070] Step S123: Determine that the brightness data is the preset second screen brightness level.
[0071] If the light intensity exceeds the preset value (e.g., 300 lux > 200 lux), the display device determines that the ambient light data is the preset second ambient brightness level, indicating that the ambient brightness is high.
[0072] Step S124: Determine that the light data is the preset first ambient brightness level.
[0073] If the light intensity does not exceed the preset value (e.g., 100 lux ≤ 200 lux), the display device determines that the ambient light data is the preset first ambient brightness level, indicating that the ambient light is low.
[0074] Figure 5 For Figure 1 the schematic diagram of the association process for determining the working mode with the screen brightness level and the ambient brightness level in the method shown, refer to Figure 5 Furthermore, the working modes of the display device include a normal mode and a low-brightness mode; step S102: Determine the working mode of the display device according to the screen brightness level of the current screen brightness of the display device and the ambient brightness level of the environment where the display device is currently located. It includes the following steps: Step S131: Determine that the screen brightness level is the second screen brightness level and the ambient brightness level is the first ambient brightness level; Specifically, if the current screen brightness belongs to the higher brightness judgment interval (e.g., [L128 ~ L255]), it is determined as the second screen brightness level.
[0075] If the current ambient brightness belongs to the lower brightness judgment interval (e.g., the ambient light data is less than the preset value, e.g., below 200 lux), it is determined as the first ambient brightness level.
[0076] If the screen brightness level is the second screen brightness level and the ambient brightness level is the first ambient brightness level, proceed to step S132; If the screen brightness level is not the second screen brightness level or the ambient brightness level is not the first ambient brightness level, proceed to step S133.
[0077] Step S132: Determine that the working mode of the display device is the preset low-brightness mode.
[0078] Among them, in low-brightness mode, the display device will automatically lower the screen brightness to adapt to lower ambient light and avoid discomfort caused by excessive screen brightness.
[0079] Step S133: Determine that the operating mode of the display device is a preset normal mode [1].
[0080] Further, the gamma correction code includes a first gamma correction code and a second gamma correction code, and the step S2: adjusting the screen brightness of the display device according to the determined working mode, and calling the gamma correction code corresponding to the working mode includes the following steps: Step S201: If the working mode of the display device is the normal mode, the screen brightness of the display device is adjusted to a preset normal mode brightness, and a preset first gamma correction code is selected to be called.
[0081] Step S202: If the working mode of the display device is the low brightness mode, the screen brightness of the display device is adjusted to a preset low brightness mode brightness, and a preset second gamma correction code is selected to be called.
[0082] For example, the first gamma correction code and the second gamma correction code are two different adjustment modes of a gamma curve applied to a display device: The first gamma correction code is Gamma Code 1. Gamma Code 1 is the gamma curve used in normal mode, which is used to optimize brightness, contrast and color, so that images and text are displayed more clearly and comfortably in a bright environment. Under normal brightness, Gamma Code 1 adjusts the output brightness of the display device so that the highlights are not overexposed and enhances the details of the dark parts, which conforms to the human eye's perception of brightness changes and provides the best visual experience.
[0083] The second gamma correction code is Gamma Code 2. Gamma Code 2 is a gamma curve used in low-light mode to optimize screen brightness and contrast, reduce eye fatigue in low-light environments, and ensure visibility and comfort of displayed content. In low brightness, Gamma Code 2 adjusts brightness output so that images and text are still clearly visible in dim or low-light environments, while reducing detail loss caused by low screen brightness.
[0084] Figure 6 for Figure 2 The method shown is a flow chart of calling the corresponding gamma correction code according to the working mode, Figure 8 for Figure 6 Detailed embodiment of the first gamma correction code and the second gamma correction code in the method shown in FIG.Figure 8 , Gamma Code 1 and Gamma Code 2 in the figure show how to adjust the brightness (0 to 400 nit) of the display device according to the gray levels (L0 to L255) in different display modes.
[0085] In the normal mode, Gamma Code 1 optimizes the brightness and contrast of the display device through a gamma curve, which is suitable for a relatively high-brightness environment. According to the gamma curve, the change in gray levels from L0 to L255 corresponds to a brightness output from 0 to 400 nit.
[0086] Low gray levels (L0 to L64): Correspond to relatively low brightness, close to 0 nit, which is the lowest brightness of the display device.
[0087] Medium gray levels (L64 to L128): Correspond to medium brightness, approximately between 100 nit and 200 nit.
[0088] High gray levels (L128 to L255): Correspond to relatively high brightness, gradually approaching 400 nit, which is the highest brightness of the display device.
[0089] In the normal mode, the increase in gray levels will bring a gradual increase in brightness, from 0 nit to 400 nit, ensuring that the displayed content is always clear and visually comfortable under strong ambient light conditions.
[0090] In the low-brightness mode, Gamma Code 2 optimizes the brightness and contrast to adapt to the low-light environment. At this time, the brightness output of the display device is limited to the range of 0 to 200 nit.
[0091] Low gray levels (L0 to L64): Correspond to relatively low brightness, from 0 nit to 100 nit, optimizing the display effect in the low-light environment.
[0092] Medium gray levels (L64 to L128): Correspond to medium brightness, approximately between 100 nit and 150 nit High gray levels (L128 to L255): Still maintain a low brightness output, gradually approaching 200 nit, to avoid eye fatigue caused by excessive brightness in the low-light environment.
[0093] In the low-brightness mode, the brightness of the display device varies from 0 nit to 200 nit, ensuring that even in a dim or low-light environment, the brightness of the screen is not too high or unsuitable for viewing.
[0094] Refer to Figure 6, Further, if the working mode of the display device is the low-brightness mode, the screen brightness of the display device is adjusted to the preset low-brightness mode brightness, and the preset second gamma correction code is selected and called, including the following steps: Step S211: Determine whether the current display data of the display device is background data or content data; In the low-brightness mode, first determine the type of the current display data of the display device. If it is background data, proceed to step S212; if it is content data, proceed to step S213.
[0095] Step S212: Adjust the screen brightness of the display device to the preset normal mode brightness, and select and call the preset second gamma correction code; Among them, the screen brightness of the display device is adjusted to the preset normal mode brightness. In the low-brightness mode, the display of background data usually requires appropriate brightness adjustment to ensure its visibility in a lower light environment.
[0096] Step S213: Determine whether the content data is picture data or text data; If it is picture data, proceed to step S214; if it is text data, proceed to step S215; Step S214: Adjust the screen brightness of the display device to the preset normal mode brightness, and select and call the preset second gamma correction code.
[0097] Step S215: Adjust the screen brightness of the display device to the preset normal mode brightness, and select and call the preset second gamma correction code.
[0098] In this embodiment, the display device automatically adjusts the screen brightness according to the working mode and data type and calls the corresponding Gamma Code gamma correction code. If the current working mode is the low-brightness mode, the display device first determines whether the display data is background data or content data. If it is background data, the screen brightness is adjusted to the normal mode brightness and GammaCode 2 is called; if it is content data, the display device further determines whether the content is picture data or text data, and then adjusts the brightness according to the data type and selects the corresponding gamma correction code. Whether it is picture data or text data, the screen brightness will be adjusted to an appropriate normal mode brightness, and the display effect is optimized through Gamma Code 2 to ensure that the images and texts are clearly and comfortably displayed in a low-light environment.
[0099] Refer to Figure 9 and Figure 10, as a specific implementation of this embodiment, in the figure, the display mode and the corresponding Gamma Code are adjusted according to the screen brightness level (PLD) and the ambient brightness level (QQL) of the display device. The following is a detailed explanation of each part: PLD (Screen Brightness Level): PLD = 1 represents the second screen brightness level, that is, the screen brightness of the display device is relatively high; PLD = 0 represents the first screen brightness level, that is, the screen brightness of the display device is relatively low.
[0100] QQL (Ambient Brightness Level): QQL = 1 represents the second ambient brightness level, that is, the ambient brightness is relatively strong; QQL = 0 represents the first ambient brightness level, that is, the ambient brightness is relatively weak.
[0101] Display Mode: The Display Mode column in the table defines different display modes, including Dark Mode and Normal Mode.
[0102] Gamma Code: The Gamma Code column represents the gamma curve corresponding to each combination of display mode, desktop display type, and brightness level, which is used to adjust the brightness, contrast, and color of the display device.
[0103] Data Row (RGB Column): The R, G, and B columns represent the RGB values of each gray level, which are used to adjust the color performance. According to different display modes and ambient brightness, the adjustment of these RGB values will affect the display effect.
[0104] The combination of PLD and QQL determines the selection of the display mode and the gamma curve. For example: When PLD = 1 and QQL = 1, the display mode is Dark Mode, the desktop display is Background, and Gamma Code2 - Swap is used.
[0105] When PLD = 0 and QQL = 1, the display mode is Normal Mode, the desktop display is Picture, and Gamma Code1 is used.
[0106] Figure 7 For Figure 1 a schematic diagram of adjusting the gray level of the low - light mode provided by the embodiment of the present invention in the method shown, refer to Figure 7 , further, in step S3, according to the called gamma correction code, the gray level of the display device is adjusted. When the working mode is the low - light mode, the following steps are included: Step S301: Determine whether the text data belongs to a preset first gray - level range.
[0107] For example, the first gray level range is from L0 to L32.
[0108] Specifically, the display device first analyzes the current text data to obtain its gray level range. The gray level represents the brightness value of each character or graphic, ranging from the darkest (L0) to the brightest (L255).
[0109] If the gray level of the text data is within the range of L0 to L32, it indicates that the text is darker, and the display device enters step S302; If the gray level of the text data is not within the range of L0 to L32, the display device directly enters step S303.
[0110] Step S302: Call the preset second gamma correction code and further replace it with the second gray level range of the gray level range.
[0111] For example, the second gray level range is from L64 to L96.
[0112] Step S303: Adjust the screen brightness of the display device to the brightness of the preset normal mode.
[0113] In this embodiment, the display device selects and calls the corresponding gamma correction code according to the gray level range of the current text data. If the gray level of the text data is within the range of L0 to L32, the display device calls Gamma Code 2 and replaces the gray level with L64 to L96 to improve readability in low-brightness environments; if the gray level is not within this range, Gamma Code 2 is directly called to ensure readability and comfort of the text display in other environments.
[0114] Figure 11 It is a schematic diagram of the working module of a display device provided by an embodiment of the present invention. Refer to Figure 11 , the present invention discloses a display device 10, and the display device 10 includes a plurality of functional modules, which are respectively used to adjust the display effect according to the screen brightness, the ambient brightness, and the display data type. Specifically, the display device 10 includes a working mode determination module 100, a working mode execution module 200, and a display parameter adjustment module 300.
[0115] The working mode determination module 100 is used to determine the working mode of the display device 10 according to the screen brightness of the display device 10 and the ambient brightness in the environment where the display device 10 is located. Specifically, the working mode determination module 100 obtains the current screen brightness and ambient light intensity data, and determines that the display device 10 should be in the normal mode or the low brightness mode through the processing of these data. If the screen brightness of the display device 10 is high and the ambient light is strong, the working mode determination module 100 determines that the working mode is the normal mode; if the screen brightness is low and the ambient light is weak, the working mode is determined to be the low brightness mode.
[0116] The working mode execution module 200 adjusts the screen brightness of the display device 10 according to the working mode determined by the working mode determination module 100, and calls the gamma correction code corresponding to the working mode. In the normal mode, the working mode execution module 200 adjusts the screen brightness to the preset normal mode brightness and calls the first gamma correction code; in the low brightness mode, the working mode execution module 200 adjusts the screen brightness to the preset low brightness mode brightness and calls the second gamma correction code. This module ensures that the display device 10 can provide the best display effect under different ambient brightness conditions by adjusting the screen brightness and selecting the appropriate gamma correction code.
[0117] The display parameter adjustment module 300 further adjusts the gray level of the display device 10 according to the called gamma correction code. When the first gamma correction code is called, the display parameter adjustment module 300 adjusts the gray level of the display device 10 according to the gamma correction code to optimize the display effect and ensure the readability and clarity of images and text in a high brightness environment; when the second gamma correction code is called, the display parameter adjustment module 300 adjusts the gray level according to the gamma correction code to enhance the display effect in a low brightness environment and ensure that the text and images still have sufficient clarity and visibility in a low light environment.
[0118] Through the coordinated work of the above modules, the display device 10 can automatically adjust the display effect according to the ambient brightness, screen brightness and type of display content, so as to provide the best visual experience in different working modes and meet the user's needs in both bright environments and low light environments.
[0119] Figure 12 For Figure 10 the schematic diagram of the photosensitive circuit in the working mode determination module of the shown display device, refer to Figure 12 As shown, the working mode determination module includes a photosensitive circuit, and the photosensitive circuit includes a photosensitive unit The photosensitive unit provides an input voltage according to the change of the light intensity of the external environment The input voltage is the voltage generated by the photosensitive element and varies with the ambient brightness. The preset value is used to compare with to determine the current ambient brightness level. A voltage comparator is used to compare with and output the QQL signal. A timing controller (TCON) is used to receive the QQL signal and judge and adjust the working mode of the display device 10 according to the ambient brightness level.
[0120] The photosensitive unit is used to determine the ambient brightness in the environment where the display device 10 is located. The photosensitive unit obtains voltage data by sensing the change in ambient light intensity. As the ambient light intensity changes, the voltage value of
[0121] also changes. The photosensitive unit senses the light intensity through a photodiode ( ), and converts it into a voltage signal . This voltage signal is compared with the reference voltage
[0122] < to determine the brightness level of the current environment. When
[0123] >, it indicates that the ambient brightness is low, and the photosensitive unit outputs QQL = 1. At this time, the ambient brightness where the display device 10 is located is determined to be the first ambient brightness level. When
[0123] >, it indicates that the ambient brightness is high, and the photosensitive unit outputs QQL = 0. At this time, the ambient brightness where the display device 10 is located is determined to be the second ambient brightness level.
[0124] Figure 13 is Figure 10 the schematic diagram of the appearance of the display device shown. Refer to Figure 13 . Further, the display device 10 further includes a reflection film 110 and a cover plate 120. The reflection film 110 and the cover plate 120 are provided with a detection port 130 for exposing the photosensitive unit. The detection port 130 enables the photosensitive unit to effectively receive the light signal from the external environment, ensuring that it can accurately detect and obtain the ambient brightness information without being interfered by the reflected light of the display device 10 itself. By reflecting part of the light through the reflection film 110, the photosensitive unit can improve the acquisition accuracy of the ambient light data, thereby ensuring that the working mode determination module can more accurately judge the ambient brightness and determine the appropriate working mode.
[0125] The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present application should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A display device control method, characterized in that It includes the following steps: S1. Determine the working mode of the display device according to the screen brightness of the display device and the ambient brightness in the environment where the display device is located; S2. Adjust the screen brightness of the display device according to the determined working mode, and call the gamma correction code corresponding to the working mode; S3. Adjust the gray level of the display device according to the called gamma correction code.
2. The display device control method according to claim 1, wherein The step S1 includes: Determine at least two screen brightness levels and at least two ambient brightness levels respectively according to the screen brightness of the display device and the ambient brightness in the environment where the display device is located; Determine the working mode of the display device according to the screen brightness level where the current screen brightness of the display device is located and the ambient brightness level where the current environment where the display device is located is located.
3. The display device control method according to claim 2, wherein The determining at least two screen brightness levels according to the screen brightness of the display device includes: Obtain the brightness data of all pixels of the display device; Judge whether the brightness data of each pixel is within a preset brightness judgment interval: If all the brightness data are not within the brightness judgment interval, determine that the screen brightness is at a preset first screen brightness level; If there is pixel brightness data within the brightness judgment interval, count the number of pixels within the preset brightness judgment interval; Judge whether the proportion of the number of pixels within the preset brightness judgment interval to all pixels exceeds a preset threshold; If so, determine that the screen brightness is at a preset second screen brightness level; If not, determine that the screen brightness is at the first screen brightness level.
4. The display device control method according to claim 3, wherein, The determining at least two ambient brightness levels according to the ambient brightness in the environment where the display device is located includes: Obtain ambient light data; Judge whether the light intensity exceeds a preset light intensity threshold according to the light data; If so, determine that the screen brightness is at a preset second ambient brightness level; If not, determine that the screen brightness is at a preset first ambient brightness level.
5. The display device control method according to any one of claims 2-4, characterized in that The determining the working mode of the display device according to the screen brightness level where the current screen brightness of the display device is located and the ambient brightness level where the current environment where the display device is located is located includes: If the screen brightness level is the second screen brightness level and the ambient brightness level is the first ambient brightness level, determine that the working mode of the display device is a preset low-brightness mode; If not, determine that the working mode of the display device is a preset normal mode.
6. The display device control method according to claim 5, wherein The step S2 includes: The gamma correction code includes a preset first gamma correction code and a preset second gamma correction code; If the working mode of the display device is the normal mode, adjust the screen brightness of the display device to a preset normal mode brightness, and select to call the preset first gamma correction code. If the working mode of the display device is the low-brightness mode, adjust the screen brightness of the display device to a preset low-brightness mode brightness, and select to call the preset second gamma correction code.
7. The display device control method according to claim 6, wherein If the working mode of the display device is the low-brightness mode, adjust the screen brightness of the display device to the preset low-brightness mode brightness, and select and call the preset second gamma correction code, including: If it is determined that the working mode of the display device is the low-brightness mode, determine whether the current display data of the display device is background data or content data; If the current display data of the display device is background data, adjust the screen brightness of the display device to the preset dark mode brightness, and select and call the preset second gamma correction code; If the current display data of the display device is content data, further determine whether the content data is picture data or text data; If the content data is picture data, adjust the screen brightness of the display device to the dark mode brightness, and select and call the preset second gamma correction code; If the content data is text data, adjust the screen brightness of the display device to the preset dark mode brightness, and further determine the type of the text data, and select and call the preset second gamma correction code according to the type of the text data.
8. The display device control method according to claim 7, wherein The further determining the type of the text data and selecting and calling the preset second gamma correction code according to the type of the text data includes: Determine whether the gray level of the text data belongs to a preset first gray level range; If so, call the preset second gamma correction code, and further replace the gray level of the text data with a second gray level range; If not, call the preset second gamma correction code.
9. A display device, characterized in that, Including: A working mode determination module, configured to determine the working mode of the display device according to the screen brightness of the display device and the ambient brightness in the environment where the display device is located; A working mode execution module, configured to adjust the screen brightness of the display device according to the determined working mode, and call the gamma correction code corresponding to the working mode; A display parameter adjustment module, configured to adjust the gray level of the display device according to the called gamma correction code.
10. The display device according to claim 9, wherein The working mode determination module includes a photosensitive unit for determining the ambient brightness in the environment where the display device is located; the display device further includes a reflective film and a cover plate, and the reflective film and the cover plate are provided with detection ports for exposing the photosensitive unit.