Fingerprint input method and electronic equipment
By collecting and stitching multiple fingerprint images during a single touch and movement of the user's finger on the screen, the problem of low efficiency of press-type fingerprint entry is solved, and more efficient fingerprint entry and recognition effects are achieved.
Patent Information
- Application Number
- CN202410239054.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-01
- Publication Date
- 2025-09-09
AI Technical Summary
In the prior art, the press-type fingerprint registration method requires the user to press the fingerprint sensor multiple times, resulting in low fingerprint registration efficiency and affecting user experience.
By collecting and stitching multiple fingerprint images during a single touch-screen movement of the user's finger, the number of user operations is reduced and entry efficiency is improved.
It shortens the fingerprint entry time, improves the entry efficiency and user experience, and enhances the fingerprint recognition effect.
Smart Images

Figure CN120612718A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of electronic devices, and in particular to a fingerprint entry method and electronic device. Background Art
[0002] Nowadays, fingerprints, a biometric feature, have been widely used in electronic devices for user identity authentication. The essential prerequisite for electronic devices to use fingerprints for user identity authentication is to enter the user's fingerprint.
[0003] In related technologies, electronic devices usually use a press-type fingerprint registration method to obtain the user's fingerprint data and extract fingerprint features to achieve user fingerprint registration. However, the press-type fingerprint registration method requires prompting the user to repeatedly press the fingerprint sensor of the electronic device until valid fingerprint data is obtained. Generally speaking, when electronic devices use the press-type fingerprint registration method to register user fingerprints, it often requires the user to spend a long time to press the fingerprint sensor multiple times to ensure that the electronic device collects fingerprint data that meets the requirements. This results in very low efficiency of user fingerprint registration for electronic devices, which seriously affects the user experience. Summary of the Invention
[0004] The embodiments of the present application provide a fingerprint entry method and an electronic device, which are used to reduce the number of operations performed by the user's finger when the electronic device enters the user's fingerprint to improve the efficiency of the user's fingerprint entry, thereby improving the user experience.
[0005] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0006] During a single touch of the screen by the user's finger, the electronic device collects multiple fingerprint images and stitches them together to record the user's fingerprint. This not only reduces the number of times the user's finger touches the screen and moves, avoiding the tedious operation of repeated pressing by the user, but also shortens the overall time spent on fingerprint registration. Thus, the embodiments of the present application improve the efficiency of fingerprint registration for electronic devices and enhance the user's experience of fingerprint registration using electronic devices.
[0007] In a first aspect, a fingerprint entry method is provided, which is applied to an electronic device. When the user's finger contacts the fingerprint collection area once and moves, the electronic device continuously collects P fingerprint images of the user, and splices the P fingerprint images according to the fingerprint overlap area to form a first fingerprint splicing image of the user.
[0008] In this application, when a user's finger touches the fingerprint collection area and moves, the electronic device collects multiple fingerprint images of the user's finger and stitches them together to complete the entire process of fingerprint registration. This does not require the user to repeat the fingerprint registration operation multiple times. This effectively saves the user's fingerprint registration time and improves the efficiency of fingerprint registration. In addition, since the user only needs to perform the finger contact and movement operation once to complete the fingerprint registration, without having to consider how to change the position or angle of the finger contacting the screen, this can effectively improve the user's experience of fingerprint registration using an electronic device.
[0009] In one possible implementation of the first aspect, the electronic device may continuously capture images to obtain P fingerprint images during a single contact of a user's finger with the fingerprint collection area and movement in multiple directions. For example, the multiple-directional movement of the user's finger with the single contact of the fingerprint collection area includes movement in at least a first direction and movement in a second direction, and the first and second directions intersect with each other.
[0010] In another possible implementation of the first aspect, the electronic device may further continuously capture images to obtain P fingerprint images when the user's finger contacts the fingerprint collection area once and moves in a single direction.
[0011] In one possible implementation of the first aspect, the electronic device may output a guidance prompt to the user on the interactive interface for fingerprint entry, thereby guiding the user in performing specific operations with the finger on the fingerprint collection area when entering the fingerprint. For example, the guidance prompt may be a movement trajectory for instructing the user to move the finger while maintaining contact with the fingerprint collection area.
[0012] In one possible implementation of the first aspect, the electronic device may output to the user a real-time movement trajectory of the user's finger while the user's finger remains in contact with the fingerprint collection area and moves. When outputting the real-time movement trajectory of the user's finger, the electronic device may choose to directly overlay the image of the real-time movement trajectory of the user's finger on an image previously output to guide the movement of the user's finger.
[0013] In one possible implementation of the first aspect, the electronic device may perform a quality assessment on each fingerprint image it captures. If the assessment finds that the quality data of the m consecutive fingerprint images captured are all below a quality standard threshold corresponding to the quality data, the electronic device determines that the user's finger may be moving at a relatively fast speed, resulting in poor quality of the fingerprint image captured by the fingerprint sensor. The electronic device then outputs a first prompt message to the user instructing the user to reduce the speed of finger movement. Here, m is a positive integer greater than 1 and is less than or equal to P. Alternatively, the electronic device may perform a repetition rate assessment on each fingerprint image it captures. If the assessment finds that the repetition rate of the n consecutive fingerprint images captured is greater than or equal to a preset repetition rate threshold, the electronic device determines that the user's finger may be moving at a relatively slow speed, resulting in the fingerprint image captured by the fingerprint sensor not meeting the repetition rate requirement. The electronic device then outputs a second prompt message to the user instructing the user to increase the speed of finger movement. Here, n is a positive integer greater than 1 and is less than or equal to P.
[0014] In this application, the electronic device evaluates the quality and repetition rate of P fingerprint images collected during a single contact and continuous movement of the user's finger in the fingerprint collection area. Based on the quality and / or repetition rate of the P fingerprint images, the user is guided to flexibly adjust the speed at which their finger remains in contact with the fingerprint collection area. This ensures that the user's finger maintains an appropriate speed while moving in contact with the fingerprint collection area, allowing the electronic device to capture fingerprint images with good continuity for subsequent stitching.
[0015] In a possible implementation of the first aspect, as the number P of fingerprint images collected by the electronic device increases, the area of the first fingerprint stitched image formed by the electronic device stitching the P fingerprint images will also increase, so that the preset repetition rate threshold and the area of the first fingerprint stitched image formed by the electronic device stitching the P fingerprint images will be negatively correlated, that is, the larger the area of the first fingerprint stitched image, the smaller the preset repetition rate threshold will be.
[0016] In one possible implementation of the first aspect, while the user's finger is in single contact with the fingerprint collection area and moving, the electronic device can also detect in real time whether a first fingerprint stitched image obtained by stitching the collected fingerprint images meets a preset fingerprint template full recording condition. Thus, if the electronic device detects that the first fingerprint stitched image meets the fingerprint template full recording condition, the electronic device can confirm that the current user fingerprint registration process has been completed, and thereby output a third prompt message to the user indicating that the user's finger has ended contact with the fingerprint collection area. However, if the electronic device detects that the first fingerprint stitched image does not yet meet the fingerprint template full recording condition, the electronic device determines that it is necessary to continue to collect new fingerprint images to continue stitching and updating the first fingerprint stitched image, i.e., the current user fingerprint registration process has not yet been completed. In this case, the electronic device outputs a fourth prompt message to the user indicating that the user's finger remains in contact with the fingerprint collection area and moves.
[0017] In a possible implementation of the first aspect, if the electronic device collects P fingerprint images and stitches them together to obtain a first fingerprint stitching image when the user's finger contacts the fingerprint collection area for a single time and moves in one direction, then when the electronic device detects the first fingerprint stitching image and finds that the first fingerprint stitching image meets the fingerprint template full recording condition, it is necessary to output a fifth prompt information to the user to prompt the user to contact the fingerprint collection area again and move in one direction.
[0018] In one possible implementation of the first aspect, the electronic device begins detecting the contact area between the user's finger and the fingerprint collection area upon contact with the fingerprint collection area. The electronic device then monitors changes in the contact area and, when the contact area is greater than or equal to a preset threshold, controls the fingerprint sensor to begin continuous image capture of the user's finger. This allows the electronic device to capture P fingerprint images during a single contact and movement of the user with the fingerprint collection area.
[0019] In the present application, the electronic device controls the fingerprint sensor to start continuous image collection only when the contact area between the user's finger and the fingerprint collection area is greater than or equal to a preset threshold. In this way, it can be ensured that the fingerprint images collected by the electronic device for the user's finger are fingerprint images containing rich fingerprint information of the user's finger, thereby improving the effectiveness of these fingerprint images in being used to splice the user's fingerprint.
[0020] In a possible implementation of the first aspect, when the electronic device monitors the change in the contact area between the user's finger and the fingerprint collection area, if the electronic device detects that the contact area gradually decreases from a value greater than or equal to a preset threshold and has decreased to less than the preset threshold, the electronic device determines that the user's finger is currently leaving the fingerprint collection area, and thus controls the fingerprint sensor to end the image collection.
[0021] In the present application, the electronic device starts capturing images when the contact area is greater than or equal to a preset threshold, and stops capturing images when the contact area subsequently decreases to less than the preset threshold. This can avoid capturing invalid fingerprint images of the user's fingers, thereby avoiding waste of electronic device resources and user time, and further improving the efficiency of capturing fingerprint images for user fingerprint entry.
[0022] In one possible implementation of the first aspect, the electronic device may organize and stitch each new fingerprint image after capturing it. That is, the electronic device stitches the fingerprint image together with a second stitched fingerprint image obtained by stitching previously captured fingerprint images. In this way, the electronic device can continuously stitch together P captured fingerprint images to obtain a first stitched fingerprint image while the user's finger is in single contact with the fingerprint capture area and moving.
[0023] In a possible implementation of the first aspect, the P fingerprint images collected by the electronic device include a first fingerprint image and a second fingerprint image. The first fingerprint image is a fingerprint image collected by the electronic device before collecting the second fingerprint image. In this case, when the electronic device collects the first fingerprint image, it organizes the first fingerprint image and, upon determining that the first fingerprint image meets both quality and repetition rate requirements, splices the first fingerprint image with fingerprint images collected by the electronic device before collecting the first fingerprint image to obtain a second spliced fingerprint image. Subsequently, when the electronic device continues to collect the second fingerprint image, it similarly organizes the second fingerprint image and, upon determining that the second fingerprint image also meets both quality and repetition rate requirements, splices the second fingerprint image with the second fingerprint image to form the first fingerprint image.
[0024] In a second aspect, the present application provides an electronic device that has the functionality to implement the method described in the first aspect. This functionality can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functionality described above.
[0025] In a third aspect, the present application provides an electronic device comprising: a processor and a memory; the memory is used to store computer program code, the computer program code including computer execution instructions, and when the electronic device is running, the processor executes the computer execution instructions to enable the electronic device to perform the method described in the first aspect above.
[0026] In a fourth aspect, the present application provides an electronic device comprising: a processor; the processor is configured to be coupled to a memory, and after reading instructions in the memory, execute the method described in the first aspect above according to the instructions.
[0027] In a fifth aspect, the present application provides a computer-readable storage medium, which stores computer instructions. When the computer-readable storage medium is run on an electronic device, the electronic device can execute the method described in the first aspect above.
[0028] In a sixth aspect, the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method described in the first aspect above.
[0029] In a seventh aspect, a device is provided, comprising a processor configured to support an electronic device in implementing the functions described in the first aspect. In one possible design, the device further comprises a memory configured to store program instructions and data necessary for the electronic device.
[0030] Among them, the technical effects brought about by any design method in the second to seventh aspects can refer to the technical effects brought about by different implementation methods in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A schematic diagram of the location of the fingerprint collection area on the screen of the electronic device involved in the embodiment of the present application;
[0032] Figure 2 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0033] Figure 3 This is a schematic diagram of a scenario in which a user's finger performs a pressing operation in the related art involved in an embodiment of the present application;
[0034] Figure 4 A schematic diagram of the steps of the fingerprint entry method provided in an embodiment of the present application;
[0035] Figure 5 A schematic diagram of a scenario in which a user's finger contacts and moves a fingerprint collection area according to an embodiment of the present application;
[0036] Figure 6This is a schematic diagram of another scenario in which a user's finger contacts and moves a fingerprint collection area according to an embodiment of the present application;
[0037] Figure 7 This is a schematic diagram of another scenario in which a user's finger contacts and moves the fingerprint collection area according to an embodiment of the present application;
[0038] Figure 8 This is a schematic diagram of another scenario in which a user's finger contacts and moves the fingerprint collection area according to an embodiment of the present application;
[0039] Figure 9 This is a schematic diagram of another scenario in which a user's finger contacts and moves the fingerprint collection area according to an embodiment of the present application;
[0040] Figure 10 A schematic diagram of an interactive interface for outputting a finger movement trajectory to a user by an electronic device according to an embodiment of the present application;
[0041] Figure 11 Another interactive interface and scenario diagram for an electronic device according to an embodiment of the present application to output a finger movement trajectory to a user;
[0042] Figure 12 A schematic diagram of a scenario in which an electronic device according to an embodiment of the present application outputs a real-time finger movement trajectory to a user;
[0043] Figure 13 This is a schematic diagram of another scenario in which the electronic device according to an embodiment of the present application outputs a real-time finger movement trajectory to the user;
[0044] Figure 14 A schematic diagram of a scenario in which an electronic device according to an embodiment of the present application outputs fingerprint entry progress to a user;
[0045] Figure 15 This is a schematic diagram of another scenario in which the electronic device according to an embodiment of the present application outputs fingerprint entry progress to the user;
[0046] Figure 16 A schematic diagram of a scenario in which an electronic device according to an embodiment of the present application updates and outputs fingerprint entry progress;
[0047] Figure 17 A schematic diagram of a control logic involved in the fingerprint entry method provided in an embodiment of the present application;
[0048] Figure 18 A schematic diagram showing a trend of a preset repetition rate threshold value changing with the number of fingerprint images involved in the fingerprint entry method provided in an embodiment of the present application;
[0049] Figure 19 Another control logic diagram involved in the fingerprint entry method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0050] The technical solutions in the embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and claims of the present application, the singular expressions "a", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two). The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist; for example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0051] References to "one embodiment" or "some embodiments" etc. described in this specification mean that the specific features, structures or characteristics described in conjunction with the embodiment are included in one or more embodiments of the present application. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in another way. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in another way. The term "connected" includes direct and indirect connections, unless otherwise stated. "First" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0052] In the embodiments of this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplarily" or "for example" is intended to present the relevant concepts in a concrete manner.
[0053] Before introducing the embodiments of the present application, a brief introduction to the relevant technical terms involved in the embodiments of the present application is first given here.
[0054] Under-screen fingerprint recognition.
[0055] Under-screen fingerprint recognition, also known as invisible fingerprint technology, involves placing a fingerprint sensor beneath the glass of an electronic device's screen, utilizing highly penetrating materials like ultrasound or light to perform fingerprint recognition. In related technologies, under-screen fingerprint recognition primarily relies on the fingerprint sensor receiving ultrasound or light that penetrates the screen when the user's finger touches the screen of the electronic device, collecting the user's fingerprint data. This data is then used to identify the fingerprint.
[0056] Under-screen ultrasonic fingerprint recognition.
[0057] Under-screen ultrasonic fingerprint recognition is a technology that uses ultrasound to penetrate the screen of an electronic device to identify a fingerprint. When the user's finger touches the screen of the electronic device, the fingerprint sensor first transmits ultrasound to the surface of the user's finger and receives the echo reflected from the surface of the user's finger. Based on the received echo, it constructs a fingerprint image of the user's finger. This fingerprint image is then compared with the fingerprint information already stored on the terminal to achieve the purpose of identifying the user's fingerprint.
[0058] Under-screen optical fingerprint recognition.
[0059] Under-screen optical fingerprint recognition is another under-screen fingerprint recognition technology that relies on light penetrating the screen of an electronic device to identify a fingerprint. The principle of under-screen optical fingerprint recognition is that after the user's finger touches the screen of the electronic device, the fingerprint sensor below the screen receives the light reflected from the user's finger and generates a fingerprint image of the user's finger. This fingerprint image is then used for information comparison to achieve the purpose of fingerprint recognition.
[0060] Under-screen capacitive fingerprint recognition.
[0061] Under-screen capacitive fingerprint recognition is another mainstream technology. It works by creating an electric field when a silicon wafer contacts the electrolyte on the user's skin. The fingerprint sensor then detects the uneven microscopic features of the fingerprint from this electric field, comparing these features to identify the fingerprint.
[0062] Fingerprint collection area.
[0063] The fingerprint collection area is a specific screen area used by the fingerprint sensor to collect fingerprint images in the under-screen fingerprint recognition technology. Figure 1 As shown, when the electronic device 100 (mobile phone) sets the fingerprint sensor under the screen glass near the bottom of the phone, a part of the screen area on the screen glass corresponding to the position of the fingerprint sensor is the fingerprint collection area 101.
[0064] It should be noted that, based on the different design requirements of actual applications, other portable electronic devices such as mobile phones, tablets, wearable devices, etc. can of course choose to design the fingerprint sensor in other parts of the device's front screen glass. In this case, the fingerprint collection area on the front screen of the electronic device is located in a part of the area corresponding to the fingerprint sensor on the screen glass (usually a small area on the screen glass directly opposite the location of the fingerprint sensor). In addition, in the case where the electronic device is designed with a back screen, if the electronic device also chooses to set a fingerprint sensor under the back screen glass alone or at the same time, then a part of the area on the back screen corresponding to the location of the fingerprint sensor is also the fingerprint collection area. Or, in the case where the electronic device is designed with a side screen, if the electronic device also chooses to set a fingerprint sensor under the side screen glass alone or at the same time, then a part of the area on the side screen corresponding to the location of the fingerprint sensor is also the fingerprint collection area.
[0065] In an embodiment of the present application, a user can perform fingerprint registration and fingerprint recognition operations based on the fingerprint collection area on the screen of an electronic device. For example, when a user, in accordance with the prompt of the electronic device, touches the finger 1 to be fingerprinted with the fingerprint collection area, the fingerprint sensor located below the fingerprint collection area can collect the fingerprint image corresponding to the finger 1, and after sorting and splicing the fingerprint image, generate a fingerprint template image of the finger 1, thereby realizing the fingerprint registration of the finger 1. Afterwards, when the user needs to perform fingerprint recognition on the finger 1, the user only needs to touch the finger 1 with the fingerprint collection area, so that the fingerprint sensor collects the fingerprint image of the finger 1, and then uses the fingerprint image to compare with the previously recorded fingerprint template image of the finger 1 to achieve the purpose of identifying the fingerprint of the finger 1.
[0066] It should be noted that in the embodiment of the present application, the area of the fingerprint collection area on the screen of the electronic device is smaller than the area of the fingerprint on the surface of the user's finger. Therefore, when the user enters the fingerprint based on the fingerprint collection area, the user's finger needs to contact the fingerprint collection area and move for the electronic device to collect multiple fingerprint images, and then the complete fingerprint information of the user's finger is obtained by splicing the multiple fingerprint images for entry.
[0067] The implementation of the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0068] First, please refer to Figure 2 , Figure 2 Schematic diagram of the structure of an electronic device 100 provided in an embodiment of the present application. Figure 2As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 111, a power management module 112, a battery 113, an antenna 1, an antenna 2, a mobile communication module 140, a wireless communication module 150, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a subscriber identification module (SIM) card interface 195, and a fingerprint sensor 196 for fingerprint entry and recognition, etc.
[0069] It should be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0070] The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units can be independent devices or integrated into one or more processors. Among them, the controller can be the nerve center and command center of the electronic device 100. The controller can generate an operation control signal based on the instruction opcode and timing signal to complete the control of instruction fetching and execution.
[0071] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0072] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0073] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0074] The charging management module 111 is configured to receive charging input from a charger. While charging the battery 113, the charging management module 111 can also power the electronic device through the power management module 112. The wireless communication functionality of the electronic device 100 is implemented via antenna 1, antenna 2, mobile communication module 140, wireless communication module 150, a modem processor, and a baseband processor.
[0075] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0076] The mobile communication module 140 can provide solutions for wireless communications including 2G / 3G / 4G / 5G / 6G applied to the electronic device 100. The modulation and demodulation processor may include a modulator and a demodulator. The wireless communication module 150 can provide solutions for wireless communications including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. applied to the electronic device 100.
[0077] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0078] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel may include, but is not limited to, a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a mini organic light-emitting diode (MINILED), a micro organic light-emitting diode (MicroLed), a quantum dot light-emitting diode (QLED), and the like. In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.
[0079] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0080] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 200.
[0081] The internal memory 121 may be used to store computer-executable program codes, where the executable program codes include instructions.
[0082] The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0083] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0084] The buttons 190 include a power button, a volume button, etc. The indicator 192 may be an indicator light.
[0085] The sensor module 180 may include a folding angle detection sensor, a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
[0086] The fingerprint sensor 196 may include an optical fingerprint sensor, a semiconductor capacitive sensor, a semiconductor thermal sensor, a semiconductor pressure sensor, an ultrasonic sensor, a radio frequency (RF) sensor, and the like.
[0087] Based on the above brief description of the electronic device involved in the embodiment of the present application, the overall concept of the fingerprint entry method provided by the embodiment of the present application is first proposed.
[0088] Electronic devices that use a press-type fingerprint registration method require users to repeatedly press the fingerprint sensor multiple times so that the electronic device can collect valid and sufficient fingerprint data to splice the fingerprint registered by the user. Figure 3 As shown, the press-type fingerprint recording method also requires the user to keep the position of the finger pressing the fingerprint collection area different from the position of the finger pressing the fingerprint collection area during the previous press operation, so as to ensure that the fingerprint sensor collects fingerprint images of different areas of the user's finger surface. However, it takes a long time for the user to press the fingerprint sensor repeatedly, and the user is required to keep the pressing position different as much as possible during each press operation, which will make the user feel that the entire fingerprint recording process is very cumbersome. In other words, the efficiency of electronic devices using the press-type fingerprint recording method for user fingerprint recording is very low, which seriously affects the user's experience of recording fingerprints on electronic devices.
[0089] In response to the above problems, an embodiment of the present application provides a fingerprint entry method. An electronic device collects multiple fingerprint images of a user's finger during a single contact and movement of the user's finger on the screen of the electronic device, and then uses the multiple fingerprint images to splice to form the fingerprint that the user needs to enter. In this way, compared to the press-type fingerprint entry method that requires the user to repeatedly press the fingerprint sensor multiple times to collect multiple fingerprint images, the fingerprint entry method provided in the embodiment of the present application collects multiple fingerprint images when the user's finger touches the screen once, which not only reduces the number of times the user's finger touches the screen to move, but also shortens the time spent on user fingerprint entry as a whole, thereby improving the overall efficiency of the electronic device for user fingerprint entry and effectively improving the user's experience of entering fingerprints using the electronic device.
[0090] In addition, since the press-type fingerprint entry method usually collects a fingerprint image each time the user presses the fingerprint sensor, the multiple fingerprint images finally collected by the electronic device are independent of each other and do not have continuity. Therefore, the user fingerprint obtained by the electronic device by splicing fingerprint images with poor continuity will naturally not have a good fingerprint recognition effect. In the embodiment of the present application, the fingerprint entry method provided by the embodiment of the present application is to collect multiple fingerprint images of the user's fingers by the electronic device during the user's single contact with the screen and movement. In this way, the multiple fingerprint images collected by the electronic device can have good continuity with each other. Therefore, the electronic device can obtain a better fingerprint recognition effect based on the user fingerprint obtained by splicing multiple fingerprint images with better continuity. That is, the fingerprint entry method provided by the embodiment of the present application can further improve the effect of user fingerprint entry compared to the press-type fingerprint entry method.
[0091] Based on the description of the overall concept of the fingerprint entry method provided in the embodiment of the present application, a plurality of specific embodiments of the fingerprint entry method provided in the embodiment of the present application are further proposed.
[0092] Please refer to Figure 4 , Figure 4 The following is a flow chart of a fingerprint entry method provided in an embodiment of the present application in a feasible embodiment. It should be understood that although Figure 4 The execution order of some method steps is shown in the figure, but the fingerprint entry method provided in the embodiment of the present application can adopt an execution order different from the method steps shown in the figure based on different design requirements of actual applications. Figure 4 The order of the steps in the method shown does not constitute a limitation on the execution logic order of the fingerprint entry method provided in the embodiment of the present application. Figure 4 Reasonable changes to the sequence of steps in the method shown should be included in the scope of protection of the fingerprint entry method provided in the embodiments of the present application.
[0093] like Figure 4 As shown, when the fingerprint registration method provided in the embodiment of the present application is applied to the electronic device described above, the electronic device first performs step S1: monitoring. That is, the electronic device continuously detects contact events triggered by the user on its screen to monitor for events in which the user's finger contacts the fingerprint collection area on the screen. Then, the electronic device performs step S2: continuous image acquisition. That is, after monitoring the event in which the user's finger contacts the fingerprint collection area, the electronic device continuously captures fingerprint images of the user's finger using a fingerprint sensor located below the fingerprint collection area. Thus, during a single contact and movement of the user's finger with the fingerprint collection area, P fingerprint images of the user are continuously captured. Where P is a positive integer greater than 1. After capturing P fingerprint images, the electronic device performs step S3: fingerprint splicing. That is, the electronic device organizes the P captured fingerprint images (including confirming image quality and repetition rate), and splices the organized fingerprint images according to the overlapping fingerprint areas to form a first fingerprint splicing image of the user. In this way, the electronic device can finally form a complete first fingerprint splicing image of the user's finger by continuously collecting, sorting and splicing the fingerprint collection area when the user's finger touches the fingerprint collection area once, thereby realizing the fingerprint registration process of the user's finger.
[0094] It should be noted that, in one feasible embodiment, the electronic device may, after executing step S2: continuous image acquisition to obtain all P fingerprint images, execute step S3: fingerprint stitching to stitch all P fingerprint images together to form a first fingerprint stitching image. In another feasible embodiment, the electronic device may also execute step S3: fingerprint stitching when the second fingerprint image is acquired during step S2: continuous image acquisition, thereby achieving the simultaneous stitching of the P fingerprint images to obtain the final first fingerprint stitching image during the process of the electronic device continuously acquiring P fingerprint images.
[0095] In an embodiment of the present application, the electronic device starts to continuously capture images of the user's finger when it detects that the user's finger has touched the fingerprint collection area. As the user's finger remains in contact with the fingerprint collection area and moves continuously, multiple fingerprint images of the user are collected and sorted and spliced to ultimately form the user's first fingerprint splicing image, thereby completing the fingerprint registration process for the user's finger. In this way, the electronic device can collect multiple fingerprint images of the user's finger and sort and splice them during the user's fingerprint registration operation (from the time the user's finger touches the fingerprint collection area and moves to the time the user's finger breaks contact with the fingerprint collection area to end the movement) to complete the entire process of fingerprint registration for the user's finger. In other words, compared to the method of fingerprint registration using a press-type fingerprint registration method, the fingerprint registration method provided in the embodiment of the present application does not require the user to repeatedly perform the fingerprint registration operation, thereby effectively saving the user's time for fingerprint registration and improving the efficiency of fingerprint registration. Moreover, since the user only needs to move the finger to the screen once to complete the fingerprint entry, and does not need to consider changing the position or angle of the finger touching the screen, the fingerprint entry method provided in the embodiment of the present application can also effectively improve the user experience of entering fingerprints using electronic devices.
[0096] Furthermore, in the embodiments of the present application, the electronic device specifically collects multiple fingerprint images during a user's single contact and movement of the screen, which ensures that the multiple fingerprint images have good continuity with each other. Thus, the user's fingerprint obtained by stitching these multiple fingerprint images with better continuity can achieve better fingerprint recognition results. This means that the fingerprint entry method provided by the embodiments of the present application can further improve the user's fingerprint entry effect compared to the press-type fingerprint entry method.
[0097] In some feasible embodiments of the present application, the electronic device may continuously capture images to obtain P fingerprint images during a single contact of the user's finger with the fingerprint collection area and movement in multiple directions. For example, the multiple directional movement of the user's finger during a single contact of the fingerprint collection area may include movement in at least a first direction and movement in a second direction, and the first and second directions intersect with each other. In this manner, the electronic device may specifically capture P fingerprint images during the continuous movement of the user's finger in the first and second directions while the user's finger is in contact with the fingerprint collection area.
[0098] For example, Figure 5 As shown, the user's finger can be placed in contact with the fingerprint collection area on the screen of an electronic device (mobile phone) and continuously moved in a zigzag pattern from left to right, ensuring that there is an angled intersection between the first direction (horizontally to the right) and the second direction (diagonally to the lower left). In this way, the phone can continuously capture images from the moment the user's finger contacts the collection area on the screen, thereby capturing P fingerprint images of the user during a single contact with the fingerprint collection area and alternating horizontal rightward and diagonally downward leftward movements.
[0099] In addition, in some feasible embodiments of the present application, Figure 6 As shown, the user's finger can also contact the fingerprint collection area and move continuously in a zigzag shape from top to bottom, and ensure that there is an angle intersection between the first direction (vertical downward direction) and the second direction (diagonal upper right direction) during the movement. Alternatively, in other feasible embodiments of the present application, such as Figure 7 As shown, the user's finger can also touch the fingerprint collection area and move continuously in a circular manner. When the user's finger draws a circle, the tangents of the circular trajectory of the finger moving on the screen (including the tangents in the first direction and the tangents in the second direction) intersect with each other at an angle.
[0100] In some feasible embodiments of the present application, the electronic device may also continuously capture images to obtain P fingerprint images when the user's finger contacts the fingerprint collection area once and moves in a single direction.
[0101] For example, Figure 8 As shown, the user's finger can specifically touch the fingerprint collection area on the screen of the electronic device (mobile phone) and move in a "→" shape from left to right. Or, as Figure 9 As shown, the user's finger can also touch the fingerprint collection area and move it in a unidirectional "↓" shape from top to bottom. During this unidirectional movement, the phone can continuously capture images to obtain P fingerprint images of the user during a single unidirectional movement of the user's finger in the fingerprint collection area.
[0102] It should be noted that in the embodiments of the present application, regardless of the direction in which the user's finger continuously moves or unidirectionally moves within the single-contact fingerprint collection area, the electronic device will continuously capture images while the user's finger remains in contact with the fingerprint collection area and moves, thereby obtaining multiple fingerprint images of the user. It should be understood that the directions in which the user's finger moves while remaining in contact with the fingerprint collection area may also include directions other than those listed here, and the fingerprint entry method provided in the embodiments of the present application does not limit the specific direction in which the user's finger moves during a single contact with the fingerprint collection area.
[0103] In some feasible embodiments of the present application, the electronic device may output a guidance prompt to the user on the interactive interface for user fingerprint entry, so that the user can understand the specific operation of the finger on the fingerprint collection area when the fingerprint entry is currently being performed based on the guidance prompt. For example, the guidance prompt output by the electronic device to the user may be a movement trajectory for instructing the user's finger to maintain contact with the fingerprint collection area and move. After outputting the movement trajectory to the user, if the electronic device monitors that the user's finger begins to contact the fingerprint collection area, it can be determined that the user has started fingerprint entry based on the guidance prompt, and thus immediately starts continuous image collection to collect P fingerprint images during the process of the user's finger moving in contact with the fingerprint collection area once.
[0104] It should be noted that, in some feasible embodiments, the electronic device may output guidance prompts to the user in the form of demonstration videos, animations, etc. It should be understood that no matter how the electronic device outputs guidance prompts to the user, as long as the method can intuitively and clearly show the movement trajectory of the user's finger while maintaining contact with the fingerprint collection area, thereby achieving the purpose of guiding the user to accurately perform finger operations to achieve fingerprint registration, the electronic device can choose based on the different design needs of actual applications. The fingerprint registration method provided in the embodiments of the present application is not limited to the specific form of the electronic device outputting guidance prompts to the user.
[0105] For example, Figure 10 As shown, the electronic device (mobile phone) can output to the user through animation above the interactive interface displayed to the user, indicating that the user's finger keeps in contact with the fingerprint collection area and moves. Or, as Figure 11As shown, the electronic device (mobile phone) can also output the movement trajectory to the user through animation, and at the same time, instruct the user to keep the finger in contact with the fingerprint collection area and move it in the "text display area 1" or "text display area 2" on the interactive interface. This allows the user to follow the prompted movement trajectory while moving the finger in contact with the fingerprint collection area and complete the entire continuous movement operation without lifting the hand. The text content output by the mobile phone to the user can specifically be "Please keep your finger in contact with the fingerprint collection area below and move it according to the movement trajectory shown in the figure."
[0106] In addition, if Figure 11 As shown, the mobile phone can further output the above movement trajectory and / or text content to the user through the interactive interface, and output the voice data corresponding to the text content to the user through the speaker. In this way, it can further ensure that the user receives the prompt to accurately perform finger operations for fingerprint entry.
[0107] In some feasible embodiments of the present application, the electronic device may further display the real-time movement trajectory of the user's finger on a user-facing interactive interface while the user's finger is in contact with the fingerprint collection area and continuously moving. This allows the user to understand the real-time progress of the continuous finger movement operation while the fingerprint is being recorded, thereby avoiding repeated invalid finger movement operations. For example, after the electronic device outputs a movement trajectory indicating that the user's finger remains in contact with the fingerprint collection area and moves, if it detects that the user's finger begins to contact the fingerprint collection area, the electronic device immediately captures the user's finger movement signal through the screen and, based on the change in position information corresponding to the movement signal, obtains the real-time movement trajectory of the user's finger while the user's finger remains in contact with the fingerprint collection area and moves. When outputting the real-time movement trajectory of the user's finger, the electronic device may choose to directly overlay the image of the real-time movement trajectory of the user's finger on top of the image of the movement trajectory previously displayed to the user, thereby displaying the real-time movement trajectory of the user's finger to the user while the user's finger remains in contact with the fingerprint collection area and moves.
[0108] For example, Figure 12As shown, when the user keeps the finger in contact with the fingerprint collection area and moves, the electronic device (mobile phone) will obtain the real-time movement trajectory of the user's finger on the screen and synchronously display it on the movement trajectory displayed to the user on the interactive interface. That is, the mobile phone collects the movement signal of the user's finger through the screen, and then generates the real-time movement trajectory of the user's finger when it keeps in contact with the fingerprint collection area and moves based on the corresponding position information of the movement signal on the screen. Afterwards, the mobile phone overlays the image of the real-time movement trajectory on the upper layer of the image of the movement trajectory output to the user in advance. In this way, by checking the overlap between the image of the real-time movement trajectory and the image of the movement trajectory of the guidance prompt, the user can intuitively and clearly understand whether the direction of the current finger movement trajectory deviates from the guidance prompt movement trajectory, and understand the completion status of the current finger movement.
[0109] For example, Figure 13 As shown, when a user moves their finger while keeping it in contact with the fingerprint collection area, the electronic device (mobile phone) can also display the real-time movement trajectory of the user's finger directly in the position area corresponding to the fingerprint collection area. In this way, the user can also compare the image of the real-time movement trajectory with the image of the movement trajectory of the guidance prompt to understand whether there is any deviation in the direction of the current finger movement trajectory and the completion status of the current finger movement.
[0110] It should be noted that in other feasible embodiments, the electronic device may also use other methods to display the above-mentioned real-time movement trajectory to the user. However, it should be understood that no matter what specific method the electronic device uses to display the real-time movement trajectory to the user, as long as the user can clearly understand the actual movement trajectory of the finger and the completion status of the movement operation, thereby achieving the purpose of guiding the user to efficiently complete the fingerprint registration process, it is consistent with the technical concept of the fingerprint registration method provided in the embodiments of the present application, and thus should be included in the scope of protection of the fingerprint registration method provided in the embodiments of the present application.
[0111] In an embodiment of the present application, the fingerprint entry method provided by the embodiment of the present application outputs to the user through an interactive interface a movement trajectory for guiding the user's finger to contact the fingerprint collection area for movement, so as to guide the user to accurately perform the finger movement operation for fingerprint entry. In addition, the fingerprint entry method provided by the embodiment of the present application also outputs and displays the real-time movement trajectory of the user's finger on the interactive interface while the user's finger remains in contact with the fingerprint collection area for movement, so that the user can promptly understand whether there is any deviation in the direction of the finger movement trajectory and understand the completion status of the finger movement. In this way, even if the user uses the method of continuously moving the finger for fingerprint entry for the first time, the correct finger movement operation can be performed quickly and easily, so that the electronic device can smoothly collect valid and sufficient fingerprint images, thereby achieving efficient completion of the entire fingerprint entry process.
[0112] In some feasible embodiments of the present application, the electronic device begins detecting the contact area between the user's finger and the fingerprint collection area as soon as the user's finger contacts the fingerprint collection area. The electronic device then controls the fingerprint sensor to continuously capture images of the user's finger by monitoring changes in the contact area, thereby capturing P fingerprint images during a single contact and movement of the user with the fingerprint collection area.
[0113] For example, the electronic device can specifically collect touch signals from the user's finger through the screen, and when the touch signal is triggered by the screen where the fingerprint collection area is located, it determines that the user's finger has now contacted the fingerprint collection area. Therefore, the electronic device further collects the number of touch signals triggered by the user's finger in the fingerprint collection area through the screen to monitor the changes in the contact area between the user's finger and the fingerprint collection area (the greater the number of touch signals triggered by the user's finger in the fingerprint collection area, the larger the contact area between the user's finger and the fingerprint collection area). Thereafter, when the electronic device detects that the contact area is greater than or equal to a preset threshold (for example, 50% of the entire area of the fingerprint collection area), the electronic device controls the fingerprint sensor to start continuous image capture of the user's finger. In this way, while the user's finger remains in contact with the fingerprint collection area and the contact area remains at 50%, the electronic device continues to control the fingerprint sensor to start continuous image capture, thereby achieving the acquisition of P fingerprint images during the process of the user's finger moving in contact with the fingerprint collection area once.
[0114] Furthermore, in another feasible embodiment, while monitoring changes in the contact area between the user's finger and the fingerprint collection area, the electronic device can also simultaneously monitor the center of gravity of the user's finger pressing on the screen. In this way, the electronic device can control the fingerprint sensor to continuously capture images of the user's finger when the contact area exceeds a preset threshold and the center of gravity of the pressing is within the fingerprint collection area.
[0115] In some feasible embodiments of the present application, when the electronic device monitors the change in the contact area between the user's finger and the fingerprint collection area, if the electronic device detects that the contact area gradually decreases from a value greater than or equal to a preset threshold and has decreased to less than the preset threshold, the electronic device determines that the user's finger is currently leaving the fingerprint collection area, and thus controls the fingerprint sensor to end the image collection.
[0116] It should be noted that in the embodiments of the present application, when the user's finger initially contacts the fingerprint collection area, the contact area may be greater than or equal to a preset threshold. Thus, as long as the electronic device detects that the contact area is greater than or equal to the preset threshold, it can determine that a fingerprint image containing relatively rich fingerprint information has been captured. Furthermore, the electronic device controls the fingerprint sensor to initiate continuous image capture when the contact area is greater than or equal to the preset threshold. However, when the electronic device controls the fingerprint sensor to initiate continuous image capture, because the contact area between the user's finger and the fingerprint collection area is greater than or equal to the preset threshold, when the user's finger subsequently leaves the fingerprint collection area (for example, when the user lifts the finger from the screen or when the user's finger remains in contact with the screen and moves to a location outside the fingerprint collection area), the contact area will naturally decrease from a value greater than or equal to the preset threshold to less than the preset threshold and then continue to decrease to zero. In this way, the electronic device can determine that it is no longer possible to capture a valid fingerprint image of the user's finger surface when the contact area decreases to less than the preset threshold, and then control the fingerprint sensor to terminate image capture.
[0117] In an embodiment of the present application, the fingerprint registration method provided in the embodiment of the present application controls the fingerprint sensor to start continuous image acquisition only when the contact area between the user's finger and the fingerprint collection area of the electronic device is greater than or equal to a preset threshold. In this way, it can ensure that the fingerprint images collected by the electronic device for the user's finger are fingerprint images containing rich fingerprint information of the user's finger, thereby improving the effectiveness of these fingerprint images in being used to stitch the user's fingerprint. In addition, the electronic device starts collecting images when the contact area is greater than or equal to the preset threshold, and stops collecting images when the contact area subsequently decreases to less than the preset threshold. This can avoid collecting invalid fingerprint images of the user's finger, thereby avoiding wasting electronic device resources and user time, and further improving the efficiency of collecting fingerprint images for user fingerprint registration.
[0118] In some feasible embodiments of the present application, during the process of a user's finger moving in contact with the fingerprint collection area, the electronic device, in addition to continuously capturing images to obtain P fingerprint images and organizing and splicing the P captured fingerprint images to form the user's first spliced fingerprint image, can also determine the user's fingerprint recording progress during the process of the user's finger moving in contact with the fingerprint collection area, and output the recording progress to the user during the user's finger movement. Furthermore, the electronic device updates the recording progress in real time.
[0119] It should be noted that in the embodiment of the present application, the electronic device can specifically, after sorting the P fingerprint images collected, preliminarily evaluate the number of the P fingerprint images that can be used to stitch together to form the first fingerprint stitching image. That is, the electronic device determines the number of valid fingerprint images that contain fingerprint information of a certain part of the user's finger surface and can be stitched together to form a complete fingerprint from the P fingerprint images collected. Then, the electronic device calculates the real-time entry progress of the current user fingerprint entry based on the ratio between the number of these valid fingerprint images and a pre-set image number threshold (for example, 20, 30, 40, 45 or 50, etc.). Among them, the entry progress is positively correlated with the ratio between the number of valid fingerprint images that can be used for stitching in the P fingerprint images and the image number threshold, that is, the larger the ratio, the greater the entry progress.
[0120] For example, Figure 14 As shown, when the user's finger is in contact with the fingerprint collection area and moves, the electronic device (mobile phone) outputs the user's fingerprint entry progress to the user in the form of a filling progress bar above the interactive interface (the area covered by the black arrow on the progress bar shown by the circular dotted line in the figure represents the entry progress). Afterwards, as the user's finger continues to move while in contact with the fingerprint collection area, the mobile phone will continue to collect new fingerprint images and organize them to update the number of valid fingerprint images used to stitch together the first fingerprint stitching image, thereby continuously updating the user's fingerprint entry progress and continuously increasing the fill level of the progress bar on the interactive interface.
[0121] Or, as Figure 15 As shown, in addition to outputting the fingerprint entry progress to the user by filling a progress bar, the electronic device (mobile phone) can also output the numerical content corresponding to the entry progress to the user through the "entry progress data display area" on the interactive interface. Among them, the numerical content corresponding to the entry progress can include any value between 0% and 100%. In addition, as the mobile phone updates the entry progress, the numerical content corresponding to the entry progress displayed on the interactive interface will continue to increase.
[0122] In some feasible embodiments of the present application, the electronic device updates the input progress at least twice during the process of the user's finger touching the fingerprint collection area and moving, and outputs and displays the input progress obtained by real-time update. For example, Figure 16 As shown in the figure, when the user's finger keeps in contact with the fingerprint collection area and moves in a zigzag shape from left to right, the electronic device outputs the recording progress of the user's finger touching the fingerprint collection area in a single movement to record the user's fingerprint in the form of a progress bar above the screen. Moreover, when the user's finger keeps in contact with the fingerprint area and moves to different positions, the electronic device keeps updating the recording progress, that is, when the user's finger moves to Figure 16 When the user moves to the position shown in the left image, the electronic device will continuously update the input progress 20% and display it at the top of the screen. After that, the user continues to move his finger and moves to the position shown in the left image. Figure 16 When the user moves to the position of the moving track shown in the middle image, the electronic device will continuously update the input progress 50% and display it at the top of the screen. Figure 16 When the user moves to the position of the moving track shown in the image on the right, the electronic device will continuously update the input progress and display 80% at the top of the screen.
[0123] In the embodiment of the present application, the fingerprint registration method provided by the embodiment of the present application outputs the user's fingerprint registration progress to the user through the electronic device during the process of the user's finger contacting the fingerprint collection area and moving, and keeps the registration progress continuously updated. In this way, the user can view the registration progress displayed on the interactive interface and promptly understand the progress of the mobile phone's fingerprint registration of the finger during the process of the user's finger contacting the fingerprint collection area and moving, thereby effectively improving the user's experience of fingerprint registration on the electronic device.
[0124] In some feasible embodiments of the present application, the electronic device can also evaluate the quality and repetition rate of P collected fingerprint images during the process of the user's finger contacting the fingerprint collection area once and moving continuously, thereby guiding the user to flexibly adjust the speed of moving the finger to maintain contact with the fingerprint collection area based on the quality and / or repetition rate of the P fingerprint images.
[0125] In some feasible embodiments of the present application, the electronic device may perform a quality assessment on each fingerprint image it collects. If the assessment finds that the m consecutive fingerprint images collected do not meet the quality requirements, the electronic device may output a first prompt message to the user to instruct the user to reduce the speed of finger movement. Here, m is a positive integer greater than 1, and m is less than or equal to P. For example, m = P = 2, m = 5 = P, or m = 5 < P = 10.
[0126] It should be noted that in the embodiment of the present application, if the user's finger moves quickly when contacting the fingerprint collection area, the fingerprint image collected by the electronic device through the fingerprint sensor will not meet the quality requirements due to a small signal-to-noise ratio and / or low clarity.
[0127] For example, when performing a quality assessment on a captured fingerprint image, the electronic device may choose to compare only the signal-to-noise ratio of the fingerprint image with a corresponding signal-to-noise ratio threshold. Thus, if the comparison finds that the signal-to-noise ratio of the fingerprint image is less than the signal-to-noise ratio threshold, the electronic device may determine that the fingerprint image does not meet the quality requirements. In this manner, if the electronic device performs the same quality assessment on the next captured fingerprint image and finds that m consecutive fingerprint images do not meet the quality requirements, the electronic device may output a first prompt message to the user to guide the user to reduce the speed at which the finger moves while maintaining contact with the fingerprint collection area.
[0128] For example, when performing a quality assessment on a captured fingerprint image, the electronic device may also choose to compare only the clarity of the fingerprint image with a corresponding clarity threshold. Thus, if the comparison finds that the clarity of the fingerprint image is less than the clarity threshold, the electronic device also determines that the fingerprint image does not meet the quality requirements. In this way, if the electronic device performs the same quality assessment on newly captured fingerprint images and finds that m consecutive fingerprint images do not meet the quality requirements, the electronic device outputs a first prompt message to the user.
[0129] For example, when performing a quality assessment on a captured fingerprint image, the electronic device may first compare the fingerprint image's signal-to-noise ratio (SNR) with a corresponding SNR threshold, based on pre-set weights for SNR and clarity. Then, if the SNR is greater than or equal to the SNR threshold, the electronic device may compare the fingerprint image's clarity with the clarity threshold. Thus, only when the fingerprint image's clarity is greater than or equal to the clarity threshold does the electronic device determine that the fingerprint image meets the quality requirement. If, when initially comparing the fingerprint image's SNR with the SNR threshold, the electronic device finds that the SNR is less than the SNR threshold, the electronic device may directly determine that the fingerprint image does not meet the quality requirement. Alternatively, if, when subsequently comparing the fingerprint image's clarity with the clarity threshold, the electronic device finds that the clarity is less than the clarity threshold, the electronic device also determines that the fingerprint image does not meet the quality requirement. In this manner, if the electronic device continues to perform the same quality assessment on subsequently captured fingerprint images and finds that m consecutive fingerprint images do not meet the quality requirement, the electronic device may output a first prompt message to the user.
[0130] In some feasible embodiments of the present application, the electronic device may also perform a repetition rate evaluation on each fingerprint image collected, and if the evaluation finds that the repetition rates of the n fingerprint images collected continuously are all greater than or equal to the preset repetition rate threshold, the electronic device determines that the user's finger may be moving at a slower speed, causing the fingerprint image collected by the fingerprint sensor to fail to meet the repetition rate requirement. In this way, the electronic device outputs a second prompt message to the user to instruct the user to increase the speed of finger movement. Here, n is a positive integer greater than 1, and n is less than or equal to P. For example, n = 3 = P, or n = 3 < P = 10.
[0131] It should be noted that in the embodiment of the present application, when the electronic device evaluates the repetition rate of the collected fingerprint images, the electronic device compares the i-th fingerprint image with the i-1-th fingerprint image to obtain the repetition rate of the i-th fingerprint image. Here, i is a positive integer greater than 1 and i is less than or equal to n. For example, i = 2 = n, or i = 2 < n = 3.
[0132] For example, when the electronic device captures a second fingerprint image through the fingerprint sensor while the user's finger is in single contact with the fingerprint collection area and moving, the electronic device immediately compares the second fingerprint image with the first fingerprint image captured previously, thereby determining the repetition rate a of the second fingerprint image. Subsequently, the electronic device continues to capture fingerprint images while the user's finger is in contact with the fingerprint collection area and moving, and when the electronic device captures a third fingerprint image, it compares the third fingerprint image with the second fingerprint image to determine the repetition rate b of the third fingerprint image. Furthermore, the electronic device continues to compare the fourth fingerprint image it captures with the third fingerprint image to determine the repetition rate c of the fourth fingerprint image. After obtaining repetition rate a, repetition rate b, and repetition rate c, the electronic device sequentially compares repetition rate a, repetition rate b, and repetition rate c with a preset repetition rate threshold (e.g., 70%). If the comparison finds that repetition rate a, repetition rate b, and repetition rate c are all greater than 70%, the electronic device determines that the current user's finger movement speed is too slow, resulting in poor continuity between the second, third, and fourth fingerprint images, thereby failing to meet the repetition rate requirement. In this case, the electronic device outputs a second prompt message to the user to guide the user to appropriately increase the speed at which the finger contacts the fingerprint collection area and moves.
[0133] In an embodiment of the present application, the fingerprint entry method provided by the embodiment of the present application is to output a first prompt message to the user to instruct the user to reduce the moving speed of the user's finger when the quality data of the continuous m fingerprint images collected is less than the corresponding quality standard threshold, and to output a second prompt message to the user to instruct the user to increase the moving speed of the user's finger when the repetition rate of the continuous n fingerprint images collected is greater than or equal to the preset repetition rate threshold. In this way, it can be ensured that the user's finger maintains an appropriate speed as much as possible when moving in contact with the fingerprint collection area, so that the electronic device can also collect fingerprint images with better continuity for the user's finger for subsequent splicing. That is, it further avoids the situation where the fingerprint images collected by the electronic device cannot be used for splicing and form data islands, thereby improving the overall entry efficiency and entry effect of collecting fingerprint images for fingerprint entry.
[0134] In some feasible embodiments of the present application, the electronic device may also perform quality assessment, repetition assessment and quantity verification on the P fingerprint images collected in sequence while the user's finger is in single contact with the fingerprint collection area and moving, and based on the corresponding assessment or verification results, continue to collect new fingerprint images while the user's finger is in constant contact with the fingerprint collection area and moving, or prompt the user that the fingerprint entry has been completed.
[0135] For example, Figure 17 As shown, after detecting that a user's finger has touched a fingerprint collection area, the electronic device controls its fingerprint sensor to initiate continuous image capture. This allows the user to continuously capture images of the user's finger while the finger remains in contact with the fingerprint collection area and moves. Each time the electronic device captures a fingerprint image, it first performs a quality assessment on the fingerprint image to determine whether the captured fingerprint image meets the quality requirements. If the assessment finds that the fingerprint image meets the quality requirements, the electronic device further performs a repetition rate assessment on the fingerprint image to determine whether the captured fingerprint image meets the repetition rate requirements. If the fingerprint image also meets the repetition rate requirements, the electronic device further verifies the number of fingerprint images captured, i.e., checks whether the number of fingerprint images reaches an image number threshold to determine whether the captured fingerprint images meet the quantity requirements. If the electronic device also determines that the currently captured fingerprint image meets the quantity requirements, it can directly determine that the current process of the user's finger remaining in contact with the fingerprint collection area and moving to record the user's fingerprint has concluded, thereby notifying the user that fingerprint recording is complete.
[0136] Furthermore, if the electronic device, while performing a quality assessment on the collected fingerprint image, finds that the currently collected fingerprint image does not meet the quality requirements, the electronic device will detect whether the user's finger has left the fingerprint collection area. If the user's finger has not left the fingerprint collection area, the electronic device will continue to control the fingerprint sensor to start continuous image collection to obtain a new fingerprint image of the user's finger. However, if the electronic device detects that the user's finger has left the fingerprint collection area, the electronic device will return to the step of detecting whether the user's finger has touched the fingerprint collection area, and will restart controlling its fingerprint sensor to start continuous image collection after detecting that the user's finger has touched the fingerprint collection area.
[0137] In addition, if the electronic device finds that the currently collected fingerprint image does not meet the repetition rate requirement when evaluating the repetition rate of the collected fingerprint image, the electronic device also detects whether the user's finger has left the fingerprint collection area. If it detects that the user's finger has not left the fingerprint collection area, the electronic device continues to control the fingerprint sensor to start continuous image collection to obtain a new fingerprint image of the user's finger. Furthermore, if it detects that the user's finger has left the fingerprint collection area, the electronic device also returns to the step of detecting whether the user's finger has touched the fingerprint collection area, and after detecting that the user's finger has touched the fingerprint collection area, it restarts controlling its own fingerprint sensor to start continuous image collection.
[0138] In addition, if the electronic device finds that the number of fingerprint images currently collected does not meet the quantity requirement when verifying the number of collected fingerprint images, the electronic device will update the real-time entry progress of the user's fingerprint based on the ratio between the number of fingerprint images already collected (which meet both the quality requirement and the repetition rate requirement) and the preset quantity threshold, and output it to the user. For example, if the fingerprint image currently collected by the electronic device is the 30th fingerprint image, and the preset quantity threshold corresponding to the number of fingerprint images P required to record the user's fingerprint is 40, the electronic device will determine that the number of fingerprint images currently collected does not meet the quantity requirement, and further divide 30 by 40 (75%), which is directly used as the real-time entry progress of the user's fingerprint, and output the real-time entry progress to the user through the interactive interface.
[0139] After updating and outputting the real-time fingerprint input progress, the electronic device similarly detects whether the user's finger has left the fingerprint collection area. If it detects that the user's finger has not left the fingerprint collection area, the electronic device continues to control the fingerprint sensor to start continuous acquisition to obtain a new fingerprint image of the user's finger. If it detects that the user's finger has left the fingerprint collection area, the electronic device returns to the step of detecting whether the user's finger is in contact with the fingerprint collection area. Once the user's finger is in contact with the fingerprint collection area, the electronic device restarts controlling its fingerprint sensor to start continuous acquisition.
[0140] In an embodiment of the present application, the fingerprint registration method provided by the embodiment of the present application continuously performs quality assessment, repetition rate assessment and quantity verification on the collected fingerprint images in sequence while the user's finger remains in contact with the fingerprint collection area and moves through the electronic device. Therefore, the electronic device can determine whether to continue to collect new fingerprint images based on the results of quality assessment and repetition rate assessment without splicing the P collected fingerprint images to obtain a first fingerprint splicing image, and determine whether to continue to collect new fingerprint images based on the result of fingerprint image quantity verification or prompt the user that fingerprint registration has been completed. In this way, the process of collecting fingerprint images for user fingerprint registration can be made faster (the user does not need to stop moving the finger until the electronic device completes splicing the P fingerprint images), thereby further improving the efficiency of fingerprint registration and improving the user's experience of recording fingerprints on the electronic device.
[0141] In some feasible embodiments of the present application, the above-mentioned preset repetition rate threshold may be gradually reduced as the number P of fingerprint images collected by the electronic device continues to increase. Figure 18 As shown, the preset repetition rate threshold can be reduced in a step-by-step manner as the number of fingerprint images P increases. That is, the preset repetition rate threshold is reduced once after the number of fingerprint images P increases continuously. In addition, as the number of fingerprint images P collected by the electronic device increases, the area of the first fingerprint stitched image formed by the electronic device stitching the P fingerprint images will also increase. Therefore, the preset repetition rate threshold and the area of the first fingerprint stitched image formed by the electronic device stitching the P fingerprint images will be negatively correlated. That is, the larger the area of the first fingerprint stitched image, the smaller the preset repetition rate threshold.
[0142] In this case, when the electronic device evaluates the repetition rate of the i-th fingerprint image collected, it needs to determine the corresponding threshold value based on the size of i, and then compare the repetition rate between the i-th fingerprint image and the i-1-th fingerprint image with the determined threshold value to determine whether the i-th fingerprint image meets the repetition rate requirement.
[0143] For example, Figure 18As shown, when the electronic device evaluates the repetition rate of the fifth fingerprint image it has collected, it needs to compare the fifth fingerprint image with the fourth fingerprint image to obtain a repetition rate d, and compare this with the preset repetition rate threshold of 70% corresponding to the number of images 5. If the repetition rate d is less than 70%, it can be determined that the fifth fingerprint image meets the repetition rate requirement. When the electronic device evaluates the repetition rate of the 30th fingerprint image it has collected, it needs to compare the 30th fingerprint image with the 29th fingerprint image to obtain a repetition rate e, and compare this with the preset repetition rate threshold of 40% corresponding to the number of images 30. Only if the repetition rate e is less than 40% can it be determined that the 30th fingerprint image meets the repetition rate requirement.
[0144] In some feasible embodiments of the present application, the electronic device may organize and stitch each new fingerprint image after collecting it. That is, the electronic device stitches the fingerprint image with a second stitched fingerprint image obtained by stitching previously collected fingerprint images. In this way, the electronic device can continuously stitch the P collected fingerprint images to obtain the first stitched fingerprint image while the user's finger is in single contact with the fingerprint collection area and moving.
[0145] In some feasible embodiments of the present application, the P fingerprint images collected by the electronic device include a first fingerprint image and a second fingerprint image. The first fingerprint image is a fingerprint image collected by the electronic device before collecting the second fingerprint image. In this case, when the electronic device collects the first fingerprint image, it organizes the first fingerprint image and, upon determining that the first fingerprint image meets both the quality requirements and the repetition rate requirements, splices the first fingerprint image with the fingerprint image collected by the electronic device before collecting the first fingerprint image to obtain a second fingerprint spliced image. Thereafter, when the electronic device continues to collect the second fingerprint image, it also organizes the second fingerprint image and, upon determining that the second fingerprint image also meets both the quality requirements and the repetition rate requirements, splices the second fingerprint image with the second fingerprint image to form the first fingerprint image.
[0146] In some feasible embodiments of the present application, the electronic device may also, when the user's finger moves in contact with the fingerprint collection area once, organize the fingerprint image after each new fingerprint image is collected to obtain a total of P fingerprint images, and then uniformly stitch the P fingerprint images to obtain a first fingerprint stitching image.
[0147] In some feasible embodiments of the present application, when the user's finger is in single contact with the fingerprint collection area and moves, the electronic device can also detect in real time whether the first fingerprint splicing image obtained by splicing the collected fingerprint images meets the preset fingerprint template full recording condition. In this way, when the electronic device detects that the first fingerprint splicing image meets the fingerprint template full recording condition, the electronic device can confirm that the current user fingerprint recording process has been completed, and output a third prompt information to the user indicating that the user's finger has ended contact with the fingerprint collection area. Based on the third prompt information, the user can lift the finger to break contact with the screen. Alternatively, the user can also move the finger out of the position range of the fingerprint collection area on the screen.
[0148] However, if the electronic device detects that the first stitched fingerprint image does not meet the fingerprint template full recording condition, the electronic device determines that it is necessary to continue collecting new fingerprint images to continue stitching and updating the first stitched fingerprint image. In other words, the current user fingerprint recording process has not been completed. In this case, the electronic device outputs a fourth prompt message to the user, instructing the user to keep the finger in contact with the fingerprint collection area and move. Based on the fourth prompt message, the user will continue to keep the finger in contact with the fingerprint collection area and move. The electronic device can then continue to collect a new fingerprint image for the user's finger and stitch the new fingerprint image with the first stitched fingerprint image again to form a new first stitched fingerprint image.
[0149] It should be noted that, in the embodiment of the present application, the first fingerprint stitching image meets the fingerprint template full recording condition that: the user fingerprint information contained in the first fingerprint stitching image includes information on the fingerprints of various parts of the user's finger surface. Alternatively, the first fingerprint stitching image meets the fingerprint template full recording condition that: the number P of fingerprint images used by the electronic device to stitch together to form the first fingerprint stitching image has reached a preset image number threshold. It should be understood that based on the different design needs of actual applications, in different feasible implementation methods, the specific content of the fingerprint template full recording condition may of course also be other content not listed here, and the fingerprint entry method provided in the embodiment of the present application is not limited to the specific content of the fingerprint template full recording condition.
[0150] For example, Figure 19As shown, after the electronic device begins the user fingerprint registration process, upon detecting that the user's finger is touching the fingerprint collection area, it controls the fingerprint sensor to initiate continuous image capture. Thus, during the process of the user's finger moving while in contact with the fingerprint collection area, P fingerprint images are captured. After each captured fingerprint image, the electronic device organizes and stitches the captured fingerprint images together, continuously stitching the captured fingerprint images to form a first stitched fingerprint image. Furthermore, the electronic device further detects whether the stitched fingerprint image meets the fingerprint template full registration condition. If the first stitched fingerprint image is detected to meet the fingerprint template full registration condition, the electronic device outputs a third prompt message to the user, terminating the current user fingerprint registration process. If the first stitched fingerprint image is detected to not meet the fingerprint template full registration condition, the electronic device outputs a fourth prompt message to the user and returns to the step of detecting that the user's finger is in contact with the fingerprint collection area. The electronic device continues to capture and stitch new fingerprint images to form a new first stitched fingerprint image during the process of the user's finger moving while in contact with the fingerprint collection area. This cycle continues until the first stitched fingerprint image meets the fingerprint template full registration condition.
[0151] In some feasible embodiments of the present application, if an electronic device collects P fingerprint images and stitches them together to obtain a first stitched fingerprint image during a single contact and unidirectional movement of a user's finger in the fingerprint collection area, then, if the user's finger lifts off the screen or moves further away from the fingerprint collection area after the single contact and unidirectional movement, the electronic device, upon detecting that the first stitched fingerprint image meets the fingerprint template full registration condition, may output a fifth prompt to the user prompting the user to re-contact the fingerprint collection area and perform unidirectional movement. Subsequently, when the user re-contacts the fingerprint collection area and performs another unidirectional movement based on the prompt, the electronic device controls the fingerprint sensor to continuously collect images during the user's subsequent unidirectional movement to obtain a new fingerprint image, and stitches the new fingerprint image with the first stitched fingerprint image to form a new first stitched fingerprint image. In this manner, the electronic device repeats this cycle until the first stitched fingerprint image meets the fingerprint template full registration condition, completing the user's fingerprint registration process.
[0152] For example, when a user uses an electronic device to enter fingerprints, if Figure 8In the method shown, a finger is used to touch the fingerprint collection area on the screen of an electronic device (mobile phone) and move it in a unidirectional "→" shape from left to right. The electronic device collects P fingerprint images during the first unidirectional movement of the user's finger and stitches them together to obtain a first fingerprint stitching image. Afterwards, if the electronic device detects that the first fingerprint stitching image does not meet the fingerprint template full recording condition, the electronic device outputs a fifth prompt message to the user to prompt the user to touch the fingerprint collection area again and move it in a unidirectional "→" shape. In this way, the user follows the prompt to touch the fingerprint collection area for the second time and move it in a unidirectional "→" shape from left to right. In addition, the electronic device further collects P fingerprint images during the second unidirectional movement of the user's finger in the fingerprint collection area, and stitches each fingerprint image with the first fingerprint stitching image to form a new first fingerprint stitching image when a fingerprint image is collected, until the new first fingerprint stitching image meets the fingerprint template full recording condition. However, if the electronic device collects P fingerprint images and stitches the first fingerprint stitching image obtained when the user's finger contacts the fingerprint collection area for the second time and moves, the first fingerprint stitching image still does not meet the fingerprint template full recording condition, the electronic device continues to output the fifth prompt information to the user to continue collecting new fingerprint images for stitching until the first fingerprint stitching image finally meets the fingerprint template full recording condition.
[0153] In an embodiment of the present application, an electronic device collects P fingerprint images during a single movement of a user's finger in contact with a fingerprint collection area, thereby arranging and splicing the P fingerprint images to form a first fingerprint splicing image of the user. Thus, compared to a press-type fingerprint recording method that collects a fingerprint image each time the user performs a press operation and then collects and splices the image based on the user's repeated press operations to obtain a user fingerprint splicing image, the fingerprint recording method provided by the embodiment of the present application can collect a large number of fingerprint images for fingerprint splicing during a single finger movement of the user. In other words, the fingerprint recording method provided by the embodiment of the present application can collect more fingerprint images in a shorter time, and the first fingerprint splicing image obtained by splicing the collected fingerprint images also has a larger fingerprint area to facilitate subsequent fingerprint recognition processing. This can not only improve the efficiency of the electronic device in collecting fingerprint images for user fingerprint recording, but also improve the recording effect of the user's fingerprint.
[0154] In some embodiments, the present application provides an electronic device that implements the fingerprint registration method described in each of the above embodiments. This function can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0155] In some embodiments, an embodiment of the present application provides an electronic device, comprising: a processor and a memory; the memory is used to store computer program code, the computer program code includes computer execution instructions, and when the electronic device is running, the processor executes the computer execution instructions to enable the electronic device to perform the fingerprint entry method described in the above embodiments.
[0156] In some embodiments, an embodiment of the present application provides an electronic device, comprising: a processor; the processor is configured to be coupled to a memory, and after reading instructions in the memory, execute the fingerprint entry method described in each of the above embodiments according to the instructions.
[0157] In some embodiments, an embodiment of the present application provides a computer-readable storage medium, including computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the wallpaper display method as described above.
[0158] In some embodiments, embodiments of the present application provide a computer program product. When the computer program product is run on an electronic device, the electronic device executes the fingerprint entry method described in the above embodiments.
[0159] In some embodiments, the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the fingerprint entry method described in each of the above embodiments.
[0160] In some embodiments, embodiments of the present application provide a device comprising a processor for supporting an electronic device in implementing the functions of the fingerprint registration method described in the above embodiments. In one possible design, the device further comprises a memory for storing program instructions and data necessary for the electronic device.
[0161] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0162] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
[0163] In addition, the functional units in the various embodiments of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0164] The above content is only a specific embodiment of this application, but the scope of protection of this application is not limited to this. Any changes or replacements within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A fingerprint entry method, characterized in that: Applied to electronic equipment, the method includes: The electronic device collects P fingerprint images during the process of the user's finger touching the fingerprint collection area and moving; P is a positive integer greater than 1; The electronic device stitches the P fingerprint images to form a first fingerprint stitching image of the user.
2. The method according to claim 1, characterized in that The user's finger contacts the fingerprint collection area once and moves, including moving in at least a first direction and a second direction, and the first direction and the second direction intersect each other.
3. The method according to claim 1 or 2, characterized in that The method further comprises: The electronic device outputs the user's fingerprint entry progress to the user during a single contact of the user's finger with the fingerprint collection area, and the entry progress is updated at least twice during a single contact of the user's finger with the fingerprint collection area.
4. The method according to any one of claims 1 to 3, characterized in that Before the step of collecting P fingerprint images by the electronic device during the process of the user's finger contacting the fingerprint collection area once and moving, the method further includes: The electronic device outputs to the user a movement trajectory indicating that the user's finger remains in contact with the fingerprint collection area and moves.
5. The method according to claim 4, characterized in that After the step of the electronic device outputting to the user a movement trajectory indicating that the user's finger is moving while maintaining contact with the fingerprint collection area, the method further includes: When the user's finger keeps in contact with the fingerprint collection area and moves, the electronic device outputs a real-time movement trajectory of the user's finger to the user; an image of the real-time movement trajectory is overlaid on an upper layer of the image of the movement trajectory.
6. The method according to any one of claims 1 to 5, characterized in that After the step of collecting P fingerprint images by the electronic device during the process of the user's finger contacting the fingerprint collection area once and moving, the method further includes: When m consecutive fingerprint images do not meet the quality requirement, the electronic device outputs a first prompt message to the user; the first prompt message is used to instruct the user to reduce the movement speed of the finger; m is a positive integer greater than 1 and m is less than or equal to P; and / or, When the repetition rate of n consecutive fingerprint images is greater than or equal to a preset repetition rate threshold, the electronic device outputs a second prompt information to the user, and the second prompt information is used to instruct to increase the movement speed of the user's finger; the repetition rate of the i-th fingerprint image in the P fingerprint images is: the repetition rate between the i-th fingerprint image and the i-1-th fingerprint image in the P fingerprint images; i is a positive integer greater than 1 and i is less than or equal to n, and n is less than or equal to P.
7. The method according to claim 6, characterized in that The preset repetition rate threshold is negatively correlated with the area of the first fingerprint stitching image.
8. The method according to any one of claims 1 to 7, characterized in that After the electronic device stitches the P fingerprint images to form a first stitched fingerprint image of the user, the method further includes: When the first fingerprint stitching image meets the fingerprint template full recording condition, the electronic device outputs a third prompt information to the user, wherein the third prompt information is used to indicate that the user's finger ends contact with the fingerprint collection area; and / or, When the first fingerprint stitching image does not meet the fingerprint template full recording condition and the user's finger remains in contact with the fingerprint collection area, the electronic device outputs fourth prompt information to the user, and the fourth prompt information is used to instruct the user's finger to remain in contact with the fingerprint collection area and move.
9. The method according to any one of claims 1 to 8, characterized in that The electronic device includes a fingerprint sensor; the electronic device collects P fingerprint images during a process in which a user's finger contacts a fingerprint collection area and moves, including: The electronic device obtains the contact area between the user's finger and the fingerprint collection area when detecting that the user's finger contacts the fingerprint collection area; When the contact area is greater than or equal to a preset threshold, the fingerprint sensor is controlled to start continuous image capture to capture P fingerprint images during the process of the user's finger contacting the fingerprint capture area and moving.
10. The method according to claim 9, characterized in that After the step of controlling the fingerprint sensor to start continuous image acquisition so as to acquire P fingerprint images during a process in which the user's finger contacts the fingerprint acquisition area and moves, the method further includes: When the contact area is smaller than the preset threshold, the electronic device controls the fingerprint sensor to end image acquisition.
11. The method according to any one of claims 1 to 10, characterized in that The P fingerprint images include a first fingerprint image and a second fingerprint image; the first fingerprint image is a fingerprint image collected by the electronic device before collecting the second fingerprint image; The step of the electronic device splicing the P fingerprint images to form a first fingerprint splicing image of the user includes: The electronic device splices the first fingerprint image and a fingerprint image collected before the first fingerprint image to obtain a second fingerprint splicing image; When the electronic device collects the second fingerprint image, detecting an image repetition rate between the second fingerprint image and the second fingerprint stitching image; When the image repetition rate is less than a preset repetition rate threshold, the electronic device stitches the second fingerprint image and the second fingerprint stitching image to form a first fingerprint stitching image.
12. The method according to claim 1, characterized in that The movement of the user's finger in contact with the fingerprint collection area includes one-way movement; After the electronic device stitches the P fingerprint images to form a first stitched fingerprint image of the user, the method further includes: If the first fingerprint stitching image does not meet the fingerprint template full recording condition, the electronic device outputs a fifth prompt information to the user; The fifth prompt information is used to prompt the user to re-contact the fingerprint collection area with the finger and move it in one direction.
13. An electronic device, characterized in that: The electronic device includes: a processor and a memory, the processor is coupled to the memory; the memory is used to store computer program code; the computer program code includes computer instructions, and when the processor executes the above-mentioned computer instructions, the electronic device executes the method according to any one of claims 1 to 12.
14. A computer-readable storage medium, characterized in that The computer-readable storage medium includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device is caused to perform the method according to any one of claims 1 to 12.
15. A computer program product, characterized in that The computer program product comprises computer instructions, and when the computer instructions are executed on an electronic device, the electronic device is caused to perform the method according to any one of claims 1 to 12.