Display screen contrast constancy method, display screen and storage medium
By acquiring ambient light levels and calculating the backlight brightness curve, the backlight settings were adjusted to solve the problem of inconsistent contrast under different ambient light levels, thus improving user readability.
Patent Information
- Application Number
- CN202310783342.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-28
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2043-06-28
AI Technical Summary
Existing technologies cannot maintain a constant display contrast under different ambient lighting conditions, affecting user readability.
By acquiring ambient light levels, detecting changes in illuminance, calculating the backlight brightness curve, and adjusting backlight settings, the display contrast can be kept constant.
It achieves consistent display contrast under different ambient lighting conditions, improving user readability.
Smart Images

Figure CN119229816B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display screen technology, and in particular to a method for maintaining constant contrast in a display screen, a display screen, and a storage medium. Background Technology
[0002] Current LCD screens perform differently under different ambient light conditions. For example, in a dark room, the contrast can be maintained at a relatively comfortable viewing level for the human eye. However, in the presence of ambient light, the LCD screen appears as a blurry white, and the human eye has to work very hard to see the text and images on the screen.
[0003] However, existing technology sets the contrast ratio to the ratio of the maximum brightness (pure white screen) to the minimum brightness (pure black screen) of the display under dark conditions, ignoring the reflected brightness of ambient light on the screen. When adjusting the backlight value, the reflected brightness of ambient light on the screen is not taken into account. As a result, the contrast ratio of the display may not be able to adapt to the changing ambient light, thus affecting the readability of the display for the user. Summary of the Invention
[0004] The purpose of this application is to provide a method for maintaining constant display screen contrast, a display screen, and a storage medium, which adjusts the backlight setting value to keep the display screen contrast constant when the ambient light intensity changes, thereby improving the readability of the display screen for the user.
[0005] To solve the above-mentioned technical problems, the embodiments of this application adopt the following technical solutions:
[0006] In a first aspect, embodiments of this application provide a method for maintaining a constant display screen contrast, the method comprising:
[0007] Obtain ambient light levels;
[0008] When a change in ambient illuminance is detected, the current illuminance is obtained;
[0009] Based on the correspondence between the current illuminance and the target white field brightness, the corresponding backlight brightness curve is determined; wherein, the backlight brightness curve is calculated based on multiple test illuminances, the total reflection coefficient of the glass cover of the display screen, the display screen contrast ratio, and display parameters, and the display screen contrast ratio is the ratio between the target white field brightness and the target black field brightness.
[0010] Based on the backlight brightness curve, the backlight setting value is adjusted to keep the contrast of the display screen constant.
[0011] In some embodiments, the method further includes:
[0012] Based on multiple test illuminances, the total reflection coefficient of the glass cover of the display screen, the first white field brightness, the second white field brightness, the first black field brightness, the second black field brightness, and the contrast ratio of the display screen, multiple test white field brightnesses are calculated.
[0013] Based on multiple test white field brightness levels, the control bar brightness curve relationship of the display screen is obtained;
[0014] The step of determining the corresponding backlight brightness curve based on the correspondence between the current illuminance and the target white field brightness includes:
[0015] The backlight brightness curve is determined by determining the corresponding first test white field brightness and the control bar brightness curve relationship based on the current illuminance.
[0016] In some embodiments, adjusting the backlight setting value based on the backlight brightness curve includes:
[0017] The backlight setting value is determined based on the backlight brightness curve, the maximum backlight setting value and the minimum backlight setting value of the display screen;
[0018] Control the display screen to display at the backlight setting value.
[0019] In some embodiments, the target black level brightness is calculated based on the target white level brightness, the current illuminance, the total reflection coefficient, the first white level brightness, the second white level brightness, the first black level brightness, the second black level brightness, and the display contrast ratio.
[0020] In some embodiments, the first white brightness is the white brightness when the backlight setting value is adjusted to 100%, the second white brightness is the white brightness when the backlight setting value is adjusted to 0%, the first black brightness is the black brightness corresponding to the backlight setting value being adjusted to 100%, the second black brightness is the white brightness when the backlight setting value is adjusted to 0%, the maximum backlight setting value is 255, and the minimum backlight setting value is 0.
[0021] In some embodiments, the backlight setting value and the first test white field brightness are linearly related, and are calculated based on the backlight setting value, the maximum backlight setting value, the minimum backlight setting value, the first white field brightness, and the second white field brightness.
[0022] In some embodiments, prior to acquiring ambient light intensity, the method further includes:
[0023] The eye protection mode is activated, wherein the contrast of the display screen remains constant.
[0024] In some embodiments, obtaining the current illuminance includes:
[0025] The current illuminance is obtained through an ambient light sensor based on an internal protocol.
[0026] Secondly, this application also provides a display screen, the display screen comprising:
[0027] An ambient light sensor, a display screen body, at least one processor, and a memory communicatively connected to the processor, the memory storing instructions executable by the at least one processor to implement the steps of the display screen contrast constant method as described in the first aspect above.
[0028] Thirdly, this application also provides a non-volatile computer-readable storage medium storing computer-executable instructions that, when executed by a display screen, implement the steps of the display screen contrast constant method described in the first aspect above.
[0029] The beneficial effects of this application's embodiments are as follows: Unlike the prior art, the display screen contrast constant method, display screen, and storage medium provided in this application's embodiments acquire ambient illuminance. When a change in ambient illuminance is detected, the current illuminance is acquired. Based on the correspondence between the current illuminance and the target white field brightness, a corresponding backlight brightness curve is determined. The backlight brightness curve is calculated based on multiple test illuminance values, the total internal reflection coefficient of the display screen's glass cover, the display screen contrast ratio, and display parameters. The display screen contrast ratio is the ratio between the target white field brightness and the target black field brightness. Therefore, based on the backlight brightness curve, the backlight setting value can be adjusted to maintain a constant display screen contrast ratio, ensuring consistent display screen contrast under different ambient illuminance levels, thereby improving the user's readability of the display screen. Attached Figure Description
[0030] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.
[0031] Figure 1 This is a flowchart illustrating one embodiment of the display screen contrast constant method of this application;
[0032] Figure 2 This is a schematic diagram of one embodiment of the display screen contrast constant device of this application;
[0033] Figure 3This is a schematic diagram of the hardware structure of the controller in one embodiment of the display screen of this application. Detailed Implementation
[0034] The present application will now be described in detail with reference to specific embodiments. These embodiments will help those skilled in the art to further understand the present application, but do not limit the present application in any way. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application. These all fall within the protection scope of the present application.
[0035] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0036] It should be noted that, unless there is a conflict, the various features in the embodiments of this application can be combined with each other, all of which are within the protection scope of this application. Furthermore, although functional modules are divided in the device schematic diagram and a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than the module division in the device or the order in the flowchart. In addition, the terms "first," "second," and "third" used herein do not limit the data or execution order, but only distinguish identical or similar items with essentially the same function and effect.
[0037] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of this application. The term "and / or" as used in this specification includes any and all combinations of one or more of the associated listed items.
[0038] Furthermore, the technical features involved in the various embodiments of this application described below can be combined with each other as long as they do not conflict with each other.
[0039] The display screen contrast constant method and apparatus provided in this application can be applied to display screens. The display screen in this application can be a liquid crystal display (LCD), which can be installed in electronic devices with displays such as televisions, smartphones, and iPads. Since liquid crystal material itself does not emit light, all LCDs require backlight tubes for illumination, and the brightness of the backlight determines the brightness of the display screen.
[0040] If the screen brightness is too high, it will be dazzling to the eyes. Therefore, it is necessary to adjust the screen's display mode, brightness, and contrast to control the maximum brightness of full white. Most LCD screens can achieve a maximum brightness of 200 cd / m². 2 The above applies. Different ambient brightness levels and different display subjects require different brightness levels. For example, for tasks such as browsing the internet and office work, where there is a lot of white space on the screen, the brightness should be between 80-120 cd / m². 2 This is quite suitable; when processing images, to highlight image details, a brightness of 150-180 cd / m² is recommended. 2 That's quite suitable.
[0041] The brightness values mentioned above are empirical parameters. Ambient illuminance, or ambient brightness, must also be considered. The same brightness display will appear different to the human eye in a darkened office versus a brightly lit one. Therefore, the display contrast ratio must also be taken into account.
[0042] Display contrast ratio refers to the ratio between the white brightness and the black brightness of a display screen. For example, when a monitor displays a full white image (255), the measured brightness value is 200 cd / m². 2 When displaying a completely black screen (0), the measured brightness value is 0.5 cd / m². 2 Therefore, the contrast ratio of the display screen is 200 / 0.5 = 400:1.
[0043] Currently, the adjustment of display contrast only takes into account the ambient light level, making the display contrast directly the ratio of the maximum brightness to the minimum brightness of the display under dark conditions. However, the reflected brightness of the screen due to ambient light is usually ignored. When adjusting the backlight value, the reflected brightness of the screen due to ambient light is not considered. The resulting display contrast may not be able to adapt to the changing ambient light level, thus affecting the readability of the display for users. There may be problems such as the screen being too dark to see clearly, or the screen appearing as a white blur that requires a period of time to adapt.
[0044] Please see Figure 1 , Figure 1 This is a flowchart illustrating an embodiment of the display screen contrast constant method applied to this application. The method can be executed by a controller in the display screen and includes steps S101-S104.
[0045] S101: Obtain ambient light intensity.
[0046] Illuminance is the luminous flux per unit area, measured in lumens per cubic meter (lm / m²). 2), also called lux (lx), refers to the illuminance in the current environment. For example, the outdoor ambient illuminance on a sunny day is usually 30,000 to 300,000 lux, while the indoor ambient illuminance on a sunny day is usually 100 to 1,000 lux. On a cloudy day, the outdoor ambient illuminance is usually 50 to 500 lux, while the indoor ambient illuminance on a cloudy day is usually 5 to 50 lux, and so on.
[0047] The display screen is equipped with an ambient light sensor that detects ambient light levels. The display screen's controller is connected to the ambient light sensor, and the controller and the ambient light sensor exchange data via an internal protocol. Therefore, the display screen's controller can obtain the ambient light level in real time through the ambient light sensor based on the internal protocol.
[0048] It is understandable that the internal protocol can be one of I2C, SPI, USB, or serial port protocols, as long as it enables the display controller to receive the ambient light intensity detected by the ambient light sensor. There are no restrictions on this.
[0049] In some implementations, the method further includes, prior to acquiring ambient light intensity:
[0050] Turn on eye protection mode, in which the display contrast remains constant.
[0051] Specifically, electronic devices can control the display screen to have a variety of different display modes, such as eye protection mode, game mode, text mode, standard mode, etc. In different display modes, the contrast ratio may be constant or may change at any time.
[0052] Eye protection mode is a display mode that reduces blue light from the screen, thereby reducing harm to the eyes. The paper-like eye protection mode achieves its eye protection function based on the constant contrast of paper. Therefore, after the user turns on the eye protection mode, the backlight setting value can be adjusted to achieve constant contrast.
[0053] It is understood that the display mode selection is performed when the display is on, and users can also select other display modes, which are not limited here. The display contrast constant method of this application can be selected as contrast constant in eye protection mode.
[0054] S102: When a change in ambient illuminance is detected, the current illuminance is obtained.
[0055] When a change in ambient illuminance is detected, the current illuminance is obtained, for example, if the current illuminance changes to 50 lux.
[0056] Correspondingly, the current illuminance can be obtained by the ambient light sensor based on an internal protocol.
[0057] S103: Based on the correspondence between the current illuminance and the target white field brightness, determine the corresponding backlight brightness curve; wherein, the backlight brightness curve is calculated based on multiple test illuminances, the total reflection coefficient of the glass cover of the display screen, the display screen contrast ratio, and display parameters, and the display screen contrast ratio is the ratio between the target white field brightness and the target black field brightness.
[0058] In some embodiments, the method may further include, in order to determine the corresponding backlight brightness curve:
[0059] Based on the current illuminance, the total reflection coefficient of the glass cover of the display screen, the first white field luminance LWmax, the second white field luminance LWmin, the first black field luminance LBmax, the second black field luminance LBmin, and the display screen contrast ratio, calculate multiple test white field luminances.
[0060] The brightness curve relationship of the control bar of the display screen is obtained based on multiple test white field brightness.
[0061] Specifically, the surface of a display screen is usually covered by a glass cover. Backlight tubes emit light, which is then reflected through the liquid crystal material and the glass cover to display the image. Therefore, the influence of ambient light on the display screen is mainly manifested in the total internal reflection coefficient (SCI, Specular Component Include). The SCI is used to measure the spectral reflectance and diffuse reflectance components of a sample. This measurement method includes all surface-reflected light (including specular and diffuse reflection), regardless of the surface structure or roughness. The measurement results reflect the true color of the object, and the object's gloss does not affect the color data measurement results.
[0062] The first white level brightness is the white level brightness when the backlight setting is adjusted to 100%, denoted by LWmax. The second white level brightness is the white level brightness when the backlight setting is adjusted to 0%, denoted by LWmin. The first black level brightness is the black level brightness corresponding to the backlight setting being adjusted to 100%, denoted by LBmax. The second black level brightness is the white level brightness when the backlight setting is adjusted to 0%, denoted by LBmin.
[0063] Furthermore, when adjusting the first white brightness (LWmax), the brightness control bar is set to 100% to achieve the white brightness when the backlight setting value is set to 100%, which is the maximum white brightness. The second white brightness (LWmin) is achieved when the brightness control bar is set to 0%, which is the white brightness when the backlight setting value is set to 0%. Similarly, the first black brightness (LBmax) is achieved when the brightness control bar is set to 100%, which is the maximum black brightness. The second black brightness (LBmin) is achieved when the brightness control bar is set to 0%, which is the minimum black brightness.
[0064] The first white field brightness (LWmax), the second white field brightness (LWmin), the first black field brightness (LBmax), and the second black field brightness (LBmin) can be obtained in advance through detection and then stored for later retrieval when needed. Similarly, the total internal reflection coefficient (SCI) can also be obtained in advance, such as SCI = 2.30%. The display contrast ratio is represented by ACR. In eye protection mode, a display contrast ratio of ACR = 35 is more suitable for human eye viewing and has an eye protection effect. Therefore, a display contrast ratio of ACR = 35 is the desired contrast ratio value.
[0065] When calculating the white field luminance LW, it is based on multiple test illuminances E, the total internal reflection coefficient SCI of the display's glass cover, the first white field luminance LWmax, the second white field luminance LWmin, the first black field luminance LBmax, the second black field luminance LBmin, and the display contrast ratio ACR. Specifically:
[0066] First, calculate the black level brightness difference B using Formula 1, as follows:
[0067] B=LBmax-LBmin Formula 1;
[0068] Where B represents the black level brightness difference, and the white level brightness difference W can also be calculated using Formula 2, as follows:
[0069] W = LWmax - LWmin (Formula 2)
[0070] The backlight brightness curve is represented by L. The backlight brightness curve is related to the test white field brightness and the control bar brightness curve. In the backlight brightness curve, the backlight setting value and the current test white field brightness are linearly related, and the current test white field brightness changes with the change of the current illuminance.
[0071] Furthermore, the backlight brightness curve L is represented by Formula 3:
[0072] L=z^g Formula 3;
[0073] Where L represents the brightness corresponding to different positions of the brightness control bar, with a value of (0~1); z represents the position of the brightness control bar, with a value of (0~1); g represents the exponent in the relationship between position z and brightness L, and the value of g is determined according to the requirements of the brightness curve.
[0074] Since there is a linear relationship between the backlight setting value and the current test white level brightness in the backlight brightness curve, the relationship between the white level brightness LW and the change of the brightness control bar can be calculated using Formula 4, as follows:
[0075] LW=(z^g)*(LWmax-LWmin)+LWmin Formula 4;
[0076] Substituting formula 2 into formula 4, we get formula 5:
[0077] LW=(z^g)*W+LWmin Formula 5;
[0078] Similarly, the relationship between the black level brightness LB and the change of the brightness control bar can be calculated using Formula 6, as shown in Formula 6 below:
[0079] LB=(z^g)*(LBmax-LBmin)+LBmin Formula 6;
[0080] Substituting Formula 1 into Formula 6, we get Formula 7;
[0081] LB = (z^g)*B + LBmin (Formula 7)
[0082] Therefore, using LW to represent LB, we can obtain Formula 8:
[0083] LB=[(LW-LWmin)*B / W]+LBmin formula 8.
[0084] The display contrast ratio (ACR) is the ratio of the target white level brightness to the target black level brightness, expressed by formula 9:
[0085] ACR = LW1 / LB1 (Formula 9)
[0086] Where LW1 represents the target white level brightness, and LB1 represents the target black level brightness.
[0087] Based on the current ambient illuminance E and the total internal reflection coefficient SCI, the relationship between the current white field luminance LW and the target white field luminance LW1 is expressed by Equation 10:
[0088] LW1 = LW + E * SCI / PI (Formula 10)
[0089] Similarly, the relationship between the target black level brightness LB1 and the current black level brightness LB is expressed by Formula 11:
[0090] LB1 = LB + E * SCI / PI (Formula 11)
[0091] Where PI = π, which can be taken as 3.14, substituting Formula 8 into Formula 11, we can obtain Formula 12:
[0092] LB1=LB+E*SCI / PI=[(LW-LWmin)*B / W]+LBmin+E*SCI / PI Formula 12;
[0093] Substituting formulas 12 and 10 into formula 9, we obtain formula 13:
[0094] ACR=(LW+E*SCI / PI) / [[(LW-LWmin)*B / W]+LBmin+E*SCI / PI] Formula 13;
[0095] Thus, Formula 14 is obtained:
[0096] LW=[PI*ACR*W*LBmin+E*SCI*(ACR*WW)-PI*ACR*B*LWmin]
[0097] / PI*W-PI*ACR*B
[0098] Formula 15;
[0099] Substituting PI = 3.14 into the equation, we get Formula 16:
[0100] LW=[3.14*ACR*W*LBmin+E*SCI*(ACR*WW)-3.14*ACR*B*LWmin]
[0101] / 3.14*W-3.14*ACR*B
[0102] Formula 16;
[0103] Using Formula 16, and taking multiple values for the test illuminance, a series of test white field luminances LW are calculated. Then, the control bar luminance curve is calculated using the test white field luminance LW obtained by Formula 16, and expressed by Formula 17:
[0104] L=z^g=(LW-LWmin) / W Formula 17;
[0105] Furthermore, when obtaining the current white level brightness LW, since it is necessary to keep the display contrast ratio (ACR) constant, for example, to make ACR = 35, which is a user-defined constant, the calculated total internal reflection coefficient (SCI) of the display's glass cover is 2.3%. Assuming the first white level brightness LWmax = 309.87133, the second white level brightness LWmin = 16.210245, the first black level brightness LBmax = 0.3404836, and the second black level brightness L... Given Bmin = 0.0235341, and after determining the display contrast ratio ACR = 35, the current illuminance E = 50, the first white field brightness LWmax = 309.87133, the second white field brightness LWmin = 16.210245, the first black field brightness LBmax = 0.3404836, and the second black field brightness LBmin = 0.0235341, substituting these values into formula 16, we can determine the test white field brightness LW = 15.74894267.
[0106] Then step S103 may include:
[0107] Based on the current illuminance, determine the corresponding first test white field brightness and the relationship between the control bar brightness curve corresponding to the first test white field brightness, in order to determine the backlight brightness curve.
[0108] For example, if the current ambient illuminance is 70 lux, substituting into formula 10, the target white brightness of LW' can be calculated. Since the display contrast ratio (ACR) is fixed, it is equal to the target white brightness divided by the target black brightness. Based on the target white brightness LW', the current illuminance E, the total internal reflection coefficient (SCI), the first white brightness LWmax, the second white brightness LWmin, the first black brightness LBmax, the second black brightness LBmin, and the display contrast ratio (ACR), the target black brightness LB' is calculated. That is, according to formula 12, the target black brightness LB' is calculated, and the first test black brightness LB is also calculated. Furthermore, substituting into formula 16, the first test white brightness LW can also be calculated. Thus, L = z^g = (LW - LWmin) / W is calculated, where L = z^g is the control curve relationship. Typically, g = 1.8803, so x^1.3 = (z^g)^0.69137 is the backlight brightness curve.
[0109] S104: Adjust the backlight setting value based on the backlight brightness curve to keep the display contrast constant.
[0110] After calculating the backlight brightness curve, the backlight setting value can be determined based on the backlight brightness curve, the maximum backlight setting value and the minimum backlight setting value of the display screen.
[0111] Control the display screen to show the backlight setting.
[0112] Specifically, the brightness setting value has a linear relationship with the backlight brightness curve and the first test white field brightness LW, as expressed by Formula 18:
[0113] (V-Vmin) / (Vmax-Vmin)=(LW-LWmin) / (LWmax-LWmin)=z^g Formula 18;
[0114] Where Vmax represents the maximum value of the backlight setting of the display screen, Vmin represents the minimum value of the backlight setting of the display screen, and V represents the backlight setting value.
[0115] Therefore, the backlight setting value V can be calculated, expressed by formula 19:
[0116] V=z^g*(Vmax-Vmin)+Vmin formula 19.
[0117] The brightness setting value is 0 to 255, where Vmax = 255 and Vmin can be based on the actual setting value in the system code, such as 11. According to the settings in the aforementioned embodiment, V = 9 is obtained.
[0118] After determining the backlight setting value V, the display is based on the backlight setting value V, while keeping the screen contrast constant at 35.
[0119] In embodiments of this application, ambient illuminance is acquired. When a change in ambient illuminance is detected, the current illuminance is acquired. Based on the correspondence between the current illuminance and the target white level brightness, a corresponding backlight brightness curve is determined. The backlight brightness curve is calculated based on multiple test illuminance values, the total internal reflection coefficient of the glass cover of the display screen, the display screen contrast ratio, and display parameters. The display screen contrast ratio is the ratio between the target white level brightness and the target black level brightness. Therefore, based on the backlight brightness curve, the backlight setting value can be adjusted to keep the display screen contrast constant, achieving consistent display screen contrast under different ambient illuminance levels, which can improve the readability of the display screen for users.
[0120] This application also provides a display screen contrast constant device, applied to a display screen. Please refer to [link / reference]. Figure 2 This illustration shows the structure of a display screen contrast constant device 200 provided in an embodiment of this application. The display screen contrast constant device 200 includes:
[0121] Environment acquisition module 201 is used to acquire ambient light intensity;
[0122] The change acquisition module 202 is used to acquire the current illuminance when a change in the ambient illuminance is detected.
[0123] The curve determination module 203 is used to determine the corresponding backlight brightness curve based on the correspondence between the current illuminance and the target white field brightness; wherein, the backlight brightness curve is calculated based on multiple test illuminances, the total reflection coefficient of the glass cover of the display screen, the contrast ratio of the display screen, and display parameters, and the contrast ratio of the display screen is the ratio between the target white field brightness and the target black field brightness.
[0124] The adjustment module 204 is used to adjust the backlight setting value based on the backlight brightness curve so as to keep the contrast of the display screen constant.
[0125] In embodiments of this application, ambient illuminance is acquired. When a change in ambient illuminance is detected, the current illuminance is acquired. Based on the correspondence between the current illuminance and the target white level brightness, a corresponding backlight brightness curve is determined. The backlight brightness curve is calculated based on multiple test illuminance values, the total internal reflection coefficient of the display screen's glass cover, the display screen contrast ratio, and display parameters. The display screen contrast ratio is the ratio between the target white level brightness and the target black level brightness. Therefore, based on the backlight brightness curve, the backlight setting value can be adjusted to maintain a constant display screen contrast ratio, ensuring consistent display screen contrast under different ambient illuminance levels, thereby improving the readability of the display screen for the user.
[0126] In some embodiments, the device 200 further includes a curve acquisition module 205, configured to:
[0127] Based on multiple test illuminances, the total reflection coefficient of the glass cover of the display screen, the first white field brightness, the second white field brightness, the first black field brightness, the second black field brightness, and the contrast ratio of the display screen, multiple test white field brightnesses are calculated.
[0128] Based on multiple test white field brightness levels, the control bar brightness curve relationship of the display screen is obtained;
[0129] The curve determination module 203 is also used for:
[0130] The backlight brightness curve is determined by determining the corresponding first test white field brightness and the control bar brightness curve relationship based on the current illuminance.
[0131] In some embodiments, the adjustment module 204 is further configured to:
[0132] Based on the backlight brightness curve, the maximum and minimum backlight settings of the display screen, the backlight setting value is determined.
[0133] Control the display screen to display at the backlight setting value.
[0134] In some embodiments, the target black level brightness is calculated based on the target white level brightness, the current illuminance, the total reflection coefficient, the first white level brightness, the second white level brightness, the first black level brightness, the second black level brightness, and the display contrast ratio.
[0135] In some embodiments, the first white brightness is the white brightness when the backlight setting value is adjusted to 100%, the second white brightness is the white brightness when the backlight setting value is adjusted to 0%, the first black brightness is the black brightness corresponding to the backlight setting value being adjusted to 100%, the second black brightness is the white brightness when the backlight setting value is adjusted to 0%, the maximum backlight setting value is 255, and the minimum backlight setting value is 0.
[0136] In some embodiments, the backlight setting value and the first test white field brightness are linearly related, and are calculated based on the backlight setting value, the maximum backlight setting value, the minimum backlight setting value, the first white field brightness, and the second white field brightness.
[0137] In some embodiments, the device 200 further includes an opening module 206, configured to:
[0138] The eye protection mode is activated, wherein the contrast of the display screen remains constant.
[0139] In some embodiments, the change acquisition module 202 is further configured to:
[0140] The current illuminance is obtained through an ambient light sensor based on an internal protocol.
[0141] It should be noted that the above-described apparatus can execute the method provided in the embodiments of this application, and has the corresponding functional modules and beneficial effects for executing the method. Technical details not described in detail in the apparatus embodiments can be found in the method provided in the embodiments of this application.
[0142] Figure 3 This is a schematic diagram of the hardware structure of the display controller in one embodiment of the display screen, as shown below. Figure 3 As shown, the controller includes:
[0143] One or more processors 111 and memory 112. Figure 3 The example uses a processor 111 and a memory 112.
[0144] Processor 111 and memory 112 can be connected via a bus or other means. Figure 3 Taking the example of a connection between China and Israel via a bus.
[0145] Memory 112, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the display screen contrast constant method in the embodiments of this application (e.g., attached...). Figure 2The components shown are environment acquisition module 201, change acquisition module 202, curve determination module 203, adjustment module 204, curve acquisition module 205, and activation module 206. The processor 111 executes various functional applications and data processing of the controller by running non-volatile software programs, instructions, and modules stored in the memory 112, thereby realizing the display screen contrast constant method of the above method embodiment.
[0146] The memory 112 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the personnel access detection device. Furthermore, the memory 112 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 112 may optionally include memory remotely located relative to the processor 111, and these remote memories may be connected to the display screen via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0147] The one or more modules are stored in the memory 112. When executed by the one or more processors 111, they perform the display screen contrast constant method in any of the above method embodiments, for example, performing the above-described method. Figure 1 Method steps S101 to S104; implementation Figure 2 The functions of modules 201-206 in the document.
[0148] The above-described product can perform the methods provided in the embodiments of this application, and has the corresponding functional modules and beneficial effects for performing the methods. Technical details not described in detail in this embodiment can be found in the methods provided in the embodiments of this application.
[0149] This application provides a non-volatile computer-readable storage medium storing computer-executable instructions that are executed by one or more processors, for example... Figure 3 One of the processors 111 can enable the one or more processors to execute the display contrast constant method in any of the above method embodiments, for example, to perform the above-described method. Figure 1 Method steps S101 to S104; implementation Figure 2 The functions of modules 201-206 in the document.
[0150] The device embodiments described above are merely illustrative. 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 modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0151] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software and a general-purpose hardware platform, or of course, using hardware. Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0152] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; under the concept of the present invention, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the present invention as described above, which are not provided in detail for the sake of brevity; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for maintaining constant contrast in a display screen, characterized in that, include: Obtain ambient light levels; When a change in ambient illuminance is detected, the current illuminance is obtained; Based on the correspondence between the current illuminance and the target white field brightness, the corresponding backlight brightness curve is determined, including: The backlight brightness curve is determined based on the current illuminance, the corresponding first test white field brightness, and the control bar brightness curve relationship corresponding to the first test white field brightness. The display contrast ratio is the ratio between the target white field brightness and the target black field brightness. The control bar brightness curve relationship of the display is obtained based on multiple test white field brightnesses. Among them, multiple test white field brightnesses are calculated based on multiple test illuminances, the total reflection coefficient of the glass cover of the display, the first white field brightness, the second white field brightness, the first black field brightness, the second black field brightness, and the display contrast ratio. Based on the backlight brightness curve, the backlight setting value is adjusted to keep the contrast of the display screen constant.
2. The method according to claim 1, characterized in that, The step of adjusting the backlight setting value based on the backlight brightness curve includes: Based on the backlight brightness curve, the maximum and minimum backlight settings of the display screen, the backlight setting value is determined. Control the display screen to display at the backlight setting value.
3. The method according to claim 1, characterized in that, The target black level brightness is calculated based on the target white level brightness, the current illuminance, the total reflection coefficient, the first white level brightness, the second white level brightness, the first black level brightness, the second black level brightness, and the display screen contrast ratio.
4. The method according to claim 2, characterized in that, The first white brightness is the white brightness when the backlight setting value is adjusted to 100%, the second white brightness is the white brightness when the backlight setting value is adjusted to 0%, the first black brightness is the black brightness corresponding to the backlight setting value being adjusted to 100%, the second black brightness is the white brightness when the backlight setting value is adjusted to 0%, the maximum backlight setting value is 255, and the minimum backlight setting value is 0.
5. The method according to claim 1, characterized in that, The backlight setting value and the first test white field brightness are linearly related. The backlight setting value is calculated based on the maximum backlight setting value, the minimum backlight setting value, the first white field brightness, and the second white field brightness.
6. The method according to any one of claims 1 to 5, characterized in that, Prior to acquiring the ambient light intensity, the method further includes: The eye protection mode is activated, wherein the contrast of the display screen remains constant.
7. The method according to claim 1, characterized in that, The process of obtaining the current illuminance includes: The current illuminance is obtained through an ambient light sensor based on an internal protocol.
8. A display screen, characterized in that, The display screen includes: An ambient light sensor, a display screen body, at least one processor, and a memory communicatively connected to the processor, the memory storing instructions executable by the at least one processor to implement the steps of the display screen contrast constant method as described in any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions that, when executed by the display screen, implement the steps of the display screen contrast constant method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Image processing apparatus and method of enhancing visibility of displayed image
CN101098489A
Display screen adjusting method and device, display equipment and storage medium
CN115774532A