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

By acquiring ambient light values ​​and a screen backlight leakage impact model using a light sensor, and combining this with a cache unit to calculate the target screen brightness value, the problem of unstable brightness when the light sensor cannot detect changes in the screen refresh rate is solved, thus enabling accurate adjustment of the mobile device screen brightness.

CN115731900BActive Publication Date: 2026-01-02BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110983007.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-25
Publication Date
2026-01-02
Estimated Expiration
2041-08-25

AI Technical Summary

Technical Problem

In existing technologies, light sensors cannot accurately detect changes in screen brightness characteristics when the screen refresh rate changes, resulting in unstable and inaccurate screen brightness on mobile devices.

Method used

The ambient light value is obtained by a light sensor, and the target value of screen brightness is calculated by combining the screen light leakage effect model and the cache unit. The value is then transmitted to the mobile terminal via communication to adjust the screen brightness.

Benefits of technology

It achieves accurate and stable adjustment of mobile device screen brightness, eliminating dependence on screen refresh rate changes and improving the precision of brightness control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115731900B_ABST
    Figure CN115731900B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a screen brightness adjustment method and device, an electronic device and a storage medium, comprising: obtaining a screen brightness target value based on an ambient light value through the light sensor, wherein the light sensor is arranged on the mobile terminal and communicates with the mobile terminal, the light sensor is used to detect ambient light and obtain screen light leakage, and the ambient light value is obtained based on the ambient light and the screen light leakage; and adjusting the screen brightness of the mobile terminal based on the screen brightness target value. The present application can obtain the screen brightness target value through pure hardware calculation to change the screen brightness of the mobile terminal, avoid the feature change of the screen brightness when the light sensor cannot obtain the screen refresh rate change, get rid of the dependence on the screen, and make the screen brightness of the mobile device accurate and stable.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the field of mobile phone screens, and in particular to a screen brightness adjustment method and device, an electronic device, and a storage medium. BACKGROUND

[0002] With the rapid development of electronic devices, various mobile devices have become indispensable tools in people's work and life. The refresh rate of the screen of a mobile device has also increased from 60HZ initially to 144HZ now. The screen refresh rate refers to the number of times an image on the screen is repeatedly scanned from top to bottom. The higher the refresh rate, the smoother the displayed image. However, as the screen refresh rate becomes higher and higher, the hardware requirements for the screen also become higher and higher. The light sensor arranged under the screen needs higher sensitivity to quickly adapt to the screen.

[0003] In related technologies, a more sensitive light sensor is usually used to adapt to the screen. However, when the screen changes the screen refresh rate through an internal application, the light sensor cannot obtain the characteristic change of the screen brightness when the screen refresh rate changes, and cannot accurately detect the influence of the external ambient light according to the established prediction method, resulting in unstable and inaccurate screen brightness of the mobile device. SUMMARY

[0004] To overcome the problems in related technologies, the present disclosure provides a screen brightness adjustment method and device, an electronic device, and a storage medium.

[0005] In a first aspect, a screen brightness adjustment method is provided for a mobile terminal, comprising:

[0006] obtaining a screen brightness target value based on an ambient light value through a light sensor, wherein the light sensor is arranged on the mobile terminal and communicates with the mobile terminal, the light sensor is used to detect ambient light and obtain screen light leakage, and the ambient light value is obtained based on the ambient light and the screen light leakage;

[0007] adjusting the screen brightness of the mobile terminal based on the screen brightness target value.

[0008] In some embodiments of the present application, the screen brightness target value obtained based on the ambient light value through the light sensor comprises:

[0009] obtaining the ambient light value from the light sensor;

[0010] calculating the screen brightness target value based on the ambient light value.

[0011] In some embodiments of the present application, the screen brightness target value obtained based on the ambient light value through the light sensor comprises:

[0012] obtaining the screen brightness target value directly from the light sensor, wherein the screen brightness target value is obtained by the light sensor based on the ambient light value.

[0013] In some embodiments of the present application, the screen leakage is obtained by inputting the screen refresh rate into a leakage influence model, wherein the leakage influence model is pre-trained based on a plurality of screen refresh rate samples and corresponding screen leakage as labels.

[0014] In some embodiments of the present application, further comprising:

[0015] obtaining the plurality of screen refresh rate samples and corresponding screen leakage;

[0016] training the leakage influence model based on the plurality of screen refresh rate samples and corresponding screen leakage. In some embodiments of the present application, the light sensor is provided with a cache unit to cache the ambient light value.

[0017] In some embodiments of the present application, the ambient light value is obtained by the light sensor, comprising:

[0018] obtaining the ambient light value from the cache unit of the light sensor.

[0019] In a second aspect, a screen brightness adjustment apparatus for a mobile terminal is provided, comprising:

[0020] an obtaining module configured to obtain a screen brightness target value based on an ambient light value by a light sensor, wherein the light sensor is arranged on the mobile terminal and communicates with the mobile terminal, the light sensor is configured to detect ambient light and obtain screen leakage, and obtain the ambient light value based on the ambient light and the screen leakage;

[0021] a screen adjustment module configured to adjust the screen brightness of the mobile terminal based on the screen brightness target value.

[0022] In a third aspect, an electronic device is provided, comprising:

[0023] a processor and a memory, the memory storing at least one instruction, at least one program, a code set or an instruction set, the instruction, the program, the code set or the instruction set being loaded and executed by the processor to implement the screen brightness adjustment method according to any one of the first aspect.

[0024] In a fourth aspect, the present application provides a non-transitory computer readable storage medium, when instructions in the storage medium are executed by a processor of a mobile terminal, the mobile terminal is enabled to perform the screen brightness adjustment method according to any one of the first aspect.

[0025] The technical solution provided by the embodiments of the present disclosure can have the following beneficial effects: the light sensor calculates the influence of screen light leakage by subtraction based on the ambient light detected by itself and the calculated screen light leakage, calculates the ambient light value, and converts the ambient light value into a screen brightness target value through the light sensor; the light sensor transmits the screen brightness target value to the mobile terminal through communication; and the mobile terminal changes the screen brightness based on the screen brightness target value. Through the above method, the light sensor does not need to be bound to the screen, and the screen brightness target value can be obtained through pure hardware calculation to change the screen brightness of the mobile terminal, avoiding the feature change of the screen brightness when the light sensor cannot obtain the screen refresh rate change, and making the mobile device screen brightness accurate and stable.

[0026] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS

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

[0028] Figure 1 is a flowchart of a screen brightness adjustment method according to an exemplary embodiment.

[0029] Figure 2 is a block diagram of a screen brightness adjustment device according to an exemplary embodiment.

[0030] Figure 3 is a structural schematic diagram of a computer system of an electronic device suitable for implementing the embodiments of the present application according to an exemplary embodiment.

[0031] Figure 4 is a specific application scenario block diagram of obtaining a screen brightness target value according to an exemplary embodiment.

[0032] Figure 5 is a light sensor detection screen brightness target value reporting and brightness display adjustment block diagram according to an exemplary embodiment.

[0033] Figure 6 is a multi-channel spectrum detection schematic diagram according to an exemplary embodiment.

[0034] Figure 7is a schematic diagram of a multi-channel photodiode spectral array in accordance with an example embodiment. DETAILED DESCRIPTION

[0035] The example embodiments will be described in detail herein with reference to the attached drawings. The description below refers to the accompanying drawings, which show, by way of example, specific embodiments with which the application can be practiced. The following detailed description is not intended to limit the application. Rather, the following detailed description includes specific details for the purpose of providing a thorough understanding of the inventive concepts. However, it will be apparent to those skilled in the art that the application can be practiced without these specific details. In some instances, well-known structures and components are shown in block diagram form in order to avoid obscuring the concepts of the application.

[0036] The terms "comprises", "comprising", "includes", "including", "has", "having" and their conjugates, mean "including but not limited to", and are used to indicate that the processes, methods, systems, products, or apparatuses that include the listed steps or modules need not comprise only those listed steps or modules but can include other steps or modules not expressly listed or inherent to such processes, methods, products, or apparatuses.

[0037] For the purpose of explanation and illustration, specific details of certain embodiments of the application are described below. However, it will be apparent to those skilled in the art that the application can be practiced without these specific details. In some instances, well-known structures and devices are shown in block diagram form in order to avoid obscuring the concepts of the application. Figures 1 to 5 A screen brightness adjustment method of a mobile terminal, a mobile terminal, an electronic device, and a storage medium are provided.

[0038] Figure 1 is a flowchart of a screen brightness adjustment method of a mobile terminal in accordance with an example embodiment, comprising the following steps.

[0039] In step S101, a screen brightness target value based on an ambient light value is obtained by a light sensor, wherein the light sensor is arranged on the mobile terminal and communicates with the mobile terminal, the light sensor is used to detect ambient light and obtain screen leakage, and the ambient light value is obtained based on the ambient light and the screen leakage.

[0040] Specifically, before adjusting the screen brightness of the mobile terminal, the target value of the screen brightness needs to be obtained first to determine whether the target value of the current screen brightness is consistent with the current screen brightness of the mobile terminal. When they are consistent, the screen brightness of the mobile terminal does not need to be adjusted. When they are not consistent, the screen brightness of the mobile terminal is adjusted according to the target value of the screen brightness until the screen brightness of the mobile terminal is consistent with the target value of the screen brightness. The light sensor is arranged below the screen of the mobile terminal. The ambient light can be detected by the light sensor arranged below the screen. There is a certain screen leakage when the screen refresh rate changes. The screen leakage of the mobile terminal will affect the ambient light value. Therefore, the ambient light detected by the light sensor and the leakage caused by the screen leakage of the mobile terminal are obtained. The ambient light value is calculated. The light sensor transmits the calculated ambient light value to the mobile terminal through communication for the later brightness control process.

[0041] Further, the screen brightness target value obtained based on the ambient light value through the light sensor comprises:

[0042] The ambient light value is obtained from the light sensor;

[0043] The screen brightness target value is calculated based on the ambient light value.

[0044] Specifically, the ambient light and the light leakage generated by the screen of the mobile terminal are detected and obtained through the light sensor, and the difference between the two can reduce the influence of the light leakage of the screen of the mobile terminal on the detection of the ambient light by the light sensor, so as to obtain the ambient light value. The screen brightness target value corresponding to the ambient light value is obtained by calculating the obtained ambient light value.

[0045] Further, the screen brightness target value obtained based on the ambient light value through the light sensor comprises:

[0046] The screen brightness target value is directly obtained from the light sensor, wherein the screen brightness target value is obtained by the light sensor based on the ambient light value.

[0047] Specifically, the light sensor is internally integrated with a micro control unit (MCU) or a digital signal processor (DSP) or other computing modules. Through the MCU or DSP or other hardware computing modules, the screen brightness target value can be calculated and obtained based on the ambient light detected by the light sensor and the screen light leakage obtained. The screen brightness target value can be directly obtained by the mobile terminal through wireless communication.

[0048] Further, it further comprises:

[0049] The plurality of screen refresh rate samples and the corresponding screen light leakage are obtained.

[0050] The plurality of screen refresh rate samples and the corresponding screen light leakage are trained to obtain the light leakage influence model.

[0051] Specifically, since the influence of the same value of screen light leakage on screens with different refresh rates is different, the plurality of screen refresh rate samples and the corresponding screen light leakage values are used as corresponding training parameters through a neural network model, and the corresponding light leakage influence model is obtained after training.

[0052] Further, the screen light leakage is input into the light leakage influence model to obtain the screen light leakage, wherein the light leakage influence model is obtained by pre-training according to a plurality of screen refresh rate samples and corresponding screen light leakage as labels.

[0053] Specifically, by inputting the values of different screen refresh rates into the light leakage influence model, the corresponding light leakage values of the screen can be directly obtained, and then the corresponding ambient light values can be calculated.

[0054] Further, the light sensor is provided with a cache unit to cache the ambient light values.

[0055] Specifically, by setting a cache unit in the light sensor, the ambient light values calculated by the screen at the current refresh rate are stored in the cache unit.

[0056] Further, the ambient light values obtained by the light sensor include:

[0057] The ambient light values are obtained from the cache unit of the light sensor.

[0058] Specifically, when the mobile terminal needs to adjust the screen brightness of the mobile terminal, the ambient light values are directly obtained from the cache unit, the screen brightness target value is calculated based on the ambient light values, and the screen brightness of the mobile terminal is changed based on the screen brightness target value. By setting the cache unit, the multiple steps of frequently obtaining the ambient light detected by the light sensor and calculating the screen light leakage are avoided, and when the same conditions are detected, the existing ambient light values in the cache unit can be directly obtained, thereby reducing the power consumption of the system.

[0059] In step S102, the screen brightness of the mobile terminal is adjusted based on the screen brightness target value.

[0060] Specifically, when the screen brightness target value is determined, the screen brightness of the mobile terminal is directly adjusted by the upper application layer of the mobile terminal.

[0061] In order to further illustrate the technical idea of the present application, now combined with specific application scenarios, such as Figure 4 The screen brightness target value specific application scenario block diagram shown in FIG. 1 is used to illustrate the technical solution of the present application.

[0062] Step 1: Obtain the ambient light detected by the light sensor and the screen light leakage obtained by the light leakage influence model inside the light sensor. Alternatively, as shown in the multi-channel photodiode spectral array diagram of Figure 7 The screen of the mobile terminal is composed of multiple light emitting diodes of different colors, and different colors of light emitting diodes have different light leakage effects on the same brightness, such as Figure 6The spectrum envelope area represents the light leakage value of different color light, and the light leakage values of multiple channels of light emitting diodes are calculated by a hardware calculation module such as MCU or DSP in the light sensor, and then are added to obtain the screen light leakage.

[0063] In the second step, the MCU or DSP calculates and obtains the ambient light value after reducing the influence of screen light leakage based on the data of ambient light and screen light leakage detected by the light sensor.

[0064] In the third step, the calculated ambient light value is stored in the cache unit of the light sensor.

[0065] In the fourth step, the MCU or DSP in the light sensor obtains the ambient light value from the cache unit and obtains the screen brightness target value by calculation.

[0066] In order to further illustrate the technical idea of the present application, the specific application scenarios are combined as follows: Figure 5 The screen brightness target value reporting and brightness display adjustment block diagram of the light sensor is shown, and the technical scheme of the present application is described.

[0067] In the first step, the screen brightness target value calculated by the light sensor is obtained.

[0068] In the second step, the screen brightness target value is uploaded to the driver program in the kernel space through the driver program in the sensor concentrator.

[0069] In the third step, the screen brightness target value is transmitted to the hardware abstraction layer in the user space through the driver program in the kernel space.

[0070] In the fourth step, the hardware abstraction layer transmits data to the operating system, and the operating system transmits data to the application layer.

[0071] In the fifth step, after receiving the data, the application layer sends an instruction to the operating system, and sends an instruction to the display driver through the display management system, so that the screen brightness of the current mobile terminal is the screen brightness target value.

[0072] Figure 2 A screen brightness adjustment device block diagram according to an example embodiment is shown. Referring to Figure 2 The device comprises:

[0073] The acquisition module 201 is configured to obtain the screen brightness target value based on the ambient light value through the light sensor, wherein the light sensor is arranged on the mobile terminal and communicates with the mobile terminal, the light sensor is configured to detect ambient light and obtain screen light leakage, and obtain the ambient light value based on the ambient light and the screen light leakage.

[0074] The screen adjusting module 202 is configured to adjust the screen brightness of the mobile terminal based on the screen brightness target value.

[0075] In the embodiments of the present application, the detection module 201 is specifically configured to:

[0076] obtain the ambient light value from the light sensor;

[0077] calculate the screen brightness target value based on the ambient light value.

[0078] In the embodiments of the present application, the detection module 201 is specifically configured to:

[0079] directly obtain the screen brightness target value from the light sensor, wherein the screen brightness target value is obtained by the light sensor based on the ambient light value.

[0080] In the embodiments of the present application, the detection module 201 is further configured to:

[0081] obtain a plurality of screen refresh rate samples and corresponding screen light leakage;

[0082] train the plurality of screen refresh rate samples and corresponding screen light leakage to obtain the light leakage influence model.

[0083] In the embodiments of the present application, the detection module 201 is further configured to:

[0084] The screen light leakage is input into the light leakage influence model to obtain the screen light leakage, wherein the light leakage influence model is obtained by pre-training a plurality of screen refresh rate samples and corresponding screen light leakage as labels.

[0085] In the embodiments of the present application, the detection module 201 is further configured to:

[0086] The light sensor is provided with a cache unit to cache the ambient light value.

[0087] In the embodiments of the present application, the detection module 201 is further configured to:

[0088] obtain the ambient light value from the cache unit of the light sensor.

[0089] As to the device in the above-mentioned embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments relating to the method, and will not be described in detail here.

[0090] Reference is made below to Figure 3 The present application provides a computer device. Figure 3A structural diagram of a computer device suitable for implementing the embodiments of the present application is shown. It comprises a processor and a memory, which are connected to each other, wherein the memory is used to store a computer program comprising program instructions, and the processor is configured to invoke the program instructions to perform the following steps: obtaining a screen brightness target value based on an ambient light value through a light sensor, wherein the light sensor is arranged on the mobile terminal and communicates with the mobile terminal, the light sensor is used to detect ambient light and obtain screen light leakage, and the ambient light value is obtained based on the ambient light and the screen light leakage; adjusting the screen brightness of the mobile terminal based on the screen brightness target value.

[0091] In the embodiments of the present application, the processor is a processing device with logical operation execution capability, such as a central processing unit (CPU), a field programmable logic array (FPGA), a digital signal processor (DSP), a single-chip microcomputer (MCU), an application-specific logic circuit (ASIC), a graphics processing unit (GPU), and the like. It is easy to understand that the processor is usually communicatively connected to a memory, and one or more computer program products are stored on the memory in any combination. The memory can include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may, for example, include random access memory (RAM) and / or cache memory, etc. The non-volatile memory may, for example, include read-only memory (ROM), a hard disk, erasable programmable read-only memory (EPROM), a USB memory, flash memory, etc. One or more computer instructions can be stored on the memory, and the processor can execute the computer instructions to implement the related analysis functions. Various application programs and various data, such as various data used and / or generated by the application programs, etc., can also be stored in the computer-readable storage medium.

[0092] In the embodiments of the present application, each module can be implemented by the processor executing related computer instructions, for example, the image processing module can be implemented by the processor executing instructions of an image transformation algorithm, the machine learning module can be implemented by the processor executing instructions of a machine learning algorithm, and the neural network can be implemented by the processor executing instructions of a neural network algorithm.

[0093] In the embodiments of the present application, each module can run on the same processor or multiple processors; each module can run on the same architecture processor, for example, running on the X86 system processor, or run on different architecture processors, for example, the image processing module runs on the X86 system CPU, and the machine learning module runs on the GPU. Each module can be packaged in a computer product, for example, each module is packaged in a computer software and runs on a computer (server), or can be packaged in different computer products, for example, the image processing module is packaged in a computer software and runs on a computer (server), and the machine learning module is packaged in a separate computer software and runs on another or multiple computers (servers); the computing platform when each module executes can be local computing, cloud computing, or a hybrid of local computing and cloud computing.

[0094] As shown in Figure 3 , the computer system includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 302 or programs loaded from a storage portion 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for operation instructions of the system are also stored. The CPU 301, the ROM 302, and the RAM 303 are connected to each other through a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0095] The following components are connected to the I / O interface 305: an input portion 306 including a keyboard, a mouse, and the like; an output portion 307 including a cathode ray tube (CRT), a liquid crystal display (LCD), and the like, and a speaker, and the like; a storage portion 308 including a hard disk, and the like; and a communication portion 309 including a network interface card such as a LAN card, a modem, and the like. The communication portion 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as necessary. A removable medium 311 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, and the like is mounted on the drive 310 as necessary, so that a computer program read therefrom is installed in the storage portion 308 as necessary.

[0096] In particular, according to the embodiments of the present application, the above reference Figure 2The described processes can be implemented as a computer program. For example, embodiments of the present application include a computer program product comprising a computer program carried on a computer readable medium, the computer program comprising program code for executing the methods illustrated in the flowcharts. In such embodiments, the computer program comprises program code for executing the methods illustrated in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication section 309, and / or installed from the removable medium 311. When the computer program is executed by the central processing unit (CPU) 301, the above-described functions defined in the system of the present application are executed.

[0097] The present application also provides a non-transitory computer readable storage medium, when instructions in the storage medium are executed by a processor of a mobile terminal, the mobile terminal is enabled to perform to achieve as follows: obtaining a screen brightness target value based on an ambient light value through a light sensor, wherein the light sensor is disposed on the mobile terminal and in communication with the mobile terminal, the light sensor is used to detect ambient light and obtain screen light leakage, and the ambient light value is obtained based on the ambient light and the screen light leakage; adjusting the screen brightness of the mobile terminal based on the screen brightness target value.

[0098] It should be noted that the computer-readable medium in the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination thereof. The computer-readable storage medium may, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any combination thereof. More specific examples of the computer-readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present application, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device. In the present application, the computer-readable signal medium can include a data signal that propagates in a baseband or as part of a carrier wave, carrying computer-readable program code. Such a propagated data signal can take on many forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium that can send, propagate, or transfer a program for use by or in connection with an instruction execution system, apparatus, or device. Program code contained on a computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber, RF, etc., or any suitable combination thereof. Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. The application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice in the art to which the application pertains. The specification and examples are to be regarded as illustrative only, and the true scope and spirit of the application are indicated by the following claims.

[0099] It should be understood that the application is not limited to the precise construction that has been described above and illustrated in the accompanying drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the application is limited only by the claims that follow.

Claims

1. A method for adjusting the brightness of a screen for a mobile terminal, comprising the steps of: The method comprises: ​ obtaining a screen brightness target value based on an ambient light value through a light sensor, wherein the light sensor is arranged on the mobile terminal and communicates with the mobile terminal, the light sensor is used to detect ambient light and obtain screen leakage, and the ambient light value is obtained based on the ambient light and the screen leakage; the light sensor is internally integrated with a micro control unit (MCU) or a digital signal processor (DSP); adjusting the screen brightness of the mobile terminal based on the screen brightness target value; The method of obtaining the screen brightness target value based on the ambient light value through the light sensor comprises: obtaining the ambient light value from the light sensor; calculating the screen brightness target value based on the ambient light value; or directly obtaining the screen brightness target value from the light sensor, wherein the screen brightness target value is obtained by the light sensor based on the ambient light value.

2. The screen brightness adjusting method of claim 1, wherein, The screen leakage is input into a leakage influence model with a screen refresh rate to obtain the screen leakage, wherein the leakage influence model is obtained by pre-training according to a plurality of screen refresh rate samples and corresponding screen leakages as labels.

3. The screen brightness adjusting method of claim 2, wherein, The method further comprises: obtaining the plurality of screen refresh rate samples and corresponding screen leakages; training according to the plurality of screen refresh rate samples and corresponding screen leakages to obtain the leakage influence model.

4. The screen brightness adjusting method of claim 1, wherein, The light sensor is provided with a cache unit to cache the ambient light value.

5. The screen brightness adjustment method of claim 4, wherein, The method of obtaining the ambient light value through the light sensor comprises: obtaining the ambient light value from the cache unit of the light sensor.

6. A screen brightness adjusting apparatus for a mobile terminal, characterized by comprising: The method comprises: a obtaining module configured to obtain a screen brightness target value based on an ambient light value through a light sensor, wherein the light sensor is arranged on the mobile terminal and communicates with the mobile terminal, the light sensor is used to detect ambient light and obtain screen leakage, and the ambient light value is obtained based on the ambient light and the screen leakage; the light sensor is internally integrated with a micro control unit (MCU) or a digital signal processor (DSP); a screen adjusting module configured to adjust the screen brightness of the mobile terminal based on the screen brightness target value; The method of obtaining the screen brightness target value based on the ambient light value through the light sensor comprises: obtaining the ambient light value from the light sensor; calculating the screen brightness target value based on the ambient light value; or directly obtaining the screen brightness target value from the light sensor, wherein the screen brightness target value is obtained by the light sensor based on the ambient light value.

7. An electronic device, comprising: The method comprises a processor and a memory, the memory stores at least one instruction, at least one program, a code set or an instruction set, the instruction, the program, the code set or the instruction set is loaded and executed by the processor to realize the screen brightness adjusting method as claimed in any one of claims 1-5.

8. A non-transitory computer readable storage medium, when the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal can execute the screen brightness adjusting method as claimed in any one of claims 1-5.

Citation Information

Patent Citations

  • Screen brightness adjusting method and device, computer readable medium and electronic equipment

    CN112289280A

  • Ambient brightness detection method, electronic equipment, detection device and storage medium

    CN113257208A