A fingerprint unlocking method, device, system, electronic device and storage medium
By receiving local unlock notifications and fingerprint feature matching, the problem of fingerprint damage cannot be turned on cannot be opened, and normal unlocking and security guarantee of fingerprint unlocking equipment in case of damage is achieved.
Patent Information
- Application Number
- CN202210634479.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-06
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2042-06-06
AI Technical Summary
In the prior art, fingerprint damage cannot be opened, which causes inconvenience to user life and lacks effective solutions.
By receiving local unlock notifications, determine whether the current moment is within the preset period, obtain fingerprint features and the number of consecutive unlocks. If the matching degree exceeds the threshold and the number of times reaches the threshold, unlocking is performed, supporting local fingerprint unlocking, including single or multiple fingerprint feature superposition.
In the case of damaged fingerprints, ensure that the fingerprint unlocking device can be unlocked normally, which improves the reliability and security of fingerprint unlocking, and avoids misunderstandings caused by random touch.
Smart Images

Figure CN114937290B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of identification technology, and in particular, to a fingerprint unlocking method, device, system, electronic device, and storage medium. Background Art
[0002] With the advent of the Internet of Things era, the development of smart homes has become a driving industry for the contemporary manufacturing industry, and the era of everything connected is just around the corner. Fingerprint locks can improve the security of devices and the sense of safety and comfort of users. However, if a user's finger is injured and some fingerprints cannot be recognized, it will cause the fingerprint lock to fail to unlock normally, bringing inconvenience to the user's life.
[0003] Regarding the problem that the fingerprint lock cannot be opened due to damaged fingerprints in the prior art, there is currently no good solution. Summary of the Invention
[0004] The purpose of the embodiments of this application is to provide a fingerprint unlocking method, device, system, electronic device, and storage medium to solve the problem that the fingerprint lock cannot be opened due to damaged fingerprints. The specific technical solutions are as follows:
[0005] In a first aspect, a fingerprint unlocking method is provided, which is applied to a fingerprint unlocking device. The method includes:
[0006] Receiving a partial unlocking notification sent by a client, where the partial unlocking notification carries a preset time period and a preset fingerprint feature, and the preset time period is the time period for unlocking with a partial fingerprint;
[0007] When detecting fingerprint unlocking information, determining whether the current moment is within the preset time period;
[0008] When determining that the current moment is within the preset time period, obtaining the fingerprint feature and the continuous unlocking times from the fingerprint unlocking information;
[0009] If it is determined that the matching degree between the fingerprint feature and the preset fingerprint feature exceeds the matching threshold and the continuous unlocking times exceed the preset number threshold, then unlock, where the fingerprint feature is the fingerprint feature of a single unlocking or the superposition of fingerprint features of at least two unlockings.
[0010] Optionally, the determining that the matching degree between the fingerprint feature and the preset fingerprint feature exceeds the matching threshold includes:
[0011] Obtaining the undamaged fingerprint feature of the damaged finger from the partial unlocking notification, where the damaged finger can be recognized with some fingerprints;
[0012] Matching the fingerprint feature of the damaged finger used for unlocking with the undamaged fingerprint feature;
[0013] If the matching degree between the fingerprint feature and the undamaged fingerprint feature is greater than a first preset ratio, it is determined that the matching degree exceeds the matching threshold.
[0014] Optionally, the determining that the matching degree between the fingerprint feature and the preset fingerprint feature exceeds the matching threshold includes:
[0015] Obtain all preset fingerprint features of the damaged finger from the local unlocking notification;
[0016] Match the fingerprint feature of the damaged finger used for unlocking with the all fingerprint features;
[0017] If the matching degree between the fingerprint feature and the all fingerprint features is greater than a second preset ratio, it is determined that the matching degree exceeds the matching threshold, where the first preset ratio is greater than the second preset ratio.
[0018] Optionally, the method further includes:
[0019] When it is detected that the number of fingerprint unlocking times of the target finger reaches the set number of times, delete the historical fingerprint information of the target finger in the fingerprint unlocking device;
[0020] Send a fingerprint update notification to the client to enable the user to re-record the unlocking fingerprint of the target finger.
[0021] In a second aspect, a fingerprint unlocking method is provided, which is applied to a client, and the method includes:
[0022] Determine a preset time period and preset fingerprint features according to user operations, where the preset time period is a time period for unlocking using a partial fingerprint;
[0023] Send a local unlocking notification carrying the preset time period and preset fingerprint features to the fingerprint unlocking device, so that the fingerprint unlocking device unlocks when it is determined that the fingerprint unlocking time is within the preset time period, the matching degree between the fingerprint feature and the preset fingerprint feature exceeds the matching threshold, and the consecutive unlocking times exceed the preset number of times threshold.
[0024] Optionally, the preset fingerprint feature is an undamaged fingerprint feature, and the determining the preset fingerprint feature according to user operations includes:
[0025] Use a photographing device to determine a complete fingerprint image of the damaged finger;
[0026] Select an undamaged fingerprint area on the complete fingerprint image according to a selection instruction;
[0027] Use the fingerprint feature in the undamaged fingerprint area as the preset fingerprint feature.
[0028] Optionally, selecting the undamaged fingerprint area on the complete fingerprint image according to the selection instruction includes:
[0029] Obtaining the undamaged fingerprint area on the complete fingerprint image circled by the user; or,
[0030] Selecting the undamaged fingerprint area from the candidate fingerprint areas of the complete fingerprint image according to the user's selection, where the complete fingerprint image is divided into at least two candidate fingerprint areas.
[0031] In a third aspect, a fingerprint unlocking system is provided, and the system includes:
[0032] A client, configured to determine a preset time period and a preset fingerprint feature according to a user operation; and send a partial unlocking notification carrying the preset time period and the preset fingerprint feature to a fingerprint unlocking device, where the preset time period is a time period for unlocking using a partial fingerprint;
[0033] The fingerprint unlocking device, when detecting fingerprint unlocking information, determines whether the current moment is within the preset time period; when determining that the current moment is within the preset time period, obtains a fingerprint feature and a continuous unlocking count from the fingerprint unlocking information; if it is determined that the matching degree between the fingerprint feature and the preset fingerprint feature exceeds a matching threshold and the continuous unlocking count exceeds a preset count threshold, then performs unlocking, where the fingerprint feature is a fingerprint feature for single unlocking or a superposition of fingerprint features for at least two unlockings.
[0034] In a fourth aspect, a fingerprint unlocking device is provided, which is applied to a fingerprint unlocking device, and the device includes:
[0035] A receiving module, configured to receive a partial unlocking notification sent by the client, where the partial unlocking notification carries a preset time period and a preset fingerprint feature, and the preset time period is a time period for unlocking using a partial fingerprint;
[0036] A determining module, configured to determine whether the current moment is within the preset time period when detecting fingerprint unlocking information;
[0037] An obtaining module, configured to obtain a fingerprint feature and a continuous unlocking count from the fingerprint unlocking information when determining that the current moment is within the preset time period;
[0038] An unlocking module, configured to perform unlocking if it is determined that the matching degree between the fingerprint feature and the preset fingerprint feature exceeds a matching threshold and the continuous unlocking count exceeds a preset count threshold, where the fingerprint feature is a fingerprint feature for single unlocking or a superposition of fingerprint features for at least two unlockings.
[0039] In a fifth aspect, a fingerprint unlocking device is provided, which is applied to a client, and the device includes:
[0040] A determination module, configured to determine a preset time period and a preset fingerprint feature according to a user operation, where the preset time period is a time period for unlocking using a partial fingerprint;
[0041] A sending module, configured to send a partial unlocking notification carrying the preset time period and the preset fingerprint feature to a fingerprint unlocking device, so that the fingerprint unlocking device unlocks when it is determined that the moment of fingerprint unlocking is within the preset time period, the matching degree between the fingerprint feature and the preset fingerprint feature exceeds a matching threshold, and the consecutive unlocking times exceed a preset number threshold.
[0042] In a sixth aspect, an electronic device is provided, including a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory complete communication with each other through the communication bus;
[0043] The memory is used to store a computer program;
[0044] The processor is configured to implement the steps of any of the fingerprint unlocking methods when executing the program stored on the memory.
[0045] In a seventh aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the fingerprint unlocking methods are implemented.
[0046] Advantageous effects of the embodiments of the present application:
[0047] The embodiments of the present application provide a fingerprint unlocking method. In the present application, the fingerprint unlocking device first determines that the user's finger is damaged and needs to use a partial fingerprint for unlocking according to the current moment of unlocking being within the preset time period, and then obtains the fingerprint feature and the consecutive unlocking times. If the consecutive unlocking times exceed the preset number threshold, it indicates that the user really needs to unlock instead of randomly touching the fingerprint unlocking device. Finally, the fingerprint feature is matched with the preset fingerprint feature. If the matching degree exceeds the matching threshold, it indicates that there are enough fingerprint features to unlock. If the single fingerprint feature can unlock, the single fingerprint feature is matched with the preset fingerprint feature; if the single fingerprint feature is not enough to unlock, the fingerprint features of multiple unlockings are superimposed to increase the fingerprint features and ensure successful matching with the preset fingerprint feature. The present application can solve the problem in the prior art that the fingerprint lock cannot be opened due to damaged fingerprints.
[0048] Of course, it is not necessary for any product or method implementing the present application to achieve all of the above advantages at the same time. Description of the Drawings
[0049] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the accompanying drawings required for the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0050] Figure 1 Schematic diagram of the hardware environment of a fingerprint unlocking method provided by an embodiment of the present application;
[0051] Figure 2 Flowchart of a fingerprint unlocking method provided by an embodiment of the present application;
[0052] Figure 3 Schematic diagram of the structure of a fingerprint unlocking device provided by an embodiment of the present application;
[0053] Figure 4 Schematic diagram of the structure of another fingerprint unlocking device provided by an embodiment of the present application;
[0054] Figure 5 Schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0055] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.
[0056] In subsequent descriptions, the use of suffixes such as "module", "component", or "unit" to represent elements is only for the convenience of description of the present application, and they do not have specific meanings themselves. Therefore, "module" and "component" can be used interchangeably.
[0057] To solve the problems mentioned in the background art, according to one aspect of the embodiments of the present application, a fingerprint unlocking system is provided. The system includes: a client for determining a preset time period and a preset fingerprint feature according to a user operation; and sending a partial unlocking notification carrying the preset time period and the preset fingerprint feature to a fingerprint unlocking device, where the preset time period is the time period for unlocking with a partial fingerprint; the fingerprint unlocking device, when detecting fingerprint unlocking information, determines whether the current moment is within the preset time period; when determining that the current moment is within the preset time period, obtains a fingerprint feature and a continuous unlocking count from the fingerprint unlocking information; if it is determined that the matching degree between the fingerprint feature and the preset fingerprint feature exceeds a matching threshold and the continuous unlocking count exceeds a preset count threshold, then unlocking is performed, and the fingerprint feature is a fingerprint feature for single unlocking or a superposition of fingerprint features for at least two unlockings.
[0058] Optionally, in the embodiments of the present application, the above fingerprint unlocking method can be applied to a hardware environment composed of a client 101 and a fingerprint unlocking device 103 as shown in Figure 1 the figure. As shown in Figure 1 the figure, the fingerprint unlocking device 103 is connected to the client 101 through a network. The above network includes but is not limited to: a wide area network, a metropolitan area network or a local area network. The client 101 exists on devices such as a PC, a mobile phone, a tablet computer, etc. The fingerprint unlocking device 103 can be a device that requires fingerprint unlocking such as a smart door lock, a safe lock, a car lock, etc.
[0059] A fingerprint unlocking method in the embodiments of the present application can be executed by the fingerprint unlocking device 103 or can also be executed by the client 101, which is used to perform fingerprint unlocking even when the fingerprint of the user's finger is damaged.
[0060] Next, in combination with specific implementation manners, a fingerprint unlocking method provided by the embodiments of the present application will be described in detail. As shown in Figure 2 the figure, the specific steps are as follows:
[0061] Step 201: Receive a partial unlocking notification sent by the client.
[0062] Among them, the partial unlocking notification carries a preset time period and a preset fingerprint feature, and the preset time period is the time period for unlocking with a partial fingerprint.
[0063] In this application, after the Bluetooth module of the fingerprint unlocking device is successfully connected to the client, the voice module of the fingerprint unlocking device prompts for fingerprint entry. At the same time, the Bluetooth signal is transmitted to the client in real time for synchronizing the fingerprint entry data at the client. When the client detects a local unlocking operation set by the user, it sends a local unlocking notification to the fingerprint unlocking device. The local unlocking notification carries a preset time period and preset fingerprint features for unlocking with a partial fingerprint, and this local unlocking notification is used to indicate that the fingerprint unlocking device can unlock with a partial fingerprint.
[0064] Step 202: When detecting fingerprint unlocking information, determine whether the current moment is within the preset time period.
[0065] In an embodiment of this application, after the fingerprint unlocking device receives the local unlocking notification, if the fingerprint unlocking device detects the fingerprint unlocking information when the user unlocks, then obtain the current moment when unlocking is determined, and determine whether the current moment is within the preset time period. The preset time period is the time period for unlocking with a partial fingerprint. Exemplarily, if the user's finger is injured on May 18, 2022 and is expected to recover in 10 days, then the preset time period is from May 18 to May 28.
[0066] If the current moment is not within the preset time period, it indicates that the user's finger is not injured and normal unlocking can be performed at the current moment without using a partial fingerprint for unlocking; if the current moment is within the preset time period, it indicates that the user's finger is injured and a partial fingerprint is required for unlocking at the current moment, then execute step 203.
[0067] Step 203: When determining that the current moment is within the preset time period, obtain the fingerprint features and the continuous unlocking times from the fingerprint unlocking information.
[0068] In an embodiment of this application, when the fingerprint unlocking device determines that the current moment is within the preset time period, indicating that the user's finger is injured, then obtain the fingerprint features and the continuous unlocking times from the fingerprint unlocking information. The continuous unlocking times refer to the user unlocking at least twice within the target duration. Exemplarily, the user unlocks three times within one minute.
[0069] Step 204: If it is determined that the matching degree between the fingerprint features and the preset fingerprint features exceeds the matching threshold and the continuous unlocking times exceed the preset number threshold, then perform unlocking.
[0070] Among them, the fingerprint features are the fingerprint features of a single unlocking or the superposition of the fingerprint features of at least two unlockings.
[0071] In an embodiment of the present application, the fingerprint unlocking device obtains a preset fingerprint feature from a partial unlocking notification. The preset fingerprint feature is all the fingerprint features of one finger of the user or the undamaged fingerprint features of the user's finger. If the fingerprint unlocking device determines that the matching degree between the fingerprint feature and the preset fingerprint feature exceeds the matching threshold, it indicates that there are enough fingerprint features. If the fingerprint unlocking device determines that the consecutive unlocking times exceed the preset number threshold, it indicates that the purpose of the user touching the fingerprint unlocking device is to unlock, which can avoid unlocking caused by randomly touching the fingerprint unlocking device.
[0072] In addition, the fingerprint feature can be the fingerprint feature of a single unlocking or the superposition of fingerprint features at least twice. If the damaged area of the user's finger is relatively large, it is difficult to recognize the fingerprint feature used for unlocking every time. The superposition of multiple fingerprint features can improve the unlocking efficiency.
[0073] Then the unlocking in the present application includes the following two methods: One method is that if the consecutive unlocking times exceed the preset number threshold and the matching degree between the fingerprint feature of a single unlocking and the preset fingerprint feature exceeds the matching threshold, the fingerprint unlocking device unlocks; Another method is that if the consecutive unlocking times exceed the preset number threshold and the superposition of fingerprint features of multiple unlockings and the preset fingerprint feature have a matching degree exceeding the matching threshold, the fingerprint unlocking device unlocks.
[0074] In the present application, the fingerprint unlocking device first determines that the user's finger is damaged and needs to use partial fingerprints for unlocking according to the current unlocking time being within the preset time period, and then obtains the fingerprint feature and the consecutive unlocking times. If the consecutive unlocking times exceed the preset number threshold, it indicates that the user really needs to unlock instead of randomly touching the fingerprint unlocking device. Finally, the fingerprint feature is matched with the preset fingerprint feature. If the matching degree exceeds the matching threshold, it indicates that there are enough fingerprint features to unlock. If the fingerprint feature of a single time can unlock, the fingerprint feature of a single time is matched with the preset fingerprint feature; If the fingerprint feature of a single time is not enough to unlock, the fingerprint features of multiple unlockings are superposed to increase the fingerprint features to ensure successful matching with the preset fingerprint feature. The present application can solve the problem in the prior art that the fingerprint lock cannot be opened due to fingerprint damage.
[0075] Optionally, determining that the matching degree between the fingerprint feature and the preset fingerprint feature exceeds the matching threshold includes two embodiments.
[0076] In one embodiment, the damaged finger can recognize a partial fingerprint. The fingerprint unlocking device obtains the undamaged fingerprint features of the damaged finger from the local unlocking notification, and the undamaged fingerprint features are the partial fingerprint features of the damaged finger. The fingerprint unlocking device matches the fingerprint features of the damaged finger used for unlocking with the undamaged fingerprint features. If the matching degree is greater than the first preset ratio, it is determined that the matching degree exceeds the matching threshold. If the matching degree is less than or equal to the first preset ratio, it is determined that the matching degree does not exceed the matching threshold.
[0077] In another embodiment, the damaged finger can recognize a partial fingerprint, and the preset complete fingerprint features of the damaged finger are obtained from the local unlocking notification. The fingerprint unlocking device matches the fingerprint features of the damaged finger used for unlocking with the complete fingerprint features of this finger. If the matching degree is greater than the second preset ratio, it is determined that the matching degree exceeds the matching threshold. If the matching degree is less than or equal to the second preset ratio, it is determined that the matching degree does not exceed the matching threshold. Among them, since the fingerprint features detected after the finger is damaged will become fewer, the second preset ratio also needs to be reduced, and the first preset ratio is greater than the second preset ratio.
[0078] Exemplarily, the first preset ratio is 80%. If the matching degree between the fingerprint features of the damaged finger and the undamaged fingerprint features is greater than 80%, it indicates that there are enough fingerprint features. The second preset ratio is 60%. If the matching degree between the fingerprint features of the damaged finger and the complete fingerprint features of this finger is greater than 60%, it indicates that there are enough fingerprint features.
[0079] As an optional implementation manner, determining the preset fingerprint features according to the user operation includes: using a photographing device to determine the complete fingerprint image of the damaged finger; selecting the undamaged fingerprint area on the complete fingerprint image according to the selection instruction; and using the fingerprint features in the undamaged fingerprint area as the preset fingerprint features.
[0080] Before the finger is injured, the user uses a photographing device to determine the complete fingerprint image of the damaged finger in advance. After the finger is injured, the fingerprint unlocking device generates a selection instruction according to the user's selection, selects the undamaged fingerprint area on the complete fingerprint image, and uses the fingerprint features in the undamaged fingerprint area as the preset fingerprint features.
[0081] Specifically, selecting the undamaged fingerprint area on the complete fingerprint image according to the selection instruction includes: obtaining the undamaged fingerprint area circled by the user on the complete fingerprint image; or, selecting the undamaged fingerprint area from the candidate fingerprint areas of the complete fingerprint image according to the user's selection, where the complete fingerprint image is divided into at least two candidate fingerprint areas.
[0082] In the complete fingerprint image displayed by the user on the client, the user outlines the undamaged fingerprint area. Alternatively, the complete fingerprint image in the client is pre-divided into at least two candidate fingerprint areas, and the user can select the undamaged fingerprint area from the candidate fingerprint areas by comparing with the finger injury area. In this way, the fingerprint unlocking device selects the undamaged fingerprint area on the complete fingerprint image.
[0083] As an alternative implementation, the method further includes: when it is detected that the number of fingerprint unlocking times of the target finger reaches the set number of times, deleting the historical fingerprint information of the target finger in the fingerprint unlocking device, where the target finger is a single finger or all fingers; sending a fingerprint update notification to the client to enable the user to re-record the unlocking fingerprint of the target finger.
[0084] If the fingerprint unlocking device detects that the number of fingerprint unlocking times of the target finger reaches the set number of times, it indicates that there are too many fingerprint traces in the fingerprint unlocking device, which may affect subsequent fingerprint recognition. Then the fingerprint unlocking device starts the residual fingerprint removal function, deletes the historical fingerprint information of the target finger in the fingerprint unlocking device, and then sends a fingerprint update notification to the client, and the user re-records the unlocking fingerprint of the target finger according to the prompt of the client.
[0085] Among them, the target finger is a single finger or all fingers, that is, the sum of the number of times the fingerprint unlocking device detects the number of fingerprint unlocking times of all fingers reaches the set number of times, or the number of times the fingerprint unlocking times of a certain finger reaches the set number of times.
[0086] When the fingerprint unlocking device fails to unlock, the door lock recognition module recognizes the unlocking failure, the voice module starts the warning mode for warning broadcast, and feeds back to the client. If the user accidentally touches it, the warning broadcast can be cancelled through the client. The user can also set the accidental touch times and accidental touch duration on the client. If the fingerprint unlocking device unlocks within the accidental touch duration for the accidental touch times and all unlockings fail, it may be an illegal unlocking. The fingerprint unlocking device sends a warning message to the client, and the user can view the warning message through the client. This application improves the security and reliability performance of the fingerprint unlocking device through the warning mode and sending warning messages.
[0087] Exemplarily, the fingerprint unlocking device is a door lock. If the door lock fails to unlock twice by fingerprint within 10 minutes, a warning message will be sent to the client, and the user can view the situation outside the door lock in real time through the client by linking the door lock cat's eye.
[0088] For the existing fingerprint unlocking devices, this application enriches the reliability and suddenness of fingerprint unlocking methods, and comprehensively realizes fingerprint independent security protection. While ensuring fingerprint self-cleaning, it can also unlock the door in case of sudden fingerprint damage. By presetting the preset time period, preset fingerprint features and preset number threshold, it can achieve unlocking the door even in case of fingerprint damage in an emergency.
[0089] Based on the same inventive concept, an embodiment of the present application further provides a fingerprint unlocking device, which is applied to a fingerprint unlocking device, such as Figure 3 as shown, the device includes:
[0090] A receiving module 301, configured to receive a partial unlocking notification sent by a client, where the partial unlocking notification carries a preset time period and a preset fingerprint feature, and the preset time period is the time period for unlocking with a partial fingerprint;
[0091] A determining module 302, configured to determine whether the current moment is within the preset time period when detecting fingerprint unlocking information;
[0092] An obtaining module 303, configured to obtain a fingerprint feature and a continuous unlocking count from the fingerprint unlocking information when determining that the current moment is within the preset time period;
[0093] An unlocking module 304, configured to perform unlocking if it is determined that the matching degree between the fingerprint feature and the preset fingerprint feature exceeds a matching threshold and the continuous unlocking count exceeds a preset count threshold, where the fingerprint feature is a fingerprint feature for a single unlocking or a superposition of fingerprint features for at least two unlockings.
[0094] Optionally, the unlocking module 304 is configured to:
[0095] Obtain an undamaged fingerprint feature of a damaged finger from the partial unlocking notification, where the damaged finger can be recognized with a partial fingerprint;
[0096] Match the fingerprint feature of the damaged finger used for unlocking with the undamaged fingerprint feature;
[0097] If the matching degree between the fingerprint feature and the undamaged fingerprint feature is greater than a first preset ratio, determine that the matching degree exceeds the matching threshold.
[0098] Optionally, the unlocking module 304 is configured to:
[0099] Obtain all preset fingerprint features of a damaged finger from the partial unlocking notification;
[0100] Match the fingerprint feature of the damaged finger used for unlocking with all the fingerprint features;
[0101] If the matching degree between the fingerprint feature and all the fingerprint features is greater than a second preset ratio, determine that the matching degree exceeds the matching threshold, where the first preset ratio is greater than the second preset ratio.
[0102] Optionally, the device is further configured to:
[0103] When the fingerprint unlocking count of a target finger reaches a set count, delete the historical fingerprint information of the target finger in the fingerprint unlocking device;
[0104] Send a fingerprint update notification to the client to enable the user to re-record the unlocking fingerprint of the target finger.
[0105] This application also provides a fingerprint unlocking device, which is applied to the client, as Figure 4 shown. The device includes:
[0106] A determination module 401, configured to determine a preset time period and a preset fingerprint feature according to a user operation, where the preset time period is a time period for unlocking with a partial fingerprint;
[0107] A sending module 402, configured to send a partial unlocking notification carrying the preset time period and the preset fingerprint feature to the fingerprint unlocking device, so that the fingerprint unlocking device unlocks when it is determined that the fingerprint unlocking moment is within the preset time period, the matching degree between the fingerprint feature and the preset fingerprint feature exceeds a matching threshold, and the consecutive unlocking times exceed a preset number threshold.
[0108] Optionally, the determination module 401 is configured to:
[0109] Use a photographing device to determine a complete fingerprint image of the damaged finger;
[0110] Select an undamaged fingerprint area on the complete fingerprint image according to a selection instruction;
[0111] Use the fingerprint feature in the undamaged fingerprint area as the preset fingerprint feature.
[0112] Optionally, the determination module 404 is configured to:
[0113] Obtain an undamaged fingerprint area on the complete fingerprint image circled by the user; or,
[0114] Select an undamaged fingerprint area from the selectable fingerprint areas of the complete fingerprint image according to the selection of the user, where the complete fingerprint image is divided into at least two selectable fingerprint areas.
[0115] According to another aspect of the embodiments of the present application, the present application provides an electronic device, as Figure 5 shown, including a memory 503, a processor 501, a communication interface 502, and a communication bus 504. A computer program that can run on the processor 501 is stored in the memory 503. The memory 503 and the processor 501 communicate through the communication interface 502 and the communication bus 504. When the processor 501 executes the computer program, the steps of the above method are implemented.
[0116] In the above-mentioned electronic device, the memory and the processor communicate through a communication bus and a communication interface. The communication bus can be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. This communication bus can be divided into an address bus, a data bus, a control bus, and the like.
[0117] The memory may include a Random Access Memory (RAM), or may also include a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located far from the aforementioned processor.
[0118] The aforementioned processor may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0119] According to another aspect of the embodiments of the present application, there is also provided a computer-readable medium having non-volatile program code executable by a processor.
[0120] Optionally, in the embodiments of the present application, the computer-readable medium is configured to store program code for the processor to execute the above method.
[0121] Optionally, specific examples in this embodiment may refer to the examples described in the above embodiments, and will not be elaborated herein.
[0122] When the embodiments of the present application are specifically implemented, reference may be made to the above respective embodiments, and they have corresponding technical effects.
[0123] It will be understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in this application, or any combination thereof.
[0124] For a software implementation, the techniques described herein can be implemented by units that execute the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented within the processor or external to the processor.
[0125] Those of ordinary skill in the art will appreciate that the units and algorithm steps of the examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0126] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be described herein again.
[0127] In the 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 illustrative. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the couplings or direct couplings or communication connections shown or discussed with each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.
[0128] The unit described as a separation component may or may not be physically separated. The component shown as a unit may or may not be a physical unit, that is, it may be located in one place or distributed across multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0129] In addition, in each embodiment of the present application, each functional unit may be integrated in a processing unit, may exist separately as individual physical units, or two or more units may be integrated in one unit.
[0130] If the described function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical discs that can store program codes. It should be noted that in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the said element.
[0131] The above description is only the specific implementation manners of the present application, enabling those skilled in the art to understand or implement the present application. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to these embodiments shown herein, but rather to the broadest scope consistent with the principles and novel features claimed herein.
Claims
1. A fingerprint unlocking method, characterized in that, Applied to a fingerprint unlocking device, the method includes: Receiving a partial unlocking notification sent by a client, where the partial unlocking notification carries a preset time period and a preset fingerprint feature. The preset time period is the time period for unlocking using a partial fingerprint, and the preset fingerprint feature is an undamaged fingerprint feature. The preset fingerprint feature is determined by the client taking a complete fingerprint image of the damaged finger using a photographing device before the user's finger is injured, and after the user's finger is injured, selecting an undamaged fingerprint area on the complete fingerprint image based on a selection instruction and determining based on the fingerprint features in the undamaged fingerprint area; When detecting fingerprint unlocking information, determining whether the current moment is within the preset time period; When determining that the current moment is within the preset time period, obtaining the fingerprint feature and the consecutive unlocking times from the fingerprint unlocking information; If it is determined that the matching degree between the fingerprint feature and the preset fingerprint feature exceeds a matching threshold and the consecutive unlocking times exceed a preset number threshold, then unlocking is performed, where the fingerprint feature is the fingerprint feature for a single unlocking or the superposition of fingerprint features for at least two unlockings.
2. The method according to claim 1, wherein The determining that the matching degree between the fingerprint feature and the preset fingerprint feature exceeds the matching threshold includes: Obtaining the undamaged fingerprint feature of the damaged finger from the partial unlocking notification, where the damaged finger can be recognized with partial fingerprints; Matching the fingerprint feature of the damaged finger used for unlocking with the undamaged fingerprint feature; If the matching degree between the fingerprint feature and the undamaged fingerprint feature is greater than a first preset ratio, determining that the matching degree exceeds the matching threshold.
3. The method according to claim 2, wherein The determining that the matching degree between the fingerprint feature and the preset fingerprint feature exceeds the matching threshold further includes: Obtaining all the preset fingerprint features of the damaged finger from the partial unlocking notification; Matching the fingerprint feature of the damaged finger used for unlocking with all the fingerprint features; If the matching degree between the fingerprint feature and all the fingerprint features is greater than a second preset ratio, then determining that the matching degree exceeds the matching threshold, where the first preset ratio is greater than the second preset ratio.
4. The method according to claim 1, wherein The method further includes: When detecting that the fingerprint unlocking times of the target finger reach a set number, deleting the historical fingerprint information of the target finger in the fingerprint unlocking device; Sending a fingerprint update notification to the client to enable the user to re-record the unlocking fingerprint of the target finger.
5. A fingerprint unlocking method, characterized in that, Applied to a client, the method includes: Determining a preset time period and a preset fingerprint feature according to user operations, where the preset time period is the time period for unlocking using a partial fingerprint; Sending a partial unlocking notification carrying the preset time period and the preset fingerprint feature to the fingerprint unlocking device, so that the fingerprint unlocking device performs unlocking when it is determined that the moment of fingerprint unlocking is within the preset time period, the matching degree between the fingerprint feature and the preset fingerprint feature exceeds the matching threshold, and the consecutive unlocking times exceed the preset number threshold; The preset fingerprint feature is an undamaged fingerprint feature, and the determining the preset fingerprint feature according to user operations includes: Before the user's finger is injured, using a photographing device to determine a complete fingerprint image of the damaged finger; After the user's finger is injured, select the undamaged fingerprint area on the complete fingerprint image according to the selection instruction; Use the fingerprint features in the undamaged fingerprint area as the preset fingerprint features.
6. The method according to claim 5, characterized in that, The selecting the undamaged fingerprint area on the complete fingerprint image according to the selection instruction includes: Obtain the undamaged fingerprint area on the complete fingerprint image circled by the user; or, According to the user's selection, select the undamaged fingerprint area from the candidate fingerprint areas of the complete fingerprint image, where the complete fingerprint image is divided into at least two candidate fingerprint areas.
7. A fingerprint unlocking system, characterized in that, The system includes: A client, configured to determine a preset time period and preset fingerprint features according to user operations; send a partial unlocking notification carrying the preset time period and preset fingerprint features to a fingerprint unlocking device, where the preset time period is the time period for unlocking with a partial fingerprint, the preset fingerprint features are undamaged fingerprint features, and the determining the preset fingerprint features according to user operations includes: before the user's finger is injured, use a photographing device to determine the complete fingerprint image of the damaged finger; after the user's finger is injured, select the undamaged fingerprint area on the complete fingerprint image according to the selection instruction; use the fingerprint features in the undamaged fingerprint area as the preset fingerprint features; A fingerprint unlocking device, when detecting fingerprint unlocking information, determine whether the current moment is within the preset time period; when determining that the current moment is within the preset time period, obtain the fingerprint features and the continuous unlocking times from the fingerprint unlocking information; if it is determined that the matching degree between the fingerprint features and the preset fingerprint features exceeds the matching threshold and the continuous unlocking times exceed the preset number threshold, then perform unlocking, where the fingerprint features are the fingerprint features for single unlocking or the superposition of fingerprint features for at least two unlockings.
8. A fingerprint unlocking device, characterized in that, Applied to a fingerprint unlocking device, the device includes: A receiving module, configured to receive the partial unlocking notification sent by the client, where the partial unlocking notification carries the preset time period and preset fingerprint features, the preset time period is the time period for unlocking with a partial fingerprint, the preset fingerprint features are undamaged fingerprint features, and the preset fingerprint features are determined by the client by using a photographing device to determine the complete fingerprint image of the damaged finger before the user's finger is injured, and selecting the undamaged fingerprint area on the complete fingerprint image according to the selection instruction after the user's finger is injured, and based on the fingerprint features in the undamaged fingerprint area; A determining module, configured to determine whether the current moment is within the preset time period when detecting fingerprint unlocking information; An obtaining module, configured to obtain the fingerprint features and the continuous unlocking times from the fingerprint unlocking information when determining that the current moment is within the preset time period; An unlocking module, configured to perform unlocking if it is determined that the matching degree between the fingerprint features and the preset fingerprint features exceeds the matching threshold and the continuous unlocking times exceed the preset number threshold, where the fingerprint features are the fingerprint features for single unlocking or the superposition of fingerprint features for at least two unlockings.
9. A fingerprint unlocking device, characterized in that, Applied to a client, the device includes: A determination module, configured to determine a preset time period and a preset fingerprint feature according to a user operation, where the preset time period is a time period for unlocking using a partial fingerprint; the preset fingerprint feature is an undamaged fingerprint feature, and the determination of the preset fingerprint feature according to the user operation includes: before the user's finger is injured, using a photographing device to determine a complete fingerprint image of the damaged finger; after the user's finger is injured, according to a selection instruction, selecting an undamaged fingerprint area on the complete fingerprint image; and using the fingerprint feature in the undamaged fingerprint area as the preset fingerprint feature; A sending module, configured to send a partial unlocking notification carrying the preset time period and the preset fingerprint feature to a fingerprint unlocking device, so that the fingerprint unlocking device unlocks when it is determined that the fingerprint unlocking time is within the preset time period, the matching degree between the fingerprint feature and the preset fingerprint feature exceeds a matching threshold, and the continuous unlocking times exceed a preset number threshold.
10. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus; The memory is used for storing a computer program; The processor is configured to implement the method steps of any one of claims 1-4 or 5-6 when executing the program stored on the memory.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the method steps of any one of claims 1-4 or 5-6 are implemented.
Citation Information
Patent Citations
Verification method and device
CN105488372A
Unlocking method and mobile terminal
CN106022062A
Access control opening method, device and mobile terminal
CN106920307A