Screen brightness adjustment method and apparatus, and device
By setting a photosensitive sensor below the display screen of an electronic device, the display parameters and brightness acquisition values are obtained, and the backlight brightness value is determined and compensated according to the brightness interval, the problem of poor screen brightness adjustment effect is solved, and more accurate screen brightness adjustment is achieved.
Patent Information
- Application Number
- PCT/CN2025/070899
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-01-09
- Filing Date
- 2025-01-07
- Publication Date
- 2025-07-17
AI Technical Summary
The existing screen brightness adjustment scheme cannot accurately compensate for the backlight brightness value of the screen, resulting in poor screen brightness adjustment effect and cannot meet users' viewing needs.
By setting a photosensitive sensor below the display screen of the electronic device, the display parameters and brightness acquisition values are obtained, the backlight brightness value is determined according to the brightness interval, and compensation is performed to adjust the screen brightness to improve accuracy.
It improves the accuracy of the backlight brightness value, and thus improves the accuracy of the ambient light brightness value and the adjustment effect of the screen brightness, meeting the viewing needs of users.
Smart Images

Figure CN2025070899_17072025_PF_FP_ABST
Abstract
Description
Screen brightness adjustment method, device and equipment
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese patent application No. 202410036289.6 filed on January 9, 2024, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present application belongs to the field of computer technology, and specifically relates to a method, device and equipment for adjusting screen brightness. Background Art
[0004] With the development of technology, electronic devices have become indispensable in users' work and daily lives, and users' performance demands for electronic devices are increasing. To meet these needs, a variety of sensors are being incorporated into electronic devices. Take light sensors, for example. Light sensors can detect the brightness of ambient light and then adaptively adjust the screen brightness based on the ambient light, providing users with a more comfortable visual experience.
[0005] Currently, most light sensors are located inside electronic devices, close to the screen. Therefore, the light they receive includes not only ambient light but also the screen backlight. Therefore, when adjusting the screen brightness, it is necessary to compensate for the screen backlight brightness.
[0006] The current screen brightness adjustment solution cannot accurately compensate for the screen backlight brightness value, and thus cannot accurately determine the brightness value of the ambient light, resulting in poor screen brightness adjustment effect and failure to meet user viewing needs. Summary of the Invention
[0007] The purpose of the embodiments of the present application is to provide a method, device and equipment for adjusting screen brightness, which can solve the problem in the related art that the backlight brightness value of the screen cannot be accurately compensated, resulting in poor adjustment effect of the screen brightness and failure to meet the user's viewing needs.
[0008] In a first aspect, an embodiment of the present application provides a method for adjusting screen brightness. The method is applied to an electronic device including a photosensor, where the photosensor is disposed below a display screen of the electronic device. The method includes:
[0009] Acquire display parameters of the display screen and a first brightness acquisition value of the photosensor, where the first brightness acquisition value is associated with the display parameters;
[0010] Determining a first backlight brightness value of the display screen in the first brightness interval according to a first brightness interval to which the first screen brightness value in the display parameter belongs;
[0011] Compensating the first backlight brightness value according to the display parameters and a second screen brightness value corresponding to the first backlight brightness value to obtain a second backlight brightness value of the display screen under the display parameters;
[0012] The brightness of the display screen is adjusted according to the first brightness collection value and the second backlight brightness value.
[0013] In a second aspect, an embodiment of the present application provides an electronic device including a photosensor, where the photosensor is disposed below a display screen of the electronic device, the device comprising:
[0014] An acquisition module, configured to acquire display parameters of the display screen and a first brightness acquisition value of the photosensor, wherein the first brightness acquisition value is associated with the display parameters;
[0015] A determination module, configured to determine a first backlight brightness value of the display screen in the first brightness interval according to a first brightness interval to which the first screen brightness value in the display parameter belongs;
[0016] a compensation module, configured to compensate the first backlight brightness value according to the display parameters and a second screen brightness value corresponding to the first backlight brightness value, to obtain a second backlight brightness value of the display screen under the display parameters;
[0017] The adjustment module is used to adjust the brightness of the display screen according to the first brightness collection value and the second backlight brightness value.
[0018] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0019] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0020] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the method described in the first aspect.
[0021] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the method described in the first aspect.
[0022] The embodiment of the present application obtains the display parameters of the display screen and the first brightness acquisition value of the photosensitive sensor; determines the first backlight brightness value of the display screen in the first brightness interval according to the first brightness interval to which the first screen brightness value in the display parameters belongs; compensates the first brightness value according to the display parameters and the first backlight brightness value to obtain the second backlight brightness value of the display screen under the display parameters; and adjusts the brightness of the display screen according to the first brightness acquisition value and the second backlight brightness value. That is, the embodiment of the present application can adaptively determine the first backlight brightness value of the display screen based on the first brightness interval to which the first screen brightness value in the display parameters of the display screen belongs, and compensates the first backlight brightness value based on the display parameters and the second screen brightness value corresponding to the first backlight brightness value, so that the backlight brightness value of the display screen can change with the change of the display parameters and the second screen brightness value, thereby improving the accuracy of the backlight brightness value, and further improving the accuracy of the ambient light brightness value and the adjustment effect of the screen brightness. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] FIG1 is a schematic diagram of a backlight brightness curve of a reference screen and backlight brightness curves of other electronic devices obtained by linearly converting the backlight brightness obtained from the reference screen;
[0024] FIG2 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
[0025] FIG3 is a flow chart of a method for adjusting screen brightness provided in an embodiment of the present application;
[0026] FIG4 is a flow chart of another method for adjusting screen brightness provided in an embodiment of the present application;
[0027] FIG5 is a schematic diagram of a backlight brightness curve of a display screen before and after calibration provided by an embodiment of the present application;
[0028] FIG6 is a schematic structural diagram of a device for adjusting screen brightness according to an embodiment of the present application;
[0029] FIG7 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;
[0030] FIG8 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0032] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.
[0033] To meet user needs, various sensors are being incorporated into electronic devices. Take light sensors, for example. They can measure ambient light intensity and then adaptively adjust the screen brightness based on the ambient light intensity, providing users with a more comfortable visual experience.
[0034] Currently, most light sensors are located inside electronic devices, close to the screen. Therefore, the light they receive includes not only ambient light but also the screen backlight. Therefore, when adjusting the screen brightness, it is necessary to compensate for the screen backlight brightness.
[0035] The current screen brightness adjustment scheme mainly determines the backlight brightness value of the display screen when the display screen brightness is maximum. Then, this backlight brightness value is linearly converted to the corresponding backlight brightness value of the electronic device at different screen brightness levels, and then the brightness value of the ambient light is obtained. The brightness of the display screen is then adjusted based on the ambient light brightness value.
[0036] However, due to the influence of the manufacturing process, the screen backlight brightness value and screen brightness are not linearly related, which means that the consistency of the screen backlight is poor. Therefore, if the backlight brightness value corresponding to the maximum screen brightness is used as the standard, and then the backlight brightness value of the electronic device at different screen brightness is converted using a linear ratio, there will be a large deviation.
[0037] As shown in Figure 1, 101 is the actual backlight brightness curve, and 102 is the backlight brightness curve at different screen brightness levels, obtained by linearly converting the backlight brightness value at maximum screen brightness. Due to the large deviation in backlight brightness values, when determining the ambient light brightness value based on the backlight brightness value, the accuracy of the ambient light brightness value is poor, thus affecting the screen brightness adjustment effect.
[0038] To this end, the embodiments of the present application provide a method, device and equipment for adjusting screen brightness, which can solve the problem in related technologies that the screen backlight brightness value cannot be accurately compensated, resulting in poor screen brightness adjustment effect and inability to meet user viewing needs.
[0039] The screen brightness adjustment method provided in the embodiment of the present application can be applied to electronic devices such as mobile phones, laptops, tablets, smart watches, etc. Figure 2 exemplarily lists a structural diagram of an electronic device. As shown in Figure 2, the electronic device 20 may include a display screen 201, a light sensor 202, a glass cover 203, a screen foam 204, a middle frame 205, a pad 206 and a circuit board (Printed Circuit Board, PCB) 207, etc., wherein the light sensor 202 is arranged on the pad 206 below the display screen 201, and the light sensor 202 is used to collect the brightness of the ambient light. In actual application, since the light sensor 202 is close to the display screen 201, the backlight brightness value of the screen will also be collected.
[0040] The embodiment of the present application is mainly used to compensate the backlight brightness value of the screen to accurately determine the brightness of the ambient light, and then accurately adjust the brightness of the display screen 201.
[0041] FIG3 is a flow chart of a method for adjusting screen brightness provided in an embodiment of the present application. As shown in FIG3 , the method for adjusting screen brightness may include the following steps:
[0042] S310: Acquire display parameters of the display screen and a first brightness acquisition value of a photosensor.
[0043] The first brightness acquisition value is associated with the display parameter.
[0044] S320 : Determine a first backlight brightness value of the display screen in the first brightness interval according to a first brightness interval to which the first screen brightness value in the display parameters belongs.
[0045] S330 : Compensate the first backlight brightness value according to the display parameter and a second screen brightness value corresponding to the first backlight brightness value to obtain a second backlight brightness value of the display screen under the display parameter.
[0046] S340: Adjust the brightness of the display screen according to the first brightness collection value and the second backlight brightness value.
[0047] The embodiment of the present application obtains the display parameters of the display screen and the first brightness acquisition value of the photosensitive sensor; determines the first backlight brightness value of the display screen in the first brightness interval according to the first brightness interval to which the first screen brightness value in the display parameters belongs; compensates the first brightness value according to the display parameters and the first backlight brightness value to obtain the second backlight brightness value of the display screen under the display parameters; adjusts the brightness of the display screen according to the first brightness acquisition value and the second backlight brightness value. That is, the embodiment of the present application can adaptively determine the first backlight brightness value of the display screen based on the first brightness interval to which the first screen brightness value in the display parameters of the display screen belongs, and compensate the first backlight brightness value based on the display parameters and the second screen brightness value corresponding to the first backlight brightness value, so that the backlight brightness value of the display screen can change with the change of the display parameters and the second screen brightness value, thereby improving the accuracy of the backlight brightness value, and further improving the accuracy of the ambient light brightness value and the adjustment effect of the screen brightness. The above steps are described in detail below, as shown below:
[0048] In S310, the display parameters of the display screen may include, but are not limited to, the color scale value (red-green-blue, RGB) of the screen and the screen brightness value. The display parameters may be display parameters at any position of the display screen, for example, the display parameters of the display screen at the position of the light sensor, or the display parameters of the display screen at a position other than the light sensor. To improve the subsequent adjustment effect of the screen brightness, the display parameters of the display screen at the position of the light sensor may be obtained, for example.
[0049] The first brightness acquisition value is a brightness value acquired by the photosensitive sensor and is associated with a display parameter, that is, the first brightness acquisition value is acquired by the photosensitive sensor under the display parameter.
[0050] The meaning of the first brightness acquisition value varies in different scenarios. For example, when the ambient light brightness value is 0, the first brightness acquisition value is also the screen backlight brightness value. When the ambient light brightness value is non-zero, the first brightness acquisition value includes both the ambient light brightness value and the screen backlight brightness value.
[0051] For example, after the electronic device is powered on and initialized, it can obtain the display parameters of the display screen and the first brightness acquisition value of the photosensor.
[0052] Exemplarily, the electronic device may obtain the display parameters of the display screen and the first brightness acquisition value of the photosensor when the brightness value of the ambient light is non-zero.
[0053] In S320, the first screen brightness value is the current brightness value of the display screen. Considering that display screens may have poor screen consistency due to manufacturing processes and other issues, to improve the accuracy of subsequent ambient light brightness values, the screen brightness can be divided into multiple brightness intervals. The sizes of the brightness intervals can be the same or different, and the specific division rules can be set according to actual needs.
[0054] The first backlight brightness value may be a backlight brightness value corresponding to each screen brightness value obtained through calibration when the electronic device leaves the factory.
[0055] In actual application, for each brightness range, a screen brightness value can be selected and the brightness collection value of the light sensor can be calibrated under the screen brightness value. In other words, for each brightness range, a calibrated brightness collection value can be corresponding.
[0056] Taking into account that the color scale value will also affect the backlight brightness value, the brightness collection value of the light sensor can also be calibrated at different color scale values for the same screen brightness value.
[0057] For the same screen brightness value, for example, when the brightness value of the ambient light is 0, the brightness collection value of the display screen collected by the light sensor at M first color scale values can be obtained, where M is an integer greater than 1. Since the brightness value of the ambient light at this time is 0, the brightness collection value of the light sensor at this time is also the backlight brightness value of the display screen. For ease of description, in this embodiment of the application, each brightness collection value obtained during the calibration phase is recorded as a first backlight brightness value. The first backlight brightness value is associated with the screen brightness value and the color scale value.
[0058] When the first color scale value is the brightness value of the ambient light is 0, the RGB value of the display screen at a certain screen brightness. There are multiple first color scale values, that is, the RGB value can have multiple situations, so the backlight brightness value under different color scale values can be calibrated to improve the subsequent screen brightness adjustment effect. For example: the RGB value of the 8-bit color space digital image is represented by (R, G, B), respectively, with 2 8 (i.e. 256) levels represent red, green and blue, and the value range of each color is [0,255]. Theoretically, there are 256×256×256 color level values.
[0059] In some embodiments, in order to accurately determine the brightness value of the ambient light, for example, when storing the first backlight brightness value, the first backlight brightness value can be checked. For example, for the same RGB value, it can be determined whether each first backlight brightness value meets the check interval based on the magnitude relationship of the brightness values of the display screen. For example, if screen brightness value 1 is greater than screen brightness value 2, then the first backlight brightness value 1 corresponding to screen brightness value 1 should also be greater than the first backlight brightness value 2 corresponding to screen brightness value 2. That is, the lower limit of the check interval 1 to which the first backlight brightness value 1 belongs should be greater than or equal to the upper limit of the check interval 2 to which the first backlight brightness value 2 belongs.
[0060] If each first backlight brightness value meets the corresponding verification interval, each first backlight brightness value can be stored. If at least one first backlight brightness value does not meet the corresponding verification interval, an error can be reported and the electronic device can be repaired.
[0061] For example, if the first backlight brightness value 1 does not conform to the verification interval 1, an error may be reported and the electronic device may be repaired.
[0062] In some embodiments, the above S320 may include the following steps:
[0063] Determine N reference brightness intervals of the display screen, where N is an integer greater than 1;
[0064] Determine a first brightness interval to which the first screen brightness value belongs from each reference brightness interval;
[0065] A first color scale value of the display screen in a first brightness range and a first backlight brightness value corresponding to the first color scale value are determined.
[0066] The reference brightness interval is the multiple brightness intervals mentioned in the above embodiment. In the embodiment of the present application, the screen brightness (0-100%) is divided into multiple brightness intervals to achieve multi-point detection.
[0067] The first brightness interval is a reference brightness interval to which the first screen brightness value belongs. According to the upper and lower limits of each reference brightness interval, the reference brightness interval to which the first screen brightness value belongs can be determined to obtain the first brightness interval.
[0068] After the first brightness range is determined, the first color scale value of the display screen in the first brightness range and the first backlight brightness value corresponding to the first color scale value can be determined during the calibration phase, which facilitates the subsequent determination of the backlight brightness value under the current display parameters.
[0069] In S330, it is understood that the backlight brightness value is related to the screen brightness and color scale value, that is, the screen brightness value and color scale value corresponding to the first backlight brightness value are not necessarily the same as the current display parameters of the display screen. In order to accurately determine the backlight brightness value corresponding to the current display parameters, the first backlight brightness value can be compensated based on the current display parameters of the display screen and the second screen brightness value corresponding to the first backlight brightness value to obtain the second backlight brightness value of the display screen under the current display parameters. This can improve the accuracy of the second backlight brightness value, thereby more accurately determining the brightness value of the ambient light.
[0070] The compensation process of the first backlight brightness value may refer to the following embodiment.
[0071] In S340 , after the second backlight brightness value is determined, the brightness of the display screen can be adjusted based on the first brightness acquisition value and the second backlight brightness value to meet the viewing needs of the user.
[0072] Exemplarily, the brightness value of the ambient light of the display screen under the display parameters may be determined according to the difference between the first brightness collection value and the second backlight brightness value;
[0073] Adjust the brightness of the display screen according to the brightness value of the ambient light.
[0074] The embodiment of the present application can determine, based on the display parameters of the display screen, the first brightness interval to which the first screen brightness value in the display parameters belongs from multiple reference brightness intervals, and obtain the first backlight brightness value obtained by the display screen in the calibration stage. The first backlight brightness value obtained in the calibration stage is compensated based on the display parameters and the second screen brightness value corresponding to the first backlight brightness value to obtain the second backlight brightness value corresponding to the display parameters, which effectively solves the problem of poor consistency of the screen backlight brightness and improves the adjustment effect of the screen brightness.
[0075] Taking the case where the display parameter also includes the second color scale value of the display screen as an example, illustratively, as shown in FIG4 , the method for adjusting the screen brightness may include the following steps:
[0076] S410: Acquire display parameters of the display screen and a first brightness acquisition value of a photosensor.
[0077] S420 : Determine a first backlight brightness value of the display screen in the first brightness interval according to a first brightness interval to which the first screen brightness value in the display parameters belongs.
[0078] S430 : Compensate the first backlight brightness value according to the first color scale value and the second color scale value to obtain a third backlight brightness value of the display screen at the second color scale value.
[0079] S440. Calibrate the third backlight brightness value according to the first screen brightness value and the second screen brightness value corresponding to the first color scale value to obtain a second backlight brightness value of the display screen under the first screen brightness value and the second color scale value.
[0080] S450: Adjust the brightness of the display screen according to the first brightness collection value and the second backlight brightness value.
[0081] The processes of S410, S420 and S450 can be found in the above embodiment and will not be described again here for the sake of brevity.
[0082] The other steps above are described in detail below:
[0083] In S430, the third backlight brightness value is the backlight brightness value of the display screen at the second color level value. For example, the first backlight brightness value can be compensated according to the first color level value and the second color level value to obtain the backlight brightness value of the display screen at the second color level value.
[0084] Exemplarily, a backlight brightness compensation relationship corresponding to the first color scale value and the first backlight brightness value may be obtained, where the backlight brightness compensation relationship is generated based on second brightness collection values collected by a light-sensitive sensor of the display screen at different first color scale values;
[0085] According to the backlight brightness compensation relationship and the second color scale value, a third backlight brightness value of the display screen at the second color scale value is determined.
[0086] In the embodiment of the present application, the second brightness acquisition value is the brightness value acquired by the light sensor at each first color scale value, i.e., the first backlight brightness value. For example, a backlight brightness compensation relationship can be generated based on the first backlight brightness value and the first color scale value obtained during the calibration phase. This backlight brightness compensation relationship can be a functional relationship or a curve relationship.
[0087] With respect to the backlight brightness compensation relationship, combined with the second color scale value, a third backlight brightness value of the display screen at the second color scale value can be obtained.
[0088] In S440, it can be understood that the currently determined third backlight brightness value corresponds to the second screen brightness value and the second color level value, that is, when the screen brightness is the second screen brightness value and the color level value is the second color level value, the backlight brightness value of the display screen is the third backlight brightness value.
[0089] However, the backlight brightness value in the first brightness acquisition value corresponds to the first screen brightness value and the second color scale value. Therefore, the third backlight brightness value needs to be calibrated again to obtain the backlight brightness value of the display screen under the first screen brightness value and the second color scale value.
[0090] When the color scale value is constant, the backlight brightness values corresponding to different screen brightness values can be linearly related. Therefore, the third backlight brightness value can be calibrated based on the ratio of the first screen brightness value to the second screen brightness value to obtain the second backlight brightness value of the display screen at the first screen brightness value and the second color scale value. This improves the accuracy of the second backlight brightness value.
[0091] The effects of the display screen of the electronic device before and after calibration can be seen in Figure 5, where 501 is the backlight brightness curve after calibration using the above scheme, 502 is the backlight brightness curve before calibration, and 503 is the actual backlight brightness curve. Through calibration, the impact of the screen backlight of the electronic device on the ambient light can be made basically consistent with the actual impact, thereby solving the problem of poor screen backlight consistency.
[0092] The embodiment of the present application calibrates the screen backlight at different screen brightnesses and brings the screen backlight characteristics of the electronic device at other screen brightnesses and color level values into line with the actual screen backlight characteristics, thereby effectively solving the problem of poor screen backlight consistency and improving the screen brightness adjustment effect.
[0093] It should be noted that the screen brightness adjustment method provided in the embodiments of the present application can be performed by a screen brightness adjustment device, or a processing module in the screen brightness adjustment device that is used to perform the screen brightness adjustment method. In the embodiments of the present application, the screen brightness adjustment device provided in the embodiments of the present application is described by taking the screen brightness adjustment device performing the screen brightness adjustment method as an example.
[0094] FIG6 is a schematic structural diagram of a device for adjusting screen brightness provided in an embodiment of the present application.
[0095] As shown in FIG6 , the screen brightness adjustment device 600 may include:
[0096] An acquisition module 601 is configured to acquire display parameters of a display screen and a first brightness acquisition value of a light sensor, where the first brightness acquisition value is associated with the display parameters;
[0097] A determination module 602 is configured to determine a first backlight brightness value of the display screen in the first brightness interval according to a first brightness interval to which the first screen brightness value in the display parameter belongs;
[0098] a compensation module 603 for compensating the first brightness value according to the display parameters and a second screen brightness value corresponding to the first backlight brightness value, to obtain a second backlight brightness value of the display screen under the display parameters;
[0099] The adjustment module 604 is configured to adjust the brightness of the display screen according to the first brightness collection value and the second backlight brightness value.
[0100] The embodiment of the present application obtains the display parameters of the display screen and the first brightness acquisition value of the photosensitive sensor; determines the first backlight brightness value of the display screen in the first brightness interval according to the first brightness interval to which the first screen brightness value in the display parameters belongs; compensates the first brightness value according to the display parameters and the first backlight brightness value to obtain the second backlight brightness value of the display screen under the display parameters; and adjusts the brightness of the display screen according to the first brightness acquisition value and the second backlight brightness value. That is, the embodiment of the present application can adaptively determine the first backlight brightness value of the display screen based on the first brightness interval to which the first screen brightness value in the display parameters of the display screen belongs, and compensates the first backlight brightness value based on the display parameters and the second screen brightness value corresponding to the first backlight brightness value, so that the backlight brightness value of the display screen can change with the change of the display parameters and the second screen brightness value, thereby improving the accuracy of the backlight brightness value, and further improving the accuracy of the ambient light brightness value and the adjustment effect of the screen brightness.
[0101] In some possible implementations of the embodiment of the present application, the determining module 602 is specifically configured to:
[0102] Determine N reference brightness intervals of the display screen, where N is an integer greater than 1;
[0103] Determine a first brightness interval to which the first screen brightness value belongs from each reference brightness interval;
[0104] A first color scale value of the display screen in a first brightness range and a first backlight brightness value corresponding to the first color scale value are determined.
[0105] In some possible implementations of the embodiments of the present application, the display parameter further includes a second color scale value of the display screen;
[0106] The compensation module 603 is specifically configured to:
[0107] Compensating the first backlight brightness value according to the first color scale value and the second color scale value to obtain a third backlight brightness value of the display screen at the second color scale value;
[0108] The third backlight brightness value is calibrated according to the first screen brightness value and the second screen brightness value corresponding to the first color scale value to obtain a second backlight brightness value of the display screen at the first screen brightness value and the second color scale value.
[0109] In some possible implementations of the embodiments of the present application, the acquisition module 601 is further configured to acquire a backlight brightness compensation relationship corresponding to the first color scale value and the first backlight brightness value, where the backlight brightness compensation relationship is generated based on second brightness collection values collected by a light-sensitive sensor of the display screen at different first color scale values;
[0110] Determine module 602, further configured to
[0111] According to the backlight brightness compensation relationship and the second color scale value, a third backlight brightness value of the display screen at the second color scale value is determined.
[0112] In some possible implementations of the embodiment of the present application, the determination module 602 is further configured to determine a brightness value of ambient light of the display screen under display parameters according to a difference between the first brightness collection value and the second backlight brightness value;
[0113] The determination module 602 is specifically configured to:
[0114] Adjust the brightness of the display screen according to the brightness value of the ambient light.
[0115] In some possible implementations of the embodiments of the present application, the acquisition module 601 is also used to obtain the first backlight brightness value of the display screen collected by the photosensitive sensor at M first color level values before obtaining the display parameters of the display screen and the first brightness collection value of the photosensitive sensor, when the brightness value of the ambient light is 0, where M is an integer greater than 1.
[0116] The embodiment of the present application calibrates the screen backlight at different screen brightnesses and brings the screen backlight characteristics of the electronic device at other screen brightnesses and color level values into line with the actual screen backlight characteristics, thereby effectively solving the problem of poor screen backlight consistency and improving the screen brightness adjustment effect.
[0117] The screen brightness adjustment device in the embodiment of the present application can be a device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other device other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not specifically limit it.
[0118] The electronic device in the embodiment of the present application may be an electronic device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0119] The screen brightness adjustment device provided in the embodiment of the present application can implement each process in the screen brightness adjustment method embodiments of Figures 3 to 4, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0120] As shown in Figure 7, an embodiment of the present application also provides an electronic device 700, including a processor 701 and a memory 702, and the memory 702 stores programs or instructions that can be run on the processor 701. When the program or instruction is executed by the processor 701, the various steps of the above-mentioned screen brightness adjustment method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0121] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0122] FIG8 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
[0123] The electronic device 800 includes but is not limited to components such as a radio frequency unit 801 , a network module 802 , an audio output unit 803 , an input unit 804 , a sensor 805 , a display unit 806 , a user input unit 807 , an interface unit 808 , a memory 809 , and a processor 810 .
[0124] Those skilled in the art will appreciate that the electronic device 800 may further include a power source (e.g., a battery) to power various components. The power source may be logically connected to the processor 810 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The electronic device structure shown in FIG8 does not limit the electronic device. The electronic device may include more or fewer components than shown, or may combine certain components, or have different component arrangements, which will not be described in detail here.
[0125] The processor 810 is configured to obtain a display parameter of the display screen and a first brightness acquisition value of the light sensor, where the first brightness acquisition value is associated with the display parameter;
[0126] Determining a first backlight brightness value of the display screen in the first brightness interval according to the brightness interval to which the first screen brightness value in the display parameter belongs;
[0127] Compensating the first backlight brightness value according to the display parameters and a second screen brightness value corresponding to the first backlight brightness value to obtain a second backlight brightness value of the display screen under the display parameters;
[0128] The brightness of the display screen is adjusted according to the first brightness collection value and the second backlight brightness value.
[0129] The embodiment of the present application obtains the display parameters of the display screen and the first brightness acquisition value of the photosensitive sensor; determines the first backlight brightness value of the display screen in the first brightness interval according to the first brightness interval to which the first screen brightness value in the display parameters belongs; compensates the first brightness value according to the display parameters and the first backlight brightness value to obtain the second backlight brightness value of the display screen under the display parameters; and adjusts the brightness of the display screen according to the first brightness acquisition value and the second backlight brightness value. That is, the embodiment of the present application can adaptively determine the first backlight brightness value of the display screen based on the first brightness interval to which the first screen brightness value in the display parameters of the display screen belongs, and compensates the first backlight brightness value based on the display parameters and the second screen brightness value corresponding to the first backlight brightness value, so that the backlight brightness value of the display screen can change with the change of the display parameters and the second screen brightness value, thereby improving the accuracy of the backlight brightness value, and further improving the accuracy of the ambient light brightness value and the adjustment effect of the screen brightness.
[0130] In some possible implementations of the embodiments of the present application, the processor 810 is specifically configured to:
[0131] Determine N reference brightness intervals of the display screen, where N is an integer greater than 1;
[0132] Determine a first brightness interval to which the first screen brightness value belongs from each reference brightness interval;
[0133] A first color scale value of the display screen in a first brightness range and a first backlight brightness value corresponding to the first color scale value are determined.
[0134] In some possible implementations of the embodiments of the present application, the display parameter further includes a second color scale value of the display screen;
[0135] The processor 810 is specifically configured to:
[0136] Compensating the first backlight brightness value according to the first color scale value and the second color scale value to obtain a third backlight brightness value of the display screen at the second color scale value;
[0137] The third backlight brightness value is calibrated according to the first screen brightness value and the second screen brightness value corresponding to the first color scale value to obtain a second backlight brightness value of the display screen at the first screen brightness value and the second color scale value.
[0138] In some possible implementations of the embodiments of the present application, the processor 810 is specifically configured to:
[0139] Acquire a backlight brightness compensation relationship corresponding to the first color scale value and the first backlight brightness value, where the backlight brightness compensation relationship is generated based on second brightness collection values collected by a light sensor of the display screen at different first color scale values;
[0140] According to the backlight brightness compensation relationship and the second color scale value, a third backlight brightness value of the display screen at the second color scale value is determined.
[0141] In some possible implementations of the embodiments of the present application, the processor 810 is specifically configured to:
[0142] Determining the brightness value of the ambient light of the display screen under the display parameters according to the difference between the first brightness collection value and the second backlight brightness value;
[0143] Adjust the brightness of the display screen according to the brightness value of the ambient light.
[0144] In some possible implementations of the embodiments of the present application, the processor 810 is also used to obtain the first backlight brightness value of the display screen collected by the photosensitive sensor at M first color level values before obtaining the display parameters of the display screen and the first brightness collection value of the photosensitive sensor, when the brightness value of the ambient light is 0, where M is an integer greater than 1.
[0145] The embodiment of the present application calibrates the screen backlight at different screen brightnesses and brings the screen backlight characteristics of the electronic device at other screen brightnesses and color level values into line with the actual screen backlight characteristics, thereby effectively solving the problem of poor screen backlight consistency and improving the screen brightness adjustment effect.
[0146] It should be understood that in an embodiment of the present application, the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0147] The memory 809 can be used to store software programs and various data. The memory 809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 809 may include a volatile memory or a non-volatile memory, or the memory 809 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 809 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0148] Processor 810 may include one or more processing units. Optionally, processor 810 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 810.
[0149] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned screen brightness adjustment method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0150] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0151] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, which is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-mentioned screen brightness adjustment method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0152] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0153] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned screen brightness adjustment method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0154] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0155] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0156] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.
Claims
1. A method for adjusting the screen brightness, which is applied to an electronic device including a photosensitive sensor. The photosensitive sensor is disposed below the display screen of the electronic device. The method includes: Obtaining the display parameters of the display screen and a first brightness acquisition value of the photosensitive sensor, where the first brightness acquisition value is associated with the display parameters; Determining a first backlight brightness value of the display screen in a first brightness interval according to the first brightness interval to which the first screen brightness value in the display parameters belongs; Compensating the first backlight brightness value according to the display parameters and a second screen brightness value corresponding to the first backlight brightness value to obtain a second backlight brightness value of the display screen under the display parameters; Adjusting the brightness of the display screen according to the first brightness acquisition value and the second backlight brightness value.
2. The method according to claim 1, wherein, The step of determining the first backlight brightness value of the display screen in the first brightness interval according to the first brightness interval to which the first screen brightness value in the display parameters belongs includes: Determining N reference brightness intervals of the display screen, where N is an integer greater than 1; Determining the first brightness interval to which the first screen brightness value belongs from each of the reference brightness intervals; Determining a first color level value of the display screen in the first brightness interval stored locally and a first backlight brightness value corresponding to the first color level value.
3. The method according to claim 2, wherein, The display parameters further include a second color level value of the display screen; The step of compensating the first backlight brightness value according to the display parameters and a second screen brightness value corresponding to the first backlight brightness value to obtain a second backlight brightness value of the display screen under the display parameters includes: Compensating the first backlight brightness value according to the first color level value and the second color level value to obtain a third backlight brightness value of the display screen at the second color level value; Calibrating the third backlight brightness value according to the first screen brightness value and a second screen brightness value corresponding to the first color level value to obtain a second backlight brightness value of the display screen at the first screen brightness value and the second color level value.
4. The method according to claim 3, wherein The step of compensating the first backlight brightness value according to the first color level value and the second color level value to obtain a third backlight brightness value of the display screen at the second color level value includes: Obtaining a backlight brightness compensation relationship corresponding to the first color level value and the first backlight brightness value, where the backlight brightness compensation relationship is generated based on second brightness acquisition values collected by the photosensitive sensor of the display screen at different first color level values; Determining the third backlight brightness value of the display screen at the second color level value according to the backlight brightness compensation relationship and the second color level value.
5. The method according to claim 1 or 2, wherein The step of adjusting the brightness of the display screen according to the first brightness acquisition value and the second backlight brightness value includes: Determining a brightness value of the ambient light of the display screen under the display parameters according to the difference between the first brightness acquisition value and the second backlight brightness value; Adjusting the brightness of the display screen according to the brightness value of the ambient light.
6. The method according to claim 1 or 2, before obtaining the display parameters of the display screen and the first brightness acquisition value of the photosensitive sensor, the method further includes: When the brightness value of the ambient light is 0, obtaining the first backlight brightness value of the display screen collected by the photosensitive sensor at M first color level values, where M is an integer greater than 1.
7. An apparatus for adjusting the screen brightness, which is applied to an electronic device including a photosensitive sensor, the photosensitive sensor is disposed below the display screen of the electronic device, and the apparatus includes: An obtaining module, configured to obtain the display parameters of the display screen and the first brightness acquisition value of the photosensitive sensor, and the first brightness acquisition value is associated with the display parameters; A determining module, configured to determine the first backlight brightness value of the display screen in the first brightness interval according to the first brightness interval to which the first screen brightness value in the display parameters belongs; A compensating module, configured to compensate the first backlight brightness value according to the display parameters and the second screen brightness value corresponding to the first backlight brightness value to obtain the second backlight brightness value of the display screen under the display parameters; An adjusting module, configured to adjust the brightness of the display screen according to the first brightness acquisition value and the second backlight brightness value.
8. The apparatus according to claim 7, wherein The determining module is specifically configured to: Determine N reference brightness intervals of the display screen, where N is an integer greater than 1; Determine the first brightness interval to which the first screen brightness value belongs from each of the reference brightness intervals; Determine the first color level value of the display screen in the first brightness interval stored locally and the first backlight brightness value corresponding to the first color level value.
9. The device according to claim 8, wherein The display parameters further include the second color level value of the display screen; The compensating module is specifically configured to: Compensate the first backlight brightness value according to the first color level value and the second color level value to obtain the third backlight brightness value of the display screen at the second color level value; Calibrate the third backlight brightness value according to the first screen brightness value and the second screen brightness value corresponding to the first color level value to obtain the second backlight brightness value of the display screen at the first screen brightness value and the second color level value.
10. An electronic device, the electronic device includes a processor and a memory, the memory stores a program or instruction that can run on the processor, and when the program or instruction is executed by the processor, the steps of the method according to any one of claims 1 to 6 are implemented.
11. A readable storage medium, a program or instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
12. A computer program product, the program product is stored in a storage medium, and when the program product is executed by at least one processor, the steps of the method according to any one of claims 1 to 6 are implemented.
13. A chip, the chip comprising a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to implement the steps of the method according to any one of claims 1 to 6 when running a program or instruction.
14. An electronic device, the electronic device being configured to perform the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Screen brightness adjusting method and mobile terminal
CN107665697A
Screen display control method and related products
CN108665871A
Backlight brightness adjusting method and device thereof
CN111462701A
Ambient light brightness calibration method of electronic equipment and electronic equipment
CN112017615A
Identification backlight control method and device, equipment and storage medium
CN116597785A