Display brightness adjusting method and device, electronic equipment and storage medium

By obtaining the ambient light intensity in electronic devices and adjusting the display brightness in the screen-off mode according to it, the problem of displaying in the screen-off mode in the prior art is solved, and lower power consumption and longer equipment life.

CN119479543APending Publication Date: 2025-02-18BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311001115.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-09
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

In the screen-off mode, existing electronic devices only have two display methods: low brightness and high brightness, which leads to the problem of excessive brightness or excessive darkness, which increases power consumption and may cause the risk of screen fever.

Method used

By obtaining the ambient light intensity, if the ambient light intensity is greater than the first intensity threshold, the brightness of the display screen is adjusted according to the intensity of the ambient light, including determining the ambient light brightness and adjusting the brightness of the display screen according to the brightness.

Benefits of technology

It realizes automatic adjustment of the display brightness according to ambient light in the screen-off mode, reducing power consumption, reducing screen burn risk, and improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119479543A_ABST
    Figure CN119479543A_ABST
Patent Text Reader

Abstract

The invention relates to a display brightness adjusting method and device, electronic equipment and a storage medium, the method is applied to the electronic equipment comprising a display screen, and the method comprises the following steps: acquiring ambient light intensity; and in response to the situation that the electronic equipment is in a screen-off mode and the ambient light intensity is greater than a first intensity threshold, adjusting the brightness of a display screen of the electronic equipment according to the intensity of the ambient light. Through the method, the electronic equipment can adaptively adjust the brightness of the display screen according to the ambient light in the screen-off mode, so that the power consumption of the electronic equipment in the screen-off mode is reduced, the situation of burn-in of the display screen of the electronic equipment is reduced, and the intelligence of the electronic equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Typically, an electronic device may have different display modes, for example, a screen-on display mode, a screen-off display mode, and the like.

[0003] However, currently, electronic devices only have two display modes: low brightness and high brightness. This can easily lead to over-brightness or over-darkness, causing users to have a poor visual experience when using electronic devices. Moreover, when the display of an electronic device is too bright for a long time, it will not only increase the power consumption of the electronic device, but also easily cause the risk of screen burn-in. Summary of the invention

[0004] The present disclosure provides a display brightness adjustment method and device, an electronic device and a storage medium.

[0005] According to a first aspect of an embodiment of the present disclosure, a display brightness adjustment method is provided, including:

[0006] Get the ambient light intensity;

[0007] In response to the electronic device being in a screen-off mode and the ambient light intensity being greater than a first intensity threshold, the brightness of the display screen of the electronic device is adjusted according to the intensity of the ambient light.

[0008] In some embodiments, in response to the electronic device being in a screen-off mode and the ambient light intensity being greater than a first intensity threshold, adjusting the brightness of the display screen of the electronic device according to the intensity of the ambient light includes:

[0009] In response to the electronic device being in the screen-off mode and the ambient light intensity being greater than the first intensity threshold, determining the ambient light brightness corresponding to the ambient light intensity according to a preset first mapping relationship; wherein the first preset mapping relationship includes a mapping between ambient light intensity and ambient light brightness;

[0010] The brightness of the display screen of the electronic device is determined according to the ambient light brightness.

[0011] In some embodiments, determining the brightness of the display screen of the electronic device according to the ambient light brightness includes:

[0012] If the ambient light brightness is between a first ambient light brightness threshold and a second ambient light brightness threshold, determining the brightness of the display screen of the electronic device according to the ambient light brightness;

[0013] If the ambient light brightness is not between the first ambient light brightness threshold and the second ambient light brightness threshold, the brightness of the display screen of the electronic device is determined according to the first ambient light brightness threshold or the second ambient light brightness threshold.

[0014] In some embodiments, if the ambient light brightness is between a first ambient light brightness threshold and a second ambient light brightness threshold, determining the brightness of the display screen of the electronic device according to the ambient light brightness includes:

[0015] If the ambient light brightness is between the first ambient light brightness threshold and the second ambient light brightness threshold, the brightness of the display screen of the electronic device is determined according to a preset second mapping relationship and the ambient light brightness; wherein the preset second mapping relationship includes a mapping between ambient light brightness and display screen brightness.

[0016] In some embodiments, if the ambient light brightness is not between the first ambient light brightness threshold and the second ambient light brightness threshold, determining the brightness of the display screen of the electronic device according to the first ambient light brightness threshold or the second ambient light brightness threshold includes:

[0017] If the ambient light brightness is less than the first ambient light brightness threshold, determining the first ambient light brightness threshold as the brightness of the display screen of the electronic device;

[0018] If the ambient light brightness is greater than the second ambient light brightness threshold, the second ambient light brightness threshold is determined as the brightness of the display screen of the electronic device.

[0019] In some embodiments, the method further comprises:

[0020] In response to the electronic device being in the screen-off mode and the ambient light intensity being less than a second intensity threshold, the brightness of the display screen is set to a value less than a preset first screen brightness threshold; wherein the second intensity threshold is less than the first intensity threshold.

[0021] In some embodiments, in response to the electronic device being in the screen-off mode and the ambient light intensity being less than a second intensity threshold, setting the brightness of the display screen to a value less than a preset first screen brightness threshold includes:

[0022] In response to the electronic device being in the screen off mode and the duration for which the ambient light intensity is less than the second intensity threshold is greater than a preset duration threshold, the brightness of the display screen is set to a value less than the preset first screen brightness threshold.

[0023] In some embodiments, the method further comprises:

[0024] In response to the electronic device being in the screen-off mode and the ambient light intensity being less than or equal to the first intensity threshold, determining a scene mode of the electronic device;

[0025] The brightness of the display screen of the electronic device is adjusted according to the scene mode of the electronic device.

[0026] In some embodiments, adjusting the brightness of the display screen of the electronic device according to the scene of the electronic device includes:

[0027] If the electronic device is in pocket mode or night mode, the brightness of the display screen is set to a value less than a preset second screen brightness threshold.

[0028] In some embodiments, the method further comprises:

[0029] In response to detecting a screen lock instruction, the electronic device is controlled to be in the screen off mode, wherein the display screen of the electronic device is partially displayed in the screen off mode.

[0030] According to a second aspect of an embodiment of the present disclosure, a display brightness adjustment device is provided, the device comprising:

[0031] A collection module is used to obtain the ambient light intensity;

[0032] The first adjustment module is used to adjust the brightness of the display screen of the electronic device according to the intensity of the ambient light in response to the electronic device being in a screen-off mode and the ambient light intensity being greater than a first intensity threshold.

[0033] In some embodiments, the first adjustment module is further used to determine the ambient light brightness corresponding to the ambient light intensity according to a preset first mapping relationship in response to the electronic device being in the screen-off mode and the ambient light intensity being greater than the first intensity threshold; wherein the first preset mapping relationship includes a mapping between ambient light intensity and ambient light brightness;

[0034] The brightness of the display screen of the electronic device is determined according to the ambient light brightness.

[0035] In some embodiments, the first adjustment module is further configured to determine the brightness of the display screen of the electronic device according to the ambient light brightness if the ambient light brightness is between a first ambient light brightness threshold and a second ambient light brightness threshold;

[0036] If the ambient light brightness is not between the first ambient light brightness threshold and the second ambient light brightness threshold, the brightness of the display screen of the electronic device is determined according to the first ambient light brightness threshold or the second ambient light brightness threshold.

[0037] In some embodiments, the first adjustment module is also used to determine the brightness of the display screen of the electronic device according to a preset second mapping relationship and the ambient light brightness if the ambient light brightness is between the first ambient light brightness threshold and the second ambient light brightness threshold; wherein the preset second mapping relationship includes a mapping between ambient light brightness and display screen brightness.

[0038] In some embodiments, the first adjustment module is further configured to determine the first ambient light brightness threshold as the brightness of the display screen of the electronic device if the ambient light brightness is less than the first ambient light brightness threshold;

[0039] If the ambient light brightness is greater than the second ambient light brightness threshold, the second ambient light brightness threshold is determined as the brightness of the display screen of the electronic device.

[0040] In some embodiments, the device also includes a second adjustment module for setting the brightness of the display screen to a value less than a preset first screen brightness threshold in response to the electronic device being in the screen off mode and the ambient light intensity being less than a second intensity threshold; wherein the second intensity threshold is less than the first intensity threshold.

[0041] In some embodiments, the second adjustment module is also used to set the brightness of the display screen to a value less than the preset first screen brightness threshold in response to the electronic device being in the screen off mode and the duration for which the ambient light intensity is less than the second intensity threshold is greater than a preset duration threshold.

[0042] In some embodiments, the apparatus further includes a third adjustment module, configured to determine a scene mode of the electronic device in response to the electronic device being in the screen-off mode and the ambient light intensity being less than or equal to the first intensity threshold;

[0043] According to the scene mode of the electronic device, the brightness of the display screen of the electronic device is adjusted. In some embodiments, the third adjustment module is also used to set the brightness of the display screen to a value less than a preset second screen brightness threshold if the electronic device is in pocket mode or night mode.

[0044] In some embodiments, the device further includes a control module for controlling the electronic device to be in the screen off mode in response to detecting a screen lock instruction, wherein the display screen of the electronic device is partially displayed in the screen off mode.

[0045] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0046] processor;

[0047] a memory for storing processor-executable instructions;

[0048] Wherein, the processor is configured to execute the display brightness adjustment method as described in the first aspect above.

[0049] According to a fourth aspect of an embodiment of the present disclosure, there is provided a storage medium, including:

[0050] When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the display brightness adjustment method as described in the first aspect above.

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

[0052] In an embodiment of the present disclosure, when the electronic device is in the screen-off mode and the ambient light intensity is greater than a first intensity threshold, the display screen no longer uses a fixed high-brightness for display, but automatically adjusts the brightness of the display screen according to the intensity of the ambient light. On the one hand, the display screen of the electronic device does not need to be fixed in the high-brightness mode for display, which reduces the power consumption of the electronic device when maintaining the high-brightness mode and improves the standby time of the electronic device. On the other hand, when the electronic device is in the screen-off mode, the brightness of each illuminated pixel on the display screen will also change with the ambient light intensity, rather than continuously working in the high-brightness mode, which reduces the occurrence of display screen burn-in and extends the service life of the electronic device. On another hand, the electronic device uses the ambient light intensity as a reference for the display screen brightness, which is beneficial for users to use the electronic device with a better display screen brightness in their environment. It is highly intelligent and improves the user experience.

[0053] 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 present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] 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.

[0055] Figure 1 It is a flow chart of a display brightness adjustment method shown in an embodiment of the present disclosure.

[0056] Figure 2 It is a schematic diagram of a display brightness adjustment method shown in an embodiment of the present disclosure.

[0057] Figure 3 This is an example flow chart of a display brightness adjustment method shown in an embodiment of the present disclosure.

[0058] Figure 4 The figure is a diagram of a display brightness adjustment device according to an exemplary embodiment.

[0059] Figure 5 The invention is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0060] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0061] Electronic devices include display screens, and commonly used display screens include liquid crystal display (LCD), organic light-emitting diode display (OLED), etc. It should be noted that LCD needs to be illuminated by a backlight panel to display. Its principle is based on white light passing through a color filter to produce different colors, and the light transmission rate of each pixel is controlled by current, thereby controlling the color of the pixel; OLED is based on the display technology that organic semiconductor materials and luminescent materials emit light under the drive of current. Each pixel of the OLED screen is an independent light source, and its brightness is controlled according to the level of current. The power supply of the light-emitting diode can be directly controlled to control the color ratio of each sub-pixel, and finally all the desired colors are mixed.

[0062] It should be noted that the screen-off mode of an electronic device can be implemented based on the Always On Display (AOD) technology, for example, by lighting up a few OLED pixels on the screen, or controlling the light-over-rate of each pixel on the LCD display to light up a few pixels. However, in the related art, the screen-off mode of an electronic device only has two display modes: high brightness and low brightness. When the ambient light intensity is high, the electronic device sets the brightness of the display to high brightness in the screen-off mode; when the ambient light intensity is low, the electronic device sets the brightness of the display to low brightness in the screen-off mode. In daily use of electronic devices, the display screen is usually kept at high brightness in the screen-off mode, which not only increases power consumption, but also easily causes the risk of screen burn-in. For example, when the display screen of an electronic device is an LCD screen, continuous highlighting of local pixels may require a larger current to make the lit pixels have a higher light rate, and because all pixels of the backlight panel need to be continuously lit, the power consumption of the electronic device is relatively large. For another example, when the display screen of an electronic device is an OLED screen, continuous highlighting will not only increase the power consumption of the electronic device, but also cause uneven use of pixels on the OLED screen due to continuous lighting of some pixels in the screen-off mode, resulting in the risk of screen burn-in and reducing the service life of the display screen.

[0063] In this regard, in an embodiment of the present disclosure, a display brightness adjustment method is provided, so that the electronic device can adaptively adjust the display brightness according to the ambient light intensity when in the screen off mode.

[0064] Figure 1 is a flow chart of a display brightness adjustment method shown in an embodiment of the present disclosure. Figure 1 As shown, the display brightness adjustment method includes the following steps:

[0065] S11, obtaining ambient light intensity;

[0066] S12. In response to the electronic device being in a screen-off mode and the ambient light intensity being greater than a first intensity threshold, adjusting the brightness of the display screen of the electronic device according to the intensity of the ambient light.

[0067] The embodiment of the present disclosure provides a display brightness adjustment method, and its execution subject can be an electronic device including a display screen, such as a user equipment (UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc.; the execution subject can also be other electronic devices. If the execution subject is other electronic devices, the other electronic devices determine the target display brightness of the display screen based on the acquired ambient light intensity and the ambient light intensity, and then send the target display brightness to the electronic device including the display screen, so that the display screen of the electronic device is displayed with the target display brightness. In some possible implementations, the display brightness adjustment method can be implemented by a processor calling a computer-readable instruction stored in a memory. The following is an example of an electronic device including a display screen as the execution subject.

[0068] In step S11, the electronic device obtains the ambient light intensity. In the disclosed embodiment, there are multiple ways for the electronic device to obtain the ambient light, which may be to obtain the ambient light intensity through the electronic device itself; or to obtain the ambient light intensity through a communicable device in the surrounding environment. For example, a light sensor is set in the electronic device to collect the ambient light intensity, and the ambient light intensity collected by the light sensor is received by registering a light-sensitive receiver; for another example, in smart home, smart office and other environments, the electronic device establishes communication with surrounding devices with ambient light intensity collection function to obtain the ambient light intensity collected by the relevant devices.

[0069] In the disclosed embodiment, the electronic device may obtain the ambient light intensity at a predetermined time interval, or may obtain the ambient light intensity upon receiving a predetermined signal. For example, the electronic device obtains the ambient light intensity every 1 second, or, for another example, obtains the ambient light intensity upon detecting a signal of an update of light sensor data.

[0070] In step S12, in response to the electronic device being in the screen-off mode and the ambient light intensity being greater than a first intensity threshold, the brightness of the display screen of the electronic device is adjusted according to the intensity of the ambient light.

[0071] In some embodiments, the method further comprises:

[0072] In response to detecting a screen lock instruction, the electronic device is controlled to be in the screen off mode, wherein the display screen of the electronic device is partially displayed in the screen off mode.

[0073] In the embodiment of the present disclosure, in response to the electronic device detecting a lock screen instruction, the electronic device is controlled to be in a screen off mode. The lock screen instruction is an instruction generated by a lock screen event, and the lock screen event has multiple triggering modes, which may be triggered when the lock screen button of the electronic device is pressed; or when the user issues a voice such as "turn off the screen"; or when the user does not operate the electronic device for a long time.

[0074] In an embodiment of the present disclosure, when the electronic device is in the screen-off mode, the display parameters in the screen-off mode can be obtained and the display screen can be controlled to perform partial display, wherein the display parameters may include the display area and the display content. The electronic device can determine the area and content for partial display on the display screen according to the display parameters, and control the partial display of the display screen in the screen-off mode. For example, the electronic device displays the date, time, weather, notification messages and other content in the upper partial area of ​​the display screen. It should be noted that the partial display can be displayed in a partial area of ​​the display screen, or it can be displayed at a reduced display resolution, which is not limited in the embodiment of the present disclosure.

[0075] In the embodiment of the present disclosure, in the screen-off mode, if the electronic device determines that the ambient light intensity is greater than the first intensity threshold, the brightness of the display screen of the electronic device is adjusted according to the intensity of the ambient light, so that when the ambient light is large, the brightness of the display screen is adapted to the intensity of the ambient light. The first intensity threshold represents the ambient light intensity threshold, for example, the first intensity threshold can be set to 30 lux.

[0076] In the embodiments of the present disclosure, the electronic device can determine the corresponding ambient light brightness according to the ambient light intensity, and determine and adjust the brightness of the display screen suitable for the electronic device under the current ambient light brightness by combining the mapping relationship between the ambient light brightness and the display screen brightness in the screen-off mode; or directly determine and adjust the brightness of the display screen suitable for the electronic device under the current ambient light intensity by establishing a mapping relationship between the ambient light intensity and the display screen brightness in the screen-off mode. The establishment of the above mapping relationship can be obtained in an experimental environment based on the user's perception. In the implementation of the present disclosure, when the electronic device adjusts the brightness of the display screen of the electronic device according to the intensity of the ambient light, for example, the number of pixels that are lit can be adjusted, and the driving current or voltage corresponding to the pixels can also be adjusted, and the embodiments of the present disclosure do not limit this.

[0077] It should be noted that the brightness of the display screen of the electronic device needs to be adapted to the ambient light in order to improve the comfort of the user when viewing the display screen of the electronic device and reduce dizziness, unclear vision, etc. caused by brightness mismatch.

[0078] In some embodiments, the electronic device can adjust the brightness of the display screen according to the ambient light intensity in the screen off mode. When the ambient light intensity is high, the brightness of the display screen can be increased; when the ambient light intensity is low, the brightness of the display screen can be decreased.

[0079] In other embodiments, in order to balance the brightness of the display screen and the power consumption of the display screen, the electronic device may also adjust the number of pixels that are lit in the screen-off mode to only display content that changes frequently. For example, in the screen-off mode, only content that changes frequently, such as time information and notification events, is displayed, and content that changes less frequently, such as weather and date, is not displayed.

[0080] In the related art, when the electronic device is in the screen-off display state, the default settings for the display brightness are only high brightness (for example, 60 nits) and low brightness (for example, 5nit). For example, when the mobile phone detects that the ambient light intensity is between 0 and 30 lux, the display brightness is set to low brightness mode in the screen-off display state, so that the display brightness remains at 5nit; and when the ambient light intensity is higher than 30lux, the display brightness is set to high brightness mode in the screen-off display state, so that the display brightness remains at 60nit. In daily use, the ambient light intensity around the electronic device is usually greater than 30lux, so the display of the electronic device is mostly kept in high brightness mode in the screen-off display state. On the one hand, the continuous high brightness display of the display will increase the power consumption of the electronic device; on the other hand, some pixels are lit for a long time in the screen-off display state, which can easily lead to uneven display brightness for a long time, and may even cause the risk of screen burn-in in severe cases.

[0081] In this regard, in the embodiments of the present disclosure, when the electronic device is in the screen-off mode and the ambient light intensity is greater than the first intensity threshold, the display screen no longer uses a fixed high-brightness for display, but automatically adjusts the brightness of the display screen according to the intensity of the ambient light. On the one hand, the display screen of the electronic device does not need to be fixed in the high-brightness mode for display, which reduces the power consumption of the electronic device when maintaining the high-brightness mode and increases the standby time of the electronic device. On the other hand, when the electronic device is in the screen-off mode, the brightness of each illuminated pixel on the display screen will also change with the ambient light intensity, rather than continuously operating in the high-brightness mode, thereby reducing the occurrence of display screen burn-in and extending the service life of the electronic device. On a further hand, the electronic device uses the ambient light intensity as a reference for the display screen brightness, which is beneficial for users to use the electronic device with a better display screen brightness in their environment. It is highly intelligent and improves the user experience.

[0082] In some embodiments, in response to the electronic device being in a screen-off mode and the ambient light intensity being greater than a first intensity threshold, adjusting the brightness of the display screen of the electronic device according to the intensity of the ambient light includes:

[0083] In response to the electronic device being in the screen-off mode and the ambient light intensity being greater than the first intensity threshold, determining the ambient light brightness corresponding to the ambient light intensity according to a preset first mapping relationship; wherein the first preset mapping relationship includes a mapping between ambient light intensity and ambient light brightness;

[0084] The brightness of the display screen of the electronic device is determined according to the ambient light brightness.

[0085] In the disclosed embodiment, when the electronic device is in the screen-off mode and the ambient light intensity is greater than the first intensity threshold, the ambient light brightness corresponding to the ambient light intensity is determined according to the preset first mapping relationship. The first mapping relationship represents the correspondence between the ambient light intensity and the ambient light brightness, and can usually be set as a lux-nit mapping curve. It should be noted that a light sensor is usually provided in the electronic device, and the correspondence between the ambient light intensity and the ambient light brightness can be determined based on information such as the brand or model of the light sensor, and the preset first mapping relationship is established based on this.

[0086] In the embodiments of the present disclosure, there are multiple ways for the electronic device to determine the brightness of the display screen of the electronic device based on the ambient light brightness. An ambient light brightness range may be preset. If the ambient light brightness of the electronic device falls within the ambient light brightness range, a display screen brightness that matches the current ambient light brightness is calculated based on a mapping relationship between the ambient light brightness and the display screen brightness, and the calculated brightness value is used as the brightness of the display screen of the electronic device. Alternatively, multiple ambient light brightness ranges and display screen brightness values ​​corresponding to each ambient light brightness range may be preset. If the ambient light brightness of the electronic device falls within any of the ambient light brightness ranges, the display screen brightness value corresponding to the ambient light brightness range is used as the brightness of the display screen of the electronic device.

[0087] It should be noted that ambient light intensity refers to the luminous flux of visible light received per unit area, which is used to characterize the intensity of light; ambient light brightness refers to the ratio of the light intensity in this direction to the ambient light area "seen" by the human eye when the human eye observes the ambient light from one direction. It can be seen that the ambient light brightness is a value based on the human eye's perception angle. Therefore, in the disclosed embodiment, the electronic device determines the corresponding ambient light brightness based on the ambient light intensity, converts the ambient light intensity into the ambient light brightness when the human eye observes the ambient light, and then determines the display brightness based on the ambient light brightness, so that the brightness of the display determined based on the human eye's perception is more in line with the user's perception needs and has better intelligence.

[0088] In some embodiments, determining the brightness of the display screen of the electronic device according to the ambient light brightness includes:

[0089] If the ambient light brightness is between a first ambient light brightness threshold and a second ambient light brightness threshold, determining the brightness of the display screen of the electronic device according to the ambient light brightness;

[0090] If the ambient light brightness is not between the first ambient light brightness threshold and the second ambient light brightness threshold, the brightness of the display screen of the electronic device is determined according to the first ambient light brightness threshold or the second ambient light brightness threshold.

[0091] In the embodiment of the present disclosure, the first ambient light brightness threshold and the second ambient light brightness threshold are used to determine the ambient light brightness range in which the brightness of the electronic device display screen can be adjusted. Among them, the first ambient light brightness threshold can be set to 5nit, and the second ambient light brightness threshold can be set to 60nit. For example, if the ambient light brightness of the electronic device is between 5 and 60nit, the brightness of the display screen can be adjusted according to the ambient light brightness. Among them, the first ambient light brightness threshold can be the low brightness value of the display screen in the screen off mode in the related technology when the ambient light brightness is low, and the second ambient light brightness threshold can be the high brightness value of the display screen in the screen off mode in the related technology when the ambient light brightness is high.

[0092] It should be noted that when the ambient light is very low, it is probably night time, and the user's need to look at the phone is low, so the default low brightness display can be used to reduce power consumption; when the ambient light is very high, in theory the brighter the display screen is, the better, but too high a brightness will result in excessive power consumption and may even damage the display screen, so the default high brightness display can be used. When the ambient light is moderate, it means it is not night time, and the user's need to look at the phone is relatively high, and the ambient light is not very high, so it is suitable to adjust the display screen brightness while taking power consumption into consideration.

[0093] Therefore, in the embodiment of the present disclosure, when the ambient light brightness of the electronic device is not between the first ambient light brightness threshold and the second ambient light brightness threshold, the brightness of the display screen is determined directly according to the first ambient light brightness threshold or the second ambient light brightness threshold; and when the ambient light brightness is between the first ambient light brightness threshold and the second ambient light brightness threshold, the brightness of the display screen is adjusted according to the ambient light brightness of the electronic device so as to provide the user with a more comfortable display viewing experience.

[0094] In an embodiment of the present disclosure, if the ambient light brightness of the electronic device is between a first ambient light brightness threshold and a second ambient light brightness threshold, the electronic device can calculate the brightness of a display screen that is adapted to the current ambient light brightness based on the ambient light brightness; the ambient light brightness can also be divided into multiple levels, with a corresponding display screen brightness value set for each ambient light brightness level, and the corresponding ambient light brightness level is determined based on the current ambient light brightness, thereby determining the display screen brightness value.

[0095] It can be understood that in the embodiments of the present disclosure, the electronic device adopts different display brightness adjustment methods according to the relationship between the ambient light brightness and the first ambient light brightness threshold and the second ambient light brightness threshold, which can take into account the power consumption of the electronic device and the user's perception and has good intelligence.

[0096] In some embodiments, if the ambient light brightness is between a first ambient light brightness threshold and a second ambient light brightness threshold, determining the brightness of the display screen of the electronic device according to the ambient light brightness includes:

[0097] If the ambient light brightness is between the first ambient light brightness threshold and the second ambient light brightness threshold, the brightness of the display screen of the electronic device is determined according to a preset second mapping relationship and the ambient light brightness; wherein the preset second mapping relationship includes a mapping between ambient light brightness and display screen brightness.

[0098] In the embodiment of the present disclosure, if the ambient light brightness of the electronic device is between the first ambient light brightness threshold and the second ambient light brightness threshold, the brightness of the display screen of the electronic device is determined according to the preset second mapping relationship and the ambient light brightness. The second mapping relationship represents the corresponding relationship between the ambient light brightness and the display screen brightness, and can usually be set as a nit-backlight value mapping curve. At present, each display screen manufacturer will provide an adapted nit-backlight value mapping curve according to the model of the display screen.

[0099] For example, the nits-backlight value mapping curve of a certain display screen used in mobile phones is expressed in the form of a brightness spline curve as {[(2.0, 8.54597E-4, 0.0010021755), (500.0, 0.499938, 7.143743E-4), (1200.0, 1.0)]}. The nits-backlight value mapping curve is divided into two ambient light brightness intervals, namely [2.0, 500), (500, 1200], both in nit; 0.0010021755 and 7.143743E-4 represent the corresponding curve slopes in the two intervals; 8.54597E-4 and 0.499938 represent the constant values ​​on the y-axis of the curve in the two intervals.

[0100] For example, assuming that the ambient light intensity is 4000 and the corresponding ambient light brightness value is 410 nit, and the ambient light brightness hits the interval [2.0, 500), then the backlight value of the display screen = 8.54597E-4 + 0.0010021755 * (410 - 2.0) = 0.4107443765. If the backlight value of the display screen is set to 0.4107443765, the electronic device can obtain a better display effect under the current ambient light intensity.

[0101] In the disclosed embodiment, the electronic device determines the brightness of the display screen of the electronic device according to the preset second mapping relationship and the ambient light brightness, thereby improving the accuracy of the brightness calculation of the display screen and facilitating improving the compatibility of the display screen with the ambient light intensity and the display effect.

[0102] In some embodiments, if the ambient light brightness is not between the first ambient light brightness threshold and the second ambient light brightness threshold, determining the brightness of the display screen of the electronic device according to the first ambient light brightness threshold or the second ambient light brightness threshold includes:

[0103] If the ambient light brightness is less than the first ambient light brightness threshold, determining the brightness of the display screen of the electronic device according to the first ambient light brightness threshold;

[0104] If the ambient light brightness is greater than the second ambient light brightness threshold, the brightness of the display screen of the electronic device is determined according to the second ambient light brightness threshold.

[0105] As mentioned above, when the ambient light brightness is very low, it is likely that it is night time, and the user's need to look at the phone is low, so the default low brightness display can be used to reduce power consumption; when the ambient light brightness is very high, in theory, the brighter the display screen is, the better, but too high a brightness will result in excessive power consumption and may even damage the display screen, so the default high brightness display can be used. In this regard, in the disclosed embodiment, when the ambient light brightness is less than the first ambient light brightness threshold, the first ambient light brightness threshold is determined as the brightness of the display screen of the electronic device, and when the ambient light brightness is greater than the second ambient light brightness threshold, the second ambient light brightness threshold is determined as the brightness of the display screen of the electronic device, which can take into account both the display effect and power consumption of the display screen and is intelligent.

[0106] In some embodiments, the method further comprises:

[0107] In response to the electronic device being in the screen-off mode and the ambient light intensity being less than a second intensity threshold, the brightness of the display screen is set to a value less than a preset first screen brightness threshold; wherein the second intensity threshold is less than the first intensity threshold.

[0108] In the disclosed embodiment, the second intensity threshold is smaller than the first intensity threshold, and the second intensity threshold represents the ambient light intensity threshold. When the ambient light intensity is smaller than the second intensity threshold, the electronic device has a low demand for adjusting the display brightness. Normally, the second intensity threshold can be set to 3lux.

[0109] In an embodiment of the present disclosure, when the electronic device is in the screen-off mode and the ambient light intensity is less than a second intensity threshold, indicating that the electronic device is in a dark light environment, the brightness of the display screen can be set to a value less than a preset first screen brightness threshold, wherein the preset first screen brightness threshold can be a display screen brightness boundary value in a dark light environment, such as 2nit.

[0110] It should be noted that in daily use, electronic devices may be in a dark environment. In this case, it is usually unnecessary to frequently adjust the brightness of the display screen of the electronic device. In the embodiment of the present disclosure, in a dark environment, the brightness of the display screen of the electronic device is directly set to a smaller brightness value to reduce the occurrence of glare on the display screen in a dark environment, which is conducive to achieving a better display effect in a dark environment.

[0111] In some embodiments, in response to the electronic device being in the screen-off mode and the ambient light intensity being less than a second intensity threshold, setting the brightness of the display screen to a value less than a preset first screen brightness threshold includes:

[0112] In response to the electronic device being in the screen off mode and the duration for which the ambient light intensity is less than the second intensity threshold is greater than a preset duration threshold, the brightness of the display screen is set to a value less than the preset first screen brightness threshold.

[0113] In the embodiment of the present disclosure, when the electronic device is in the screen-off mode and the duration of the ambient light intensity being less than the second intensity threshold is greater than the preset duration threshold, the brightness of the display screen is set to a value less than the preset first screen brightness threshold. The preset duration threshold may generally be 1 minute or 5 minutes, etc. When the electronic device is in an ambient light intensity of 3 lux for more than 1 minute or 5 minutes, it indicates that the electronic device has been in a dark light environment for a long time.

[0114] It should be noted that when an electronic device is in use, the ambient light intensity may temporarily be less than the second intensity threshold, for example due to a palm sweeping across the display screen, resulting in a sudden occlusion event. In fact, the electronic device is in normal ambient light (not in a dark environment). If the display screen brightness is set to a lower level in this case, the user may not be able to see the screen clearly due to the display screen brightness being too low.

[0115] In the disclosed embodiment, when the duration when the ambient light intensity of the electronic device is less than the second intensity threshold exceeds the preset duration threshold, it is determined that the electronic device is in a dark light environment, thereby reducing the occurrence of misjudgment of the ambient light intensity, facilitating accurate determination of the display brightness, and improving the display effect of the display.

[0116] In some embodiments, the method further comprises:

[0117] In response to the electronic device being in the screen-off mode and the ambient light intensity being less than or equal to the first intensity threshold, determining a scene mode of the electronic device;

[0118] The brightness of the display screen of the electronic device is adjusted according to the scene mode of the electronic device.

[0119] In the embodiment of the present disclosure, when the ambient light intensity is less than or equal to the first intensity threshold, it indicates that the electronic device is in a darker environment. In this case, the scene mode of the electronic device can be further determined, and the brightness of the display screen can be determined according to the scene mode of the electronic device. The scene mode of the electronic device can include pocket mode, night mode, power saving mode, etc. For example, when the electronic device is in pocket mode, the brightness of the display screen is set to 0nit; when the electronic device is in power saving mode, the brightness of the display screen is set to 2nit.

[0120] In an embodiment of the present disclosure, a method for adjusting the brightness of a display screen according to a scene mode of an electronic device is provided, which has good intelligence.

[0121] In some embodiments, adjusting the brightness of the display screen of the electronic device according to the scene of the electronic device includes:

[0122] If the electronic device is in pocket mode or night mode, the brightness of the display screen is set to a value less than a preset second screen brightness threshold.

[0123] In the embodiment of the present disclosure, when the electronic device is in pocket mode or night mode, the use demand of the electronic device is small, so the brightness of the display screen can be directly set to a value less than the preset second screen brightness threshold, for example, 0 nit. In the embodiment of the present disclosure, the pocket mode or night mode can be determined in the above manner, or in other manners, which is not limited in the embodiment of the present disclosure.

[0124] In the embodiments of the present disclosure, when the electronic device is in pocket mode or night mode, it usually indicates that the demand for use of the electronic device is low. In such cases, setting the display brightness of the electronic device to a value less than a preset second screen brightness threshold is beneficial to further reduce the energy consumption of the electronic device.

[0125] In addition, in the disclosed embodiments, when the ambient light intensity is acquired during the process of dimming the display screen in the screen-off mode of the electronic device, the light-sensing receiver that has been registered in the low-brightness mode can be directly reused in the screen-off mode, or a light-sensing receiver can be independently registered in the screen-off mode. It should be noted that the method of reusing the registered light-sensing receiver in the screen-off mode does not require additional registration of light sensors, which is conducive to reducing the power consumption of the electronic device; and the method of independently registering the light-sensing receiver in the screen-off mode is conducive to reducing the complexity of the adaptation logic with the normally-on strategy of the light sensor caused by the shared light-sensing receiver for the screen-off display dimming and the bright screen display dimming, which reduces the development difficulty and adaptation risk and simplifies the code.

[0126] Figure 2 is a schematic diagram of a display brightness adjustment method shown in an embodiment of the present disclosure, such as Figure 2 As shown, the light sensor is used to sense changes in ambient light around the electronic device, collect ambient light intensity data and update it. When the electronic device is in the screen-off display state, the electronic device registers a light-sensing receiver (ambient light-sensing buffer). When the light-sensing receiver receives the notification of data update in the light sensor, it obtains the updated ambient light intensity data, and calculates the ambient light brightness corresponding to the current ambient light intensity based on the light intensity-brightness (lux-nit) mapping curve, and then calculates the backlight value of the display screen corresponding to the current ambient light brightness based on the brightness-backlight value mapping curve, and notifies the display module to update the backlight value for display.

[0127] The following description will be made by taking a mobile phone with an OLED display as an example. Figure 3is a flow chart of a display brightness adjustment method shown in an embodiment of the present disclosure. Figure 3 As shown, the display brightness adjustment method is as follows:

[0128] S301, the program starts.

[0129] In this embodiment, the mobile phone supports the screen-off display function, and the mobile phone can execute the display brightness adjustment method in the screen-off mode.

[0130] S302, entering the screen-off display process.

[0131] In this embodiment, the mobile phone enters the screen-off display process when it detects that it is in the screen-off mode. When the mobile phone detects a lock screen command, it can be determined that the mobile phone has entered the screen-off mode. The lock screen command can be a lock screen command triggered by the user pressing the power button of the mobile phone, or an automatic lock screen command triggered by the mobile phone detecting that the user has not operated for a long time.

[0132] S303, register the light sensor receiver and monitor the light sensor's normally open data update.

[0133] In this embodiment, when the mobile phone is in the screen-off mode, the light-sensing receiver is registered, and the light-sensing receiver is used to monitor whether the data of the light sensor is updated. The light sensor is arranged inside the mobile phone, and is used to detect the ambient light around the mobile phone, and can collect ambient light intensity data.

[0134] S304, the light sensor is always on and the data is updated to obtain the corresponding light sensing data.

[0135] In this embodiment, when the ambient light intensity data in the light sensor of the mobile phone is updated, the update notification value will be reported to the light-sensitive receiver. When the light-sensitive receiver receives the update notification, it obtains the ambient light intensity data in the light sensor and saves it, which corresponds to the acquisition of ambient light intensity in the embodiment of the present disclosure.

[0136] S305, determine whether the light intensity data is greater than 30 lux, if so, execute step S306; if not, execute step S315.

[0137] In this embodiment, based on the ambient light intensity obtained by the mobile phone, it is determined whether the current ambient light intensity data is greater than 30 lux. If the ambient light intensity data is greater than 30 lux, the display backlight value is determined according to the ambient light intensity; if the ambient light intensity data is less than or equal to 30 lux, the display brightness is set to 5 nits.

[0138] S306: Calculate the brightness value corresponding to the light intensity data according to the light intensity-brightness mapping curve.

[0139] In this embodiment, the mobile phone calculates the ambient light brightness value corresponding to the current ambient light intensity based on the current ambient light intensity and the light intensity-brightness mapping curve. That is, in the embodiment of the present disclosure, the ambient light brightness corresponding to the ambient light intensity is determined according to the preset first mapping relationship.

[0140] S307, determining the interval to which the calculated brightness belongs.

[0141] In this embodiment, the ambient light brightness is divided into three intervals, namely a high brightness interval greater than 60 nits, a low brightness interval less than 5 nits, and an adjustable brightness interval between 5 and 60.

[0142] S308 , whether the calculated brightness value is greater than 60 nits, if so, execute step S309 ; if not, execute step S310 .

[0143] In this embodiment, if the ambient light intensity of the mobile phone is greater than 60 nits, the brightness of the display screen can be set to 60 nits in high brightness mode; otherwise, continue to execute S310 to further determine the range to which the ambient light brightness belongs.

[0144] S309. Keep the screen brightness at 60 nits.

[0145] In this embodiment, when the ambient light brightness is greater than 60 nits, the mobile phone continuously sets the display brightness to a high brightness value of 60 nits.

[0146] S310, whether the calculated brightness value is less than 5 nits, if so, execute step S311; if not, execute step S312.

[0147] In this embodiment, if the ambient light intensity of the mobile phone is less than 5 nits, the brightness of the display screen can be set to 5 nits in low brightness mode; otherwise, the brightness interval of the ambient light intensity of the mobile phone is an adjustable brightness interval of 5 to 60.

[0148] S311. Keep the screen brightness at 5 nits.

[0149] In this embodiment, when the ambient light brightness is less than 5 nits, the mobile phone continuously sets the display brightness to a low brightness value of 5 nits.

[0150] S312: Apply the calculated brightness value.

[0151] In this embodiment, the brightness range of the ambient light of the mobile phone belongs to an adjustable brightness range between 5 and 60, and the brightness of the display screen is determined according to the brightness value of the ambient light.

[0152] S313: Calculate the backlight value according to the brightness-backlight value mapping curve.

[0153] In this embodiment, the mobile phone can calculate the display screen backlight value based on the adaptive brightness-backlight value mapping curve provided by each display screen manufacturer, according to the mapping curve and the ambient light brightness. That is, in the embodiment of the present disclosure, the brightness of the display screen of the electronic device is determined based on the preset second mapping relationship and the ambient light brightness.

[0154] S314: Notify the display module to update the backlight value.

[0155] In this embodiment, after the mobile phone calculates the display screen backlight value adapted to the current ambient light, it notifies the display module to update the backlight value, so as to achieve the effect of automatic adjustment of the screen brightness.

[0156] S315. Keep the screen brightness at 5 nits.

[0157] In this embodiment, when the ambient light intensity of the mobile phone is less than or equal to 30 nits, it usually indicates that the mobile phone is in a dim environment, and the brightness of the mobile phone display can be set to the default low-brightness mode of 5 nits.

[0158] S316: Determine whether the "night mode" or "pocket mode" condition is met. If so, execute step S317; if not, execute step S304.

[0159] In this embodiment, when the brightness of the environment in which the mobile phone is located is low, the mobile phone may be in a usage scenario where display is not required. By further judging whether the mobile phone is in "night mode" or "pocket mode", it is determined whether the display screen is displayed. Among them, when the distance sensor of the mobile phone reports an approach event and the ambient light is lower than 3lux, it is judged as screen blocking, and when this scene lasts for more than one minute, it is judged as pocket mode; when the distance sensor of the mobile phone reports a distance event and the ambient light is lower than 3lux, it is judged that the mobile phone is in a dark light environment at this time, and when this scene lasts for more than ten minutes, it is judged as night mode.

[0160] S317. Enter “night mode” or “pocket mode”.

[0161] In this embodiment, when the mobile phone enters "night mode" or "pocket mode", the screen display can be turned off, that is, the mobile phone screen is directly turned off without displaying.

[0162] S318, the program ends.

[0163] In this embodiment, when the mobile phone determines the backlight value of the display screen or the mobile phone is not in the screen-off mode, the program ends.

[0164] In the related technologies, on the one hand, the brightness schemes for the mobile phone screen-off display only have high brightness and low brightness, and it is impossible to adjust the brightness flexibly according to the ambient light, which easily causes the brightness to be too high in a dark environment, or too dim in a bright environment, resulting in a poor user experience; on the other hand, in the daily use scenarios of mobile phones, the ambient light intensity is usually greater than 30lux, so the screen is usually kept in high brightness mode when the screen is off. For some scenarios where the ambient light intensity is low but still meets the conditions of low brightness mode, the screen is too bright, which not only brings a worse user experience, but also increases the power consumption of the device; on the other hand, the screen-off display technology is based on the OLED screen light-emitting principle. By lighting up a few pixels of the OLED screen, the effect of only displaying simple information such as time and date when the screen is off is achieved. Due to this feature, if the pixels of the OLED screen are kept at the same brightness for a long time, it is easy to cause uneven use of the pixels of the OLED screen, resulting in the risk of screen burn-in.

[0165] In the disclosed embodiments, on the one hand, automatic dimming logic is connected when the mobile phone is in the screen-off display state, and the current ambient light intensity is used as the basis for dimming the screen-off display, which conforms to the user's usage habits and improves the user experience; on the other hand, automatic dimming is used to replace the original high-brightness and low-brightness modes when the mobile phone is in the screen-off display state, which enhances the user experience while also reducing the power consumption of the device; on yet another hand, automatic dimming logic is connected when the mobile phone is in the screen-off display state, which can make the brightness more uniform when the screen is off, reduce the risk of screen burn-in, and extend the service life of the mobile phone.

[0166] Figure 4 FIG. 1 is a diagram showing a display brightness adjustment device according to an exemplary embodiment. Figure 4 In an optional embodiment, the device comprises:

[0167] The acquisition module 401 is used to obtain the ambient light intensity;

[0168] The first adjustment module 402 is used to adjust the brightness of the display screen of the electronic device according to the intensity of the ambient light in response to the electronic device being in the screen-off mode and the ambient light intensity being greater than a first intensity threshold.

[0169] In some embodiments, the first adjustment module 402 is further configured to determine the ambient light brightness corresponding to the ambient light intensity according to a preset first mapping relationship in response to the electronic device being in the screen-off mode and the ambient light intensity being greater than the first intensity threshold; wherein the first preset mapping relationship includes a mapping between ambient light intensity and ambient light brightness;

[0170] The brightness of the display screen of the electronic device is determined according to the ambient light brightness.

[0171] In some embodiments, the first adjustment module 402 is further configured to determine the brightness of the display screen of the electronic device according to the ambient light brightness if the ambient light brightness is between a first ambient light brightness threshold and a second ambient light brightness threshold;

[0172] If the ambient light brightness is not between the first ambient light brightness threshold and the second ambient light brightness threshold, the brightness of the display screen of the electronic device is determined according to the first ambient light brightness threshold or the second ambient light brightness threshold.

[0173] In some embodiments, the first adjustment module 402 is also used to determine the brightness of the display screen of the electronic device according to a preset second mapping relationship and the ambient light brightness if the ambient light brightness is between the first ambient light brightness threshold and the second ambient light brightness threshold; wherein the preset second mapping relationship includes a mapping between ambient light brightness and display screen brightness.

[0174] In some embodiments, the first adjustment module 402 is further configured to determine the first ambient light brightness threshold as the brightness of the display screen of the electronic device if the ambient light brightness is less than the first ambient light brightness threshold;

[0175] If the ambient light brightness is greater than the second ambient light brightness threshold, the second ambient light brightness threshold is determined as the brightness of the display screen of the electronic device.

[0176] In some embodiments, the device also includes a second adjustment module for setting the brightness of the display screen to a value less than a preset first screen brightness threshold in response to the electronic device being in the screen off mode and the ambient light intensity being less than a second intensity threshold; wherein the second intensity threshold is less than the first intensity threshold.

[0177] In some embodiments, the second adjustment module is also used to set the brightness of the display screen to a value less than the preset first screen brightness threshold in response to the electronic device being in the screen off mode and the duration for which the ambient light intensity is less than the second intensity threshold is greater than a preset duration threshold.

[0178] In some embodiments, the apparatus further includes a third adjustment module, configured to determine a scene mode of the electronic device in response to the electronic device being in the screen-off mode and the ambient light intensity being less than or equal to the first intensity threshold;

[0179] The brightness of the display screen of the electronic device is adjusted according to the scene mode of the electronic device.

[0180] In some embodiments, the third adjustment module is further used to set the brightness of the display screen to a value less than a preset second screen brightness threshold if the electronic device is in pocket mode or night mode.

[0181] In some embodiments, the device further includes a control module for controlling the electronic device to be in the screen off mode in response to detecting a screen lock instruction, wherein the display screen of the electronic device is partially displayed in the screen off mode.

[0182] Figure 5 800 is a block diagram of an electronic device according to an exemplary embodiment. For example, the device 800 may be a mobile phone, a mobile computer, etc.

[0183] Reference Figure 5 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0184] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0185] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0186] The power component 806 provides power to the various components of the device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.

[0187] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0188] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0189] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0190] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0191] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as Wi-Fi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0192] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.

[0193] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0194] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform a display brightness adjustment method, the method comprising:

[0195] Get the ambient light intensity;

[0196] In response to the electronic device being in a screen-off mode and the ambient light intensity being greater than a first intensity threshold, the brightness of the display screen of the electronic device is adjusted according to the intensity of the ambient light.

[0197] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims above.

[0198] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A display brightness adjustment method, characterized in that: include: Get the ambient light intensity; In response to the electronic device being in a screen-off mode and the ambient light intensity being greater than a first intensity threshold, the brightness of the display screen of the electronic device is adjusted according to the intensity of the ambient light.

2. The method according to claim 1, characterized in that In response to the electronic device being in the screen-off mode and the ambient light intensity being greater than a first intensity threshold, adjusting the brightness of the display screen of the electronic device according to the intensity of the ambient light includes: In response to the electronic device being in the screen-off mode and the ambient light intensity being greater than the first intensity threshold, determining the ambient light brightness corresponding to the ambient light intensity according to a preset first mapping relationship; wherein the first preset mapping relationship includes a mapping between ambient light intensity and ambient light brightness; The brightness of the display screen of the electronic device is determined according to the ambient light brightness.

3. The method according to claim 2, characterized in that The step of determining the brightness of the display screen of the electronic device according to the ambient light brightness includes: If the ambient light brightness is between a first ambient light brightness threshold and a second ambient light brightness threshold, determining the brightness of the display screen of the electronic device according to the ambient light brightness; If the ambient light brightness is not between the first ambient light brightness threshold and the second ambient light brightness threshold, the brightness of the display screen of the electronic device is determined according to the first ambient light brightness threshold or the second ambient light brightness threshold.

4. The method according to claim 3, characterized in that If the ambient light brightness is between a first ambient light brightness threshold and a second ambient light brightness threshold, determining the brightness of the display screen of the electronic device according to the ambient light brightness includes: If the ambient light brightness is between the first ambient light brightness threshold and the second ambient light brightness threshold, the brightness of the display screen of the electronic device is determined according to a preset second mapping relationship and the ambient light brightness; wherein the preset second mapping relationship includes a mapping between ambient light brightness and display screen brightness.

5. The method according to claim 3, characterized in that: If the ambient light brightness is not between the first ambient light brightness threshold and the second ambient light brightness threshold, determining the brightness of the display screen of the electronic device according to the first ambient light brightness threshold or the second ambient light brightness threshold, comprises: If the ambient light brightness is less than the first ambient light brightness threshold, determining the first ambient light brightness threshold as the brightness of the display screen of the electronic device; If the ambient light brightness is greater than the second ambient light brightness threshold, the second ambient light brightness threshold is determined as the brightness of the display screen of the electronic device.

6. The method according to claim 1, characterized in that The method further comprises: In response to the electronic device being in the screen-off mode and the ambient light intensity being less than a second intensity threshold, the brightness of the display screen is set to a value less than a preset first screen brightness threshold; wherein the second intensity threshold is less than the first intensity threshold.

7. The method according to claim 6, characterized in that In response to the electronic device being in the screen-off mode and the ambient light intensity being less than a second intensity threshold, setting the brightness of the display screen to a value less than a preset first screen brightness threshold includes: In response to the electronic device being in the screen off mode and the duration for which the ambient light intensity is less than the second intensity threshold is greater than a preset duration threshold, the brightness of the display screen is set to a value less than the preset first screen brightness threshold.

8. The method according to claim 1, characterized in that The method further comprises: In response to the electronic device being in the screen-off mode and the ambient light intensity being less than or equal to the first intensity threshold, determining a scene mode of the electronic device; The brightness of the display screen of the electronic device is adjusted according to the scene mode of the electronic device.

9. The method according to claim 8, characterized in that The step of adjusting the brightness of the display screen of the electronic device according to the scene of the electronic device includes: If the electronic device is in pocket mode or night mode, the brightness of the display screen is set to a value less than a preset second screen brightness threshold.

10. The method according to claim 1, characterized in that The method further comprises: In response to detecting a screen lock instruction, the electronic device is controlled to be in the screen off mode, wherein the display screen of the electronic device is partially displayed in the screen off mode.

11. A display brightness adjustment device, characterized in that: The device comprises: A collection module is used to obtain the ambient light intensity; The first adjustment module is used to adjust the brightness of the display screen of the electronic device according to the intensity of the ambient light in response to the electronic device being in a screen-off mode and the ambient light intensity being greater than a first intensity threshold.

12. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to execute the display brightness adjustment method as described in any one of claims 1 to 10.

13. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the display brightness adjustment method as claimed in any one of claims 1 to 10.