Display brightness adjustment method, device, equipment and storage medium

By using a light sensor to detect ambient light and display light leakage characteristic values ​​in OLED display brightness adjustment, and stabilizing the light leakage prediction value to adjust the brightness, the problem of unstable brightness when switching dimming modes is solved, and a stable brightness adjustment effect is achieved.

CN115132136BActive Publication Date: 2025-09-09BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110326748.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-26
Publication Date
2025-09-09
Estimated Expiration
2041-03-26

AI Technical Summary

Technical Problem

During the brightness adjustment process of the OLED display, when the dimming mode switches from PWM mode to DC mode, the brightness adjustment signal becomes unstable, causing fluctuations in the leakage brightness and ambient light prediction, affecting the stability of the brightness adjustment.

Method used

By obtaining the light leakage characteristic value and ambient light detection value of the display screen within a preset time, a stable light leakage prediction value is determined, and the ambient light illumination is detected using a light sensor. The light leakage characteristic value is stabilized by using methods such as averaging, eliminating maximum and minimum values, or matching fluctuation curves, and the ambient light illumination value is calculated to adjust the brightness of the display screen.

Benefits of technology

This ensures the stability of leakage light brightness when switching between dimming modes, ensuring the accuracy of ambient light prediction and thus providing stable display brightness adjustment support.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115132136B_ABST
    Figure CN115132136B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a display brightness adjustment method, device and equipment. Display brightness adjustment includes: when the brightness level of the display screen reaches a preset brightness level, obtaining multiple light leakage characteristic values ​​of the display screen within a preset time length and the detection value of the ambient light, wherein the preset brightness level corresponds to the critical brightness interval of the display screen before switching the dimming mode; determining the light leakage prediction value of the display screen according to the multiple light leakage characteristic values; determining the illuminance value of the ambient light according to the light leakage prediction value and the detection value of the ambient light, and the illuminance value of the ambient light is used to adjust the brightness of the display screen. In the present disclosure, by selecting a light leakage characteristic value with relatively stable fluctuation as the light leakage prediction value, the leakage brightness fluctuation remains stable, thereby not affecting the predicted illuminance of the ambient light, thereby providing stable support for the brightness adjustment of the display screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to, but is not limited to, the field of electronic technology, and in particular to a display brightness adjustment method, apparatus, device, and storage medium. Background Art

[0002] With the demand for high refresh rates on OLED displays, PWM mode is increasingly being used in scenarios with lower OLED brightness, while DC mode is being used in scenarios with higher OLED brightness. Scenarios with lower OLED brightness correspond to lower ambient light illumination, resulting in poor signal-to-noise ratio.

[0003] Then, when the dimming mode of the display is switched from PWM mode to DC mode, the frequency of the brightness adjustment signal of the display is unstable, resulting in fluctuations in the prediction of the leakage brightness of the display, which in turn causes the prediction of the ambient light to have the same fluctuations, thereby affecting the stability of the brightness adjustment of the display. Summary of the Invention

[0004] The present disclosure provides a display brightness adjustment method, apparatus, device and storage medium to provide stable support for display screen brightness adjustment.

[0005] According to a first aspect of an embodiment of the present disclosure, a display brightness adjustment method is provided, comprising: when the brightness level of a display screen reaches a preset brightness level, obtaining a first light leakage characteristic value of the display screen within a preset time length and a detection value of ambient light, wherein the preset brightness level corresponds to a critical brightness interval of the display screen, the critical brightness interval includes multiple brightness values ​​before the display screen switches from a pulse dimming mode to a DC dimming mode, and the detection value of the ambient light is detected by a light sensor; determining a second light leakage characteristic value based on the first light leakage characteristic value, the first light leakage characteristic value fluctuating more than the second light leakage characteristic value within the preset time length; determining a light leakage prediction value of the display screen based on the second light leakage characteristic value; determining an illuminance value of the ambient light based on the light leakage prediction value and the detection value of the ambient light, the illuminance value of the ambient light being used to adjust the brightness of the display screen.

[0006] In the above solution, before obtaining the first light leakage characteristic value of the display screen within a preset time period, the method further includes: monitoring the brightness level of the display screen; and determining whether the brightness level of the display screen reaches a preset brightness level.

[0007] In the above scheme, the second light leakage characteristic value is determined based on the first light leakage characteristic value, including: taking the average value of the first light leakage characteristic value and determining the average value as the second light leakage characteristic value; or, eliminating the maximum value and / or minimum value in the first light leakage characteristic value, and determining the average value of the first light leakage characteristic value after elimination as the second light leakage characteristic value.

[0008] In the above scheme, the second light leakage characteristic value is determined based on the first light leakage characteristic value, including: generating a first fluctuation curve corresponding to the first light leakage characteristic value; matching the first fluctuation curve with multiple second fluctuation curves, the second fluctuation curves being trained based on the light leakage characteristic values ​​of the display screen when displaying different display contents and the light leakage illumination value of the display screen; and determining the first light leakage characteristic value corresponding to the third fluctuation curve as the second light leakage characteristic value, wherein the third fluctuation curve is a fluctuation curve among the multiple second fluctuation curves that matches the first fluctuation curve.

[0009] In the above solution, after determining the second light leakage characteristic value according to the first light leakage characteristic value, the method further includes: correcting the second light leakage characteristic value of the display screen using the attenuation coefficient.

[0010] In the above scheme, the illuminance value of the ambient light is determined based on the light leakage prediction value and the ambient light detection value, including: subtracting the ambient light detection value from the light leakage prediction value to obtain the brightness value of the ambient light; and determining the illuminance value of the ambient light based on the brightness value of the ambient light and the illuminance calculation coefficient.

[0011] According to a second aspect of an embodiment of the present disclosure, a display brightness adjustment device is provided. The display brightness adjustment device can be a chip or system on chip in an electronic device, or a functional module in an electronic device for implementing the method described in any embodiment of the present disclosure. The display brightness adjustment device can implement the function performed by the electronic device in any embodiment of the present disclosure, and the function can be implemented by hardware executing the corresponding software. The hardware or software includes one or more modules corresponding to the above functions. The display brightness adjustment device includes: an obtaining unit for obtaining a first light leakage characteristic value of the display screen within a preset time period and a detection value of the ambient light when the brightness level of the display screen reaches a preset brightness level, wherein the preset brightness level corresponds to a critical brightness interval of the display screen before switching the dimming mode; a determining unit for determining a second light leakage characteristic value based on the first light leakage characteristic value, wherein the fluctuation degree of the first light leakage characteristic value is greater than the fluctuation degree of the second light leakage characteristic value; determining a light leakage prediction value of the display screen based on the second light leakage characteristic value; determining an illuminance value of the ambient light based on the light leakage prediction value and the detection value of the ambient light, wherein the illuminance value of the ambient light is used to adjust the brightness of the display screen.

[0012] In the above solution, the device further includes a monitoring module, which is used to monitor the brightness level of the display screen before the obtaining unit obtains the first light leakage characteristic value; and determine whether the brightness level of the display screen reaches a preset brightness level.

[0013] In the above scheme, the determination unit is used to take the average value of the first light leakage characteristic value and determine the average value as the second light leakage characteristic value; or, eliminate the maximum value and / or minimum value in the first light leakage characteristic value, and determine the average value of the eliminated first light leakage characteristic value as the second light leakage characteristic value.

[0014] In the above scheme, the determination unit is used to generate a first fluctuation curve corresponding to a first light leakage characteristic value; match the first fluctuation curve with multiple second fluctuation curves, where the second fluctuation curves are trained based on the light leakage characteristic values ​​of the display screen when displaying different display contents and the light leakage illuminance values ​​of the display screen; and determine the first light leakage characteristic value corresponding to the third fluctuation curve as the second light leakage characteristic value, wherein the third fluctuation curve is a fluctuation curve among the multiple second fluctuation curves that matches the first fluctuation curve.

[0015] In the above solution, the determining unit is further configured to correct the second light leakage characteristic value using the attenuation coefficient after determining the second light leakage characteristic value.

[0016] In the above solution, the determination unit is further configured to obtain the brightness value of the ambient light by subtracting the detected value of the ambient light from the light leakage prediction value; and determine the illumination value of the ambient light according to the brightness value of the ambient light and the illumination calculation coefficient.

[0017] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to: implement the display brightness adjustment method in any embodiment of the present disclosure when executing the executable instructions.

[0018] In the above solution, the electronic device further includes: a light sensor coupled to the processor; the light sensor is used to detect a detection value of ambient light.

[0019] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores an executable program, wherein when the executable program is executed by a processor, the display brightness adjustment method in any embodiment of the present disclosure is implemented.

[0020] The technical solution provided by the present disclosure may have the following beneficial effects:

[0021] In the present disclosure, since the light leakage characteristic value with relatively stable fluctuation is selected as the light leakage prediction value, the fluctuation of the light leakage brightness remains stable, thereby not affecting the predicted illumination of the ambient light, thereby providing stable support for the brightness adjustment of the display screen.

[0022] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0024] Figure 1 A schematic structural diagram of an electronic device provided in an embodiment of the present disclosure;

[0025] Figure 2 A schematic structural diagram of another electronic device provided in an embodiment of the present disclosure;

[0026] Figure 3 A schematic diagram of a PWM signal provided in an embodiment of the present disclosure;

[0027] Figure 4 A schematic diagram of an implementation flow of a display brightness adjustment method provided in an embodiment of the present disclosure;

[0028] Figure 5 A schematic diagram of a display brightness adjustment device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0029] The embodiments of the present disclosure are described below in conjunction with the drawings in the embodiments of the present disclosure. In the following description, reference is made to the drawings that form a part of the present disclosure and show specific aspects of the embodiments of the present disclosure or specific aspects of the embodiments of the present disclosure that can be used in an illustrative manner. It should be understood that the embodiments of the present disclosure can be used in other aspects and may include structural or logical changes that are not depicted in the drawings. Therefore, the following detailed description should not be understood in a restrictive sense, and the scope of the present disclosure is defined by the appended claims. For example, it should be understood that the disclosure in conjunction with the described method can also apply to the corresponding device or system for performing the method, and vice versa. For example, if one or more specific method steps are described, the corresponding device may include one or more units, such as functional units, to perform the one or more method steps described (for example, one unit performs one or more steps, or multiple units, each of which performs one or more of the multiple steps), even if such one or more units are not explicitly described or illustrated in the drawings. On the other hand, for example, if a specific device is described based on one or more units such as functional units, the corresponding method may include a step to perform the functionality of the one or more units (e.g., a step to perform the functionality of the one or more units, or multiple steps, each of which performs the functionality of one or more of the multiple units), even if such one or more steps are not explicitly described or illustrated in the drawings. Further, it should be understood that unless otherwise explicitly stated, the features of the various exemplary embodiments and / or aspects described herein can be combined with each other.

[0030] Figure 1This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. This electronic device can be a smartphone, tablet computer, computer, wearable device, vehicle-mounted device, electronic terminal, portable terminal, etc. For ease of description, these electronic devices are collectively referred to as electronic devices in the embodiments of the present disclosure. The following uses a smartphone (hereinafter referred to as a mobile phone) as an example to illustrate the structure of this electronic device.

[0031] See also Figure 1 The mobile phone 100 may include components such as a radio frequency (RF) circuit 110, a memory 120, other input devices 130, an organic light-emitting diode (OLED) display 140, a sensor assembly 150, an audio circuit 160, an input / output (I / O) subsystem 170, a processor 180, and a power supply 190. The processor 180 is connected to the RF circuit 110, the memory 120, the audio circuit 160, and the power supply 190, respectively. The I / O subsystem 170 is connected to the other input devices 130, the OLED display 140, and the sensor assembly 150, respectively.

[0032] RF circuitry 110 can be used for transmitting and receiving information or receiving and transmitting signals during a call. Typically, RF circuitry 110 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a low-noise amplifier (LNA), a duplexer, and the like. In some embodiments, RF circuitry 110 can also communicate with networks and other devices via wireless communications, such as communicating with access network devices via a wireless fidelity (Wi-Fi) network.

[0033] The memory 120 can be used to store software programs. The processor 180 executes the various functional applications and data processing of the mobile phone 100 by running the software programs stored in the memory 120. The memory 120 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, at least one application required for a function, etc.; the data storage area may store data generated based on the use of the mobile phone 100 (such as audio data, image data, contact data, etc.). In some embodiments, the memory 120 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 volatile solid-state storage device.

[0034] Other input devices 130 may be used to receive input digital or character information, generate key signal input related to user settings and function control of the mobile phone 100, etc. Other input devices 130 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, power switch keys, etc.), a trackball, a mouse, a joystick, etc.

[0035] The OLED display screen 140 can be used to display information input by the user or provided to the user, as well as various menus of the mobile phone 100, and can also accept user input. The OLED display screen 140 may include a display panel 141 and a touch panel 142. In the embodiment of the present disclosure, the display panel 141 in the OLED display screen 104 may be configured in the form of an OLED. For example, the display panel 141 may include an OLED array, which includes multiple rows and columns of OLEDs.

[0036] The sensor assembly 150 includes one or more sensors for providing various aspects of collected data for the mobile phone 100. In the embodiment of the present disclosure, the sensor assembly 150 may include a light sensor (such as an ambient light sensor 151) for collecting data such as ambient light illumination to adjust the automatic backlight brightness of the OLED display 140. Furthermore, the sensor assembly 150 may also include a temperature sensor, an acceleration sensor, a gyroscope sensor, a magnetic sensor or a pressure sensor. The sensor assembly 150 can detect temperature changes of the mobile phone 100, acceleration / deceleration, orientation, open / close status of the mobile phone 100, or relative positioning of components. In addition, the sensor assembly 150 may also include an image sensor for use in imaging applications.

[0037] The audio circuit 160 can provide an audio interface between the user and the mobile phone 100. For example, the audio circuit 160 provides an audio interface between the user and the mobile phone 100 through a speaker and a microphone. Specifically, the audio circuit 160 can convert received audio data into electrical signals and transmit them to the speaker, which then converts the electrical signals into sound signals for output. Furthermore, the microphone converts the collected sound signals into electrical signals, which are then received by the audio circuit and converted into audio data. The audio data is then output to the RF circuit 110 for transmission to, for example, another mobile phone, or to the memory 120 for further processing.

[0038] The I / O subsystem 170 can be used to control external input and output devices, and the external devices may include other device input controllers, sensor controllers, display controllers, etc.

[0039] The processor 180 is the control center of the mobile phone 100. It uses various interfaces and lines to connect the various parts of the entire mobile phone. By running or executing software programs stored in the memory 120 and calling data stored in the memory 120, it performs various functions of the mobile phone 100 and processes data, thereby monitoring the mobile phone 100 as a whole. Optionally, the processor 180 may include one or more processing units. For example, the processor 180 may integrate an application processor (AP) and a modem processor (modem), wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly handles wireless communications. It is understood that the above-mentioned modem processor may not be integrated into the processor 180.

[0040] The power supply 190 (eg, a battery) is used to supply power to the above components. The power supply 190 may be logically connected to the processor 180 via a power management system, thereby managing charging, discharging, and power consumption.

[0041] In the embodiment of the present disclosure, the OLED display screen 140 may be covered above the ambient light sensor 151. The ambient light sensor 151 may be covered by the top of the OLED display screen 140, or by the middle of the OLED display screen 140, or by the bottom of the OLED display screen 140. Figure 2 As shown, the ambient light sensor 151 is covered by the top of the OLED display screen 140 as an example for illustration.

[0042] In the embodiment of the present disclosure, the mobile phone 100 can be a full-screen mobile phone. Of course, it can also be a non-full-screen mobile phone, as long as the OLED display screen in the mobile phone is set above the ambient light sensor. The embodiment of the present disclosure does not make specific limitations on this.

[0043] Understandably, the above Figure 1 The structure of the mobile phone 100 shown in the figure does not limit the mobile phone in the embodiment of the present disclosure. The mobile phone in the embodiment of the present disclosure may include Figure 1 The embodiments of the present disclosure do not specifically limit the more components, fewer components, combinations of certain components, or different arrangements of components shown.

[0044] Combining the structure of the above mobile phone, it can be seen that unlike liquid crystal display (LCD), OLED display has no backlight. Each pixel in the OLED display is illuminated by a light-emitting transistor. By controlling the light emission of each light-emitting transistor, different images can be displayed.

[0045] In practical applications, for OLED displays, the overall brightness adjustment mode (i.e., dimming mode) mainly includes but is not limited to the following two modes:

[0046] First, the pulse-width modulation (PWM) mode.

[0047] In PWM mode, a duty cycle adjustment signal is required (for example, the duty cycle adjustment signal can be a square wave signal with a frequency of 240 Hz). The lighting duration of each OLED in the OLED display screen is controlled by the PWM signal (i.e., the duty cycle adjustment signal). For example, Figure 3 A schematic diagram of a PWM signal provided in an embodiment of the present disclosure, see Figure 3 As shown in the figure, when the PWM signal is at a low level, the OLED is turned off. At this time, the ambient light sensor set below the OLED can collect the external ambient light; and when the PWM signal is at a high level, the OLED starts (or is called lighting up). Then, the collected data is traversed to obtain smaller values, and these values ​​are passed to the light intensity conversion model to realize the conversion of light intensity values, and then the illuminance value of the external ambient light is obtained. Finally, according to the illuminance value of the external ambient light, the brightness of each OLED of the OLED display is adjusted. At this time, since the OLED is turned off, the data collected by the ambient light sensor is not affected by the light leakage of the OLED, which improves the accuracy of the brightness adjustment of the OLED.

[0048] It should be noted that when displaying images, videos and other display content, the OLED display screen refreshes the display in the form of frames, and the refresh display of each frame can be refreshed line by line in a top-down order, so that the display content of a frame needs to be refreshed multiple times. During the refresh process of a frame, the OLED in the display area of ​​each refresh is turned from on to off. It can be seen that in PWM mode, the OLED can also refresh the display content according to the above-mentioned PWM signal. When the OLED display screen completes the refresh of a whole frame of display content, it will output a display synchronization signal, which can be used to indicate that the refresh of the display content of that frame is complete.

[0049] Second, direct current (DC) mode.

[0050] In DC mode, the above-mentioned duty cycle adjustment signal is not required. Instead, the brightness of the OLED display is adjusted by changing the supply current, supply voltage, etc.

[0051] However, with the demand for high refresh rates on OLED displays, PWM mode is increasingly being used in scenarios with lower OLED brightness, while DC mode is being used in scenarios with higher OLED brightness. Low OLED brightness corresponds to lower ambient light illumination, resulting in poor signal-to-noise ratio. Consequently, when the display's dimming mode switches from PWM to DC, the frequency of the display's brightness adjustment signal becomes unstable, causing fluctuations in the predicted brightness of the display's light leakage, which in turn causes similar fluctuations in the predicted ambient light, affecting the stability of the display's brightness adjustment.

[0052] In order to solve the above problems, an embodiment of the present disclosure provides a display brightness adjustment method, which can be applied to a display brightness adjustment device, which can be the above electronic device or a chip or system on chip in the above electronic device.

[0053] First, the DC dimming process involved in the embodiment of the present disclosure is introduced.

[0054] The first step is to obtain the spectral response signal F of each channel of the ambient light sensor i (λ); here, i represents the channel of the ambient light sensor, i=C / R / G / B, C represents the clear (clean) channel, R represents the red channel, G represents the green channel, B represents the blue channel, and λ represents the spectral wavelength.

[0055] Step 2: Obtain the spectral function F of different light sources j (λ); j = 1, 2, 3, ..., n, where n is a positive integer.

[0056] Illustratively, the light source may be a cool white fluorescent (CWF) light source, an A light source, a D50 light source, a U30 light source, a TL84 light source, an H light source, or the like.

[0057] Step 3: Calculate the convolution spectrum function of each channel response

[0058] Step 4: Calculate the spectral time domain characteristics of the display screen light leakage detected by each channel

[0059] Step 5: Assume that the refresh base frequency of the display is f, the multiplier is mf, and the value of m can be a positive integer. Then calculate the spectral frequency domain characteristics of the display light leakage detected by each channel.

[0060] Here, the spectral frequency domain characteristics It can also be understood as the light leakage characteristic value.

[0061] Step 6: Bring in the light leakage calculation model f(y) and calculate the light leakage prediction value f of each channel i (y i );in, f i (y i )=a i y i n +b i y i n-1 +c i y i n-2 +......+z i y i 0 .

[0062] Here, the above a i 、b i 、c i 、……、z i It is pre-set.

[0063] Step 7: Get the ambient light detection value collected by the ambient light sensor Register i (y i );

[0064] Step 8. Calculate the brightness value of the ambient light in each channel i (y i )=Register i (y i )-f i (y i );

[0065] Step 9: Calculate the illuminance value Lux of the ambient light in each channel i =dgf×k ij ×Ambient i .

[0066] Among them, dgf is the device factor of the display, which is used to characterize the impact of the display hardware on the brightness of the OLED; k ij The illumination calculation coefficients for each channel under different light sources are preset.

[0067] Figure 4 A schematic diagram of an implementation flow of a display brightness adjustment method provided in an embodiment of the present disclosure, see Figure 4 As shown, the above method may include:

[0068] S401: When the brightness level of the display screen reaches a preset brightness level, a plurality of first light leakage characteristic values ​​of the display screen within a preset time period and a detection value of ambient light are obtained.

[0069] It is understandable that the brightness of the OLED may fluctuate near the switching point between the PWM mode and the DC mode. In this case, the display brightness adjustment device can continuously monitor the brightness level of the display screen and determine whether the current brightness level of the display screen has reached the preset brightness level, that is, determine whether the current brightness level of the display screen has reached the brightness level corresponding to the fluctuation area. If it is determined that the brightness level of the display screen has reached the preset brightness level, the display brightness adjustment device can calculate multiple first light leakage characteristic values ​​(i.e., y i ) and the detection value of the ambient light obtained through the seventh step above (ie Register i (y i Alternatively, the display screen can determine whether its current brightness level reaches a preset brightness level. If so, it can send an instruction to the display brightness adjustment device to instruct the display brightness adjustment device to predict the illumination of the ambient light. The display brightness adjustment device responds to the above instruction and calculates multiple first light leakage characteristic values ​​(i.e., y i ) and the detection value of the ambient light obtained through the seventh step above (ie Register i (y i )).

[0070] For example, the brightness of the OLED may fluctuate between 400 nit and 439 nit.

[0071] S402: Determine a light leakage prediction value of the display screen according to the multiple light leakage characteristic values.

[0072] It is understandable that in order to avoid the fluctuation of the brightness of the leakage light caused by the brightness fluctuation of the OLED, the display brightness adjustment device calculates a plurality of first leakage light characteristic values ​​(ie, y i ), a relatively stable second light leakage characteristic value can be obtained in the following manner.

[0073] In the first method, the display brightness adjustment device can average multiple light leakage characteristic values ​​and determine the average value as the second light leakage characteristic value. Alternatively, the display brightness adjustment device can also eliminate the maximum value and / or minimum value of the above-mentioned multiple first light leakage characteristic values, and determine the average value of the eliminated multiple first light leakage characteristic values ​​as the second light leakage characteristic value. Of course, the display brightness adjustment device can also select the median value of the first light leakage characteristic value as the second light leakage characteristic value. Since the average value or mean of the fluctuating light leakage characteristic value is selected as the light leakage prediction value, the fluctuation of the light leakage brightness is ignored, which does not affect the predicted illumination of the ambient light, thereby providing stable support for the brightness adjustment of the display screen.

[0074] In the second way, the electronic device can also be placed in a dark room (at this time the ambient light illumination value is equal to 0 or approximately equal to 0). When the brightness level of the display screen reaches the preset brightness level, the display screen can display different display contents, such as a pure red image, a pure white image, a pure green image, etc., to provide different light sources. When the display screen displays different contents and the brightness level remains unchanged, the display brightness adjustment device can obtain multiple sets of leakage characteristic values ​​through the above-mentioned first to fifth steps, and obtain the detection value of the ambient light when the display screen displays different contents through the above-mentioned seventh step (which can also be understood as the leakage illumination value of the display screen). Then, the display brightness adjustment device can train the fluctuation curve A (i.e., the second fluctuation curve) of the leakage characteristic value corresponding to the detection value of different ambient light based on the multiple sets of leakage characteristic values ​​and the detection value of the ambient light to reflect the fluctuation of the display screen brightness when different display contents are displayed. Since the display screen is placed in a dark room environment, the light collected by the ambient light sensor comes from the OLED leakage. At this time, the fluctuation of the display screen leakage light is relatively stable, that is, the fluctuation of the second fluctuation curve is relatively stable.

[0075] Then, after executing S401, the display brightness adjustment device can generate a fluctuation curve B (i.e., a first fluctuation curve) corresponding to the above-mentioned multiple first light leakage characteristic values, and match the fluctuation curve A with the fluctuation curve B to match a fluctuation curve B' (i.e., a third fluctuation curve) from the multiple fluctuation curves A that has a fluctuation condition that is consistent with or close to that of the fluctuation curve B. Then, the display brightness adjustment device can determine the first light leakage characteristic value corresponding to the fluctuation curve B' as the second light leakage characteristic value. Since the fluctuation condition of the fluctuation curve B' is relatively stable, the light leakage characteristic value corresponding to the fluctuation curve B' with relatively stable fluctuation is selected to calculate the light leakage prediction value, which can obtain a relatively stable light leakage prediction value, and then calculate a relatively stable ambient light illumination to provide stable support for the brightness adjustment of the display screen.

[0076] Of course, the display brightness adjustment device may also adopt other methods to obtain a relatively stable light leakage characteristic value, which is not specifically limited in the embodiment of the present disclosure.

[0077] In some possible implementations, in order to further reduce the fluctuation of the illuminance value of the ambient light caused by the fluctuation, in the above S402, after the display brightness adjustment device obtains the second light leakage characteristic value, the second light leakage characteristic value can also be multiplied by the attenuation coefficient to correct the light leakage characteristic value.

[0078] S403: Determine the light leakage prediction value f according to the second light leakage characteristic value i (y i ).

[0079] It can be understood that after the display brightness adjustment device obtains the second light leakage characteristic values ​​through calculation in S402, it can bring these light leakage characteristic values ​​into the above-mentioned sixth step to calculate the light leakage prediction value.

[0080] S404: Determine the illumination value of the ambient light according to the light leakage prediction value and the detected value of the ambient light.

[0081] The illumination value of the ambient light is used to adjust the brightness of the display screen.

[0082] It is understood that after the display brightness adjustment device obtains the light leakage prediction value through calculation in S402, it can subtract the ambient light detection value from the light leakage prediction value as described in step 8 to obtain the ambient light brightness value. Furthermore, according to step 9, the ambient light brightness value can be multiplied by a preset illuminance calculation coefficient to obtain the ambient light illuminance value.

[0083] In some possible implementations, the display brightness adjustment device may transmit the calculated illuminance value of the ambient light to the display screen, so that the display screen may adjust the OLED brightness according to the illuminance value of the ambient light to achieve stable brightness adjustment.

[0084] At this point, the brightness adjustment process of the display screen at the preset brightness level is completed.

[0085] In the present disclosure, since the light leakage characteristic value with relatively stable fluctuation is selected as the light leakage prediction value, the fluctuation of the light leakage brightness remains stable, thereby not affecting the predicted illumination of the ambient light, thereby providing stable support for the brightness adjustment of the display screen.

[0086] Based on the same inventive concept, the embodiments of the present disclosure also provide, according to a second aspect of the embodiments of the present disclosure, a display brightness adjustment device. The display brightness adjustment device can be a chip or system-on-chip in an electronic device, or a functional module in the electronic device for implementing the method described in any embodiment of the present disclosure. The display brightness adjustment device can implement the functions performed by the electronic device in any embodiment of the present disclosure, and the functions can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. Figure 5 A schematic diagram of a display brightness adjustment device provided in an embodiment of the present disclosure is shown in FIG. Figure 5As shown, the display brightness adjustment device 500 includes: an obtaining unit 501, which is used to obtain a first light leakage characteristic value of the display screen and a detection value of the ambient light within a preset time period when the brightness level of the display screen reaches a preset brightness level, wherein the preset brightness level corresponds to a critical brightness interval of the display screen before switching the dimming mode; a determining unit 502, which is used to determine a second light leakage characteristic value based on the first light leakage characteristic value, the fluctuation degree of the first light leakage characteristic value being greater than the fluctuation degree of the second light leakage characteristic value; determine a light leakage prediction value of the display screen based on the second light leakage characteristic value; determine an illuminance value of the ambient light based on the light leakage prediction value and the detection value of the ambient light, and the illuminance value of the ambient light is used to adjust the brightness of the display screen.

[0087] In the above solution, the above device further includes a monitoring module, which is used to monitor the brightness level of the display screen before the obtaining unit obtains the first light leakage characteristic value; and determine whether the brightness level of the display screen reaches a preset brightness level.

[0088] In the above scheme, the determination unit is used to take the average value of the first light leakage characteristic value and determine the average value as the second light leakage characteristic value; or, eliminate the maximum value and / or minimum value in the first light leakage characteristic value, and determine the average value of the eliminated first light leakage characteristic value as the second light leakage characteristic value.

[0089] In the above scheme, the determination unit is used to generate a first fluctuation curve corresponding to a first light leakage characteristic value; match the first fluctuation curve with multiple second fluctuation curves, where the second fluctuation curves are trained based on the light leakage characteristic values ​​of the display screen when displaying different display contents and the light leakage illuminance values ​​of the display screen; and determine the first light leakage characteristic value corresponding to the third fluctuation curve as the second light leakage characteristic value, wherein the third fluctuation curve is a fluctuation curve among the multiple second fluctuation curves that matches the first fluctuation curve.

[0090] In the above solution, the determining unit is further configured to correct the second light leakage characteristic value using the attenuation coefficient after determining the second light leakage characteristic value.

[0091] In the above solution, the determination unit is further configured to obtain the brightness value of the ambient light by subtracting the detected value of the ambient light from the light leakage prediction value; and determine the illumination value of the ambient light according to the brightness value of the ambient light and the illumination calculation coefficient.

[0092] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to: implement the display brightness adjustment method in any embodiment of the present disclosure when executing the executable instructions.

[0093] In the above solution, the electronic device further includes: a light sensor coupled to the processor; the light sensor is used to detect a detection value of ambient light.

[0094] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores an executable program, wherein when the executable program is executed by a processor, the display brightness adjustment method in any embodiment of the present disclosure is implemented.

[0095] Those skilled in the art will appreciate that the functions described in conjunction with the various illustrative logic blocks, modules, and algorithm steps disclosed herein can be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions described in the various illustrative logic blocks, modules, and steps can be stored or transmitted as one or more instructions or codes on a computer-readable medium and executed by a hardware-based processing unit. Computer-readable media can include computer-readable storage media, which corresponds to tangible media, such as data storage media, or communication media including any media that facilitates the transfer of computer programs from one place to another (e.g., according to a communication protocol). In this manner, computer-readable media can generally correspond to (1) non-transitory tangible computer-readable storage media, or (2) communication media, such as signals or carrier waves. Data storage media can be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, codes, and / or data structures for implementing the techniques described in this disclosure. A computer program product can include computer-readable media.

[0096] By way of example, and not limitation, such computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage, flash memory, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. Furthermore, any connection is properly referred to as a computer-readable medium. For example, if instructions are transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwaves, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwaves are included in the definition of medium. However, it should be understood that computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transient media, but are actually directed to non-transitory tangible storage media. As used herein, disk and disc include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), and Blu-ray disc, where disks typically reproduce data magnetically, while discs reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.

[0097] Instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general-purpose microprocessors, application-specific integrated circuits (ASICs), field-programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuits. Thus, the term "processor," as used herein, may refer to any of the aforementioned structures or any other structure suitable for implementing the techniques described herein. Additionally, in some aspects, the functionality described by the various illustrative logical blocks, modules, and steps described herein may be provided within dedicated hardware and / or software modules configured for encoding and decoding, or incorporated into a combined codec. Furthermore, the techniques may be fully implemented in one or more circuits or logic elements.

[0098] The techniques of this disclosure can be implemented in a variety of devices or apparatuses, including wireless handsets, integrated circuits (ICs), or a set of ICs (e.g., a chipset). The various components, modules, or units described in this disclosure are intended to emphasize functional aspects of the devices described for performing the disclosed techniques, but do not necessarily require implementation by different hardware units. In fact, as described above, the various units can be combined in a codec hardware unit in conjunction with appropriate software and / or firmware, or provided by interoperating hardware units (including one or more processors as described above).

[0099] In the above embodiments, the description of each embodiment has different emphases. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0100] The above description is merely an exemplary embodiment of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present disclosure should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.

Claims

1. A method for adjusting display brightness, characterized in that: include: When the brightness level of the display screen reaches a preset brightness level, obtaining a first light leakage characteristic value of the display screen and a detection value of ambient light within a preset time period, wherein the preset brightness level corresponds to a critical brightness range of the display screen, and the critical brightness range includes multiple brightness values ​​of the display screen before switching from the pulse dimming mode to the DC dimming mode; determining a second light leakage characteristic value according to the first light leakage characteristic value, wherein a fluctuation degree of the first light leakage characteristic value is greater than a fluctuation degree of the second light leakage characteristic value; determining a light leakage prediction value of the display screen according to the second light leakage characteristic value; The illumination value of the ambient light is determined according to the light leakage prediction value and the detected value of the ambient light, and the illumination value of the ambient light is used to adjust the brightness of the display screen.

2. The method according to claim 1, characterized in that Before obtaining the first light leakage characteristic value of the display screen within a preset time period, the method further includes: monitoring the brightness level of the display screen; Determine whether the brightness level of the display screen reaches the preset brightness level.

3. The method according to claim 1 or 2, characterized in that The determining a second light leakage characteristic value according to the first light leakage characteristic value includes: averaging the first light leakage characteristic values ​​and determining the average value as the second light leakage characteristic value; or, The maximum value and / or the minimum value in the first light leakage characteristic values ​​are eliminated, and an average value of the eliminated first light leakage characteristic values ​​is determined as the second light leakage characteristic value.

4. The method according to claim 1 or 2, characterized in that The determining a second light leakage characteristic value according to the first light leakage characteristic value includes: generating a first fluctuation curve corresponding to the first light leakage characteristic value; matching the first fluctuation curve with a plurality of second fluctuation curves, where the second fluctuation curves are obtained by training based on light leakage characteristic values ​​of the display screen when displaying different display contents and light leakage illumination values ​​of the display screen; The first light leakage characteristic value corresponding to a third fluctuation curve is determined as the second light leakage characteristic value, wherein the third fluctuation curve is a fluctuation curve among the plurality of second fluctuation curves that matches the first fluctuation curve.

5. The method according to claim 1 or 2, characterized in that After determining the second light leakage characteristic value according to the first light leakage characteristic value, the method further includes: The second light leakage characteristic value is corrected using the attenuation coefficient.

6. The method according to claim 1, characterized in that The determining the illumination value of the ambient light according to the light leakage prediction value and the detected value of the ambient light includes: Subtracting the detected value of the ambient light from the predicted value of light leakage to obtain a brightness value of the ambient light; The illuminance value of the ambient light is determined according to the brightness value of the ambient light and an illuminance calculation coefficient.

7. A display brightness adjustment device, characterized in that: include: an obtaining unit, configured to obtain, when the brightness level of the display screen reaches a preset brightness level, a first light leakage characteristic value of the display screen and a detection value of ambient light within a preset time period, wherein the preset brightness level corresponds to a critical brightness range of the display screen, and the critical brightness range includes multiple brightness values ​​of the display screen before switching from the pulse dimming mode to the DC dimming mode; A determination unit is configured to determine a second light leakage characteristic value based on the first light leakage characteristic value, wherein the fluctuation degree of the first light leakage characteristic value is greater than the fluctuation degree of the second light leakage characteristic value; determine a light leakage prediction value of the display screen based on the second light leakage characteristic value; and determine an illuminance value of the ambient light based on the light leakage prediction value and the detected value of the ambient light, wherein the illuminance value of the ambient light is used to adjust the brightness of the display screen.

8. The device according to claim 7, characterized in that The device further includes a monitoring module configured to monitor the brightness level of the display screen before the obtaining unit obtains the first light leakage characteristic value; and determine whether the brightness level of the display screen reaches the preset brightness level.

9. The device according to claim 7 or 8, characterized in that The determination unit is used to take an average of the first light leakage characteristic values ​​and determine the average value as the second light leakage characteristic value; or to eliminate the maximum value and / or minimum value in the first light leakage characteristic value and determine the average value of the eliminated first light leakage characteristic values ​​as the second light leakage characteristic value.

10. The device according to claim 7 or 8, characterized in that The determination unit is configured to generate a first fluctuation curve corresponding to the first light leakage characteristic value; match the first fluctuation curve with a plurality of second fluctuation curves, where the second fluctuation curves are trained based on the light leakage characteristic values ​​of the display screen when displaying different display contents and the light leakage illuminance values ​​of the display screen; and determine the first light leakage characteristic value corresponding to a third fluctuation curve as the second light leakage characteristic value, wherein the third fluctuation curve is a fluctuation curve among the plurality of second fluctuation curves that matches the first fluctuation curve.

11. The device according to claim 7 or 8, characterized in that The determining unit is further configured to, after determining the second light leakage characteristic value, correct the second light leakage characteristic value using an attenuation coefficient.

12. The device according to claim 7, characterized in that The determining unit is further configured to obtain a brightness value of the ambient light by subtracting the detected value of the ambient light from the light leakage prediction value; and determine the illumination value of the ambient light according to the brightness value of the ambient light and an illumination calculation coefficient.

13. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the display brightness adjustment method according to any one of claims 1 to 6 when executing the executable instructions.

14. The electronic device according to claim 13, wherein: The electronic device further includes: a light sensor coupled to the processor; the light sensor is configured to detect a detection value of the ambient light.

15. A computer-readable storage medium, characterized in that The readable storage medium stores an executable program, wherein the executable program, when executed by a processor, implements the display brightness adjustment method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • System and method for automatically adjusting screen brightness

    CN105632455A

  • Rendering and displaying high dynamic range content

    CN107690811A