Unlocking method, device, computer equipment and storage medium based on fingerprint recognition
Through the unlocking method based on fingerprint recognition, the fingerprint unlocking device is connected to the terminal device, and the fingerprint information is searched and compared to determine the permissions, which solves the problem of low security of mechanical locks and achieves higher security and convenience.
Patent Information
- Application Number
- CN202011637783.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-31
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2040-12-31
AI Technical Summary
The existing mechanical locks of financial equipment have low security, can easily lead to safety accidents, and lack high security and convenient unlocking methods.
Using a fingerprint recognition-based unlocking method, the fingerprint unlocking device is connected to the terminal device, the candidate fingerprint information is searched through the fingerprint control lock number, and the fingerprint information input by the user is compared to determine the authority. If it matches, the corresponding fingerprint control lock is opened.
The confidentiality and security of the unlocking method of financial equipment are improved, ensuring that only authorized users can open the designated fingerprint control lock, which enhances security and convenience.
Smart Images

Figure CN113256847B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of financial services, and in particular to a method, device, computer equipment and storage medium for unlocking based on fingerprint recognition. Background Art
[0002] The current financial encryption method mainly consists of password keyboards, dynamic password locks and mechanical locks. As for financial equipment, most of the equipment uses mechanical locks, and the unlocking method of this mechanical lock is low in security. Often one key can open all mechanical locks, which is very unsafe. If you are not careful, it may cause major safety accidents. Fingerprint locks and unlocking methods based on fingerprint recognition came into being. The unlocking method based on fingerprint recognition stores the fingerprint information on the fingerprint key end, and determines the key information by identifying the fingerprint information, thereby improving security and confidentiality, and can also be more convenient. Summary of the invention
[0003] Based on this, it is necessary to provide a fingerprint recognition-based unlocking method, device, computer equipment and storage medium with high security level and easy use to address the above problems.
[0004] In a first aspect, the present invention provides a method for unlocking a lock based on fingerprint recognition, the method comprising:
[0005] Receiving an input request triggered when a user inserts a fingerprint unlocking device into a USB port of a terminal;
[0006] Determine the fingerprint control lock code corresponding to the area to be unlocked where the fingerprint unlocking device is inserted according to the input request;
[0007] According to the fingerprint control lock number, searching for candidate fingerprint information corresponding to the fingerprint control lock number in the fingerprint unlocking device;
[0008] Obtaining input user fingerprint information through the fingerprint unlocking device, comparing the input user fingerprint information with the candidate fingerprint information, and determining whether the user has the authority to open the fingerprint control lock;
[0009] If so, the fingerprint control lock is opened according to the user's fingerprint information.
[0010] In a second aspect, the present invention provides an encryption device based on fingerprint recognition, the device comprising:
[0011] The terminal device is used to receive an input request triggered by a user inserting a fingerprint unlocking device into a USB port of the terminal;
[0012] The fingerprint unlocking device is used to determine the fingerprint control lock number corresponding to the unlocking area where the fingerprint unlocking device is inserted according to the input request; search for candidate fingerprint information corresponding to the fingerprint control lock number in the fingerprint unlocking device according to the fingerprint control lock number; obtain the input user fingerprint information through the fingerprint unlocking device, compare the input user fingerprint information with the candidate fingerprint information, and determine whether the user has the authority to open the fingerprint control lock; if so, open the fingerprint control lock according to the user fingerprint information. .
[0013] In a third aspect, the present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the following steps:
[0014] Receiving an input request triggered when a user inserts a fingerprint unlocking device into a USB port of a terminal;
[0015] Determine the fingerprint control lock code corresponding to the area to be unlocked where the fingerprint unlocking device is inserted according to the input request;
[0016] According to the fingerprint control lock number, searching for candidate fingerprint information corresponding to the fingerprint control lock number in the fingerprint unlocking device;
[0017] Obtaining input user fingerprint information through the fingerprint unlocking device, comparing the input user fingerprint information with the candidate fingerprint information, and determining whether the user has the authority to open the fingerprint control lock;
[0018] If so, the fingerprint control lock is opened according to the user's fingerprint information.
[0019] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to perform the following steps:
[0020] Receiving an input request triggered when a user inserts a fingerprint unlocking device into a USB port of a terminal;
[0021] Determine the fingerprint control lock code corresponding to the area to be unlocked where the fingerprint unlocking device is inserted according to the input request;
[0022] According to the fingerprint control lock number, searching for candidate fingerprint information corresponding to the fingerprint control lock number in the fingerprint unlocking device;
[0023] Obtaining input user fingerprint information through the fingerprint unlocking device, comparing the input user fingerprint information with the candidate fingerprint information, and determining whether the user has the authority to open the fingerprint control lock;
[0024] If so, the fingerprint control lock is opened according to the user's fingerprint information.
[0025] The present invention provides a method, device, computer equipment and storage medium for unlocking based on fingerprint recognition, and searches for candidate fingerprint information corresponding to the fingerprint control lock number in a fingerprint unlocking device through the fingerprint control lock number. The candidate fingerprint information of the user is matched with the fingerprint control lock number, thereby improving the confidentiality and security of the unlocking method. In addition, the fingerprint unlocking device obtains the input user fingerprint information, compares the input user fingerprint information with the candidate fingerprint information, and determines whether the user has the authority to open the fingerprint control lock, thereby further improving the confidentiality and security of the unlocking method. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0027] Figure 1 is a flow chart of an unlocking method based on fingerprint recognition in one embodiment;
[0028] Figure 2 is a flow chart of an unlocking method based on fingerprint recognition in another embodiment;
[0029] Figure 3 is a flow chart of an unlocking method based on fingerprint recognition in another embodiment;
[0030] Figure 4 is a flow chart of an unlocking method based on fingerprint recognition in another embodiment;
[0031] Figure 5 is a flow chart of an unlocking method based on fingerprint recognition in another embodiment;
[0032] Figure 6 is a structural block diagram of an unlocking device based on fingerprint recognition in one embodiment;
[0033] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0035] like Figure 1As shown, the present invention proposes a method for unlocking based on fingerprint recognition, which includes:
[0036] Step 102: receiving an input request triggered when a user inserts a fingerprint unlocking device into a USB port of a terminal.
[0037] The fingerprint unlocking device refers to the fingerprint key used to unlock the fingerprint control lock of the terminal. The fingerprint unlocking device is connected to the terminal, and the terminal is powered by the fingerprint unlocking device through the USB port, thereby triggering an input request and starting the unlocking process. The terminal refers to a financial device, such as an ATM machine.
[0038] Step 104: Determine the fingerprint control lock number corresponding to the area to be unlocked where the fingerprint unlocking device is inserted according to the input request.
[0039] The terminal has multiple areas to be unlocked, for example, in an ATM machine, it includes a maintenance door, a safe, a cash box, etc. Each area to be unlocked has a fingerprint control lock, and the fingerprint control lock has a fingerprint control lock number corresponding to it. The area to be unlocked where the fingerprint unlocking device is inserted is determined by inputting a request, thereby determining the fingerprint control lock where the fingerprint unlocking device is inserted and the fingerprint control lock number corresponding to it.
[0040] Step 106: searching the fingerprint unlocking device for candidate fingerprint information corresponding to the fingerprint control lock number according to the fingerprint control lock number.
[0041] Among them, the candidate fingerprint information is a standard for judging whether the fingerprint information input by the user to open the fingerprint control lock is correct. The fingerprint unlocking device includes a fingerprint library for storing the candidate fingerprint information and for storing the corresponding relationship between the fingerprint control lock number and the candidate fingerprint information. After determining the fingerprint control lock number corresponding to the area to be unlocked where the fingerprint unlocking device is inserted, the candidate fingerprint information corresponding to the fingerprint control lock number can be searched from the fingerprint library of the fingerprint unlocking device through the fingerprint control lock number.
[0042] Step 108, obtaining the input user fingerprint information through the fingerprint unlocking device, comparing the input user fingerprint information with the candidate fingerprint information, and determining whether the user has the authority to open the fingerprint control lock.
[0043] The fingerprint unlocking device includes a fingerprint collection area, and the user inputs fingerprint information through the fingerprint collection area. The authority to open the fingerprint control lock means that the user can only open the fingerprint control lock corresponding to his own authority. For example, the maintenance personnel can only open the fingerprint control lock of the maintenance door. After obtaining the fingerprint information input by the user, the fingerprint information is compared with the candidate fingerprint information found from the fingerprint unlocking device. If the comparison is successful, the user has the authority to open the fingerprint control lock. If the comparison fails, it means that the user does not have the authority to open the fingerprint control lock.
[0044] Step 110: If yes, the fingerprint control lock is opened according to the user's fingerprint information.
[0045] Among them, if the user has the authority to open the fingerprint control lock, the fingerprint control lock is opened according to the user's fingerprint information; if the user does not have the authority to open the fingerprint control lock, the unlocking process is ended.
[0046] The present invention provides an unlocking method based on fingerprint recognition, which searches for candidate fingerprint information corresponding to the fingerprint control lock number in a fingerprint unlocking device through the fingerprint control lock number. The user's candidate fingerprint information is matched with the fingerprint control lock number, thereby improving the confidentiality and security of the unlocking method. In addition, the fingerprint unlocking device obtains the input user fingerprint information, compares the input user fingerprint information with the candidate fingerprint information, and determines whether the user has the authority to open the fingerprint control lock, thereby further improving the confidentiality and security of the unlocking method.
[0047] like Figure 2 As shown, in one embodiment, before comparing the input user fingerprint information with the candidate fingerprint information, the process further includes:
[0048] Step 202, determining the user's job information based on the user's fingerprint information; the user's job information includes at least one of a maintenance personnel, a safe manager, and a money counting personnel.
[0049] Among them, the type of work refers to different staff members. For example, an ATM machine includes a maintenance door, a safe, and a cash box. Correspondingly, there are maintenance personnel who perform maintenance work through the maintenance door, safe personnel who manage the safe, and cash counting personnel who sort out the coins in the cash box. After obtaining the fingerprint information input by the user through the fingerprint unlocking device, the user's type of work information can be further confirmed through the fingerprint information, that is, whether the user is a staff member or which type of staff member.
[0050] Step 204, determining the fingerprint control lock type corresponding to the fingerprint control lock number.
[0051] After confirming the fingerprint control lock number, the fingerprint control lock type corresponding to the fingerprint control lock number can be further confirmed. For example, it is confirmed whether the fingerprint control lock corresponding to the fingerprint control lock number is a fingerprint control lock of a maintenance door, a fingerprint control lock of a safe, or a fingerprint control lock of a cash box.
[0052] Step 206, matching the user's job type information with the fingerprint control type. When the user's job type information matches the fingerprint control lock type, the step of comparing the input user fingerprint information with the candidate fingerprint information is entered.
[0053] In one embodiment, when the user's job type is a money counter and the fingerprint-controlled lock is a fingerprint-controlled lock of a safe, the user's job type information does not match the fingerprint-controlled lock type, and the unlocking process ends; when the user's job type is a money counter and the fingerprint-controlled lock is a fingerprint-controlled lock of a cash box, the user's job type information matches the fingerprint-controlled lock type, and the unlocking process continues.
[0054] like Figure 3 As shown, in one embodiment, before receiving the input request triggered when the user inserts the fingerprint unlocking device into the USB port of the terminal, it also includes:
[0055] Step 302: Receive the first initial fingerprint information entered by the primary user through the fingerprint unlocking device.
[0056] Among them, the first-level user has the right to apply for permission. When applying for permission, the first-level user needs to enter the first initial fingerprint information through the fingerprint unlocking device.
[0057] Step 304, obtaining the job type information of the first-level user.
[0058] After obtaining the first initial fingerprint information of the primary user, the job type information of the secondary user is obtained. In one embodiment, after obtaining the first initial fingerprint information of the primary user, it is determined whether the primary user is a maintenance worker, a safe deposit box worker, or a cash counting worker.
[0059] Step 306, obtaining a first authorization instruction for the primary user input by the administrator through the terminal, wherein the first authorization instruction includes: the authorized first fingerprint control lock number, and the fingerprint control lock type corresponding to the first fingerprint control lock number matches the job type information of the primary user.
[0060] The administrator refers to a staff member who can manage the permissions of the first-level user. When the first-level user applies for permission, the administrator needs to enter the authorization interface on the terminal and complete the permission management of the first-level user through the authorization interface. The administrator enters the authorization instruction containing the authorized first fingerprint control lock number through the authorization interface of the terminal, where the fingerprint control lock type corresponding to the first fingerprint control lock number matches the job type information of the first-level user.
[0061] In one embodiment, when the primary user is a money counter, the administrator inputs an authorization instruction to the money counter through the authorization interface of the ATM machine, and the authorization instruction includes: the fingerprint control lock number of the cash box matching the money counter.
[0062] Step 308: according to the first authorization instruction, the first initial fingerprint information is set as the first candidate fingerprint information corresponding to the first fingerprint control lock number, and the first candidate fingerprint information is stored in the fingerprint unlocking device.
[0063] According to the authorization instruction of the administrator, the first initial fingerprint information of the first-level user is set as the first candidate fingerprint information corresponding to the first fingerprint control lock number, that is, the first-level user is assigned the permission to open the first fingerprint control lock. The corresponding relationship between the first candidate fingerprint information, the first fingerprint control lock number and the first candidate fingerprint information is stored in the fingerprint unlocking device.
[0064] In one embodiment, if the first-level user is a cash counter, when the administrator assigns the opening authority of the fingerprint-controlled lock of the cash box to the first-level user, the first-level user can only open the cash box but not the fingerprint-controlled locks of other areas to be unlocked.
[0065] like Figure 4 As shown, in one embodiment, the method further includes:
[0066] Step 402: receiving second initial fingerprint information input by a secondary user through a fingerprint unlocking device.
[0067] During this period, the secondary user has the right to apply for permission. When applying for permission, the secondary user needs to enter the second initial fingerprint information through the fingerprint unlocking device.
[0068] Step 404, obtaining the job type information of the secondary user.
[0069] After obtaining the second initial fingerprint information of the secondary user, the job type information of the secondary user is obtained. In one embodiment, after obtaining the first initial fingerprint information of the primary user, it is determined whether the first user is a maintenance worker, a safe deposit box worker, or a cash counting worker.
[0070] Step 406, obtaining a second authorization instruction for the secondary user input by the primary user through the terminal, wherein the second authorization instruction includes: an authorized second fingerprint control lock number, and a fingerprint control lock type corresponding to the second fingerprint control lock number matches the job type information of the secondary user.
[0071] Among them, after the administrator assigns permissions to the first-level user, the first-level user will have the right to manage his own permissions, and the first-level user can assign his own permissions to the second-level user. When the second-level user applies for permissions, the first-level user needs to enter the authorization interface on the terminal and complete the permission management of the second-level user through the authorization interface. The first-level user enters the second authorization instruction containing the authorized second fingerprint control lock number through the authorization interface of the terminal, wherein the fingerprint control lock type corresponding to the second fingerprint control lock number matches the job information of the second-level user.
[0072] Step 408: according to the second authorization instruction, the second initial fingerprint information corresponding to the secondary user is set as the second candidate fingerprint information corresponding to the second fingerprint control lock number, and the second candidate fingerprint information is stored in the fingerprint unlocking device.
[0073] According to the authorization instruction of the primary user, the second initial fingerprint information of the secondary user is set as the second candidate fingerprint information corresponding to the second fingerprint control lock number, that is, the secondary user is assigned the permission to open the second fingerprint control lock. The corresponding relationship between the second candidate fingerprint information, the second fingerprint control lock number and the second candidate fingerprint information is stored in the fingerprint unlocking device.
[0074] In one embodiment, the second authorization instruction includes: authorization duration, according to the second authorization instruction, the initial fingerprint information corresponding to the secondary user is set to the second candidate fingerprint information corresponding to the second fingerprint control lock number, and the second candidate fingerprint information is stored in the fingerprint unlocking device, including: obtaining the authorization duration in the second authorization instruction; in response to the second authorization instruction, within the authorization duration, the initial fingerprint information of the secondary user is set to the second candidate fingerprint information corresponding to the second fingerprint control lock number.
[0075] The second authorization instruction input by the primary user through the terminal authorization interface also includes the authorization duration. During the authorization duration, the initial fingerprint information of the secondary user is set to the second candidate fingerprint information corresponding to the second fingerprint control lock number, that is, the secondary user can open the second fingerprint control lock corresponding to the second fingerprint control lock number within the authorization duration.
[0076] In one embodiment, the first-level user's job type information is a money counter, and the first-level user's fingerprint information can open the fingerprint control lock of the corresponding cash box. When the first-level user enters an authorization time of 1 hour through the terminal authorization interface, the second-level user has the authority to open the fingerprint control lock of the cash box corresponding to the money counter within one hour.
[0077] like Figure 5 As shown, in one embodiment, before obtaining the first authorization instruction for the primary user input by the administrator through the terminal, the method further includes:
[0078] Step 502, controlling the display of the identity authentication window.
[0079] When performing authority management, the administrator needs to enter the authority management interface through the terminal to complete the authority allocation for the first-level user. Specifically, the terminal system controls the display of the identity authentication window to obtain the identity information input by the administrator through the identity authentication window.
[0080] Step 504: Acquire the identity information input through the identity authentication window.
[0081] Among them, through the identity authentication window, the administrator enters identity information, for example, enters the correct account number and password in the Tongguan identity authentication window to enter the authorization interface.
[0082] Step 506, when it is determined that the identity information is an administrator identity, the step of obtaining a first authorization instruction for the primary user input by the administrator through the terminal is entered.
[0083] After the administrator's identity information is verified, the authorization interface of the terminal is entered. When the first-level user applies for permission, the permission management of the first-level user is completed through the authorization interface. The administrator enters the authorization instruction containing the authorized first fingerprint control lock number through the authorization interface of the terminal, wherein the fingerprint control lock type corresponding to the first fingerprint control lock number matches the job type information of the first-level user.
[0084] In one embodiment, before comparing the input user fingerprint information with the candidate fingerprint information, it also includes: searching whether the user fingerprint information exists in the fingerprint library in the fingerprint unlocking device; if so, entering the step of comparing the input user fingerprint information with the candidate fingerprint information; if not, lighting up the red light on the fingerprint unlocking device to indicate a fingerprint entry error.
[0085] The fingerprint database of the fingerprint unlocking device stores user fingerprint information. When the user opens the fingerprint control lock, after entering the user's fingerprint information through the fingerprint unlocking device, it is necessary to search the fingerprint database of the unlocking device to see whether the user's fingerprint information exists. If it exists, the unlocking process continues. If not, the red light on the fingerprint unlocking device is turned on to indicate a fingerprint entry error.
[0086] like Figure 6 As shown, the present invention proposes an encryption device based on fingerprint recognition, which includes:
[0087] Terminal device 602, used to receive an input request triggered by a user inserting a fingerprint unlocking device into a USB port of the terminal;
[0088] The fingerprint unlocking device 604 is used to determine the fingerprint control lock number corresponding to the area to be unlocked where the fingerprint unlocking device is inserted according to the input request; search for candidate fingerprint information corresponding to the fingerprint control lock number in the fingerprint unlocking device according to the fingerprint control lock number; obtain the input user fingerprint information through the fingerprint unlocking device, compare the input user fingerprint information with the candidate fingerprint information, and determine whether the user has the authority to open the fingerprint control lock; if so, open the fingerprint control lock according to the user fingerprint information.
[0089] In one embodiment, the fingerprint unlocking device includes a fingerprint acquisition module, an authorization management module, a storage module and a comparison and judgment module. The fingerprint acquisition module is used to obtain user fingerprint information input by the user. The storage module is used to store user fingerprint information, and is also used to store candidate fingerprint information and to store the corresponding relationship between the fingerprint control lock number and the candidate fingerprint information. The authorization management module can be used to enable the administrator to assign his own authority to the first-level user, and can also be used to enable the first-level user to assign his own authority to the second-level user. The comparison and judgment module is used to compare the user fingerprint information input by the user with the candidate fingerprint information to determine whether the user has the authority to open the fingerprint control lock.
[0090] like Figure 7 As shown in FIG. 1 , an internal structure diagram of a computer device in one embodiment. The computer device may be a fingerprint unlocking device or a terminal or server connected to the fingerprint unlocking device. Figure 7 As shown, the computer device includes a processor, a memory, and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor may implement an unlocking method based on fingerprint recognition. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor may implement an unlocking method based on fingerprint recognition. The network interface is used to communicate with an external device. Those skilled in the art will appreciate that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0091] In one embodiment, the unlocking method based on fingerprint recognition provided by the present application can be implemented in the form of a computer program. The computer program can be used in Figure 7 The computer device shown in the figure is run. The memory of the computer device can store various program templates constituting the humanoid robot control device. For example, the terminal device 602 and the fingerprint unlocking device 604.
[0092] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the following steps: receiving an input request triggered when a user inserts a fingerprint unlocking device into a USB interface of a terminal; determining a fingerprint control lock number corresponding to an area to be unlocked into which the fingerprint unlocking device is inserted according to the input request; searching for candidate fingerprint information corresponding to the fingerprint control lock number in the fingerprint unlocking device according to the fingerprint control lock number; obtaining input user fingerprint information through the fingerprint unlocking device, comparing the input user fingerprint information with the candidate fingerprint information, and determining whether the user has the authority to open the fingerprint control lock; and if so, opening the fingerprint control lock according to the user fingerprint information.
[0093] In one embodiment, before comparing the input user fingerprint information with the candidate fingerprint information, when the computer program is executed by the processor, the processor performs the following steps: determining the user's job information based on the user fingerprint information; the user's job information includes at least one of a maintenance personnel, a safe manager, and a cash counting personnel; determining the fingerprint control lock type corresponding to the fingerprint control lock number; matching the user's job information with the fingerprint control type, and when the user's job information matches the fingerprint control lock type, entering the step of comparing the input user fingerprint information with the candidate fingerprint information.
[0094] In one embodiment, before the input request triggered by the receiving user inserting the fingerprint unlocking device into the USB interface of the terminal, when the computer program is executed by the processor, the processor performs the following steps: receiving the first initial fingerprint information entered by the first-level user through the fingerprint unlocking device; obtaining the job type information of the first-level user; obtaining the first authorization instruction for the first-level user entered by the administrator through the terminal, the first authorization instruction including: the authorized first fingerprint control lock number, the fingerprint control lock type corresponding to the first fingerprint control lock number matches the job type information of the first-level user; according to the first authorization instruction, the first initial fingerprint information is set to the first candidate fingerprint information corresponding to the first fingerprint control lock number, and the first candidate fingerprint information is stored in the fingerprint unlocking device.
[0095] In one embodiment, when the computer program is executed by the processor, the processor performs the following steps: receiving the second initial fingerprint information input by the secondary user through the fingerprint unlocking device; obtaining the job type information of the secondary user; obtaining the second authorization instruction for the secondary user input by the primary user through the terminal, the second authorization instruction including: the authorized second fingerprint control lock number, the fingerprint control lock type corresponding to the second fingerprint control lock number matches the job type information of the secondary user; according to the second authorization instruction, the second initial fingerprint information corresponding to the secondary user is set to the second candidate fingerprint information corresponding to the second fingerprint control lock number, and the second candidate fingerprint information is stored in the fingerprint unlocking device.
[0096] In one embodiment, the second authorization instruction includes: authorization duration, setting the initial fingerprint information corresponding to the secondary user to the second candidate fingerprint information corresponding to the second fingerprint control lock number according to the second authorization instruction, and storing the second candidate fingerprint information in the fingerprint unlocking device. When the computer program is executed by the processor, the processor performs the following steps: obtaining the authorization duration in the second authorization instruction; and in response to the second authorization instruction, setting the initial fingerprint information of the secondary user to the second candidate fingerprint information corresponding to the second fingerprint control lock number within the authorization duration.
[0097] In one embodiment, before obtaining the first authorization instruction for the first-level user input by the administrator through the terminal, when the computer program is executed by the processor, the processor performs the following steps: controlling the display of an identity authentication window; obtaining identity information input through the identity authentication window; when it is determined that the identity information is an administrator identity, entering the step of obtaining the first authorization instruction for the first-level user input by the administrator through the terminal.
[0098] In one embodiment, before comparing the input user fingerprint information with the candidate fingerprint information, when the computer program is executed by the processor, the processor performs the following steps: searching whether the user fingerprint information exists in the fingerprint library in the fingerprint unlocking device; if so, entering the step of comparing the input user fingerprint information with the candidate fingerprint information; if not, lighting up a red light on the fingerprint unlocking device to indicate a fingerprint entry error.
[0099] A computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the processor executes the following steps: receiving an input request triggered when a user inserts a fingerprint unlocking device into a USB interface of a terminal; determining a fingerprint control lock number corresponding to an area to be unlocked into which the fingerprint unlocking device is inserted according to the input request; searching for candidate fingerprint information corresponding to the fingerprint control lock number in the fingerprint unlocking device according to the fingerprint control lock number; obtaining input user fingerprint information through the fingerprint unlocking device, comparing the input user fingerprint information with the candidate fingerprint information, and determining whether the user has the authority to open the fingerprint control lock; if so, opening the fingerprint control lock according to the user fingerprint information.
[0100] In one embodiment, before comparing the input user fingerprint information with the candidate fingerprint information, when the computer program is executed by the processor, the processor performs the following steps: determining the user's job information based on the user fingerprint information; the user's job information includes at least one of a maintenance personnel, a safe manager, and a cash counting personnel; determining the fingerprint control lock type corresponding to the fingerprint control lock number; matching the user's job information with the fingerprint control type, and when the user's job information matches the fingerprint control lock type, entering the step of comparing the input user fingerprint information with the candidate fingerprint information.
[0101] In one embodiment, before the input request triggered by the receiving user inserting the fingerprint unlocking device into the USB interface of the terminal, when the computer program is executed by the processor, the processor performs the following steps: receiving the first initial fingerprint information entered by the first-level user through the fingerprint unlocking device; obtaining the job type information of the first-level user; obtaining the first authorization instruction for the first-level user entered by the administrator through the terminal, the first authorization instruction including: the authorized first fingerprint control lock number, the fingerprint control lock type corresponding to the first fingerprint control lock number matches the job type information of the first-level user; according to the first authorization instruction, the first initial fingerprint information is set to the first candidate fingerprint information corresponding to the first fingerprint control lock number, and the first candidate fingerprint information is stored in the fingerprint unlocking device.
[0102] In one embodiment, when the computer program is executed by the processor, the processor performs the following steps: receiving the second initial fingerprint information input by the secondary user through the fingerprint unlocking device; obtaining the job type information of the secondary user; obtaining the second authorization instruction for the secondary user input by the primary user through the terminal, the second authorization instruction including: the authorized second fingerprint control lock number, the fingerprint control lock type corresponding to the second fingerprint control lock number matches the job type information of the secondary user; according to the second authorization instruction, the second initial fingerprint information corresponding to the secondary user is set to the second candidate fingerprint information corresponding to the second fingerprint control lock number, and the second candidate fingerprint information is stored in the fingerprint unlocking device.
[0103] In one embodiment, the second authorization instruction includes: authorization duration, setting the initial fingerprint information corresponding to the secondary user to the second candidate fingerprint information corresponding to the second fingerprint control lock number according to the second authorization instruction, and storing the second candidate fingerprint information in the fingerprint unlocking device. When the computer program is executed by the processor, the processor performs the following steps: obtaining the authorization duration in the second authorization instruction; and in response to the second authorization instruction, setting the initial fingerprint information of the secondary user to the second candidate fingerprint information corresponding to the second fingerprint control lock number within the authorization duration.
[0104] In one embodiment, before obtaining the first authorization instruction for the first-level user input by the administrator through the terminal, when the computer program is executed by the processor, the processor performs the following steps: controlling the display of an identity authentication window; obtaining identity information input through the identity authentication window; when it is determined that the identity information is an administrator identity, entering the step of obtaining the first authorization instruction for the first-level user input by the administrator through the terminal.
[0105] In one embodiment, before comparing the input user fingerprint information with the candidate fingerprint information, when the computer program is executed by the processor, the processor performs the following steps: searching whether the user fingerprint information exists in the fingerprint library in the fingerprint unlocking device; if so, entering the step of comparing the input user fingerprint information with the candidate fingerprint information; if not, lighting up a red light on the fingerprint unlocking device to indicate a fingerprint entry error.
[0106] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0107] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0108] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for unlocking based on fingerprint recognition, It is characterized in that The method comprises: Receive an input request triggered when a user inserts a fingerprint unlocking device into a USB port of a terminal; Determine, according to the input request, the fingerprint control lock number corresponding to the area to be unlocked into which the fingerprint unlocking device is inserted; According to the fingerprint control lock number, searching for candidate fingerprint information corresponding to the fingerprint control lock number in the fingerprint unlocking device; Obtaining input user fingerprint information through the fingerprint unlocking device, comparing the input user fingerprint information with the candidate fingerprint information, and determining whether the user has the authority to open the fingerprint control lock; If yes, unlock the fingerprint control lock according to the user fingerprint information; Before comparing the input user fingerprint information with the candidate fingerprint information, the method further includes: Determine the user's job type information according to the user's fingerprint information; the user's job type information includes at least one of a maintenance personnel, a safe management personnel, and a money counting personnel; Determine the fingerprint control lock type corresponding to the fingerprint control lock number; The user's job type information is matched with the fingerprint control type. When the user's job type information matches the fingerprint control lock type, the step of comparing the input user fingerprint information with the candidate fingerprint information is entered.
2. The method according to claim 1, It is characterized in that Before receiving the input request triggered when the user inserts the fingerprint unlocking device into the USB interface of the terminal, the method further includes: Receiving first initial fingerprint information entered by a primary user through the fingerprint unlocking device; Obtaining the job type information of the first-level user; Obtaining a first authorization instruction for the primary user input by the administrator through the terminal, wherein the first authorization instruction includes: an authorized first fingerprint control lock number, and a fingerprint control lock type corresponding to the first fingerprint control lock number matches the job type information of the primary user; According to the first authorization instruction, the first initial fingerprint information is set to the first candidate fingerprint information corresponding to the first fingerprint control lock number, and the first candidate fingerprint information is stored in the fingerprint unlocking device.
3. The method according to claim 2, It is characterized in that The method further comprises: Receiving second initial fingerprint information input by a secondary user through the fingerprint unlocking device; Obtaining the job type information of the secondary user; Obtaining a second authorization instruction for the secondary user input by the primary user through the terminal, wherein the second authorization instruction includes: an authorized second fingerprint control lock number, and a fingerprint control lock type corresponding to the second fingerprint control lock number matches the job type information of the secondary user; According to the second authorization instruction, the second initial fingerprint information corresponding to the secondary user is set as the second candidate fingerprint information corresponding to the second fingerprint control lock number, and the second candidate fingerprint information is stored in the fingerprint unlocking device.
4. The method according to claim 3, It is characterized in that The second authorization instruction includes: authorization duration, and setting the initial fingerprint information corresponding to the secondary user to the second candidate fingerprint information corresponding to the second fingerprint control lock number according to the second authorization instruction, and storing the second candidate fingerprint information in the fingerprint unlocking device includes: Obtaining the authorization duration in the second authorization instruction; In response to the second authorization instruction, within the authorization time period, the initial fingerprint information of the secondary user is set as the second candidate fingerprint information corresponding to the second fingerprint control lock number.
5. The method according to claim 2, It is characterized in that Before obtaining the first authorization instruction for the primary user input by the administrator through the terminal, the method further includes: Control the display of the identity authentication window; Obtaining identity information input through the identity authentication window; When it is determined that the identity information is an administrator identity, the step of obtaining a first authorization instruction for the primary user input by the administrator through the terminal is entered.
6. The method according to claim 1, It is characterized in that Before comparing the input user fingerprint information with the candidate fingerprint information, the method further includes: Searching whether the user's fingerprint information exists in the fingerprint library in the fingerprint unlocking device; If yes, then proceed to the step of comparing the input user fingerprint information with the candidate fingerprint information; If not, a red light on the fingerprint unlocking device is turned on to indicate that the fingerprint entry is incorrect.
7. An encryption device based on fingerprint recognition, It is characterized in that The device comprises: The terminal device is used to receive an input request triggered by a user inserting a fingerprint unlocking device into a USB port of the terminal; A fingerprint unlocking device, used to determine the fingerprint control lock number corresponding to the area to be unlocked where the fingerprint unlocking device is inserted according to the input request; search for candidate fingerprint information corresponding to the fingerprint control lock number in the fingerprint unlocking device according to the fingerprint control lock number; obtain the input user fingerprint information through the fingerprint unlocking device, compare the input user fingerprint information with the candidate fingerprint information, and determine whether the user has the authority to open the fingerprint control lock; if so, open the fingerprint control lock according to the user fingerprint information; Before comparing the input user fingerprint information with the candidate fingerprint information, the method further includes: Determine the user's job type information according to the user's fingerprint information; the user's job type information includes at least one of a maintenance personnel, a safe management personnel, and a money counting personnel; Determine the fingerprint control lock type corresponding to the fingerprint control lock number; The user's job type information is matched with the fingerprint control type. When the user's job type information matches the fingerprint control lock type, the step of comparing the input user fingerprint information with the candidate fingerprint information is entered.
8. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 6.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the method according to any one of claims 1 to 6.
