Display device, method, apparatus, storage medium, and program product

By using a brightness sensor and processor in the display device to detect and reduce the brightness of bright areas, the problem of user discomfort caused by bright areas in the display device is solved, achieving precise brightness adjustment and improving the user experience.

CN121331069APending Publication Date: 2026-01-13SHENZHEN TAILIWEI INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511508983.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-20
Publication Date
2026-01-13

AI Technical Summary

Technical Problem

Display devices cause eye discomfort when in high-brightness areas. Existing technologies cannot effectively solve the problems of lost image details and local contrast imbalance by adjusting backlight brightness, resulting in a poor viewing experience for users.

Method used

The processor detects ambient brightness using a brightness sensor, determines whether there are bright areas in the target image, reduces the brightness value of the bright areas, adjusts the brightness data to display the adjusted image, and precisely adjusts the brightness by combining ambient brightness and image brightness data.

Benefits of technology

It improves the user's viewing experience, avoids local contrast imbalance, reduces glare, and meets the comfort requirements of the human eye.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121331069A_ABST
    Figure CN121331069A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a display device, method and device, a storage medium and a program product. The display device comprises: a display screen for displaying an image; the brightness sensor is used for detecting ambient brightness; the processor is connected with the display screen and is configured to obtain ambient brightness; under the condition that the ambient brightness is smaller than or equal to the brightness threshold value, brightness data of a to-be-displayed target image is acquired, and whether a highlight area exists in the target image or not is determined according to the brightness data; if the highlight area exists in the target image, reducing the brightness value of the highlight area to obtain target brightness data of the target image; and based on the target brightness data, controlling a display screen to display the target image after brightness adjustment. By means of the display device, the human eye comfort can be well met, and the watching experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of display technology, and in particular to a display device, method, apparatus, storage medium, and program product. Background Technology

[0002] When display devices (such as mobile phones, televisions, computers, etc.) display images, users often feel very glared when there are bright areas on the screen, resulting in low eye comfort and a poor viewing experience.

[0003] In related technologies, the backlight brightness of the display device is typically adjusted based on the ambient brightness to improve eye comfort. However, adjusting the backlight brightness in this way can easily lead to loss of image detail and imbalance in local contrast, still failing to adequately meet eye comfort requirements and resulting in a poor viewing experience for the user. Summary of the Invention

[0004] This application provides a display device, method, apparatus, storage medium, and program product to solve the problem of poor user viewing experience.

[0005] In a first aspect, embodiments of this application provide a display device, the display device comprising:

[0006] A display screen used for displaying images;

[0007] A brightness sensor is used to detect ambient brightness.

[0008] The processor connected to the display screen is configured to:

[0009] Obtain the ambient brightness;

[0010] When the ambient brightness is less than or equal to the brightness threshold, the brightness data of the target image to be displayed is obtained, and the presence of a bright area in the target image is determined based on the brightness data.

[0011] If the target image contains the highlighted area, then reduce the brightness value of the highlighted area to obtain the target brightness data of the target image;

[0012] Based on the target brightness data, the display screen is controlled to display the target image with adjusted brightness.

[0013] In one possible implementation, determining whether a bright region exists in the target image based on the brightness data includes:

[0014] Based on the brightness data, determine the brightness contrast of multiple regions in the target image;

[0015] If there is a region in the target image whose brightness contrast is greater than or equal to the contrast threshold, then the region whose brightness contrast is greater than or equal to the contrast threshold is determined as the bright region.

[0016] In one possible implementation, determining the brightness contrast of multiple regions in the target image based on the brightness data includes:

[0017] The average brightness of the target image is determined based on the brightness data;

[0018] For any given region, the region's brightness value is determined based on the brightness data, and the ratio of the region's brightness value to the average brightness value is determined as the brightness contrast ratio.

[0019] In one possible implementation, reducing the brightness value of the highlighted area includes:

[0020] Determine the rate of change of brightness based on the ambient brightness;

[0021] For the highlighted area, a target brightness value is determined based on the ambient brightness, the brightness threshold, the brightness change rate, the average brightness, and the regional brightness value of the highlighted area; the target brightness value is less than the regional brightness value of the highlighted area.

[0022] Adjust the brightness value of the highlighted area to the target brightness value.

[0023] In one possible implementation, determining the target brightness value based on the ambient brightness, the brightness threshold, the brightness change rate, the average brightness, and the regional brightness value of the bright area includes:

[0024] Based on the ambient brightness, the brightness threshold, and the brightness change rate, a first weighting coefficient corresponding to the regional brightness value is determined;

[0025] Based on the first weighting coefficient, a second weighting coefficient corresponding to the average brightness is determined, and the sum of the first weighting coefficient and the second weighting coefficient is a preset value;

[0026] The target brightness value is obtained by weighted summation of the region brightness value, the first weighting coefficient, the average brightness value, and the second weighting coefficient.

[0027] In one possible implementation, determining the rate of change of brightness based on the ambient brightness includes:

[0028] Obtain the mapping table between the ambient brightness and the rate of change of brightness;

[0029] Based on the mapping table, the brightness change rate is dynamically determined according to the range of the ambient brightness.

[0030] In one possible implementation, the processor is configured to:

[0031] The contrast threshold is determined based on the target display mode identified by the user among multiple display modes.

[0032] In one possible implementation, acquiring the brightness data of the target image to be displayed includes:

[0033] If the image signal of the target image is a YUV signal, then the brightness data is determined from the YUV signal;

[0034] If the image signal of the target image is an RGB signal, then the RGB signal is converted into a YUV signal, and the brightness data is determined from the YUV signal.

[0035] Secondly, embodiments of this application provide a display method, the method comprising:

[0036] Obtain the ambient brightness;

[0037] When the ambient brightness is less than or equal to the brightness threshold, the brightness data of the target image to be displayed is obtained, and the presence of a bright area in the target image is determined based on the brightness data.

[0038] If the target image contains the highlighted area, then reduce the brightness value of the highlighted area to obtain the target brightness data of the target image;

[0039] Based on the target brightness data, the display screen is controlled to show the target image after the brightness has been adjusted.

[0040] In one possible implementation, determining whether a bright region exists in the target image based on the brightness data includes:

[0041] Based on the brightness data, determine the brightness contrast of multiple regions in the target image;

[0042] If there is a region in the target image whose brightness contrast is greater than or equal to the contrast threshold, then the region whose brightness contrast is greater than or equal to the contrast threshold is determined as the bright region.

[0043] In one possible implementation, determining the brightness contrast of multiple regions in the target image based on the brightness data includes:

[0044] The average brightness of the target image is determined based on the brightness data;

[0045] For any given region, the region's brightness value is determined based on the brightness data, and the ratio of the region's brightness value to the average brightness value is determined as the brightness contrast ratio.

[0046] In one possible implementation, reducing the brightness value of the highlighted area includes:

[0047] Determine the rate of change of brightness based on the ambient brightness;

[0048] For the highlighted area, a target brightness value is determined based on the ambient brightness, the brightness threshold, the brightness change rate, the average brightness, and the regional brightness value of the highlighted area; the target brightness value is less than the regional brightness value of the highlighted area.

[0049] Adjust the brightness value of the highlighted area to the target brightness value.

[0050] In one possible implementation, determining the target brightness value based on the ambient brightness, the brightness threshold, the brightness change rate, the average brightness, and the regional brightness value of the bright area includes:

[0051] Based on the ambient brightness, the brightness threshold, and the brightness change rate, a first weighting coefficient corresponding to the regional brightness value is determined;

[0052] Based on the first weighting coefficient, a second weighting coefficient corresponding to the average brightness is determined, and the sum of the first weighting coefficient and the second weighting coefficient is a preset value;

[0053] The target brightness value is obtained by weighted summation of the region brightness value, the first weighting coefficient, the average brightness value, and the second weighting coefficient.

[0054] In one possible implementation, determining the rate of change of brightness based on the ambient brightness includes:

[0055] Obtain the mapping table between the ambient brightness and the rate of change of brightness;

[0056] Based on the mapping table, the brightness change rate is dynamically determined according to the range of the ambient brightness.

[0057] In one possible implementation, the method further includes:

[0058] The contrast threshold is determined based on the target display mode identified by the user among multiple display modes.

[0059] In one possible implementation, acquiring the brightness data of the target image to be displayed includes:

[0060] If the image signal of the target image is a YUV signal, then the brightness data is determined from the YUV signal;

[0061] If the image signal of the target image is an RGB signal, then the RGB signal is converted into a YUV signal, and the brightness data is determined from the YUV signal.

[0062] Thirdly, embodiments of this application provide a display device, including: an acquisition module, a determination module, an adjustment module, and a control module, wherein...

[0063] The acquisition module is used to acquire ambient brightness;

[0064] The acquisition module is further configured to acquire brightness data of the target image to be displayed when the ambient brightness is less than or equal to a brightness threshold.

[0065] The determining module is used to determine whether there is a bright area in the target image based on the brightness data;

[0066] The adjustment module is used to reduce the brightness value of the bright area if the bright area exists in the target image, so as to obtain the target brightness data of the target image.

[0067] The control module is used to control the display screen to display the target image with adjusted brightness based on the target brightness data.

[0068] In one possible implementation, the determining module is specifically used for:

[0069] Based on the brightness data, determine the brightness contrast of multiple regions in the target image;

[0070] If there is a region in the target image whose brightness contrast is greater than or equal to the contrast threshold, then the region whose brightness contrast is greater than or equal to the contrast threshold is determined as the bright region.

[0071] In one possible implementation, the determining module is specifically used for:

[0072] The average brightness of the target image is determined based on the brightness data;

[0073] For any given region, the region's brightness value is determined based on the brightness data, and the ratio of the region's brightness value to the average brightness value is determined as the brightness contrast ratio.

[0074] In one possible implementation, the adjustment module is specifically used for:

[0075] Determine the rate of change of brightness based on the ambient brightness;

[0076] For the highlighted area, a target brightness value is determined based on the ambient brightness, the brightness threshold, the brightness change rate, the average brightness, and the regional brightness value of the highlighted area; the target brightness value is less than the regional brightness value of the highlighted area.

[0077] Adjust the brightness value of the highlighted area to the target brightness value.

[0078] In one possible implementation, the adjustment module is specifically used for:

[0079] Based on the ambient brightness, the brightness threshold, and the brightness change rate, a first weighting coefficient corresponding to the regional brightness value is determined;

[0080] Based on the first weighting coefficient, a second weighting coefficient corresponding to the average brightness is determined, and the sum of the first weighting coefficient and the second weighting coefficient is a preset value;

[0081] The target brightness value is obtained by weighted summation of the region brightness value, the first weighting coefficient, the average brightness value, and the second weighting coefficient.

[0082] In one possible implementation, the adjustment module is specifically used for:

[0083] Obtain the mapping table between the ambient brightness and the rate of change of brightness;

[0084] Based on the mapping table, the brightness change rate is dynamically determined according to the range of the ambient brightness.

[0085] In one possible implementation, the determining module is further configured to:

[0086] The contrast threshold is determined based on the target display mode identified by the user among multiple display modes.

[0087] In one possible implementation, the acquisition module is used to:

[0088] If the image signal of the target image is a YUV signal, then the brightness data is determined from the YUV signal;

[0089] If the image signal of the target image is an RGB signal, then the RGB signal is converted into a YUV signal, and the brightness data is determined from the YUV signal.

[0090] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the second aspect and / or various possible implementations of the second aspect as described above.

[0091] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the second aspect and / or various possible implementations of the second aspect as described above.

[0092] The display device, method, apparatus, storage medium, and program product provided in this application embodiments include a display screen, a brightness sensor, and a processor. The processor can acquire ambient brightness. When the ambient brightness is less than or equal to a brightness threshold, it acquires brightness data of the target image to be displayed and determines whether there are bright areas in the target image based on the brightness data. If bright areas exist in the target image, the processor can reduce the brightness value of the bright areas to obtain target brightness data for the target image. Based on the target brightness data, the processor controls the display screen to display the target image with adjusted brightness. Because the processor can reduce the brightness of bright areas in the target image based on both ambient brightness and the target image's brightness data, compared to the prior art which adjusts backlight brightness solely based on ambient brightness, the adjustment precision is higher and more accurate. It does not cause local contrast imbalance, reduces glare, and effectively satisfies human eye comfort, thus improving the user's viewing experience. Attached Figure Description

[0093] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0094] Figure 1 A schematic diagram illustrating one application scenario provided in this application;

[0095] Figure 2 A schematic diagram of the structure of a display device provided in this application;

[0096] Figure 3 A schematic diagram of a target image with adjusted brightness provided in an embodiment of this application;

[0097] Figure 4 This is a schematic diagram of the structure of another display device provided in an embodiment of this application;

[0098] Figure 5 A schematic flowchart illustrating a display method provided in an embodiment of this application;

[0099] Figure 6 A flowchart illustrating another display method provided in an embodiment of this application;

[0100] Figure 7 This is a schematic diagram of the structure of a display device provided in an embodiment of this application.

[0101] The accompanying drawings have illustrated specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to specific embodiments. Detailed Implementation

[0102] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0103] The concepts involved in this application will be explained below.

[0104] Luminance-Chrominance Signal (YUV signal): This is a composite signal that includes a Y (luminance) component, a U (blue chrominance) component, and a V (red chrominance) component. The Y component is the luminance value.

[0105] One frame of an image corresponds to one YUV signal, which includes the luminance value (i.e., the Y component) of each pixel in the image. For example, for a 1920*1080 image, since the image contains 1920*1080=2073600 pixels, the corresponding YUV signal contains 2073600 luminance values.

[0106] Figure 1 A schematic diagram illustrating one application scenario provided in this application. Please refer to [link / reference]. Figure 1 The target image displayed by the display device includes "mountains," "trees," and "the sun." The "sun" is the highlighted area.

[0107] If the environment in which the display device is located is relatively dark, when the user views the target image, the bright areas in the target image will make the user feel very glared, resulting in low eye comfort and a poor viewing experience.

[0108] In related technologies, the backlight brightness of the display device is usually adjusted according to the ambient brightness to improve eye comfort. However, adjusting the backlight brightness in this way can easily lead to loss of image detail and imbalance in local contrast, still failing to adequately meet eye comfort requirements and resulting in a poor viewing experience for users.

[0109] In this embodiment, the display device can determine whether there are bright areas in the target image based on brightness data when the ambient brightness is less than or equal to a brightness threshold. If bright areas exist in the target image, the brightness value of the bright areas is reduced to obtain target brightness data for the target image, and the target image with adjusted brightness is displayed based on the target brightness data. Since the target image can be adjusted based on both ambient brightness and the target image's brightness data, compared to the prior art which adjusts backlight brightness solely based on ambient brightness, the adjustment precision is higher and more accurate, avoiding local contrast imbalance, effectively satisfying human eye comfort, and improving the user's viewing experience.

[0110] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0111] Figure 2 A schematic diagram of a display device provided in this application. Please refer to [link / reference]. Figure 2 The display device 20 may include a brightness sensor 21, a processor 22, and a display screen 23.

[0112] Display device 20 can be a device with a display screen. For example, display device 20 can be a mobile phone, television, or computer.

[0113] The brightness sensor 21 can detect ambient brightness in real time. The unit of ambient brightness can be lux. For example, the ambient brightness can be 8 lux.

[0114] Processor 22 can be a central processing unit (CPU) or a graphics processing unit (GPU).

[0115] The processor 22 can be connected to the brightness sensor 21. The processor 22 can acquire the ambient brightness detected by the brightness sensor 21.

[0116] The target image may include multiple pixels. The brightness data of the target image may include the brightness values ​​of multiple pixels.

[0117] The processor 22 can determine whether the ambient brightness is less than or equal to a brightness threshold. If so, the processor 22 can acquire the brightness data of the target image to be displayed, and determine whether there is a bright area in the target image to be displayed based on the brightness data; if there is a bright area in the target image, the brightness value of the bright area can be reduced to obtain the target brightness data of the target image.

[0118] Optionally, the brightness threshold can be preset manually. For example, the brightness threshold can be 10 lux.

[0119] For example, if the brightness sensor 21 detects an ambient brightness of 8 lux and the brightness threshold is 10 lux, the processor 22 can determine that the ambient brightness is less than the brightness threshold. The processor 22 can then acquire the brightness data of the target image to be displayed and determine whether there are bright areas in the target image based on the brightness data. If the target image to be displayed is like... Figure 1 As shown, if there is a bright area (i.e., the area corresponding to the "sun"), the processor 22 can reduce the brightness value of the bright area to obtain the target brightness data of the target image.

[0120] Display screen 23 can display images. Display screen 23 can be connected to processor 22.

[0121] After determining the target brightness data of the target image, the processor 22 controls the display screen 23 to display the target image with adjusted brightness based on the target brightness data.

[0122] Below, in conjunction with Figure 3 The target image after brightness adjustment is explained.

[0123] Figure 3 This is a schematic diagram of a target image with adjusted brightness, provided as an embodiment of this application. Please refer to... Figure 3 If the target image to be displayed is like Figure 1 As shown, compared to Figure 1 The "sun" in the text Figure 3 The brightness of the "sun" in the middle decreases (in Figure 1 and Figure 3 The thickness of the "sun" outline indicates the change in the "sun's" brightness; the thicker the "sun" outline, the brighter the sun.

[0124] In this embodiment, the display device may include a display screen, a brightness sensor, and a processor. The processor can acquire ambient brightness. When the ambient brightness is less than or equal to a brightness threshold, it acquires brightness data of the target image to be displayed and determines whether there are bright areas in the target image based on the brightness data. If there are bright areas in the target image, the processor can reduce the brightness value of the bright areas to obtain target brightness data of the target image. Based on the target brightness data, the processor controls the display screen to display the target image with adjusted brightness. Since the processor can reduce the brightness of bright areas in the target image based on both ambient brightness and the brightness data of the target image, compared to the prior art which adjusts backlight brightness only based on ambient brightness, the adjustment precision is higher and more accurate. It does not cause local contrast imbalance, reduces glare, and well meets the comfort requirements of the human eye, thus improving the user's viewing experience.

[0125] Below, in Figure 2 Based on the illustrated embodiments, combined with Figure 4 The above-mentioned display devices will be described in detail.

[0126] Figure 4 This is a schematic diagram of another display device provided in an embodiment of this application. Please refer to... Figure 4 The display device 20 also includes a memory 24.

[0127] The signal source 30 can store the image signal of the target image to be displayed in the memory 24 so that the processor 22 can obtain the image signal of the target image from the memory 24.

[0128] The processor 22 can acquire the ambient brightness transmitted by the brightness sensor 21 and determine whether the ambient brightness is less than or equal to the brightness threshold. If not, there is no need to adjust the brightness of the target image; if so, the processor 22 can acquire the image signal from the memory 24 and determine the brightness data of the target image from the image signal.

[0129] If the image signal of the target image is a YUV signal, the processor 22 can determine the brightness data in the YUV signal.

[0130] Since the YUV signal includes the luminance value (i.e., the Y component) of each pixel in the target image, the processor 22 can determine the luminance value of each pixel in the YUV signal to determine the luminance data of the target image. This luminance data includes the luminance value of each pixel in the target image.

[0131] For example, if the target image is a 1920*1080 image, the brightness data can include the brightness values ​​of 2,073,600 pixels in the target image.

[0132] If the target image signal is an RGB signal, then the RGB signal is converted to a YUV signal, and the brightness data is determined from the YUV signal.

[0133] Alternatively, the RGB signal can be converted to a YUV signal using the following formula (1):

[0134] Formula (1)

[0135] Among them, Kr, Kg, and Kb are the brightness weighting coefficients corresponding to R, G, and B, respectively, and are preset.

[0136] The specific method for determining luminance data in YUV signals is as described above, and will not be repeated here.

[0137] After the processor 22 acquires the brightness data of the target image, it can determine whether there are bright areas in the target image based on the brightness data.

[0138] In an optional embodiment, the presence of a bright region in the target image can be determined as follows: based on brightness data, the brightness contrast of multiple regions in the target image is determined; if there is a region in the target image with a brightness contrast greater than or equal to a contrast threshold, then the region with a brightness contrast greater than or equal to the contrast threshold is determined as a bright region.

[0139] The target image can include multiple regions. For any given region, it can be a local area in the target image (containing multiple pixels) or a single pixel.

[0140] Since the brightness data can include the brightness value of each pixel in the target image, the processor 22 can calculate the brightness contrast of each region in the target image based on the brightness data.

[0141] Optionally, the brightness contrast of multiple regions in the target image can be determined based on the brightness data in the following manner: the average brightness of the target image is determined based on the brightness data; for any given region, the regional brightness value of the region is determined based on the brightness data, and the ratio of the regional brightness value to the average brightness value is determined as the brightness contrast.

[0142] Since the brightness data includes the brightness value of each pixel in the target image, the processor 22 can calculate the average brightness of the brightness data to obtain the average brightness of the target image.

[0143] For example, if the target image is a 1920*1080 image, and the brightness data includes the brightness values ​​of 2,073,600 pixels in the target image, then the processor 22 can calculate the average brightness value of the 2,073,600 pixels to obtain the average brightness value of the target image. Assume the average brightness value of the target image is 50 nits.

[0144] Optionally, for any region, if the region is a local region in the target image, the corresponding region brightness value can be the brightness statistics of that region; if the region is a pixel, the corresponding region brightness value is the brightness value of that pixel.

[0145] For any region in the target image, the processor 22 can determine the region brightness value of any region based on the brightness data.

[0146] If the region is a local area (including multiple pixels) in the target image, then since each pixel has a corresponding brightness value, the region's brightness value can be the region's brightness statistics. Optionally, the region's brightness statistics can be the maximum brightness value among the brightness values ​​of multiple pixels in the region, or it can be the average brightness value of multiple pixels in the region.

[0147] For example, if region 1 in the target image is Figure 1 The “sun” shown in the diagram, region 1 includes 100 pixels, each with a brightness value of 5100 nits. The region brightness value is the maximum brightness value among the brightness values ​​of multiple pixels in the region. Therefore, the processor 22 can determine that the region brightness value of region 1 is 5100 nits.

[0148] For any given region, the processor 22 can determine the region's brightness contrast as the ratio of the region's brightness value to its average brightness value.

[0149] For example, if the brightness value of region 1 in the target image is 5100 nits and the average brightness value of the target image is 50 nits, then the processor 22 can determine that the brightness contrast of region 1 is 5100 nits / 50 nits = 102.

[0150] If there are regions in the target image whose brightness contrast is greater than or equal to the contrast threshold, the processor 22 can identify the regions whose brightness contrast is greater than or equal to the contrast threshold as bright regions.

[0151] Optionally, the contrast threshold can be preset at the factory of the display device or based on a user-selected preset.

[0152] Optionally, when a user first uses the display device, the display device can display multiple display modes, and the user can select a target display mode from among the multiple display modes. The processor 22 can determine a contrast threshold based on the target display mode determined by the user among the multiple display modes.

[0153] For any given display mode, there can be a corresponding contrast threshold.

[0154] For example, if the display device has 3 display modes and the corresponding contrast thresholds are shown in Table 1 below:

[0155] Table 1

[0156]

[0157] If the user selects Comfort Mode, the processor 22 can determine the contrast threshold as 100 based on Comfort Mode.

[0158] If there are regions in the target image whose brightness contrast is greater than or equal to the contrast threshold, the processor 22 can identify the regions whose brightness contrast is greater than or equal to the contrast threshold as bright regions.

[0159] For example, if the contrast threshold is 100, and the target image includes 10 regions, the brightness contrast of each region is shown in Table 2 below:

[0160] Table 2

[0161]

[0162] Since the brightness contrast of regions 1 and 3 is greater than the contrast threshold, the processor 22 can identify regions 1 and 3 as high-brightness regions respectively.

[0163] In dark environments (ambient brightness less than or equal to a brightness threshold), when the brightness contrast of a bright area exceeds the contrast threshold, the pupil of the human eye cannot contract quickly enough to match the bright area. This results in excessive light entering the eye from the bright area, causing a "glaring" sensation. Furthermore, the retina's ability to adapt to bright areas in a short time is limited; excessively high brightness contrast in bright areas can lead to visual blurring and discomfort. Moreover, because the human eye automatically focuses on the bright areas in an image, details in the surrounding dark areas are lost, further exacerbating the "glaring" sensation. Therefore, when the brightness contrast of a bright area exceeds the contrast threshold, the brightness value of the bright area needs to be reduced to bring the brightness contrast below the contrast threshold, thus ensuring a comfortable viewing experience for the human eye and improving the user's viewing experience.

[0164] In one optional embodiment, the brightness value of the highlighted area can be reduced by: determining the brightness change rate based on the ambient brightness; determining a target brightness value for the highlighted area based on the ambient brightness, brightness threshold, brightness change rate, average brightness, and the area brightness value of the highlighted area; and adjusting the area brightness value of the highlighted area to the target brightness value.

[0165] The rate of change in brightness can be used to represent the magnitude of the adjustment to the brightness value of a region.

[0166] Optionally, the processor 22 can obtain a mapping table between ambient brightness and brightness change rate, and dynamically determine the brightness change rate based on the mapping table and the range of ambient brightness.

[0167] Optionally, the mapping table between ambient brightness and brightness change rate can be pre-stored in memory 24, and processor 22 can retrieve the mapping table from memory 24.

[0168] The mapping table can include multiple ranges of ambient brightness and the corresponding rate of change of brightness for each range. Optionally, ambient brightness can be represented by x, and the rate of change of brightness can be represented by K. For example, the mapping table can be as shown in Table 3:

[0169] Table 3

[0170]

[0171] It should be noted that the ambient brightness range and corresponding brightness change rate in the mapping table shown in Table 3 are for illustrative purposes only and do not constitute a limitation on actual display devices. In practical applications, the ambient brightness range and corresponding brightness change rate can be set according to the actual situation.

[0172] For example, if the ambient brightness is 8 lux, and if the mapping table between ambient brightness and brightness change rate is shown in Table 3, then the processor 22 can determine that the ambient brightness of 8 lux is in the range of x≤10 lux, and thus can determine the corresponding brightness change rate of 2.

[0173] Optionally, for the bright area, the target brightness value can be determined as follows: based on the ambient brightness, brightness threshold, brightness change rate, average brightness, and the area brightness value of the bright area, a first weighting coefficient corresponding to the area brightness value is determined based on the ambient brightness, brightness threshold, and brightness change rate; a second weighting coefficient corresponding to the average brightness is determined based on the first weighting coefficient; and the target brightness value is obtained by weighted summation of the area brightness value, the first weighting coefficient, the average brightness, and the second weighting coefficient.

[0174] Optionally, the first weighting coefficient corresponding to the regional brightness value can be obtained by exponentially calculating the ratio of ambient brightness to brightness threshold using the brightness change rate as a power function.

[0175] The second weighting coefficient can be equal to the preset value minus the first weighting coefficient. Optionally, the preset value can be 1.

[0176] Optionally, the target brightness value can be represented by L, and can be expressed by the following formula (2):

[0177] Formula (2)

[0178] in, Indicates ambient brightness; Indicates the brightness threshold; K represents the brightness change rate, which is greater than 0 and less than 1. Positive integers; Indicates the average brightness; This indicates the brightness value of the area.

[0179] In the above formula (2), This is the first weighting coefficient corresponding to the area brightness value; This is the second weighting coefficient corresponding to the average brightness.

[0180] Optionally, the target brightness value can be less than the brightness value of the area corresponding to the highlighted area.

[0181] For example, if, as in the example above, the ambient brightness is 8 lux, the brightness threshold is 10 lux, K is 2, the average brightness is 50 nit, and the brightness of region 1 is 5100 nit, then the processor 22 can calculate the target brightness value L of region 1 as 3282 nit using the formula (2) above.

[0182] Similarly, the processor 22 can calculate the target brightness value of region 3 using the formula (2) above.

[0183] After the processor 22 determines the target brightness value of each highlighted area, it can adjust the area brightness value of the highlighted area to the target brightness value to obtain the target brightness data of the target image.

[0184] If the region is a local area in the target image, the processor 22 can adjust the brightness values ​​of each pixel in the region to the target brightness value based on the target brightness value of the region. If the region is a single pixel, the processor 22 can adjust the brightness value of that pixel to the target brightness value based on the target brightness value. In short, regardless of whether the region is a local area or a single pixel, the processor 22 essentially adjusts the brightness value of the pixel corresponding to the region to the target brightness value, that is, it adjusts the Y component value of the pixel corresponding to the region in the YUV signal to the target brightness value.

[0185] The target brightness data includes the brightness values ​​of each pixel in the non-highlighted area of ​​the target image, as well as the target brightness values ​​of each pixel in the highlighted area.

[0186] For example, if region 1 contains 100 pixels, each with a brightness value of 5100 nits, and the region brightness value of region 1 is 5100 nits, and the target brightness value L of region 1 is 3282 nits, then processor 22 can adjust the brightness value of the 100 pixels in region 1 from 5100 nits to 3282 nits, so as to adjust the region brightness value of region 1 from 5100 nits to the target brightness value of 3282 nits.

[0187] The processor 22 can control the display screen to show the target image with adjusted brightness based on the target brightness data.

[0188] Optionally, the processor 22 can determine the adjusted YUV signal based on the target brightness data, and convert the adjusted YUV signal into a target RGB signal, thereby controlling the display screen to display the target image with adjusted brightness according to the target RGB signal.

[0189] Since the target brightness data includes the brightness values ​​of each pixel in the non-highlighted area of ​​the target image, as well as the target brightness values ​​of each pixel in the highlighted area, meaning the target brightness data includes the brightness values ​​of each pixel in the target image after brightness adjustment, and thus includes the Y component corresponding to each pixel in the adjusted YUV signal, the processor 22 can determine the adjusted YUV signal based on the target brightness data. The difference between the YUV signal before and after adjustment lies in the adjustment of the Y component of some pixels.

[0190] It should be noted that the conversion of the adjusted YUV signal to the target RGB signal can be referred to relevant existing technologies, which will not be elaborated here.

[0191] For example, after the processor 22 converts the adjusted YUV signal into a target RGB signal, it can control the display screen to display the target image with adjusted brightness according to the target RGB signal, such as... Figure 3 As shown.

[0192] In this embodiment, the display device may include a display screen, a brightness sensor, a processor, and a memory. The processor can acquire ambient brightness. When the ambient brightness is less than or equal to a brightness threshold, it acquires brightness data of the target image to be displayed and determines whether there are bright areas in the target image based on the brightness data. If there are bright areas in the target image, the processor can reduce the brightness value of the bright areas to obtain target brightness data of the target image. Based on the target brightness data, the processor controls the display screen to display the target image with adjusted brightness. Since the processor can reduce the brightness of bright areas in the target image based on both ambient brightness and the target image's brightness data, compared to the prior art which adjusts backlight brightness only based on ambient brightness, the adjustment precision is higher and more accurate. It does not cause local contrast imbalance, reduces glare, and well meets the comfort requirements of the human eye, thus improving the user's viewing experience.

[0193] Below, based on any of the above embodiments, combined with Figure 5 This provides a flowchart illustrating a display method.

[0194] Figure 5 This is a schematic flowchart illustrating a display method provided in an embodiment of this application. Please refer to [link / reference]. Figure 5 The method may include:

[0195] S501, Obtain ambient brightness.

[0196] The brightness sensor can detect the ambient brightness in real time and send the ambient brightness to the processor so that the processor can obtain the ambient brightness.

[0197] For example, the processor can obtain an ambient brightness of 8 lux as detected by the brightness sensor.

[0198] S502. When the ambient brightness is less than or equal to the brightness threshold, obtain the brightness data of the target image to be displayed.

[0199] The target image can be an image cached in memory and ready for display. The target image can include multiple pixels. The brightness data of the target image can include the brightness value of each pixel.

[0200] For example, if the ambient brightness is 8 lux and the brightness threshold is 10 lux, the processor can determine that the ambient brightness is less than the brightness threshold, and the processor can obtain the brightness data of the target image to be displayed.

[0201] S503. Determine whether there are bright areas in the target image based on the brightness data.

[0202] If so, proceed to step S504.

[0203] In an optional embodiment, the presence of a bright region in the target image can be determined as follows: based on brightness data, the brightness contrast of multiple regions in the target image is determined; if there is a region in the target image with a brightness contrast greater than or equal to a contrast threshold, then the region with a brightness contrast greater than or equal to the contrast threshold is determined as a bright region.

[0204] Optionally, the brightness contrast of multiple regions in the target image can be determined based on the brightness data in the following manner: the average brightness of the target image is determined based on the brightness data; for any given region, the regional brightness value of the region is determined based on the brightness data, and the ratio of the regional brightness value to the average brightness value is determined as the brightness contrast.

[0205] Since the brightness data includes the brightness value of each pixel in the target image, the processor can calculate the average brightness of the brightness data to obtain the average brightness of the target image.

[0206] For any region in the target image, the processor can determine the region brightness value based on the brightness data.

[0207] For example, if the target image is like Figure 1 As shown, region 1 is Figure 1The "sun" shown in the image, region 1, comprises 100 pixels, each with a brightness value of 5100 nits. The region brightness value is the maximum brightness value among the multiple pixels in the region. Therefore, the processor can determine that the region brightness value of region 1 is 5100 nits. If the average brightness of the target image is 50 nits, the processor can determine that the brightness contrast of region 1 is 5100 nits / 50 nits = 102.

[0208] If there are regions in the target image whose brightness contrast is greater than or equal to the contrast threshold, the processor can identify the regions whose brightness contrast is greater than or equal to the contrast threshold as bright regions.

[0209] For example, if the brightness contrast of region 1 in the target image is 102, which is greater than the contrast threshold of 100, then the processor can identify region 1 as a bright region.

[0210] S504. Reduce the brightness value of the highlighted area to obtain the target brightness data of the target image.

[0211] In one optional embodiment, the brightness value of the highlighted area can be reduced by: determining the brightness change rate based on the ambient brightness; determining a target brightness value for the highlighted area based on the ambient brightness, brightness threshold, brightness change rate, average brightness, and the area brightness value of the highlighted area; and adjusting the area brightness value of the highlighted area to the target brightness value.

[0212] Optionally, the processor can obtain a mapping table between ambient brightness and brightness change rate, and dynamically determine the brightness change rate based on the mapping table and the range of ambient brightness.

[0213] For example, if the ambient brightness is 8 lux, and if the mapping table between ambient brightness and brightness change rate is as shown in Table 3, then the processor can determine that the ambient brightness of 8 lux is in the range of x≤10 lux, and thus can determine the corresponding brightness change rate of 2.

[0214] For example, if the ambient brightness is 8 lux, the brightness threshold is 10 lux, K is 2, the average brightness is 50 nits, and the brightness value of region 1 is 5100 nits, then the processor can calculate the target brightness value L of region 1 as 3282 nits using the formula (2) above. The processor can then adjust the brightness value of region 1 from 5100 nits to the target brightness value of 3282 nits.

[0215] After the processor adjusts the brightness values ​​of each highlighted area in the target image to the corresponding target brightness values, the target brightness data of the target image can be obtained.

[0216] S505: Based on the target brightness data, control the display screen to show the target image after adjusting the brightness.

[0217] The processor can determine the adjusted YUV signal based on the target brightness data, convert the adjusted YUV signal into a target RGB signal, and then control the display screen to display the target image with adjusted brightness according to the target RGB signal.

[0218] For example, processor 22 determines the adjusted YUV signal based on the target brightness data, and after converting the adjusted YUV signal into a target RGB signal, it can control the display screen to display the target image with adjusted brightness according to the target RGB signal, such as... Figure 3 As shown.

[0219] It should be noted that, Figure 5 The specific execution process of the steps shown in the embodiments can be found in any of the above embodiments, and will not be repeated here.

[0220] In this embodiment, the processor can acquire ambient brightness. When the ambient brightness is less than or equal to a brightness threshold, it acquires brightness data of the target image to be displayed and determines whether there are bright areas in the target image based on the brightness data. If there are bright areas in the target image, the processor can reduce the brightness value of the bright areas to obtain target brightness data of the target image. Based on the target brightness data, the processor controls the display screen to display the target image with adjusted brightness. Since the processor can reduce the brightness of bright areas in the target image based on both ambient brightness and the target image's brightness data, compared to the prior art which adjusts backlight brightness only based on ambient brightness, the adjustment precision is higher and more accurate. It does not cause local contrast imbalance, reduces glare, and effectively meets human eye comfort, thus improving the user's viewing experience.

[0221] Below, based on any of the above embodiments, combined with Figure 6 This provides a flowchart illustrating another display method.

[0222] Figure 6 This is a flowchart illustrating another display method provided in an embodiment of this application. Please refer to... Figure 6 The method may include:

[0223] S601, Obtain ambient brightness.

[0224] S602. Determine whether the ambient brightness is less than or equal to the brightness threshold.

[0225] If yes, then execute S603; otherwise, no processing is required.

[0226] S603. Determine the signal type of the image signal of the target image to be displayed.

[0227] If the image signal type is RGB, then execute S604; if the image signal type is YUV, then execute S605.

[0228] S604 converts RGB signals to YUV signals.

[0229] S605. Determine the luminance data in the YUV signal.

[0230] S606. Determine the average brightness of the target image based on the brightness data.

[0231] S607. For any region in the target image, determine the region's brightness value based on the brightness data, and determine the ratio of the region's brightness value to the average brightness value as the brightness contrast ratio.

[0232] S608. Determine the contrast threshold.

[0233] Optionally, the contrast threshold can be preset at the factory of the display device or based on a user-selected preset.

[0234] Optionally, when a user first uses the display device, the display device can display multiple display modes, and the user can select a target display mode from among these modes. The processor can determine a contrast threshold based on the target display mode selected by the user among the multiple display modes.

[0235] S609. If there is a region in the target image whose brightness contrast is greater than or equal to the contrast threshold, then the region whose brightness contrast is greater than or equal to the contrast threshold shall be identified as the highlight region.

[0236] S610. Reduce the brightness value of the highlighted area to obtain the target brightness data of the target image.

[0237] In one optional embodiment, the brightness value of the highlighted area can be reduced by: determining the brightness change rate based on the ambient brightness; determining a target brightness value for the highlighted area based on the ambient brightness, brightness threshold, brightness change rate, average brightness, and the area brightness value of the highlighted area; and adjusting the area brightness value of the highlighted area to the target brightness value.

[0238] Optionally, the processor can obtain a mapping table between ambient brightness and brightness change rate, and dynamically determine the brightness change rate based on the mapping table and the range of ambient brightness.

[0239] Optionally, after determining the brightness change rate, for the bright area, the target brightness value can be determined by formula (2) above, based on the ambient brightness, brightness threshold, brightness change rate, average brightness, and the regional brightness value of the bright area.

[0240] S611. Based on the target brightness data, control the display screen to display the target image after adjusting the brightness.

[0241] It should be noted that, Figure 6 The specific execution process of the steps shown in the embodiments can be found in any of the above embodiments, and will not be repeated here.

[0242] In this embodiment, the processor can acquire ambient brightness and determine whether the ambient brightness is less than or equal to a brightness threshold. If the ambient brightness is less than or equal to the brightness threshold, the signal type of the image signal of the target image to be displayed can be determined. If the signal type of the image signal is RGB, the RGB signal can be converted to a YUV signal, and then the brightness data can be determined in the YUV signal; if the signal type of the image signal is YUV, the brightness data can be directly determined in the YUV signal. The processor can determine the average brightness of the target image based on the brightness data, and for any region in the target image, determine the regional brightness value of the region based on the brightness data, and determine the ratio of the regional brightness value to the average brightness value as the brightness contrast. The processor can determine a contrast threshold. If there is a region in the target image with a brightness contrast greater than or equal to the contrast threshold, the processor can determine the region with a brightness contrast greater than or equal to the contrast threshold as a bright region. The processor can reduce the brightness value of the bright region to obtain the target brightness data of the target image, and based on the target brightness data, control the display screen to display the target image with adjusted brightness. Because the processor can reduce the brightness of bright areas in the target image based on ambient brightness and target image brightness data, compared with the existing technology that adjusts backlight brightness based only on ambient brightness, the adjustment precision is higher and more accurate, it will not cause local contrast imbalance, reduce glare, and well meet the comfort of human eyes, thus improving the user's viewing experience.

[0243] Figure 7 This is a schematic diagram of a display device provided in an embodiment of this application. Please refer to... Figure 7 The display device 70 includes: an acquisition module 71, a determination module 72, an adjustment module 73, and a control module 74, wherein...

[0244] The acquisition module 71 is used to acquire ambient brightness;

[0245] The acquisition module 71 is also used to acquire the brightness data of the target image to be displayed when the ambient brightness is less than or equal to the brightness threshold.

[0246] The determination module 72 is used to determine whether there are bright areas in the target image based on the brightness data;

[0247] The adjustment module 73 is used to reduce the brightness value of the bright areas if there are bright areas in the target image, so as to obtain the target brightness data of the target image.

[0248] The control module 74 is used to control the display screen to display the target image with adjusted brightness based on the target brightness data.

[0249] The display device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be repeated here.

[0250] In one possible implementation, the determining module 72 is specifically used for:

[0251] Based on the brightness data, determine the brightness contrast of multiple regions in the target image;

[0252] If there are regions in the target image whose brightness contrast is greater than or equal to the contrast threshold, then these regions are identified as high-brightness regions.

[0253] In one possible implementation, the determining module 72 is specifically used for:

[0254] Determine the average brightness of the target image based on the brightness data;

[0255] For any given area, the area luminance value is determined based on luminance data, and the ratio of the area luminance value to the average luminance value is determined as the luminance contrast ratio.

[0256] In one possible implementation, the adjustment module 73 is specifically used for:

[0257] Determine the rate of change of brightness based on the ambient brightness;

[0258] For the highlighted area, the target brightness value is determined based on the ambient brightness, brightness threshold, brightness change rate, average brightness, and the regional brightness value of the highlighted area; the target brightness value is less than the regional brightness value of the highlighted area.

[0259] Adjust the brightness value of the highlighted area to the target brightness value.

[0260] In one possible implementation, the adjustment module 73 is specifically used for:

[0261] The first weighting coefficient corresponding to the regional brightness value is determined based on the ambient brightness, brightness threshold, and brightness change rate.

[0262] Based on the first weighting coefficient, the second weighting coefficient corresponding to the average brightness is determined, and the sum of the first weighting coefficient and the second weighting coefficient is a preset value;

[0263] The target brightness value is obtained by weighting and summing the regional brightness value, the first weighting coefficient, the average brightness value, and the second weighting coefficient.

[0264] In one possible implementation, the adjustment module 73 is specifically used for:

[0265] Obtain a mapping table between ambient brightness and the rate of change of brightness;

[0266] Based on the mapping table, the rate of change of brightness is dynamically determined according to the range of ambient brightness.

[0267] In one possible implementation, the determining module 72 is further configured to:

[0268] The contrast threshold is determined based on the target display mode identified by the user among multiple display modes.

[0269] In one possible implementation, the acquisition module 71 is used for:

[0270] If the image signal of the target image is a YUV signal, then the brightness data is determined from the YUV signal;

[0271] If the target image signal is an RGB signal, then the RGB signal is converted to a YUV signal, and the brightness data is determined from the YUV signal.

[0272] The display device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be repeated here.

[0273] This application provides a computer-readable storage medium storing computer-executable instructions, which are used to implement any of the above embodiments when executed by a processor.

[0274] This application embodiment may also provide a computer program product, including a computer program that, when executed by a processor, can implement any of the above embodiments.

[0275] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0276] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0277] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0278] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0279] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.

[0280] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0281] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0282] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0283] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0284] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0285] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0286] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0287] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A display device, characterized in that, The display device includes: A display screen used for displaying images; A brightness sensor is used to detect ambient brightness. The processor connected to the display screen is configured to: Obtain the ambient brightness; When the ambient brightness is less than or equal to the brightness threshold, the brightness data of the target image to be displayed is obtained, and the presence of a bright area in the target image is determined based on the brightness data. If the target image contains the highlighted area, then reduce the brightness value of the highlighted area to obtain the target brightness data of the target image; Based on the target brightness data, the display screen is controlled to display the target image with adjusted brightness.

2. The display device according to claim 1, characterized in that, Determining whether there are bright areas in the target image based on the brightness data includes: Based on the brightness data, determine the brightness contrast of multiple regions in the target image; If there is a region in the target image whose brightness contrast is greater than or equal to the contrast threshold, then the region whose brightness contrast is greater than or equal to the contrast threshold is determined as the bright region.

3. The display device according to claim 2, characterized in that, Based on the brightness data, the brightness contrast of multiple regions in the target image is determined, including: The average brightness of the target image is determined based on the brightness data; For any given region, the region's brightness value is determined based on the brightness data, and the ratio of the region's brightness value to the average brightness value is determined as the brightness contrast ratio.

4. The display device according to claim 3, characterized in that, Reducing the brightness value of the highlighted area includes: Determine the rate of change of brightness based on the ambient brightness; For the highlighted area, a target brightness value is determined based on the ambient brightness, the brightness threshold, the brightness change rate, the average brightness, and the regional brightness value of the highlighted area; the target brightness value is less than the regional brightness value of the highlighted area. Adjust the brightness value of the highlighted area to the target brightness value.

5. The display device according to claim 4, characterized in that, The target brightness value is determined based on the ambient brightness, the brightness threshold, the brightness change rate, the average brightness, and the regional brightness value of the high-brightness area, including: Based on the ambient brightness, the brightness threshold, and the brightness change rate, a first weighting coefficient corresponding to the regional brightness value is determined; Based on the first weighting coefficient, a second weighting coefficient corresponding to the average brightness is determined, and the sum of the first weighting coefficient and the second weighting coefficient is a preset value; The target brightness value is obtained by weighted summation of the region brightness value, the first weighting coefficient, the average brightness value, and the second weighting coefficient.

6. The display device according to claim 4 or 5, characterized in that, Based on the ambient brightness, determine the rate of change of brightness, including: Obtain the mapping table between the ambient brightness and the rate of change of brightness; Based on the mapping table, the brightness change rate is dynamically determined according to the range of the ambient brightness.

7. The display device according to any one of claims 2-5, characterized in that, The processor is configured to: The contrast threshold is determined based on the target display mode identified by the user among multiple display modes.

8. The display device according to any one of claims 1-5, characterized in that, Obtain the brightness data of the target image to be displayed, including: If the image signal of the target image is a YUV signal, then the brightness data is determined from the YUV signal; If the image signal of the target image is an RGB signal, then the RGB signal is converted into a YUV signal, and the brightness data is determined from the YUV signal.

9. A display method, characterized in that, Applied to the display device according to any one of claims 1-8, the method comprises: Obtain the ambient brightness; When the ambient brightness is less than or equal to the brightness threshold, the brightness data of the target image to be displayed is obtained, and the presence of a bright area in the target image is determined based on the brightness data. If the target image contains the highlighted area, then reduce the brightness value of the highlighted area to obtain the target brightness data of the target image; Based on the target brightness data, the display screen is controlled to show the target image after the brightness has been adjusted.

10. The method according to claim 9, characterized in that, Determining whether there are bright areas in the target image based on the brightness data includes: Based on the brightness data, determine the brightness contrast of multiple regions in the target image; If there is a region in the target image whose brightness contrast is greater than or equal to the contrast threshold, then the region whose brightness contrast is greater than or equal to the contrast threshold is determined as the bright region.

11. A display device, characterized in that, The device includes: an acquisition module, a determination module, an adjustment module, and a control module, wherein, The acquisition module is used to acquire ambient brightness; The acquisition module is further configured to acquire brightness data of the target image to be displayed when the ambient brightness is less than or equal to a brightness threshold. The determining module is used to determine whether there is a bright area in the target image based on the brightness data; The adjustment module is used to reduce the brightness value of the bright area if the bright area exists in the target image, so as to obtain the target brightness data of the target image. The control module is used to control the display screen to display the target image with adjusted brightness based on the target brightness data.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in claim 9 or 10.

13. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method of claim 9 or 10.