An under-screen fingerprint dynamic configuration method, device and computer readable storage medium

By dynamically adjusting the transparency of the black layer during in-display fingerprint recognition, the problem of inconsistent screen display effects was solved, improving the user experience of in-display fingerprint recognition.

CN115346249BActive Publication Date: 2026-07-21NUBIA TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NUBIA TECHNOLOGY CO LTD
Filing Date
2022-07-26
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

In existing technologies, when using HBM screen global highlight mode and DIM semi-transparent black layer, under-display fingerprint recognition cannot fully synchronize the screen display effect, causing users to perceive changes in screen color and affecting the user experience.

Method used

By querying a preset correspondence table when starting and stopping the under-display fingerprint sensor, the transparency value of the black layer is dynamically adjusted to ensure a smooth transition between screen status and brightness. This includes generating a transparency relationship curve and calculating the count value to achieve changes in the transparency of the black layer.

Benefits of technology

It effectively reduces the user's perception of each change in the screen, improves the user experience of the under-display fingerprint function, and achieves a smooth transition between the global screen highlight mode and the black layer.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115346249B_ABST
    Figure CN115346249B_ABST
Patent Text Reader

Abstract

The application discloses a kind of under-screen fingerprint dynamic configuration method, equipment and computer readable storage medium, wherein the method comprises: when starting under-screen fingerprint, in the first corresponding relation table of preset, the first luminance value of current system is inquired, the first transparency value of black layer corresponding to the first luminance value is determined, and the current transparency value of the black layer of the system next frame is set according to the screen state of the system every previous frame updated;When stopping the under-screen fingerprint, if the fourth luminance value of the system previous frame is the maximum luminance value of the system, the screen state of the system is global highlight mode, and the current transparency value of the black layer of the system next frame corresponding to the global highlight mode is set according to the second corresponding relation table.The application realizes the smooth transition of screen global highlight mode and black layer, effectively improves the use experience of under-screen fingerprint function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of mobile communications, and more particularly to a method, device, and computer-readable storage medium for dynamic configuration of under-display fingerprint sensors. Background Technology

[0002] In existing technologies, with the continuous development of smart terminal devices, the application of under-display fingerprint recognition is becoming increasingly widespread. In particular, under-display optical fingerprint recognition requires the screen's HBM (Hyperbrightness Mode) to identify fingerprints. When the screen is in HBM mode, a semi-transparent black DIM layer is added to eliminate the brightness and prevent glare.

[0003] However, the above solution has a problem: due to the limitations of screen characteristics, when using HBM screen global high brightness mode + DIM semi-transparent black layer, it is impossible to completely match and synchronize with the current screen display effect. As a result, users will feel that the screen color has changed abnormally when using under-display fingerprint, which affects the user's experience of using the under-display fingerprint function to a certain extent. Summary of the Invention

[0004] To address the aforementioned technical deficiencies in the prior art, this invention proposes a dynamic configuration method for under-display fingerprint sensors, the method comprising:

[0005] When the under-display fingerprint sensor is activated, the system queries the current first brightness value in the preset first correspondence table, determines the first transparency value of the black layer corresponding to the first brightness value, and sets the current transparency value of the black layer in the next frame of the system according to the screen state updated in the previous frame of the system.

[0006] When the under-display fingerprint sensor is stopped, the current fourth brightness value of the system is queried in the preset second correspondence table, and the fourth transparency value of the black layer corresponding to the fourth brightness value is determined and updated.

[0007] When the under-display fingerprint sensor is stopped, if the fourth brightness value of the previous frame of the system is the maximum brightness value of the system, then the screen state of the system is set to global high brightness mode, and the current transparency value of the black layer of the next frame of the system corresponding to the global high brightness mode is set according to the second correspondence table.

[0008] Optionally, when activating the under-display fingerprint sensor, the process of querying the current first brightness value of the system in a preset first correspondence table, determining the first transparency value of the black layer corresponding to the first brightness value, and setting the current transparency value of the black layer for the next frame of the system based on the screen state updated in the previous frame includes:

[0009] Obtain the first relationship data between the black layer overlaid with the maximum brightness value and the current brightness of the system;

[0010] A first relationship curve between the transparency value of the black layer and the current brightness is generated based on the first relationship data, and a first corresponding relationship table is generated based on the first relationship curve.

[0011] Optionally, when activating the under-display fingerprint sensor, the process of querying the current first brightness value of the system in a preset first correspondence table, determining the first transparency value of the black layer corresponding to the first brightness value, and setting the current transparency value of the black layer for the next frame of the system based on the screen state updated in the previous frame, further includes:

[0012] Obtain the second relationship data between the black layer and the current brightness of the system when the global highlight mode is overlaid;

[0013] A second relationship curve is generated based on the second relationship data, relating the transparency value of the black layer to the current brightness, and a second corresponding relationship table is generated based on the second relationship curve.

[0014] Optionally, when activating the under-display fingerprint sensor, querying the current first brightness value of the system in a preset first correspondence table, determining the first transparency value of the black layer corresponding to the first brightness value, and setting the current transparency value of the black layer in the next frame of the system according to the screen state updated in the previous frame, includes:

[0015] When the under-display fingerprint sensor is activated, a first count value is obtained by dividing the maximum brightness value by the first brightness value, and a second transparency value is obtained by dividing the first transparency value by the first count value.

[0016] The black layer is displayed in the first frame of the system, and the current transparency value of the black layer is set to zero.

[0017] Optionally, when activating the under-display fingerprint sensor, querying the current first brightness value of the system in a preset first correspondence table, determining the first transparency value of the black layer corresponding to the first brightness value, and setting the current transparency value of the black layer in the next frame of the system according to the screen state updated in the previous frame, further includes:

[0018] After each frame update, the current brightness value of the system is increased by one unit, and at the same time, a new transparency value corresponding to the new current brightness value is obtained according to the first correspondence table.

[0019] The sum of the new transparency value and the second transparency value is used as the current transparency value of the black layer in the next frame.

[0020] Optionally, when activating the under-display fingerprint sensor, querying the current first brightness value of the system in a preset first correspondence table, determining the first transparency value of the black layer corresponding to the first brightness value, and setting the current transparency value of the black layer in the next frame of the system according to the screen state updated in the previous frame, further includes:

[0021] As the current brightness of the system gradually increases to the maximum brightness value, the third transparency value corresponding to the maximum brightness value is queried according to the second correspondence table.

[0022] In the next frame, the global highlight mode is activated, and the transparency of the black layer is set to the third transparency value.

[0023] Optionally, when stopping the under-display fingerprint sensor, if the fourth brightness value of the previous frame of the system is the maximum brightness value of the system, then the screen state of the system is set to global high-brightness mode, and the current transparency value of the black layer of the next frame of the system corresponding to the global high-brightness mode is set according to the second correspondence table, including:

[0024] When the under-display fingerprint sensor is stopped, a second count value is obtained by dividing the maximum brightness value by the fourth brightness value;

[0025] The fifth transparency value is obtained by dividing the fourth transparency value by the second count value.

[0026] Optionally, when stopping the under-display fingerprint sensor, if the second brightness value of the previous frame of the system is the maximum brightness value of the system, then setting the screen state of the system to a global highlight mode, and setting the current transparency value of the black layer of the system in the next frame corresponding to the global highlight mode according to the second correspondence table, further includes:

[0027] At the initial moment when the under-display fingerprint is stopped, the black layer is the fourth transparency value. In subsequent moments, after each frame update, the system reduces the fourth brightness value by one unit. At the same time, it obtains a new transparency value corresponding to the new current brightness value according to the first correspondence table, and uses the sum of the new transparency value and the fourth transparency value as the current transparency value of the black layer in the next frame.

[0028] When the current transparency value is zero, the black layer is hidden.

[0029] The present invention also proposes an under-display fingerprint dynamic configuration device, the device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the under-display fingerprint dynamic configuration method as described in any of the preceding claims.

[0030] The present invention also proposes a computer-readable storage medium storing an under-display fingerprint dynamic configuration program, which, when executed by a processor, implements the steps of the under-display fingerprint dynamic configuration method as described in any of the preceding claims.

[0031] The under-display fingerprint dynamic configuration method, device, and computer-readable storage medium of the present invention, when activating the under-display fingerprint sensor, query the current first brightness value of the system in a preset first correspondence table, determine the first transparency value of the black layer corresponding to the first brightness value, and set the current transparency value of the black layer in the next frame of the system according to the screen state updated in the previous frame of the system; when stopping the under-display fingerprint sensor, query the current fourth brightness value of the system in a preset second correspondence table, determine and update the fourth transparency value of the black layer corresponding to the fourth brightness value; when stopping the under-display fingerprint sensor, if the fourth brightness value of the previous frame of the system is the maximum brightness value of the system, then the screen state of the system is set to a global high-brightness mode, and the current transparency value of the black layer in the next frame of the system corresponding to the global high-brightness mode is set according to the second correspondence table. This embodiment enables the screen backlight and black layer to change gradually, reduces the user's perception of each level of change, achieves a smooth transition between the global high-brightness mode and the black layer, and effectively improves the user experience of the under-display fingerprint function. Attached Figure Description

[0032] The present invention will be further described below with reference to the accompanying drawings and embodiments. In the accompanying drawings:

[0033] Figure 1 This is a schematic diagram of the hardware structure of a mobile terminal according to the present invention;

[0034] Figure 2 This is a first flowchart of an embodiment of the under-display fingerprint dynamic configuration method of the present invention;

[0035] Figure 3 This is a second flowchart of an embodiment of the under-display fingerprint dynamic configuration method of the present invention;

[0036] Figure 4 This is the third flowchart of an embodiment of the under-display fingerprint dynamic configuration method of the present invention;

[0037] Figure 5This is the fourth flowchart of an embodiment of the under-display fingerprint dynamic configuration method of the present invention;

[0038] Figure 6 This is the fifth flowchart of an embodiment of the under-display fingerprint dynamic configuration method of the present invention;

[0039] Figure 7 This is the sixth flowchart of an embodiment of the under-display fingerprint dynamic configuration method of the present invention;

[0040] Figure 8 This is the seventh flowchart of an embodiment of the under-display fingerprint dynamic configuration method of the present invention;

[0041] Figure 9 This is the eighth flowchart of an embodiment of the under-display fingerprint dynamic configuration method of the present invention;

[0042] Figures 9-10 This is a schematic diagram of the relationship curves of an embodiment of the under-display fingerprint dynamic configuration method of the present invention;

[0043] Figure 11 This is a first logical diagram of an embodiment of the under-display fingerprint dynamic configuration method of the present invention;

[0044] Figure 12 This is a second logic diagram of an embodiment of the under-display fingerprint dynamic configuration method of the present invention;

[0045] Figure 13 This is a third logic diagram of an embodiment of the under-display fingerprint dynamic configuration method of the present invention;

[0046] Figure 14 This is a fourth logic diagram of an embodiment of the under-display fingerprint dynamic configuration method of the present invention. Detailed Implementation

[0047] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.

[0048] In the following description, the use of suffixes such as "module," "part," or "unit" to denote elements is solely for the purpose of illustrative purposes and has no specific meaning in itself. Therefore, "module," "part," or "unit" may be used interchangeably.

[0049] Terminals can be implemented in various forms. For example, the terminals described in this invention may include mobile terminals such as mobile phones, tablets, laptops, handheld computers, personal digital assistants (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.

[0050] The following description will use a mobile terminal as an example. Those skilled in the art will understand that, apart from elements specifically designed for mobile purposes, the construction according to embodiments of the present invention can also be applied to fixed-type terminals.

[0051] Please see Figure 1 This is a schematic diagram of the hardware structure of a mobile terminal implementing various embodiments of the present invention. The mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an A / V (Audio / Video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111, etc. Those skilled in the art will understand that... Figure 1 The mobile terminal structure shown does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0052] The following is combined with Figure 1 A detailed introduction to each component of the mobile terminal:

[0053] The radio frequency unit 101 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink information from the base station and processes it with the processor 110; additionally, it transmits uplink data to the base station. Typically, 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, and a duplexer. Furthermore, the radio frequency unit 101 can also communicate wirelessly with networks and other devices. The aforementioned wireless communications may 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).

[0054] WiFi is a short-range wireless transmission technology. Mobile terminals, through the WiFi module 102, can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access. Although Figure 1 WiFi module 102 is shown, but it is understood that it is not a necessary component of a mobile terminal and can be omitted as needed without changing the nature of the invention.

[0055] The audio output unit 103 can convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into audio signals and output them as sound when the mobile terminal 100 is in call signal receiving mode, call mode, recording mode, voice recognition mode, broadcast receiving mode, etc. Furthermore, the audio output unit 103 can also provide audio output related to specific functions performed by the mobile terminal 100 (e.g., call signal receiving sound, message receiving sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.

[0056] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos acquired by an image capture device (such as a camera) in video capture mode or image capture mode. The processed image frames can be displayed on the display unit 106. The image frames processed by the GPU 1041 can be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) in operating modes such as telephone call mode, recording mode, and voice recognition mode, and can process such sound into audio data. The processed audio (voice) data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 in telephone call mode. The microphone 1042 can implement various types of noise cancellation (or suppression) algorithms to eliminate (or suppress) noise or interference generated during the reception and transmission of audio signals.

[0057] 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. The ambient light sensor can adjust the brightness of the display panel 1061 according to the ambient light level, and the proximity sensor can turn off the display panel 1061 and / or 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 various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used for applications that recognize the phone's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition-related functions (such as pedometer, tapping), etc. Other sensors that may be configured in the phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, will not be described in detail here.

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

[0059] User input unit 107 can be used to receive input numerical or character information, and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, user input unit 107 may include touch panel 1071 and other input devices 1072. Touch panel 1071, also known as touch screen, can collect touch operations on or near the user (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near touch panel 1071), and drive corresponding connection devices according to a pre-set program. Touch panel 1071 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, sends it to processor 110, and can receive and execute commands from processor 110. In addition, touch panel 1071 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), trackball, mouse, joystick, etc., without being limited here.

[0060] 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 touch event. Subsequently, the processor 110 provides corresponding visual output on the display panel 1061 based on the type of touch event. Although in Figure 1 In this embodiment, the touch panel 1071 and the display panel 1061 are two independent components to realize 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 realize the input and output functions of the mobile terminal. The specific implementation is not limited here.

[0061] Interface unit 108 serves as an interface through which at least one external device can connect to 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, and so on. Interface unit 108 may be used to receive input (e.g., data, power, etc.) from the external device and transmit the received input to one or more elements within mobile terminal 100, or it may be used to transmit data between mobile terminal 100 and the external device.

[0062] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback, image playback, etc.), etc.; the data storage area may store data created based on the use of the mobile phone (such as audio data, phonebook, etc.). Furthermore, the memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0063] The processor 110 is the control center of the mobile terminal. It connects various parts of the mobile terminal via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 109, and by calling data stored in the memory 109, it performs various functions and processes data of the mobile terminal, thereby providing overall monitoring of the mobile terminal. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 110.

[0064] The mobile terminal 100 may also include a power supply 111 (such as a battery) that supplies power to various components. Preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.

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

[0066] Based on the above-described mobile terminal hardware structure, the following embodiments of the method of the present invention are proposed.

[0067] Figure 2 This is a first flowchart of an embodiment of the under-display fingerprint dynamic configuration method of the present invention. This embodiment proposes an under-display fingerprint dynamic configuration method, which includes:

[0068] S1. When the under-display fingerprint is activated, the system queries the current first brightness value in the preset first correspondence table, determines the first transparency value of the black layer corresponding to the first brightness value, and sets the current transparency value of the black layer in the next frame of the system according to the screen state updated in the previous frame of the system.

[0069] S2. When the under-display fingerprint is stopped, the current fourth brightness value of the system is queried in the preset second correspondence table, and the fourth transparency value of the black layer corresponding to the fourth brightness value is determined and updated.

[0070] S3. When the under-display fingerprint is stopped, if the fourth brightness value of the previous frame of the system is the maximum brightness value of the system, then the screen state of the system is set to global high brightness mode, and the current transparency value of the black layer of the next frame of the system corresponding to the global high brightness mode is set according to the second correspondence table.

[0071] Figure 3 This is a second flowchart of an embodiment of the under-display fingerprint dynamic configuration method of the present invention. Optionally, when activating the under-display fingerprint sensor, the step of querying the current first brightness value of the system in a preset first correspondence table, determining the first transparency value of the black layer corresponding to the first brightness value, and setting the current transparency value of the black layer in the next frame of the system according to the screen state updated in the previous frame of the system, includes the following steps:

[0072] S01. Obtain the first relationship data between the current brightness of the system and the maximum brightness value of the black layer when it is superimposed on the maximum brightness value;

[0073] S02. Generate a first relationship curve between the transparency value of the black layer and the current brightness based on the first relationship data, and generate the first corresponding relationship table based on the first relationship curve.

[0074] Figure 4 This is a third flowchart of an embodiment of the under-display fingerprint dynamic configuration method of the present invention. Optionally, when the under-display fingerprint is activated, the method of querying the current first brightness value of the system in a preset first correspondence table, determining the first transparency value of the black layer corresponding to the first brightness value, and setting the current transparency value of the black layer in the next frame of the system according to the screen state updated in the previous frame of the system, further includes:

[0075] S03. Obtain the second relationship data between the black layer and the current brightness of the system when the global highlight mode is overlaid on the black layer;

[0076] S04. Generate a second relationship curve between the transparency value of the black layer and the current brightness based on the second relationship data, and generate a second correspondence table based on the second relationship curve.

[0077] Figure 5This is a fourth flowchart of an embodiment of the under-display fingerprint dynamic configuration method of the present invention. Optionally, when activating the under-display fingerprint sensor, querying the current first brightness value of the system in a preset first correspondence table, determining the first transparency value of the black layer corresponding to the first brightness value, and setting the current transparency value of the black layer in the next frame of the system according to the screen state updated in the previous frame of the system, includes:

[0078] S11. When the under-display fingerprint sensor is activated, a first count value is obtained by dividing the maximum brightness value by the first brightness value, and a second transparency value is obtained by dividing the first transparency value by the first count value.

[0079] S12. Display the black layer in the first frame of the system and set the current transparency value of the black layer to zero.

[0080] Figure 6 This is the fifth flowchart of an embodiment of the under-display fingerprint dynamic configuration method of the present invention. Optionally, when activating the under-display fingerprint sensor, the step of querying the current first brightness value of the system in a preset first correspondence table, determining the first transparency value of the black layer corresponding to the first brightness value, and setting the current transparency value of the black layer in the next frame of the system according to the screen state updated in the previous frame of the system, further includes:

[0081] S13. After each frame update of the system, the current brightness value of the system is increased by one unit. At the same time, a new transparency value corresponding to the new current brightness value is obtained according to the first correspondence table.

[0082] S14. The sum of the new transparency value and the second transparency value is used as the current transparency value of the black layer in the next frame.

[0083] Figure 7 This is the sixth flowchart of an embodiment of the under-display fingerprint dynamic configuration method of the present invention. Optionally, when activating the under-display fingerprint sensor, the step of querying the current first brightness value of the system in a preset first correspondence table, determining the first transparency value of the black layer corresponding to the first brightness value, and setting the current transparency value of the black layer in the next frame of the system according to the screen state updated in the previous frame of the system, further includes:

[0084] S15. When the current brightness of the system gradually increases to the maximum brightness value, the third transparency value corresponding to the maximum brightness value is queried according to the second correspondence table.

[0085] S16. In the next frame, activate the global highlight mode and set the transparency of the black layer to the third transparency value.

[0086] Figure 8 This is the seventh flowchart of an embodiment of the under-display fingerprint dynamic configuration method of the present invention. Optionally, when stopping the under-display fingerprint, if the fourth brightness value of the previous frame of the system is the maximum brightness value of the system, then the screen state of the system is set to global high brightness mode, and the current transparency value of the black layer of the system in the next frame corresponding to the global high brightness mode is set according to the second correspondence table, including:

[0087] S31. When the under-display fingerprint sensor is stopped, a second count value is obtained by dividing the maximum brightness value by the fourth brightness value;

[0088] S32. The fifth transparency value is obtained by dividing the fourth transparency value by the second count value.

[0089] Figure 9 This is the eighth flowchart of an embodiment of the under-display fingerprint dynamic configuration method of the present invention. Optionally, when stopping the under-display fingerprint, if the second brightness value of the previous frame of the system is the maximum brightness value of the system, then the screen state of the system is set to global high brightness mode, and the current transparency value of the black layer of the system in the next frame corresponding to the global high brightness mode is set according to the second correspondence table, the method further includes:

[0090] S33. At the initial moment when the under-display fingerprint is stopped, the black layer is the fourth transparency value. In subsequent moments, after each frame is updated, the system reduces the fourth brightness value by one unit. At the same time, it obtains a new transparency value corresponding to the new current brightness value according to the first correspondence table, and uses the sum of the new transparency value and the fourth transparency value as the current transparency value of the black layer in the next frame.

[0091] S34. When the current transparency value is zero, hide the black layer.

[0092] In this embodiment, a specific example is used for illustration.

[0093] Please refer to Figure 10 The figure shows the relationship between DIM (semi-transparent black layer) and MaxLight (maximum brightness, the brightness when the brightness bar is pulled to the maximum) and brightness. That is, the relationship between DIM's alpha (transparency) and brightness (light) is saved in the curve table (MAP1). MAP1 can be used to look up the alpha value of MaxLight plus MAP1 corresponding to different brightness levels.

[0094] Please refer to Figure 11The figure shows the relationship between testing DIM (semi-transparent black layer) plus HBM (screen global highlight) and brightness. The alpha (transparency) and brightness (light) of DIM are saved in the curve table (MAP2). MAP2 can be used to look up the alpha value of the corresponding brightness of HBM plus MAP2 under different brightness levels.

[0095] Please refer to Figure 12 When the fingerprint is used, the Light value of the current system brightness is queried from MAP1 and recorded as L0. This value is then assigned to the alpha (transparency) value A1 in MAP1 corresponding to L1.

[0096] In this embodiment, the maximum brightness MaxLight is divided by the current brightness L1 value Count, and A1 is divided by Count to obtain the value A2.

[0097] In this embodiment, a black DIM layer is displayed, and its initial transparency value alpha is set to 0. Then, after each frame update, the current system brightness is increased by 1, and the transparency alpha of the DIM is increased by A2.

[0098] Therefore, please refer to Figure 13 When the brightness L1 gradually changes to MaxLight, the alpha value A3 corresponding to the brightness L0 of the HBM state is queried according to MAP2, and in the next frame, the screen state is set to HBM, and the transparency is set to A3.

[0099] Please refer to Figure 14 When fingerprinting stops, the alpha (transparency) value A1 of DIM1 corresponding to the current brightness value L0 is retrieved from MAP1. In the next frame, the alpha of DIM1 is set to A1, and the brightness is set to MaxLight. It should be noted that the current brightness when fingerprinting stops, and the subsequent gradual changes in brightness and transparency values, are different from the current brightness and subsequent gradual changes in brightness and transparency values ​​when fingerprinting starts. In both descriptions, L0, A1, A2, and L1 are used to refer to them.

[0100] In this embodiment, the maximum brightness MaxLight is divided by the current brightness L0 value Count, and A1 is divided by Count to obtain the value A2.

[0101] In this embodiment, after each frame update, the current brightness L1 is decreased by 1, and the transparency alpha of the DIM layer is decreased by A2. Therefore, if the current brightness is L0 and the alpha of the DIM layer is 0, the DIM layer is hidden.

[0102] The beneficial effect of this embodiment is that, when the under-display fingerprint sensor is activated, the system's current first brightness value is queried from a preset first correspondence table to determine the first transparency value of the black layer corresponding to the first brightness value, and the current transparency value of the black layer in the next frame of the system is set according to the screen state updated in the previous frame; when the under-display fingerprint sensor is stopped, the system's current fourth brightness value is queried from a preset second correspondence table to determine and update the fourth transparency value of the black layer corresponding to the fourth brightness value; when the under-display fingerprint sensor is stopped, if the fourth brightness value of the previous frame of the system is the maximum brightness value of the system, the screen state of the system is set to global high brightness mode, and the current transparency value of the black layer in the next frame of the system corresponding to the global high brightness mode is set according to the second correspondence table. This embodiment enables the screen backlight and black layer to change gradually, reducing the user's perception of each level of change, achieving a smooth transition between the global high brightness mode and the black layer, and effectively improving the user experience of the under-display fingerprint function.

[0103] Based on the above embodiments, the present invention also proposes an under-display fingerprint dynamic configuration device, which 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, it implements the steps of the under-display fingerprint dynamic configuration method as described in any of the above embodiments.

[0104] It should be noted that the above-described device embodiments and method embodiments belong to the same concept. The specific implementation process can be found in the method embodiments, and the technical features in the method embodiments are also applicable to the device embodiments, which will not be repeated here.

[0105] Based on the above embodiments, the present invention also proposes a computer-readable storage medium storing an under-display fingerprint dynamic configuration program, which, when executed by a processor, implements the steps of the under-display fingerprint dynamic configuration method as described in any of the above claims.

[0106] It should be noted that the above-described medium embodiments and method embodiments belong to the same concept. The specific implementation process can be found in the method embodiments, and the technical features in the method embodiments are also applicable to the medium embodiments, which will not be repeated here.

[0107] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0108] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0109] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0110] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims. All of these forms are within the protection scope of the present invention.

Claims

1. A method for dynamically configuring under-display fingerprint sensors, characterized in that, The method includes: When the maximum brightness value of the black layer is obtained, the first relationship data between it and the current brightness of the system is obtained; a first relationship curve between the transparency value of the black layer and the current brightness is generated based on the first relationship data, and a first correspondence table is generated based on the first relationship curve; Obtain the second relationship data between the black layer and the current brightness of the system when the global highlight mode is overlaid; generate a second relationship curve between the transparency value of the black layer and the current brightness based on the second relationship data, and generate a second correspondence table based on the second relationship curve; When the under-display fingerprint sensor is activated, the system queries the current first brightness value in a preset first correspondence table to determine the first transparency value of the black layer corresponding to the first brightness value, and sets the current transparency value of the black layer in the next frame of the system according to the screen state updated in the previous frame; when the current brightness of the system gradually increases to the maximum brightness value, the system queries the third transparency value corresponding to the maximum brightness value according to the second correspondence table; in the next frame, the global highlight mode is activated, and the transparency of the black layer is set to the third transparency value; When the under-display fingerprint sensor is stopped, the current fourth brightness value of the system is queried in the preset second correspondence table, and the fourth transparency value of the black layer corresponding to the fourth brightness value is determined and updated. When the under-display fingerprint sensor is stopped, if the fourth brightness value of the previous frame of the system is the maximum brightness value of the system, then the screen state of the system is set to global high brightness mode, and the current transparency value of the black layer of the next frame of the system corresponding to the global high brightness mode is set according to the second correspondence table.

2. The under-display fingerprint dynamic configuration method according to claim 1, characterized in that, When activating the in-display fingerprint sensor, the system queries a preset first correspondence table to determine the current first brightness value, identifies the first transparency value of the black layer corresponding to the first brightness value, and sets the current transparency value of the black layer for the next frame based on the screen state updated in the previous frame. This includes: When the under-display fingerprint sensor is activated, a first count value is obtained by dividing the maximum brightness value by the first brightness value, and a second transparency value is obtained by dividing the first transparency value by the first count value. The black layer is displayed in the first frame of the system, and the current transparency value of the black layer is set to zero.

3. The under-display fingerprint dynamic configuration method according to claim 2, characterized in that, The step of querying the current first brightness value of the system in a preset first correspondence table when activating the under-display fingerprint sensor, determining the first transparency value of the black layer corresponding to the first brightness value, and setting the current transparency value of the black layer in the next frame of the system according to the screen state updated in the previous frame of the system, further includes: After each frame update, the current brightness value of the system is increased by one unit, and at the same time, a new transparency value corresponding to the new current brightness value is obtained according to the first correspondence table. The sum of the new transparency value and the second transparency value is used as the current transparency value of the black layer in the next frame.

4. The under-display fingerprint dynamic configuration method according to claim 1, characterized in that, When the under-display fingerprint sensor is stopped, if the fourth brightness value of the previous frame of the system is the maximum brightness value of the system, then the screen state of the system is set to global high-brightness mode, and the current transparency value of the black layer of the system in the next frame corresponding to the global high-brightness mode is set according to the second correspondence table, including: When the under-display fingerprint sensor is stopped, a second count value is obtained by dividing the maximum brightness value by the fourth brightness value; The fifth transparency value is obtained by dividing the fourth transparency value by the second count value.

5. The under-display fingerprint dynamic configuration method according to claim 4, characterized in that, When the under-display fingerprint sensor is stopped, if the fourth brightness value of the previous frame of the system is the maximum brightness value of the system, then the screen state of the system is set to global high-brightness mode, and the current transparency value of the black layer of the system in the next frame corresponding to the global high-brightness mode is set according to the second correspondence table, the method further includes: At the initial moment when the under-display fingerprint is stopped, the black layer is the fourth transparency value. In subsequent moments, after each frame update, the system reduces the fourth brightness value by one unit. At the same time, it obtains a new transparency value corresponding to the new current brightness value according to the first correspondence table, and uses the sum of the new transparency value and the fourth transparency value as the current transparency value of the black layer in the next frame. When the current transparency value is zero, the black layer is hidden.

6. A device for dynamic configuration of under-display fingerprint sensors, characterized in that, The device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the under-display fingerprint dynamic configuration method as described in any one of claims 1 to 5.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores an under-display fingerprint dynamic configuration program, which, when executed by a processor, implements the steps of the under-display fingerprint dynamic configuration method as described in any one of claims 1 to 5.