A method, device and computer-readable storage medium for under-screen light compensation calibration

By adopting the under-screen light compensation calibration method in mobile terminals and using the average and compensation values ​​of ambient light data, the problem of inaccurate collection of under-screen ambient light sensors is solved, achieving higher brightness control accuracy and user experience.

CN114120868BActive Publication Date: 2024-09-20NUBIA TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111419191.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-26
Publication Date
2024-09-20
Estimated Expiration
2041-11-26

AI Technical Summary

Technical Problem

In the existing technology, the under-screen ambient light sensor is located close to the light-emitting screen, resulting in inaccurate ambient light collection and affecting the accuracy of brightness control.

Method used

The under-screen light sensitivity compensation calibration method is used to calculate the compensation value by taking the average of three ambient light data as the initial value, and update the ambient brightness value when each frame is refreshed to adjust the screen brightness level to ensure the accuracy of the light sensitivity data.

Benefits of technology

The calibration accuracy of the under-screen light sensor is improved, the user experience is enhanced, the light leakage compensation value is effectively updated, and the brightness control accuracy of the device is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114120868B
    Figure CN114120868B
Patent Text Reader

Abstract

The present invention discloses a method, device and computer-readable storage medium for calibrating light compensation under the screen, wherein the method comprises: when displaying the first frame, collecting the ambient light data of the first frame of the screen, and taking the difference between the initial value of the ambient brightness under the screen and the ambient light data of the first frame of the screen as the compensation value; when refreshing each frame after the first frame, collecting the ambient light data of each frame of the screen, taking the difference between the ambient light data of each frame of the screen and the compensation value as the current ambient brightness value, determining the brightness level of the corresponding screen according to the current initial value of the ambient brightness, and displaying the next frame according to the brightness level; when a preset number of frames have been displayed, collecting the current environment auxiliary brightness value, and updating the compensation value according to the current environment auxiliary brightness value. A humanized solution for calibrating light compensation under the screen is realized, so that the light leakage compensation value can be effectively updated, and the calibration accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of mobile communications, and in particular to an under-screen light sensitivity compensation calibration method, device and computer-readable storage medium. Background Art

[0002] In the prior art, with the continuous development of smart terminal devices, how to accurately control the screen brightness of the device has become an important indicator of user experience. In particular, considering that the application scope of under-screen ambient light sensors is becoming wider and wider at this stage, there are serious problems with the accuracy of their control: because the under-screen ambient light sensor is located below the screen, and the screen is the light source, part of the screen light energy will leak to the ambient sensor, resulting in the under-screen ambient light sensor not accurately collecting ambient light.

[0003] Therefore, there is an urgent need for a technical solution that can improve the working accuracy of the under-screen ambient light sensor. Summary of the invention

[0004] In order to solve the above technical defects in the prior art, the present invention proposes an under-screen light sensitivity compensation calibration method, which includes:

[0005] When the device is about to enter normal screen display, the average of three ambient light data under the screen is taken as the initial value of the ambient brightness under the screen, the brightness level of the corresponding screen is determined according to the initial value of the ambient brightness, and the first frame is displayed according to the brightness level.

[0006] When displaying the first frame, the ambient light data of the first frame of the screen is collected, and the difference between the initial value of the ambient brightness under the screen and the ambient light data of the first frame of the screen is used as the compensation value.

[0007] When each frame is refreshed after the first frame, the ambient light data of each frame of the bright screen is collected, and the difference between the ambient light data of each frame of the bright screen and the compensation value is used as the current ambient brightness value. The brightness level of the corresponding screen is determined according to the current ambient brightness initial value, and the next frame of the picture is displayed according to the brightness level.

[0008] When a preset number of frames have been displayed, the current environment auxiliary brightness value is collected, and the compensation value is updated according to the current environment auxiliary brightness value, and the updated current environment brightness value and the updated brightness level are determined according to the updated compensation value, and the next frame after the preset number is displayed according to the updated brightness level.

[0009] Optionally, when the device is about to enter normal screen display, taking the average of three times of ambient light data under the screen as the initial value of the ambient brightness under the screen, determining the brightness level of the corresponding screen according to the initial value of the ambient brightness, and displaying the first frame of the picture according to the brightness level, includes:

[0010] When the device is about to enter normal screen display, the light leakage difference management module of the device controls the under-screen ambient light sensor of the device to start working, and the under-screen ambient light sensor collects three ambient light data Lux1, Lux2, and Lux3. The above-mentioned light leakage difference management averages the three ambient light data Lux1, Lux2, and Lux3 to obtain the initial value Als_start of the under-screen ambient brightness.

[0011] The corresponding screen brightness parameters are matched according to the initial value of the ambient brightness, and an instruction containing the screen brightness parameters is sent to the screen management unit, which controls the screen to set a matching brightness level according to the screen brightness parameters and displays the first frame.

[0012] Optionally, when displaying the first frame of the picture, collecting the ambient light data of the first frame of the screen on, and taking the difference between the initial value of the ambient brightness under the screen and the ambient light data of the first frame of the screen on as the compensation value, includes:

[0013] When the first frame is displayed, the light leakage difference management module controls the under-screen ambient light sensor to collect the ambient light data Als_te0 when the first frame is on again.

[0014] After the under-screen ambient light sensor completes collecting the ambient light data Als_te0, the light leakage difference management module calculates the compensation value between the ambient light data Als_te0 when the first frame is on and the initial value Als_start of the under-screen ambient light to obtain the compensation value Als_com=min(Als_te0-Als_start,0).

[0015] Optionally, when each frame after the first frame is refreshed, ambient light data of each frame of the bright screen is collected, the difference between the ambient light data of each frame of the bright screen and the compensation value is used as the current ambient brightness value, the brightness level of the corresponding screen is determined according to the current ambient brightness initial value, and the next frame of the picture is displayed according to the brightness level, including:

[0016] When the screen is refreshed for each frame, the light leakage difference management module controls the under-screen ambient light sensor to collect the ambient light data Als_ten under the bright screen of the current display frame. After the under-screen ambient light sensor data collection is completed, the light leakage difference management module calculates the difference between the compensation value Als_com and the ambient light data Als_ten under the bright screen of the current display frame to obtain the current ambient brightness value Als_ing=Als_ten-Als_com.

[0017] The corresponding screen brightness parameters are matched according to the current ambient brightness value, and an instruction containing the screen brightness parameters is sent to the screen management unit. The screen management unit controls the screen to set a matching brightness level according to the screen brightness parameters and displays the next frame of the current display frame.

[0018] Optionally, when a preset number of frames have been displayed, the current environment auxiliary brightness value is collected, and the compensation value is updated according to the current environment auxiliary brightness value, and an updated current environment brightness value and an updated brightness level are determined according to the updated compensation value, and the next frame after the preset number is displayed according to the updated brightness level, including:

[0019] When the preset number of frames have been displayed, the light leakage difference management module controls the camera of the device to assist the under-screen ambient light sensor to obtain the current ambient auxiliary brightness value Als_com_next.

[0020] The light leakage difference management module calculates a new compensation value between the current environment auxiliary brightness value Als_com_next and the compensation value Als_com, obtains a new compensation value Als_com_new=Als_com-next*D+Als_com*(1-D), and assigns the new compensation value Als_com_new to the compensation value Als_com, where D is the preset number.

[0021] Optionally, when a preset number of frames have been displayed, the current environment auxiliary brightness value is collected, and the compensation value is updated according to the current environment auxiliary brightness value, and an updated current environment brightness value and an updated brightness level are determined according to the updated compensation value, and the next frame after the preset number is displayed according to the updated brightness level, and further includes:

[0022] The light leakage difference management module controls the under-screen ambient light sensor to collect the bright screen ambient light data Als_ten of the current display frame before the screen displays the next frame of images after the preset number.

[0023] When the under-screen ambient light sensor data collection is completed, the light leakage difference management module calculates the difference between the updated compensation value Als_com and the bright screen ambient light data Als_ten of the current display frame to obtain the current ambient brightness value Als_ing=Als_ten-Als_com.

[0024] Optionally, when a preset number of frames have been displayed, the current environment auxiliary brightness value is collected, and the compensation value is updated according to the current environment auxiliary brightness value, and an updated current environment brightness value and an updated brightness level are determined according to the updated compensation value, and the next frame after the preset number is displayed according to the updated brightness level, and further includes:

[0025] The corresponding screen brightness parameter is matched according to the current environment brightness value, and an instruction containing the screen brightness parameter is sent to the screen management unit.

[0026] The screen management unit controls the screen to set a matching brightness level according to the screen brightness parameter, and displays the next frame after the preset number.

[0027] Optionally, when a preset number of frames have been displayed, the current environment auxiliary brightness value is collected, and the compensation value is updated according to the current environment auxiliary brightness value, and an updated current environment brightness value and an updated brightness level are determined according to the updated compensation value, and the next frame after the preset number is displayed according to the updated brightness level, including:

[0028] The current environment auxiliary brightness value is obtained at the preset number of intervals.

[0029] The compensation value is updated according to the current environment auxiliary brightness value.

[0030] The present invention also proposes an under-screen light compensation calibration device, which includes a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the computer program is executed by the processor, the steps of the under-screen light compensation calibration method as described in any one of the above items are implemented.

[0031] The present invention also proposes a computer-readable storage medium, which stores an under-screen light compensation calibration program. When the under-screen light compensation calibration program is executed by a processor, the steps of the under-screen light compensation calibration method as described in any one of the above items are implemented.

[0032] The method, device and computer-readable storage medium for calibrating the light perception compensation under the screen of the present invention are implemented. When the device is about to enter normal screen display, the average of the three times of ambient light data under the screen is taken as the initial value of the ambient brightness under the screen, the brightness level of the corresponding screen is determined according to the initial value of the ambient brightness, and the first frame of the picture is displayed according to the brightness level; when the first frame of the picture is displayed, the ambient light data of the first frame of the bright screen is collected, and the difference between the initial value of the ambient brightness under the screen and the ambient light data of the first frame of the bright screen is used as the compensation value; when each frame after the first frame of the picture is refreshed, the ambient light data of each frame of the bright screen is collected, and the difference between the ambient light data of each frame of the bright screen and the compensation value is used as the current ambient brightness value, the brightness level of the corresponding screen is determined according to the current initial value of the ambient brightness, and the next frame of the picture is displayed according to the brightness level; when a preset number of frames of the picture have been displayed, the current environment auxiliary brightness value is collected, and the compensation value is updated according to the current environment auxiliary brightness value, and the updated current environment brightness value and the updated brightness level are determined according to the updated compensation value, and the next frame of the picture after the preset number is displayed according to the updated brightness level. A user-friendly under-screen light compensation calibration solution has been implemented, so that the light leakage compensation value can be effectively updated, improving the calibration accuracy of the under-screen light sensitivity and enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:

[0034] Figure 1 It is a hardware structure diagram of a mobile terminal involved in the present invention;

[0035] Figure 2 is a communication network system architecture diagram provided by an embodiment of the present invention;

[0036] Figure 3 is a flow chart of a first embodiment of the under-screen light sensitivity compensation calibration method of the present invention;

[0037] Figure 4 is a flow chart of a second embodiment of the under-screen light sensitivity compensation calibration method of the present invention;

[0038] Figure 5 is a flow chart of a third embodiment of the under-screen light sensitivity compensation calibration method of the present invention;

[0039] Figure 6 is a flow chart of a fourth embodiment of the under-screen light sensitivity compensation calibration method of the present invention;

[0040] Figure 7 is a flow chart of a fifth embodiment of the under-screen light sensitivity compensation calibration method of the present invention;

[0041] Figure 8is a flow chart of a sixth embodiment of the under-screen light sensitivity compensation calibration method of the present invention;

[0042] Fig. 9 is a flow chart of a seventh embodiment of the under-screen light sensitivity compensation calibration method of the present invention;

[0043] Fig.10 It is a flow chart of the eighth embodiment of the under-screen light sensitivity compensation calibration method of the present invention. DETAILED DESCRIPTION

[0044] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0045] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0046] The terminal may be implemented in various forms. For example, the terminal described in the present invention may include mobile terminals such as mobile phones, tablet computers, laptop computers, PDAs, portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.

[0047] The following description will be made by taking a mobile terminal as an example, and those skilled in the art will appreciate that, in addition to components specifically used for mobile purposes, the configuration according to the embodiments of the present invention can also be applied to fixed-type terminals.

[0048] See also Figure 1 , which is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A / V (audio / video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that Figure 1 The structure of the mobile terminal shown in the figure does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0049] Combine the following Figure 1 The following is a detailed introduction to the various components of the mobile terminal:

[0050] The radio frequency unit 101 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving the downlink information of the base station, it is sent to the processor 110 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 101 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution), etc.

[0051] WiFi is a short-range wireless transmission technology. Mobile terminals can help users send and receive emails, browse web pages, and access streaming media through WiFi module 102. It provides users with wireless broadband Internet access. Figure 1 The WiFi module 102 is shown, but it is understandable that it is not an essential component of the mobile terminal and can be omitted as needed without changing the essence of the invention.

[0052] The audio output unit 103 can convert the audio data received by the RF unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, etc. Moreover, the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.

[0053] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processor (GPU) 1041 and a microphone 1042, and the graphics processor 1041 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 processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 can be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a telephone call mode, a recording mode, a voice recognition mode, and other operating modes, and can process such sound into audio data. The processed audio (voice) data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 can implement various types of noise elimination (or suppression) algorithms to eliminate (or suppress) noise or interference generated in the process of receiving and sending audio signals.

[0054] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can also be configured on the mobile phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0055] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0056] The user input unit 107 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 1071 or near the touch panel 1071 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 110, and can receive and execute the command sent by the processor 110. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc., which are not specifically limited here.

[0057] Furthermore, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of the touch event. Then, the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Figure 1 In the figure, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to implement the input and output functions of the mobile terminal, which is not limited here.

[0058] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.

[0059] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 109 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0060] The processor 110 is the control center of the mobile terminal. It uses various interfaces and lines to connect various parts of the entire mobile terminal. It executes various functions of the mobile terminal and processes data by running or executing software programs and / or modules stored in the memory 109, and calling data stored in the memory 109, so as to monitor the mobile terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 110.

[0061] The mobile terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.

[0062] although Figure 1 Not shown, the mobile terminal 100 may further include a Bluetooth module, etc., which will not be described in detail here.

[0063] To facilitate understanding of the embodiments of the present invention, the communication network system on which the mobile terminal of the present invention is based is described below.

[0064] See also Figure 2 , Figure 2 A communication network system architecture diagram is provided for an embodiment of the present invention. The communication network system is an LTE system of universal mobile communication technology. The LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203 and an operator's IP service 204, which are sequentially connected for communication.

[0065] Specifically, UE201 may be the above-mentioned terminal 100, which will not be described in detail here.

[0066] E-UTRAN 202 includes eNodeB 2021 and other eNodeBs 2022 , etc. Among them, eNodeB 2021 can be connected to other eNodeBs 2022 through a backhaul (eg, an X2 interface), and eNodeB 2021 is connected to EPC 203 , and eNodeB 2021 can provide UE 201 with access to EPC 203 .

[0067] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, PGW (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function) 2036, etc. Among them, MME2031 is a control node that processes signaling between UE201 and EPC203, and provides bearer and connection management. HSS2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and save some user-specific information such as service features and data rates. All user data can be sent through SGW2034, PGW2035 can provide IP address allocation and other functions for UE 201, PCRF2036 is the policy and charging control policy decision point for service data flow and IP bearer resources, which selects and provides available policy and charging control decisions for the policy and charging execution function unit (not shown in the figure).

[0068] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem) or other IP services.

[0069] Although the above introduction takes the LTE system as an example, those skilled in the art should know that the present invention is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future new network systems, etc., which are not limited here.

[0070] Based on the above mobile terminal hardware structure and communication network system, various embodiments of the method of the present invention are proposed.

[0071] Embodiment 1

[0072] Figure 3 1 is a flow chart of a first embodiment of a method for calibrating the light sensitivity compensation under a screen according to the present invention. A method for calibrating the light sensitivity compensation under a screen, the method comprising:

[0073] S1. When the device is about to enter normal screen display, take the average of three ambient light data under the screen as the initial value of the ambient brightness under the screen, determine the brightness level of the corresponding screen according to the initial value of the ambient brightness, and display the first frame of the picture according to the brightness level.

[0074] S2. When displaying the first frame, collect the ambient light data of the first frame with the screen on, and use the difference between the initial value of the ambient brightness under the screen and the ambient light data of the first frame with the screen on as a compensation value.

[0075] S3. When each frame is refreshed after the first frame, the ambient light data of each frame of the bright screen is collected, and the difference between the ambient light data of each frame of the bright screen and the compensation value is used as the current ambient brightness value, and the brightness level of the corresponding screen is determined according to the current ambient brightness initial value, and the next frame of the picture is displayed according to the brightness level.

[0076] S4. When a preset number of frames have been displayed, the current environment auxiliary brightness value is collected, and the compensation value is updated according to the current environment auxiliary brightness value, and the updated current environment brightness value and the updated brightness level are determined according to the updated compensation value, and the next frame after the preset number is displayed according to the updated brightness level.

[0077] In this embodiment, considering that the under-screen ambient light sensor is located below the screen, and the screen is a light source, which will cause part of the screen light energy to leak to the ambient sensor, thus causing the under-screen ambient light sensor to collect ambient light inaccurately. Therefore, this embodiment obtains the first frame of the bright screen ambient brightness value when the first frame is displayed, calculates the difference as the initial compensation value, obtains the current frame of the bright screen ambient brightness value when the screen displays the preset number of frames, calculates the new compensation value, and improves the accuracy of the under-screen ambient light sensor at once, enhancing the user experience.

[0078] In this embodiment, a mobile terminal is used as an example for explanation. When the mobile terminal is about to enter the normal screen display, the mobile terminal light leakage difference management module controls the under-screen ambient light sensor to start working. The under-screen ambient light sensor collects three ambient light data Lux1, Lux2, and Lux3. The mobile terminal light leakage difference management averages the three ambient light data Lux1, Lux2, and Lux3 to obtain the initial value of the under-screen ambient brightness Als_start. Then the mobile terminal sets the screen brightness parameter according to the screen matched by the current ambient brightness value, and sends the screen brightness parameter instruction to the mobile terminal screen management unit. The mobile terminal screen management unit controls the screen to set the matching brightness level according to the screen brightness parameter and displays the first frame content normally.

[0079] In this embodiment, when the mobile terminal displays the first frame, the mobile terminal light leakage difference management module controls the under-screen ambient light sensor to collect the first frame of bright screen ambient light data Als_te0 again. After the under-screen ambient light sensor data collection is completed, the mobile terminal light leakage difference management module calculates the compensation value Als_com=min(Als_te0-Als_start,0) between the under-screen ambient light sensor initial value Als_start and the first frame of bright screen ambient light data Als_te0. Subsequently, the mobile terminal light leakage difference management module controls the under-screen ambient light sensor to collect the ambient light data Als_ten under the bright screen of each frame when the screen is refreshed. After the under-screen ambient light sensor data is collected, the mobile terminal light leakage difference management module calculates the difference Als_ing=Als_ten-Als_com between the under-screen ambient light sensor compensation value Als_com and the ambient light data Als_ten under the bright screen of the frame. The calculated Als_ing by the mobile terminal light leakage difference management module is the current ambient brightness value. Subsequently, the mobile terminal sets the screen brightness parameters according to the screen matching the current ambient brightness value, and sends the screen brightness parameter instruction to the mobile terminal screen management unit. The mobile terminal screen management unit controls the screen to set the matching brightness level according to the screen brightness parameters and displays the next frame content normally.

[0080] In this embodiment, when the screen displays a preset number, for example 30, that is, when the 30th frame is displayed, the light leakage difference management module controls the camera auxiliary light acquisition module to obtain the current environment auxiliary brightness value Als_com_next, and the light leakage difference management module calculates a new compensation value Als_com_new = Als_com-next*D+Als_com*(1-D) for the current environment auxiliary brightness value Als_com_next and the previous environment brightness value Als_com, and then assigns Als_com_new to Als_com. Subsequently, the mobile terminal light leakage difference management module controls the under-screen ambient light sensor to collect the ambient light data Als_ten under the bright screen of each frame when the screen is refreshed. After the under-screen ambient light sensor data is collected, the mobile terminal light leakage difference management module calculates the difference Als_ing=Als_ten-Als_com between the under-screen ambient light sensor compensation value Als_com and the ambient light data Als_ten under the bright screen of the frame. The calculated Als_ing by the mobile terminal light leakage difference management module is the current ambient brightness value. Subsequently, the mobile terminal sets the screen brightness parameters according to the screen matching the current ambient brightness value, and sends the screen brightness parameter instruction to the mobile terminal screen management unit. The mobile terminal screen management unit controls the screen to set the matching brightness level according to the screen brightness parameters and displays the next frame content normally.

[0081] In this embodiment, the operation is cyclically performed in the above manner until the display mode is exited. When the screen displays the 30th frame, the light leakage difference management module controls the camera auxiliary light acquisition module to obtain the current environment auxiliary brightness value Als_com_next. The light leakage difference management module calculates a new compensation value Als_com_new = Als_com-next*D+Als_com*(1-D) for the current environment auxiliary brightness value Als_com_next and the previous environment brightness value Als_com, and then assigns the new compensation value Als_com_new to Als_com.

[0082] Optionally, in this embodiment, the camera auxiliary light acquisition module collects image data through the front camera light acquisition sensor, and the mobile terminal classifies the light sensitivity brightness value of each pixel point according to seven or more brightness intervals of 0~Lux1 cd / m2, Lux1~Lux2 cd / m2, Lux2~Lux3 cd / m2, Lux3~Lux4 cd / m2, Lux4~Lux5 cd / m2, Lux5~Lux6 cd / m2, and >Lux6 cd / m2.

[0083] In this embodiment, the ratio of the number of pixels in each brightness interval and the average brightness of each pixel in each brightness interval are calculated, and the data with a pixel ratio lower than 20% are discarded. Then, the average brightness value Yavg of all pixels in the brightness interval is obtained and saved. For example, the average pixel brightness current needs to be calculated for seven brightness intervals. The number of pixels in the first brightness interval is a1 and the average pixel brightness current is Yavg_a1, the number of pixels in the second brightness interval is a2 and the average pixel brightness current is Yavg_a2, the number of pixels in the nth brightness interval is an and the average brightness current is Yavg_an, then the average brightness value of the seven brightness intervals Yavg = (Yavg_a1*a1+Yavg_a2*a2+……+Yavg_a7*a7) / (a1+a2+……+a7). Then, the average brightness value Yavg_7 of the n brightness intervals is compared with Yavg_a1, Yavg_a2...Yavg_a7 respectively, and then the average value of the five intervals whose average brightness values ​​of the seven intervals are closest to Yavg_7 is calculated to obtain the final environment brightness average value Yavg_5.

[0084] In this embodiment, when the mobile terminal is about to enter the normal screen display, the mobile terminal light leakage difference management module controls the under-screen ambient light sensor to start working. The under-screen ambient light sensor collects three ambient light data Lux1, Lux2, and Lux3. The mobile terminal light leakage difference management averages the three ambient light data Lux1, Lux2, and Lux3 to obtain the initial value of the under-screen ambient brightness Als_start. Then the mobile terminal sets the screen brightness parameters according to the screen matched by the current ambient brightness value, and sends the screen brightness parameter instruction to the mobile terminal screen management unit. The mobile terminal screen management unit controls the screen to set the matching brightness level according to the screen brightness parameters and displays the first frame content normally.

[0085] In this embodiment, when the mobile terminal displays the first frame, the mobile terminal light leakage difference management module controls the under-screen ambient light sensor to collect the first frame of bright screen ambient light data Als_te0 again. After the under-screen ambient light sensor data collection is completed, the mobile terminal light leakage difference management module calculates the compensation value Als_com=min(Als_te0-Als_start,0) between the under-screen ambient light sensor initial value Als_start and the first frame of bright screen ambient light data Als_te0. Subsequently, the mobile terminal light leakage difference management module controls the under-screen ambient light sensor to collect the ambient light data Als_ten under the bright screen of each frame when the screen is refreshed. After the under-screen ambient light sensor data is collected, the mobile terminal light leakage difference management module calculates the difference Als_ing=Als_ten-Als_com between the under-screen ambient light sensor compensation value Als_com and the ambient light data Als_ten under the bright screen of the frame. The calculated Als_ing by the mobile terminal light leakage difference management module is the current ambient brightness value. Subsequently, the mobile terminal sets the screen brightness parameters according to the screen matching the current ambient brightness value, and sends the screen brightness parameter instruction to the mobile terminal screen management unit. The mobile terminal screen management unit controls the screen to set the matching brightness level according to the screen brightness parameters and displays the next frame content normally.

[0086] In this embodiment, the mobile terminal sets the interval frame value to T0. When the screen displays the N*T0 frame, the light leakage difference management module controls the camera auxiliary light acquisition module to obtain the current environment auxiliary brightness value Als_com_next. The light leakage difference management module calculates the new compensation value Als_com_new = Als_com-next*D+Als_com*(1-D) between the current environment auxiliary brightness value Als_com_next and the previous environment brightness value Als_com, and then assigns Als_com_new to Als_com. Subsequently, the mobile terminal light leakage difference management module controls the under-screen ambient light sensor to collect the ambient light data Als_ten under the bright screen of each frame when the screen is refreshed. After the under-screen ambient light sensor data is collected, the mobile terminal light leakage difference management module calculates the difference Als_ing=Als_ten-Als_com between the under-screen ambient light sensor compensation value Als_com and the ambient light data Als_ten under the bright screen of the frame. The calculated Als_ing by the mobile terminal light leakage difference management module is the current ambient brightness value. Subsequently, the mobile terminal sets the screen brightness parameters according to the screen matching the current ambient brightness value, and sends the screen brightness parameter instruction to the mobile terminal screen management unit. The mobile terminal screen management unit controls the screen to set the matching brightness level according to the screen brightness parameters and displays the next frame content normally.

[0087] The beneficial effect of this embodiment is that when the device is about to enter normal screen display, the average of three times of ambient light data under the screen is taken as the initial value of the ambient brightness under the screen, the brightness level of the corresponding screen is determined according to the initial value of the ambient brightness, and the first frame of the picture is displayed according to the brightness level; when the first frame of the picture is displayed, the ambient light data of the first frame of the bright screen is collected, and the difference between the initial value of the ambient brightness under the screen and the ambient light data of the first frame of the bright screen is used as the compensation value; when each frame after the first frame of the picture is refreshed, the ambient light data of each frame of the bright screen is collected, and the difference between the ambient light data of each frame of the bright screen and the compensation value is used as the current ambient brightness value, the brightness level of the corresponding screen is determined according to the current initial value of the ambient brightness, and the next frame of the picture is displayed according to the brightness level; when a preset number of frames have been displayed, the current environment auxiliary brightness value is collected, and the compensation value is updated according to the current environment auxiliary brightness value, and the updated current environment brightness value and the updated brightness level are determined according to the updated compensation value, and the next frame of the picture after the preset number is displayed according to the updated brightness level. A user-friendly under-screen light compensation calibration solution has been implemented, so that the light leakage compensation value can be effectively updated, improving the calibration accuracy of the under-screen light sensitivity and enhancing the user experience.

[0088] Embodiment 2

[0089] Figure 4 : is a flow chart of the second embodiment of the under-screen light compensation calibration method of the present invention. Based on the above embodiment, when the device is about to enter normal screen display, the average of three under-screen ambient light data is taken as the under-screen ambient brightness initial value, the corresponding screen brightness level is determined according to the ambient brightness initial value, and the first frame of the picture is displayed according to the brightness level, including:

[0090] S11. When the device is about to enter normal screen display, the light leakage difference management module of the device controls the under-screen ambient light sensor of the device to start working, and the under-screen ambient light sensor collects three ambient light data Lux1, Lux2, and Lux3. The light leakage difference management module averages the three ambient light data Lux1, Lux2, and Lux3 to obtain the initial value Als_start of the under-screen ambient brightness.

[0091] S12. Match the corresponding screen brightness parameters according to the initial value of the ambient brightness, and send an instruction containing the screen brightness parameters to the screen management unit, and the screen management unit controls the screen to set a matching brightness level according to the screen brightness parameters and display the first frame.

[0092] The beneficial effect of this embodiment is that a humanized under-screen light compensation calibration solution is implemented, so that the light leakage compensation value can be effectively updated, the calibration accuracy of the under-screen light sensitivity is improved, and the user experience is enhanced.

[0093] Embodiment 3

[0094] Figure 5 : is a flowchart of the third embodiment of the under-screen light sensitivity compensation calibration method of the present invention. Based on the above embodiment, when displaying the first frame of the picture, the ambient light data of the first frame of the bright screen is collected, and the difference between the initial value of the under-screen ambient brightness and the ambient light data of the first frame of the bright screen is used as the compensation value, including:

[0095] S21. When displaying the first frame, the light leakage difference management module controls the under-screen ambient light sensor to collect the ambient light data Als_te0 when the first frame is on again.

[0096] S22. After the under-screen ambient light sensor completes collecting the ambient light data Als_te0, the light leakage difference management module calculates the compensation value of the ambient light data Als_te0 when the first frame is on and the initial value of the under-screen ambient light Als_start, and obtains the compensation value Als_com=min(Als_te0-Als_start,0).

[0097] The beneficial effect of this embodiment is that a humanized under-screen light compensation calibration solution is implemented, so that the light leakage compensation value can be effectively updated, the calibration accuracy of the under-screen light sensitivity is improved, and the user experience is enhanced.

[0098] Embodiment 4

[0099] Figure 6 : is a flowchart of a fourth embodiment of the under-screen light compensation calibration method of the present invention. Based on the above embodiment, when each frame after the first frame is refreshed, the ambient light data of each frame of the bright screen is collected, and the difference between the ambient light data of each frame of the bright screen and the compensation value is used as the current ambient brightness value, and the brightness level of the corresponding screen is determined according to the current ambient brightness initial value, and the next frame of the picture is displayed according to the brightness level, including:

[0100] S31. When the screen is refreshed for each frame, the light leakage difference management module controls the under-screen ambient light sensor to collect the ambient light data Als_ten under the bright screen of the current display frame. When the under-screen ambient light sensor completes the data collection, the light leakage difference management module calculates the difference between the compensation value Als_com and the ambient light data Als_ten under the bright screen of the current display frame to obtain the current ambient brightness value Als_ing=Als_ten-Als_com.

[0101] S32. Match the corresponding screen brightness parameters according to the current ambient brightness value, and send the instruction containing the screen brightness parameters to the screen management unit, and the screen management unit controls the screen to set a matching brightness level according to the screen brightness parameters, and displays the next frame of the current display frame.

[0102] The beneficial effect of this embodiment is that a humanized under-screen light compensation calibration solution is implemented, so that the light leakage compensation value can be effectively updated, the calibration accuracy of the under-screen light sensitivity is improved, and the user experience is enhanced.

[0103] Embodiment 5

[0104] Figure 7 : is a flowchart of the fifth embodiment of the under-screen light compensation calibration method of the present invention. Based on the above embodiment, when a preset number of frames have been displayed, the current environment auxiliary brightness value is collected, and the compensation value is updated according to the current environment auxiliary brightness value, and the updated current environment brightness value and the updated brightness level are determined according to the updated compensation value, and the next frame after the preset number is displayed according to the updated brightness level, including:

[0105] S41. When the preset number of frames have been displayed, the light leakage difference management module controls the camera of the device to assist the under-screen ambient light sensor to obtain the current ambient auxiliary brightness value Als_com_next.

[0106] S42. The light leakage difference management module calculates a new compensation value between the current environment auxiliary brightness value Als_com_next and the compensation value Als_com to obtain a new compensation value Als_com_new=Als_com-next*D+Als_com*(1-D), and assigns the new compensation value Als_com_new to the compensation value Als_com, where D is the preset number.

[0107] The beneficial effect of this embodiment is that a humanized under-screen light compensation calibration solution is implemented, so that the light leakage compensation value can be effectively updated, the calibration accuracy of the under-screen light sensitivity is improved, and the user experience is enhanced.

[0108] Embodiment 6

[0109] Figure 8: is a flowchart of a sixth embodiment of the under-screen light compensation calibration method of the present invention. Based on the above embodiment, when a preset number of frames have been displayed, the current environment auxiliary brightness value is collected, and the compensation value is updated according to the current environment auxiliary brightness value, and the updated current environment brightness value and the updated brightness level are determined according to the updated compensation value, and the next frame after the preset number is displayed according to the updated brightness level, and it also includes:

[0110] S43, the light leakage difference management module controls the under-screen ambient light sensor to collect the bright screen ambient light data Als_ten of the current display frame before the next frame after the preset number of frames are displayed on the screen.

[0111] S44. After the under-screen ambient light sensor data collection is completed, the light leakage difference management module calculates the difference between the updated compensation value Als_com and the bright screen ambient light data Als_ten of the current display frame to obtain the current ambient brightness value Als_ing=Als_ten-Als_com.

[0112] The beneficial effect of this embodiment is that a humanized under-screen light compensation calibration solution is implemented, so that the light leakage compensation value can be effectively updated, the calibration accuracy of the under-screen light sensitivity is improved, and the user experience is enhanced.

[0113] Embodiment 7

[0114] Fig. 9 : is a flowchart of the seventh embodiment of the under-screen light compensation calibration method of the present invention. Based on the above embodiment, when a preset number of frames have been displayed, the current environment auxiliary brightness value is collected, and the compensation value is updated according to the current environment auxiliary brightness value, and the updated current environment brightness value and the updated brightness level are determined according to the updated compensation value, and the next frame after the preset number is displayed according to the updated brightness level, and it also includes:

[0115] S45. Match corresponding screen brightness parameters according to the current environment brightness value, and send an instruction containing the screen brightness parameters to the screen management unit.

[0116] S46: The screen management unit controls the screen to set a brightness level that matches the screen brightness parameter, and displays the next frame after the preset number of frames.

[0117] The beneficial effect of this embodiment is that a humanized under-screen light compensation calibration solution is implemented, so that the light leakage compensation value can be effectively updated, the calibration accuracy of the under-screen light sensitivity is improved, and the user experience is enhanced.

[0118] Embodiment 8

[0119] Fig.10 : is a flowchart of the eighth embodiment of the under-screen light compensation calibration method of the present invention. Based on the above embodiment, when a preset number of frames have been displayed, the current environment auxiliary brightness value is collected, and the compensation value is updated according to the current environment auxiliary brightness value, and the updated current environment brightness value and the updated brightness level are determined according to the updated compensation value, and the next frame after the preset number is displayed according to the updated brightness level, including:

[0120] S51. Obtain the auxiliary brightness value of the current environment at the preset number of intervals.

[0121] S52: Update the compensation value according to the current environment auxiliary brightness value.

[0122] The beneficial effect of this embodiment is that a humanized under-screen light compensation calibration solution is implemented, so that the light leakage compensation value can be effectively updated, the calibration accuracy of the under-screen light sensitivity is improved, and the user experience is enhanced.

[0123] Embodiment 9

[0124] Based on the above embodiments, the present invention also proposes an under-screen light compensation calibration device, which includes a memory, a processor, and a computer program stored on the memory and run on the processor. When the computer program is executed by the processor, the steps of the under-screen light compensation calibration method as described in any one of the above items are implemented.

[0125] It should be noted that the above-mentioned device embodiment and method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the device embodiment, which will not be repeated here.

[0126] Embodiment 10

[0127] Based on the above embodiments, the present invention also proposes a computer-readable storage medium, which stores an under-screen light compensation calibration program. When the under-screen light compensation calibration program is executed by a processor, the steps of the under-screen light compensation calibration method as described in any one of the above items are implemented.

[0128] It should be noted that the above-mentioned medium embodiment and method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the medium embodiment, which will not be repeated here.

[0129] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including 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 sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0130] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0131] 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 a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0132] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

Claims

1. A method for calibrating under-screen light compensation, characterized in that: The method comprises: When the device is about to enter normal screen display, the average of three ambient light data under the screen is taken as the initial value of the ambient brightness under the screen, the brightness level of the corresponding screen is determined according to the initial value of the ambient brightness, and the first frame of the picture is displayed according to the brightness level; When displaying the first frame of the picture, the ambient light data of the first frame of the screen is collected, and the difference between the initial value of the ambient brightness under the screen and the ambient light data of the first frame of the screen is used as the compensation value; When each frame after the first frame is refreshed, the ambient light data of each frame of the screen is collected, the difference between the ambient light data of each frame of the screen and the compensation value is used as the current ambient brightness value, the brightness level of the corresponding screen is determined according to the current ambient brightness initial value, and the next frame is displayed according to the brightness level; When a preset number of frames have been displayed, the current environment auxiliary brightness value is collected, and the compensation value is updated according to the current environment auxiliary brightness value, and an updated current environment brightness value and an updated brightness level are determined according to the updated compensation value, and the next frame after the preset number is displayed according to the updated brightness level; When the device is about to enter normal screen display, taking the average of three times of ambient light data under the screen as the initial value of the ambient brightness under the screen, determining the brightness level of the corresponding screen according to the initial value of the ambient brightness, and displaying the first frame of the picture according to the brightness level, including: When the device is about to enter normal screen display, the light leakage difference management module of the device controls the under-screen ambient light sensor of the device to start working, and the under-screen ambient light sensor collects three ambient light data Lux1, Lux2, and Lux3. The light leakage difference management performs average processing on the three ambient light data Lux1, Lux2, and Lux3 to obtain the initial value Als_start of the under-screen ambient brightness; Matching a corresponding screen brightness parameter according to the initial value of the ambient brightness, and sending an instruction containing the screen brightness parameter to a screen management unit, wherein the screen management unit controls the screen to set a matching brightness level according to the screen brightness parameter and displays the first frame; When displaying the first frame of the picture, collecting the ambient light data of the first frame of the screen, and taking the difference between the initial value of the ambient brightness under the screen and the ambient light data of the first frame of the screen as the compensation value, including: When the first frame is displayed, the light leakage difference management module controls the under-screen ambient light sensor to collect the ambient light data Als_te0 of the first frame when the screen is on again; After the under-screen ambient light sensor completes collecting the ambient light data Als_te0, the light leakage difference management module calculates a compensation value between the ambient light data Als_te0 of the first frame when the screen is on and the initial value Als_start of the under-screen ambient light to obtain the compensation value Als_com=min(Als_te0-Als_start,0); When each frame after the first frame is refreshed, the ambient light data of each frame of the screen is collected, the difference between the ambient light data of each frame of the screen and the compensation value is used as the current ambient brightness value, the brightness level of the corresponding screen is determined according to the current ambient brightness initial value, and the next frame of the screen is displayed according to the brightness level, including: When the screen is refreshed for each frame, the light leakage difference management module controls the under-screen ambient light sensor to collect the ambient light data Als_ten under the bright screen of the current display frame. When the under-screen ambient light sensor data collection is completed, the light leakage difference management module calculates the difference between the compensation value Als_com and the ambient light data Als_ten under the bright screen of the current display frame to obtain the current ambient brightness value Als_ing=Als_ten-Als_com; Matching a corresponding screen brightness parameter according to the current environment brightness value, and sending an instruction containing the screen brightness parameter to a screen management unit, wherein the screen management unit controls the screen to set a matching brightness level according to the screen brightness parameter, and displays the next frame of the current display frame; When a preset number of frames have been displayed, the current environment auxiliary brightness value is collected, and the compensation value is updated according to the current environment auxiliary brightness value, and an updated current environment brightness value and an updated brightness level are determined according to the updated compensation value, and the next frame after the preset number is displayed according to the updated brightness level, including: When the preset number of frames have been displayed, the light leakage difference management module controls the camera of the device to assist the under-screen ambient light sensor to obtain the current ambient auxiliary brightness value Als_com_next; The light leakage difference management module calculates a new compensation value by combining the current environment auxiliary brightness value Als_com_next with the compensation value Als_com to obtain a new compensation value Als_com_new=Als_com-next*D+Als_com*(1-D), and assigns the new compensation value Als_com_new to the compensation value Als_com, where D is the preset number; The light leakage difference management module controls the under-screen ambient light sensor to collect the bright screen ambient light data Als_ten of the current display frame before the next frame after the preset number of frames are displayed on the screen; When the under-screen ambient light sensor data collection is completed, the light leakage difference management module performs difference calculation between the updated compensation value Als_com and the bright screen under-screen ambient light data Als_ten of the current display frame to obtain the current ambient brightness value Als_ing=Als_ten-Als_com; Matching a corresponding screen brightness parameter according to the current environment brightness value, and sending an instruction containing the screen brightness parameter to a screen management unit; The screen management unit controls the screen to set a brightness level that matches the screen brightness parameter, and displays the next frame after the preset number of frames; When a preset number of frames have been displayed, the current environment auxiliary brightness value is collected, and the compensation value is updated according to the current environment auxiliary brightness value, and the updated current environment brightness value and the updated brightness level are determined according to the updated compensation value, and the next frame after the preset number is displayed according to the updated brightness level, including: Acquire the auxiliary brightness value of the current environment at the preset number of intervals; The compensation value is updated according to the current environment auxiliary brightness value.

2. An under-screen light compensation calibration device, characterized in that: The device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the under-screen light compensation calibration method as described in claim 1 are implemented.

3. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an under-screen light compensation calibration program, and when the under-screen light compensation calibration program is executed by the processor, the steps of the under-screen light compensation calibration method according to claim 1 are implemented.