Fingerprint light spot brightness adjusting method and device, electronic equipment and medium

By detecting the brightness of the environment and using PWM dimming technology, the brightness of the under-screen fingerprint spot is flexibly adjusted, which solves the problem of improper brightness setting of under-screen fingerprint recognition in different environments, improving user experience and recognition accuracy, while saving energy consumption.

CN120388397APending Publication Date: 2025-07-29BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410117567.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-26
Publication Date
2025-07-29

AI Technical Summary

Technical Problem

When using under-screen fingerprint recognition in different environments, the brightness setting of fingerprint spots in the prior art may lead to light leakage, affecting the user experience or recognition effect, and may increase the risk of burnout of the display screen.

Method used

By detecting the environmental brightness, using the PWM dimming principle, the display brightness of the fingerprint spot is flexibly adjusted, and the light emitting unit is controlled to adjust the brightness to adapt to the environmental brightness within a preset period, avoiding the glaring feeling and optimizing the recognition effect.

Benefits of technology

Adapt brightness in different environments to avoid light leakage and glaring feelings, improve fingerprint recognition accuracy, save energy consumption and reduce the risk of burnout of the display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120388397A_ABST
    Figure CN120388397A_ABST
Patent Text Reader

Abstract

The invention provides a fingerprint light spot brightness adjusting method and device, electronic equipment and a medium, and relates to the technical field of terminal display, and the method comprises the steps: firstly detecting the environment brightness of the environment where the electronic equipment is located, and determining the display brightness matched with the environment brightness according to the environment brightness; and then controlling a light-emitting unit arranged in the electronic equipment in a first time period of the preset period to lighten a fingerprint light spot displayed by the electronic equipment according to the first brightness, and controlling the light-emitting unit in a second time period of the preset period to lighten the fingerprint light spot according to the second brightness, so that the fingerprint light spot is displayed at the display brightness in the preset period. The display brightness is determined by adapting to the ambient brightness, the darker display brightness is adapted in the dark environment, and even if light leakage occurs, the display brightness does not bring dazzling feeling to a user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of terminal display, and particularly to a method, apparatus, electronic device, and medium for adjusting the brightness of a fingerprint light spot. Background Art

[0002] In pursuit of a higher screen-to-body ratio, an in-screen optical fingerprint solution has emerged. In related technologies, there is a fixed pressing area on the display screen of an electronic device. The pressing area can display a fingerprint light spot. When a user uses the in-screen fingerprint, by pressing the area with a finger, the fingerprint light spot corresponding to the area is lit to a pre-set brightness, such as 600 nit (a brightness unit, nit), to light up the fingerprint part, thereby realizing fingerprint collection.

[0003] During the process of a user using the in-screen fingerprint, there may be a problem of light leakage of the light spot due to incomplete pressing of the above area by the finger. And the sensitivity of the user to the screen brightness is different in different environments. Especially in dim light scenarios such as evening, night, and cinema, the human eye is more sensitive to light. If light leakage occurs in such scenarios, the pre-set brightness may cause a dazzling feeling for the user in such scenarios, directly affecting the unlocking experience in such scenarios. Summary of the Invention

[0004] To overcome the problems existing in the related technologies, the present disclosure provides a method, apparatus, electronic device, and medium for adjusting the brightness of a fingerprint light spot.

[0005] According to a first aspect of an embodiment of the present disclosure, a method for adjusting the brightness of a fingerprint light spot is provided. The method includes: detecting the ambient brightness of the electronic device; determining the display brightness of the fingerprint light spot according to the ambient brightness; controlling a light-emitting unit disposed inside the electronic device to light up the fingerprint light spot displayed on the electronic device at a first brightness during a first time period of a preset period, and controlling the light-emitting unit to light up the fingerprint light spot at a second brightness during a second time period of the preset period, so that the fingerprint light spot is displayed at the display brightness during the preset period.

[0006] Optionally, the determining the display brightness of the fingerprint light spot according to the ambient brightness includes: obtaining the screen brightness of the display screen; determining the display brightness of the fingerprint light spot according to the ambient brightness and the screen brightness.

[0007] Optionally, the determining the display brightness of the fingerprint light spot according to the ambient brightness includes: determining the brightness interval where the ambient brightness is located; determining the display brightness of the fingerprint light spot according to a preset mapping relationship corresponding to the brightness interval and the ambient brightness, where the preset mapping relationship includes the corresponding relationship between the ambient brightness and the display brightness.

[0008] Optionally, detecting the ambient brightness of the environment where the electronic device is located includes: when a pressing operation on a preset area where the fingerprint light spot is located is detected, detecting the ambient brightness of the environment where the electronic device is located; the method further includes: identifying the fingerprint pressing the preset area to obtain an identification result; if the identification result does not match a preset result, adjusting the display brightness; controlling the light emitting unit to light up the fingerprint light spot at the first brightness during a third time period within the preset period, and controlling the light emitting unit to light up the fingerprint light spot at the second brightness during a fourth time period of the preset period, so that the fingerprint light spot is displayed at the adjusted display brightness within the preset period.

[0009] Optionally, the adjusted display brightness is a preset maximum brightness.

[0010] Optionally, it further includes: in response to a pressing operation on the area where the fingerprint light spot with adjusted brightness is located, identifying the fingerprint pressing the preset area to obtain a new identification result; if the new identification result does not match the preset result, re-executing the adjustment of the display brightness until the number of adjustment times reaches a preset number, and then adjusting the display brightness to the preset maximum brightness.

[0011] Optionally, it further includes: controlling the fingerprint light spot to be displayed according to preset parameters, where the preset parameters corresponding to the fingerprint light spots with different display brightnesses are the same or different.

[0012] According to a second aspect of the embodiments of the present disclosure, there is provided a fingerprint light spot brightness adjustment device, including: a detection module for detecting the ambient brightness of the environment where the electronic device is located; a determination module for determining the display brightness of the fingerprint light spot according to the ambient brightness; a display module for controlling a light emitting unit disposed inside the electronic device to light up the fingerprint light spot displayed on the electronic device at a first brightness during a first time period of a preset period, and controlling the light emitting unit to light up the fingerprint light spot at a second brightness during a second time period of the preset period, so that the fingerprint light spot is displayed at the display brightness within the preset period.

[0013] According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein, when the processor is configured to execute the instructions, the steps of the fingerprint light spot brightness adjustment method provided in the first aspect of the present disclosure are implemented.

[0014] According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of the fingerprint light spot brightness adjustment method provided in the first aspect of the present disclosure are implemented.

[0015] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: Detect the ambient brightness of the electronic device, then determine the display brightness adapted to the ambient brightness, and then control the light-emitting unit disposed inside the electronic device to light up the fingerprint light spot displayed on the electronic device at a first brightness during the first period of a preset period, and control the light-emitting unit to light up the fingerprint light spot at a second brightness during the second period of the preset period, so that the fingerprint light spot is displayed at the display brightness within the preset period. The present disclosure adapts the display brightness according to the ambient brightness, and adapts a relatively dim display brightness in a dark environment. Even if there is light leakage, this display brightness will not cause a dazzling feeling to the user. In a bright environment, a relatively bright display brightness is adapted, and the user's fingerprint is illuminated by the relatively bright display brightness, so that the brightness of the fingerprint collected in the bright environment is high and the details contained are many, so as to improve the accuracy of subsequent fingerprint recognition. In addition, compared with the method of setting a certain fixed brightness in the related art, in the present disclosure, the display brightness is adapted according to the ambient brightness, and then the display brightness of the fingerprint light spot is flexibly adjusted by using the principle of PWM dimming, which can save the energy consumption of the electronic device.

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

[0017] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure and used together with the specification to explain the principles of the present disclosure.

[0018] Figure 1 is a schematic diagram of fingerprint light spot light leakage;

[0019] Figure 2 is a flowchart of a method for adjusting the brightness of a fingerprint light spot according to an exemplary embodiment;

[0020] Figure 3 is a curve graph of time and brightness;

[0021] Figure 4 is a curve graph of time and brightness;

[0022] Figure 5 is a curve graph of time and brightness;

[0023] Figure 6 is a curve graph between ambient brightness and brightness;

[0024] Figure 7 is a curve graph between ambient brightness and display brightness;

[0025] Figure 8 is a block diagram of a device for adjusting the brightness of a fingerprint light spot according to an exemplary embodiment;

[0026] Figure 9 It is a block diagram of an electronic device for a fingerprint spot brightness adjustment method shown according to an exemplary embodiment. Detailed implementation manners

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

[0028] It should be noted that all actions of obtaining signals, information, or data in the present disclosure are carried out on the premise of complying with the corresponding data protection regulations and policies of the country where the location is located and obtaining the authorization given by the owner of the corresponding device.

[0029] In order to pursue a higher screen-to-body ratio, the under-screen optical fingerprint solution has emerged. In the related art, there is a fixed pressing area on the display screen of the electronic device. The pressing area can display a fingerprint spot. When the user uses the under-screen fingerprint, by pressing the area with a finger, the fingerprint spot corresponding to the area is lit to a pre-set brightness, for example, 600 nit, to light up the fingerprint part, thereby realizing the collection of the fingerprint.

[0030] During the process of the user using the under-screen fingerprint, there may be a problem of light leakage of the spot due to incomplete finger pressing of the above area. For example, as Figure 1 shown, the user presses the elliptical pressing area on the electronic device incompletely, resulting in light leakage of the fingerprint spot in the elliptical area. And the user's sensitivity to the screen brightness is different in different environments. Especially in dim light scenarios such as evening, night, and cinema, the human eye is more sensitive to light. In such scenarios, if light leakage occurs, the pre-set brightness may cause the user to feel dazzling in such scenarios, directly affecting the unlocking experience in such scenarios. Or, in a brighter light scenario, compared with the ambient brightness, the pre-set brightness is too small, resulting in a low brightness of the collected fingerprint and few details included, which may directly affect the fingerprint recognition effect. In addition, if the pre-set brightness is set to be relatively large, then the display screen may have a risk of being burned out.

[0031] Based on this, the present disclosure provides a fingerprint spot brightness adjustment method. Refer to Figure 2 , the fingerprint spot brightness adjustment method can be applied to Figure 8 the fingerprint spot brightness adjustment device 200 shown in Figure 9The electronic device 800 and the computer-readable storage medium shown. In this embodiment, it is taken as an example of being applied to an electronic device. For example, the electronic device can be a device with a display screen such as a smart phone, a tablet computer, a wearable device, a vehicle-mounted device, a notebook computer, a super mobile personal computer, etc. The specific type of the electronic device is not limited in the embodiments of the present disclosure. The following will be directed to Figure 2 The process shown will be elaborated in detail. The fingerprint spot brightness adjustment method can specifically include the following steps:

[0032] Step S110: Detect the ambient brightness of the environment where the electronic device is located.

[0033] A sensor for detecting brightness is provided on the electronic device. The ambient brightness of the environment where the electronic device is located is detected through this sensor, and this ambient brightness can reflect the brightness and darkness of the environment where the electronic device is located. For example, the sensor for detecting brightness can be, but is not limited to, a photoresistor sensor, a photodiode sensor, etc.

[0034] In one implementation manner, the electronic device detects the ambient brightness of the environment where the electronic device is located in real time or periodically.

[0035] In another implementation manner, when a pressing operation on the electronic device is detected, the sensor on the electronic device works to detect the ambient brightness of the environment where the electronic device is located. Optionally, the pressing operation can be a pressing operation on any position on the display screen of the electronic device, or a pressing operation on a specific position on the electronic device, such as a pressing operation on a preset area where the fingerprint spot is located.

[0036] As a way, when a pressing operation on the preset area by the user is detected, if the pressing area is larger than the preset area and the trigger condition for ambient brightness detection is met, the ambient brightness of the environment where the electronic device is located is detected. For example, the preset area is 50%, 60%, etc. of the area of the preset area.

[0037] Step S120: Determine the display brightness of the fingerprint spot according to the ambient brightness.

[0038] According to the ambient brightness, determine the display brightness of the fingerprint spot adapted to this ambient brightness.

[0039] Step S130: Control the light-emitting unit provided inside the electronic device to light up the fingerprint spot displayed on the electronic device at a first brightness during a first period of a preset period, and control the light-emitting unit to light up the fingerprint spot at a second brightness during a second period of the preset period, so that the fingerprint spot is displayed at the display brightness during the preset period.

[0040] The light-emitting unit of the electronic device is arranged inside the electronic device, and is oppositely arranged with a preset area on the display screen of the electronic device where a fingerprint light spot is displayed. When the light-emitting unit is lit, it illuminates the fingerprint light spot, so that the fingerprint light spot can be displayed on the display screen. The fingerprint light spot illuminates the user's fingerprint with a display brightness, which is convenient for the electronic device to collect the user's fingerprint information for subsequent fingerprint recognition.

[0041] Among them, the preset period is less than the minimum duration that the human eye can perceive. The preset period includes a first period and a second period, and both the first period and the second period are longer than the time for the electronic device to collect an image once. This embodiment adjusts the brightness of the fingerprint light spot using the principle of PWM (Pulse Width Modulation) dimming, that is, the electronic device controls the light-emitting unit to light up the fingerprint light spot with a first brightness during the first period, and controls the light-emitting unit to light up the fingerprint light spot with a second brightness during the second period. Since the preset period is less than the minimum duration that the human eye can perceive, within the preset period, even if the brightness displayed in the preset area changes, the human eye will not feel the light-emitting unit flickering, but can only see the display brightness superimposed by the first brightness and the second brightness, thereby realizing the adjustment of the display brightness of the fingerprint light spot.

[0042] Optionally, the display brightness of the fingerprint light spot can be adjusted by adjusting the first brightness, the second brightness, the first period, and the second period. For example, the display brightness can be adjusted by adjusting the ratio of the first period to the second period. As Figure 3 shown, the duration of the preset period is t2, where t1=(1 / 2)*t2, and the display brightness is (n1 + n2) / 2, where n1 is at least the lowest brightness that the display screen can display, and n2 is at most the highest brightness that the display screen can display. As Figure 4 shown, the duration of the preset period is t5, where t4=(3 / 4)*t5, and the display brightness is (3*n1 + n2) / 4. In addition to adjusting the ratio of the first period to the second period in the preset period, the first brightness and the second brightness can also be adjusted. As Figure 5 shown, the duration of the preset period is t7, where t6=(1 / 2)*t7, and the display brightness is (n3 + n4) / 2.

[0043] It should be noted that if the first period is not an integer multiple of the time for the electronic device to collect an image once, then the number of times of collecting fingerprint images during the first period is the integer obtained by dividing the first period by the time for collecting an image once, which can avoid the electronic device collecting images with brightness changes at the junction of the first period and the second period, thereby affecting the clarity of the collected fingerprint images.

[0044] The fingerprint spot brightness adjustment method provided by the present disclosure detects the ambient brightness of the electronic device, then determines the display brightness adapted to the ambient brightness according to the ambient brightness, and then controls the light-emitting unit arranged inside the electronic device to light up the fingerprint spot displayed on the electronic device at a first brightness during the first period of a preset period, and controls the light-emitting unit to light up the fingerprint spot at a second brightness during the second period of the preset period, so that the fingerprint spot is displayed at the display brightness within the preset period. The present disclosure adapts the display brightness according to the ambient brightness, and adapts a relatively dim display brightness in a dark environment. Even if there is light leakage, this display brightness will not cause a dazzling feeling to the user. In a bright environment, a relatively bright display brightness is adapted, and the user's fingerprint is illuminated by the relatively bright display brightness, so that the brightness of the fingerprint collected in the bright environment is high and contains a lot of details, so as to improve the accuracy of subsequent fingerprint recognition. In addition, compared with the method of setting a certain fixed brightness in the related art, in the present disclosure, the display brightness is adapted according to the ambient brightness, and then the display brightness of the fingerprint spot is flexibly adjusted by using the principle of PWM dimming, which can save the energy consumption of the electronic device. In addition, the risk of burning out caused by the display of a high-brightness fingerprint spot on the display screen all the time can also be reduced.

[0045] In one implementation manner, step S120 may be as follows: Obtain the screen brightness of the display screen. For example, obtain the screen brightness of the display screen through a sensor, or obtain the parameter corresponding to the screen brightness, and obtain the screen brightness according to this parameter. Then, according to the ambient brightness and the screen brightness, determine the display brightness of the fingerprint spot. For example, if the screen brightness is 0, it indicates that the display screen of the electronic device is in the off-screen state. It can be understood that when the user directly presses the preset area where the fingerprint spot is located, the first correspondence relationship between the ambient brightness and the display brightness is determined, and according to this first correspondence relationship, the display brightness corresponding to the ambient brightness is determined. If the screen brightness is not 0, it indicates that the display screen of the electronic device is in the on-screen state. It can be understood that when the user first lights up the screen by pressing a preset button on the electronic device or touching any position on the display screen of the electronic device except the preset area, the second correspondence relationship between the ambient brightness and the display brightness is determined, and according to this second correspondence relationship, the display brightness corresponding to the ambient brightness is determined. Optionally, at the same ambient brightness, the display brightness determined by the first correspondence relationship is lower than the display brightness determined by the second correspondence relationship.

[0046] For ease of understanding, taking the above correspondence relationship as an example of a relationship curve for illustration, please refer to Figure 6, Curve L2 is a curve between the ambient brightness and the brightness of the display screen. It can be understood that the electronic device can utilize Curve L2 to adapt the brightness of the display screen according to the ambient brightness. When the screen brightness is not 0, Curve L1 above Curve L2 is determined. Among them, the abscissa of Curve L1 corresponds to the ambient brightness, and the ordinate corresponds to the display brightness. The display brightness corresponding to the ambient brightness is obtained through Curve L1. When the screen brightness is 0, Curve L3 below Curve L2 is determined. Among them, the abscissa of Curve L3 corresponds to the ambient brightness, and the ordinate corresponds to the display brightness. The display brightness corresponding to the ambient brightness is obtained through Curve L3.

[0047] In this embodiment, when the ambient brightness is the same, when the screen brightness is not 0, the obtained display brightness is relatively high, which can enable the electronic device to collect fingerprints that are clear enough to improve the accuracy of subsequent fingerprint recognition. When the screen brightness is 0, the obtained display brightness is relatively low. This display brightness is sufficient to illuminate the user's fingerprint, enabling the electronic device to collect clear fingerprints to improve the accuracy of subsequent fingerprint recognition. In addition, this relatively low display brightness can reduce the power consumption of the electronic device.

[0048] Optionally, when the screen brightness is not 0, the brightness of the fingerprint light spot can be greater than the brightness of the screen to increase the contrast and clarity of the collected fingerprint image.

[0049] It should be noted that when the screen brightness is 0, the brightness of any fingerprint light spot can be greater than the screen brightness. Therefore, when the screen brightness is 0, the curve between the ambient brightness and the display brightness is not limited to the above-mentioned Curve L3, and can also be Curve L1 or Curve L2.

[0050] In another embodiment, the brightness interval in which the ambient brightness is located is determined. For example, Figure 7 in Curve L3, according to the change of Curve L3, the brightness interval is divided into a first interval, a second interval, and a third interval. Among them, the display brightness in both the first interval and the third interval is a fixed value. In the second interval, there is a positive correlation between the ambient brightness and the display brightness. According to the preset mapping relationship corresponding to the brightness interval and the ambient brightness, the display brightness of the fingerprint light spot is determined, where the preset mapping relationship includes the corresponding relationship between the ambient brightness and the display brightness.

[0051] In one embodiment, step S110 may be to detect the ambient brightness of the environment where the electronic device is located when a pressing operation on the preset area where the fingerprint light spot is located is detected.

[0052] The method for adjusting the brightness of the fingerprint light spot further includes: identifying the fingerprint pressing on the preset area to obtain an identification result; if the identification result does not match the preset result, adjusting the display brightness, where the preset result corresponds to the fingerprint entered by the user stored in the electronic device; controlling the light emitting unit to light up the fingerprint light spot at the first brightness during the third period within the preset period, and controlling the light emitting unit to light up the fingerprint light spot at the second brightness during the fourth period of the preset period, so that the fingerprint light spot is displayed at the adjusted display brightness within the preset period.

[0053] Optionally, the adjusted display brightness is the preset maximum brightness.

[0054] Optionally, the display brightness can also be gradually adjusted to the preset maximum brightness through multiple adjustments. For example, if the new identification result does not match the preset result, the display brightness is readjusted until the number of adjustment times reaches the preset number of times, and then the display brightness is adjusted to the preset maximum brightness.

[0055] After the light spot brightness is displayed on the electronic device according to the display brightness, a fingerprint image is collected. After repeatedly adjusting the display brightness for the preset number of times, the fingerprint images collected for the preset number of times are combined for fingerprint identification, thereby improving the accuracy of fingerprint identification. For example, a fingerprint recognition algorithm is used to identify the fingerprint image.

[0056] Optionally, after adjusting the preset number of times, if the collected identification result still does not match the preset result, an interface corresponding to other unlocking methods is displayed on the display screen. For example, an interface corresponding to face unlocking or an interface corresponding to password unlocking is displayed.

[0057] Optionally, the fingerprint light spot is controlled to be displayed according to preset parameters, where the preset parameters corresponding to the fingerprint light spots with different display brightnesses are the same or different.

[0058] For example, the preset parameters include photoelectric conversion efficiency, effective light receiving area of pixels, preset period, etc.

[0059] Setting the preset parameters to be the same can reduce the number of parameters stored in the electronic device and can correspondingly reduce the occupation of computing resources and storage resources. Setting the preset parameters to be different makes the preset parameters more adaptable to various display brightnesses, so that better fingerprints can be collected, and thus the accuracy of subsequent fingerprint identification can be improved.

[0060] Based on the same inventive concept, the present disclosure provides a device for adjusting the brightness of a fingerprint light spot. Please refer to Figure 8 The device 200 for adjusting the brightness of the fingerprint light spot includes: a detection module 210, a determination module 220, and a display module 230;

[0061] The detection module 210 is configured to detect the ambient brightness of the environment where the electronic device is located;

[0062] The determination module 220 is configured to determine the display brightness of the fingerprint light spot according to the ambient brightness;

[0063] The display module 230 is configured to control the light-emitting unit disposed inside the electronic device to light up the fingerprint light spot displayed on the electronic device at a first brightness during a first period of a preset period, and control the light-emitting unit to light up the fingerprint light spot at a second brightness during a second period of the preset period, so that the fingerprint light spot is displayed at the display brightness within the preset period.

[0064] Optionally, the determination module 220 includes: a brightness acquisition module and a first display brightness determination module;

[0065] The brightness acquisition module is configured to acquire the screen brightness of the display screen;

[0066] The first display brightness determination module is configured to determine the display brightness of the fingerprint light spot according to the ambient brightness and the screen brightness.

[0067] Optionally, the determination module 220 includes: an interval determination module and a second display brightness determination module;

[0068] The interval determination module is configured to determine the brightness interval in which the ambient brightness is located;

[0069] The second display brightness determination module is configured to determine the display brightness of the fingerprint light spot according to the preset mapping relationship corresponding to the brightness interval and the ambient brightness, where the preset mapping relationship includes the corresponding relationship between the ambient brightness and the display brightness.

[0070] Optionally, the detection module 210 includes: an ambient brightness detection module;

[0071] The ambient brightness detection module is configured to detect the ambient brightness of the environment where the electronic device is located when a pressing operation on a preset area where the fingerprint light spot is located is detected.

[0072] Optionally, the fingerprint light spot brightness adjustment device 200 further includes: a first recognition module, an adjustment module, and a brightness display module;

[0073] The first recognition module is configured to recognize the fingerprint pressing the preset area to obtain a recognition result;

[0074] The adjustment module is configured to adjust the display brightness if the recognition result does not match the preset result;

[0075] The brightness display module is used to control the light-emitting unit to light up the fingerprint light spot according to the first brightness during the third period within the preset period, and control the light-emitting unit to light up the fingerprint light spot according to the second brightness during the fourth period of the preset period, so that the fingerprint light spot is displayed with an adjusted display brightness within the preset period.

[0076] Optionally, the adjusted display brightness is a preset maximum brightness.

[0077] Optionally, the fingerprint light spot brightness adjustment device 200 further includes: a second recognition module and a preset adjustment module;

[0078] The second recognition module is used to, in response to a pressing operation on the area where the fingerprint light spot with adjusted brightness is located, recognize the fingerprint pressing the preset area to obtain a new recognition result;

[0079] The preset adjustment module is used to, if the new recognition result does not match the preset result, re-execute the adjustment of the display brightness until the adjustment times reach the preset times, and then adjust the display brightness to the preset maximum brightness.

[0080] Optionally, the fingerprint light spot brightness adjustment device 200 further includes: a parameter display module;

[0081] The parameter display module is used to control the fingerprint light spot to be displayed according to preset parameters, where the preset parameters corresponding to the fingerprint light spots with different display brightnesses are the same or different.

[0082] Regarding the fingerprint light spot brightness adjustment device 200 in the above embodiments, the specific ways for each module to perform operations have been described in detail in the embodiments related to the method, and will not be elaborated here.

[0083] The present disclosure also provides a computer-readable storage medium, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of the fingerprint light spot brightness adjustment method provided by the present disclosure are implemented.

[0084] Figure 9 It is a block diagram of an electronic device for a fingerprint light spot brightness adjustment method shown according to an exemplary embodiment. For example, the electronic device 800 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0085] Refer to Figure 9, the electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input / output interface 812, a sensor component 814, and a communication component 816.

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

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

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

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

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

[0091] The input / output interface 812 provides an interface between the processing component 802 and a peripheral interface module, which can be a keyboard, a click wheel, buttons, etc. These buttons can include but are not limited to: a home button, a volume button, a power button, and a lock button.

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

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

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

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

[0096] In addition to being an independent electronic device, the above fingerprint spot brightness adjustment device can also be a part of an independent electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip. The integrated circuit can be a single IC or a collection of multiple ICs. The chip can include, but is not limited to, the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip), etc. The above integrated circuit or chip can be used to execute executable instructions (or code) to implement the above fingerprint spot brightness adjustment method. The executable instructions can be stored in the integrated circuit or chip, or obtained from other devices or equipment. For example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instructions can be stored in the memory, and when the executable instructions are executed by the processor, the above fingerprint spot brightness adjustment method is implemented. Alternatively, the integrated circuit or chip can receive the executable instructions through the interface and transmit them to the processor for execution to implement the above fingerprint spot brightness adjustment method.

[0097] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for executing the above fingerprint spot brightness adjustment method when executed by the programmable device.

[0098] In summary, the present disclosure provides a method, apparatus, electronic device, and medium for adjusting the brightness of a fingerprint light spot. First, the ambient brightness of the environment where the electronic device is located is detected, then the display brightness adapted to the ambient brightness is determined according to the ambient brightness, and then the light-emitting unit provided inside the electronic device is controlled to light up the fingerprint light spot displayed on the electronic device at a first brightness during a first period of a preset cycle, and the light-emitting unit is controlled to light up the fingerprint light spot at a second brightness during a second period of the preset cycle, so that the fingerprint light spot is displayed at the display brightness within the preset cycle. The present disclosure adapts the display brightness according to the ambient brightness, and adapts a relatively dim display brightness in a dark environment. Even if there is light leakage, this display brightness will not cause a dazzling feeling to the user. In a bright environment, a relatively bright display brightness is adapted, and the user's fingerprint is illuminated by the relatively bright display brightness, so that the brightness of the fingerprint collected in the bright environment is high and contains a lot of details, so as to improve the accuracy of subsequent fingerprint recognition. In addition, compared with the method of setting a certain fixed brightness in the related art, in the present disclosure, the display brightness is adapted according to the ambient brightness, and then the PWM dimming principle is used to flexibly adjust the display brightness of the fingerprint light spot, which can save the energy consumption of the electronic device.

[0099] After considering the specification and practicing the present disclosure, those skilled in the art will readily conceive of other embodiments of the present disclosure. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.

[0100] It should be understood that the present disclosure is not limited to the exact structures already described and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.

Claims

1. A method for adjusting the brightness of a fingerprint light spot, characterized in that, The method includes: Detecting the ambient brightness of the environment where the electronic device is located; Determining the display brightness of the fingerprint light spot according to the ambient brightness; Controlling the light-emitting unit disposed inside the electronic device to light up the fingerprint light spot displayed on the electronic device at a first brightness during a first period of a preset period, and controlling the light-emitting unit to light up the fingerprint light spot at a second brightness during a second period of the preset period, so that the fingerprint light spot is displayed at the display brightness within the preset period.

2. The method according to claim 1, characterized in that The determining the display brightness of the fingerprint light spot according to the ambient brightness includes: Obtaining the screen brightness of the display screen; Determining the display brightness of the fingerprint light spot according to the ambient brightness and the screen brightness.

3. The method according to claim 1, characterized in that The determining the display brightness of the fingerprint light spot according to the ambient brightness includes: Determining the brightness interval in which the ambient brightness is located; Determining the display brightness of the fingerprint light spot according to the preset mapping relationship corresponding to the brightness interval and the ambient brightness, where the preset mapping relationship includes the corresponding relationship between the ambient brightness and the display brightness.

4. The method according to any one of claims 1 to 3, characterized in that The detecting the ambient brightness of the environment where the electronic device is located includes: When a pressing operation on a preset area where the fingerprint light spot is located is detected, detecting the ambient brightness of the environment where the electronic device is located; The method further includes: Identifying the fingerprint pressing the preset area to obtain an identification result; If the identification result does not match the preset result, adjusting the display brightness; Controlling the light-emitting unit to light up the fingerprint light spot at the first brightness during a third period within the preset period, and controlling the light-emitting unit to light up the fingerprint light spot at the second brightness during a fourth period of the preset period, so that the fingerprint light spot is displayed at the adjusted display brightness within the preset period.

5. The method according to claim 4, wherein The adjusted display brightness is the preset maximum brightness.

6. The method according to claim 4, characterized in that It further includes: In response to a pressing operation on the area where the fingerprint light spot with adjusted brightness is located, identifying the fingerprint pressing the preset area to obtain a new identification result; If the new identification result does not match the preset result, re-executing the adjusting the display brightness until the number of adjustment times reaches the preset number of times, and then adjusting the display brightness to the preset maximum brightness.

7. The method according to claim 1, wherein It further includes: Controlling the fingerprint light spot to be displayed according to preset parameters, where the preset parameters corresponding to the fingerprint light spots with different display brightnesses are the same or different.

8. A fingerprint light spot brightness adjustment device, characterized in that, The device includes: A detection module for detecting the ambient brightness of the environment where the electronic device is located; A determination module for determining the display brightness of the fingerprint light spot according to the ambient brightness; A display module for controlling the light-emitting unit disposed inside the electronic device to light up the fingerprint light spot displayed on the electronic device at a first brightness during a first period of a preset period, and controlling the light-emitting unit to light up the fingerprint light spot at a second brightness during a second period of the preset period, so that the fingerprint light spot is displayed at the display brightness within the preset period.

9. An electronic device, characterized in that, It includes: A processor; A memory for storing instructions executable by the processor; Wherein, when the processor is configured to execute the instructions shown, it implements the steps of the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the program instructions are executed by the processor, it implements the steps of the method according to any one of claims 1 to 7.