A fingerprint entry method, device, and medium based on blockchain

By storing fingerprint information on the blockchain and determining its input serial number, the problem of low security in fingerprint input is solved, and higher security and user experience are achieved.

CN111310229BActive Publication Date: 2025-06-10INSPUR YUNZHOU (SHANDONG) IND INTERNET CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202010073539.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-01-22
Publication Date
2025-06-10
Estimated Expiration
2040-01-22

AI Technical Summary

Technical Problem

In the prior art, fingerprint entry is relatively low and is susceptible to the threat of password cracking or theft.

Method used

The fingerprint input method based on blockchain is adopted, and the fingerprint information of the user terminal is received, and when there is input, the fingerprint information is written into the fingerprint template collection and stored on the blockchain.

Benefits of technology

Improve the security of fingerprint input, prevent fingerprint information from being tampered with, reduce losses caused by fingerprint input security issues, and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111310229B_ABST
    Figure CN111310229B_ABST
Patent Text Reader

Abstract

The present application discloses a fingerprint entry method, device and medium based on blockchain, which can receive first fingerprint information from a user terminal during a fingerprint entry operation; determine the entry serial number of the first fingerprint information when the first fingerprint information is not entered for the first time; and determine whether other fingerprint information with an entry serial number before that of the first fingerprint information is received before receiving the first fingerprint information from the user terminal. If other fingerprint information with an entry serial number before that of the first fingerprint information is received before receiving the first fingerprint information from the user terminal, write the first fingerprint information into the fingerprint template set and store it in the blockchain. Through the above solution, the security of fingerprint entry can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular, to a fingerprint entry method, device, and medium based on blockchain. Background Art

[0002] With the development of information processing technology, fingerprint recognition technology has been widely used, such as unlocking, payment, login, etc. Before implementing the fingerprint recognition function, it is usually necessary for the terminal to enter fingerprints and generate a complete fingerprint template based on the entered fingerprints, so that the fingerprint recognition function can be implemented based on the generated fingerprint template subsequently.

[0003] In some application scenarios (such as entering fingerprints for smart door locks), it is often necessary to enter the corresponding password first before fingerprints can be entered. However, passwords are easily cracked or stolen, resulting in low security for fingerprint entry. Summary of the Invention

[0004] Embodiments of this specification provide a fingerprint entry method, device, and medium based on blockchain, which are used to solve the following technical problems in the prior art: low security for fingerprint entry.

[0005] Embodiments of this specification adopt the following technical solutions:

[0006] A fingerprint entry method based on blockchain, the method includes:

[0007] When performing a fingerprint entry operation, receive first fingerprint information from a user terminal;

[0008] In the case where the first fingerprint information is not the first entry, determine the entry sequence number of the first fingerprint information;

[0009] According to the entry sequence number of the first fingerprint information, determine whether other fingerprint information with an entry sequence number before that of the first fingerprint information was received before receiving the first fingerprint information from the user terminal;

[0010] Wherein, the other fingerprint information is fingerprint information that has been written into the fingerprint template set before the first fingerprint information;

[0011] If other fingerprint information with an entry sequence number before that of the first fingerprint information was received before receiving the first fingerprint information from the user terminal, write the first fingerprint information into the fingerprint template set and write it into the blockchain for storage.

[0012] Optionally, based on the entry sequence number of the first fingerprint information, determining whether other fingerprint information with an entry sequence number before that of the first fingerprint information was received before receiving the first fingerprint information from the user terminal is implemented based on a corresponding smart contract deployed in the blockchain.

[0013] Optionally, before entering the first fingerprint information into the fingerprint template set, the method further includes:

[0014] Determining whether the time interval between receiving the first fingerprint information and other fingerprint information is less than a corresponding preset threshold.

[0015] Optionally, after the other fingerprint information is written into the fingerprint template set, it is written into the blockchain respectively.

[0016] Optionally, before entering the first fingerprint information into the fingerprint template set, the method further includes:

[0017] Determining whether the received other fingerprint information matches the other fingerprint information in the blockchain.

[0018] Optionally, the method further includes: in the case where the first fingerprint information is entered for the first time, before entering the first fingerprint information, receiving an entry request from the user terminal, where the entry request includes an entry password;

[0019] In the case where the entry password is consistent with the preset password, writing the first fingerprint information into the blockchain.

[0020] Optionally, the method further includes: writing the entry sequence number of the first fingerprint information into the blockchain for storage.

[0021] Optionally, the first fingerprint information is image information.

[0022] A fingerprint entry device based on a blockchain, which includes:

[0023] At least one processor; and,

[0024] A memory communicatively connected to the at least one processor; wherein,

[0025] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can:

[0026] When performing a fingerprint entry operation, receive first fingerprint information from a user terminal;

[0027] In the case where the first fingerprint information is not entered for the first time, determine the entry sequence number of the first fingerprint information;

[0028] Determine whether other fingerprint information with an entry sequence number before that of the first fingerprint information was received before receiving the first fingerprint information from the user terminal according to the entry sequence number of the first fingerprint information;

[0029] Wherein, the other fingerprint information is the fingerprint information that has been written into the fingerprint template set before the first fingerprint information;

[0030] Before receiving the first fingerprint information from the user terminal, if other fingerprint information with an entry sequence number before that of the first fingerprint information is received, write the first fingerprint information into the fingerprint template set and write it into the blockchain for storage.

[0031] A non-volatile computer storage medium for fingerprint entry based on blockchain, storing computer-executable instructions, and the computer-executable instructions are set as:

[0032] When performing a fingerprint entry operation, receive the first fingerprint information from the user terminal;

[0033] In the case where the first fingerprint information is not the first entry, determine the entry sequence number of the first fingerprint information;

[0034] Determine whether other fingerprint information with an entry sequence number before that of the first fingerprint information was received before receiving the first fingerprint information from the user terminal according to the entry sequence number of the first fingerprint information;

[0035] Wherein, the other fingerprint information is the fingerprint information that has been written into the fingerprint template set before the first fingerprint information;

[0036] Before receiving the first fingerprint information from the user terminal, if other fingerprint information with an entry sequence number before that of the first fingerprint information is received, write the first fingerprint information into the fingerprint template set and write it into the blockchain for storage.

[0037] At least one of the above technical solutions adopted in the embodiments of the present specification can achieve the following beneficial effects: It can determine the entry sequence number of the entered fingerprint when receiving the entered fingerprint, and according to the entry sequence number, confirm whether fingerprint information before the entry sequence number of the entered fingerprint was entered. Only when there is an entry can the entered fingerprint be written into the fingerprint template set, improving the security of fingerprint entry, effectively avoiding losses caused by security problems of fingerprint entry, and improving the user experience. Moreover, writing the entered fingerprint into the blockchain for storage can prevent the fingerprint information from being tampered with and reduce security. Description of the Drawings

[0038] The accompanying drawings described herein are used to provide a further understanding of the present application and form a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation of the present application. In the drawings:

[0039] Figure 1 is a flowchart of a fingerprint entry method based on blockchain provided by an embodiment of this specification;

[0040] Figure 2 is a schematic structural diagram of a fingerprint entry device based on blockchain provided by an embodiment of this specification. Detailed Description of the Embodiments

[0041] To make the objectives, technical solutions, and advantages of this specification clearer, the technical solutions of the present application will be clearly and completely described below in conjunction with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present application.

[0042] The following will describe in detail the technical solutions provided by each embodiment of the present application in conjunction with the drawings.

[0043] Figure 1 is a flowchart of a fingerprint entry method based on blockchain provided by an embodiment of this specification. As Figure 1 shown, a fingerprint entry method based on blockchain provided by an embodiment of this specification specifically includes the following steps:

[0044] S101, when performing a fingerprint entry operation, receive the first fingerprint information from the user terminal.

[0045] In some embodiments of the present application, the first fingerprint information may be image information. Of course, the first fingerprint information may also be other types of information.

[0046] When performing a fingerprint entry operation, step S101 may be executed after receiving the fingerprint entry request message from the user terminal.

[0047] S102, in the case where the first fingerprint information is not the first entry, determine the entry serial number of the first fingerprint information.

[0048] Before step S102, it is necessary to determine whether the first fingerprint information is the first entry. Here, the first entry means that the device for entering fingerprints has not entered fingerprints before.

[0049] In the case where the first fingerprint information is not the first entry, the entry serial number of the first fingerprint information can be determined. For example, the first fingerprint information is the third fingerprint information entered by the device for entering fingerprints.

[0050] In some embodiments of the present application, in the case where the first fingerprint information is the first entry, before entering the first fingerprint information, an entry request is received from the user terminal, and the entry request includes an entry password.

[0051] In the case where the entry password is consistent with the preset password, the first fingerprint information is written into the fingerprint template set and the blockchain respectively.

[0052] Through the above solution, the security of the first fingerprint entry can be guaranteed.

[0053] It should be noted that, in order to further ensure the security of the first fingerprint entry, the entry password can be encrypted to obtain the encrypted entry fingerprint and then sent.

[0054] S103. According to the entry serial number of the first fingerprint information, it is determined whether other fingerprint information with an entry serial number before the entry serial number of the first fingerprint information is received before receiving the first fingerprint information from the user terminal.

[0055] Among them, the other fingerprint information is the fingerprint information that has been written into the fingerprint template set before the first fingerprint information.

[0056] In some embodiments of the present application, according to the entry serial number of the first fingerprint information, it is determined whether other fingerprint information with an entry serial number before the entry serial number of the first fingerprint information is received before receiving the first fingerprint information from the user terminal, which is implemented based on the corresponding smart contract deployed in the blockchain.

[0057] S104. Before receiving the first fingerprint information from the user terminal, if other fingerprint information with an entry serial number before the entry serial number of the first fingerprint information is received, the first fingerprint information is written into the fingerprint template set and stored in the blockchain.

[0058] In order to further ensure the security of fingerprint entry, in some embodiments of the present application, before entering the first fingerprint information into the fingerprint template set, the following steps may be included:

[0059] It is determined whether the time interval between the received first fingerprint information and the received other fingerprint information is less than the corresponding preset threshold.

[0060] Through the above solution, in the case where the time interval between the first fingerprint information and the other fingerprint information is less than the corresponding preset threshold, S104 is executed.

[0061] It should be noted that the time interval between the first fingerprint information and other fingerprint information can be the time interval between the first fingerprint information and the first received other fingerprint information among other fingerprint information.

[0062] In some embodiments of the present application, after other fingerprint information is written into the fingerprint template set, it is written into the blockchain respectively, which can ensure that the fingerprint information is not easily tampered with and improve the security of fingerprint entry.

[0063] In some embodiments of the present application, before the first fingerprint information is entered into the fingerprint template set, the method further includes:

[0064] Determine that the received other fingerprint information matches the other fingerprint information in the blockchain.

[0065] Before the first fingerprint information is entered into the fingerprint template set, it is necessary to confirm the received other fingerprint information to determine whether the received other fingerprint information matches the other fingerprint information in the blockchain. Only when they match can the first fingerprint information be entered into the fingerprint template set.

[0066] In some embodiments of the present application, the entry sequence number of the first fingerprint information is written into the blockchain for storage.

[0067] For example, if the first fingerprint information is the third fingerprint entered by the device for entering fingerprints, then before the first fingerprint is entered, the first fingerprint and the second fingerprint entered by the device need to be entered first before the first fingerprint information can be written into the fingerprint template set, that is, it represents a successful entry.

[0068] Based on the above technical solution, when receiving the entered fingerprint, it is possible to determine the entry sequence number of the entered fingerprint. According to the entry sequence number, it is confirmed whether the fingerprint information before the entry sequence number of the entered fingerprint has been entered. Only when there is an entry can the entered fingerprint be written into the fingerprint template set, improving the security of fingerprint entry, effectively avoiding losses caused by security problems in fingerprint entry, and improving the user experience. Moreover, writing the entered fingerprint into the blockchain for storage can prevent the fingerprint information from being tampered with and reduce security.

[0069] Based on the same idea, some embodiments of the present application also provide the device and the non-volatile computer storage medium corresponding to the above method.

[0070] Figure 2 Shown in the following is a schematic structural diagram of a fingerprint entry device based on the blockchain provided by the embodiments of this specification. Figure 2 As shown, the device includes:

[0071] At least one processor; and,

[0072] A memory communicatively connected to the at least one processor; wherein,

[0073] The memory stores instructions executable by the at least one processor, and when the instructions are executed by the at least one processor, the at least one processor is enabled to:

[0074] Receive first fingerprint information from a user terminal during a fingerprint entry operation;

[0075] When the first fingerprint information is not the first entry, determine the entry sequence number of the first fingerprint information;

[0076] According to the entry sequence number of the first fingerprint information, determine whether other fingerprint information with an entry sequence number before that of the first fingerprint information was received before receiving the first fingerprint information from the user terminal;

[0077] Wherein the other fingerprint information is fingerprint information that has been written into the fingerprint template set before the first fingerprint information;

[0078] If other fingerprint information with an entry sequence number before that of the first fingerprint information was received before receiving the first fingerprint information from the user terminal, write the first fingerprint information into the fingerprint template set and write it into the blockchain for storage.

[0079] Some embodiments of the present application provide a Figure 1 non-volatile computer storage medium for fingerprint entry based on blockchain, storing computer-executable instructions, and the computer-executable instructions are set to:

[0080] Receive first fingerprint information from a user terminal during a fingerprint entry operation;

[0081] When the first fingerprint information is not the first entry, determine the entry sequence number of the first fingerprint information;

[0082] According to the entry sequence number of the first fingerprint information, determine whether other fingerprint information with an entry sequence number before that of the first fingerprint information was received before receiving the first fingerprint information from the user terminal;

[0083] Wherein the other fingerprint information is fingerprint information that has been written into the fingerprint template set before the first fingerprint information;

[0084] If other fingerprint information with an entry sequence number before that of the first fingerprint information was received before receiving the first fingerprint information from the user terminal, write the first fingerprint information into the fingerprint template set and write it into the blockchain for storage.

[0085] Each embodiment in this application is described in a progressive manner. For the same or similar parts among the embodiments, reference can be made to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the embodiments of the device and the medium, since they are basically similar to the method embodiments, the description is relatively simple. For the relevant parts, reference can be made to the partial description of the method embodiments.

[0086] The device and the medium provided by the embodiments of this application correspond one by one to the method. Therefore, the device and the medium also have beneficial technical effects similar to those of the corresponding method. Since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the device and the medium will not be elaborated here.

[0087] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0088] The present invention is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each flow and / or block in the flowchart and / or block diagram can be implemented by computer program instructions, and the combination of the flows and / or blocks in the flowchart and / or block diagram can also be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for realizing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0089] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device realizes the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0090] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process. Thus, the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 steps of the functions specified in one block or multiple blocks.

[0091] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and memory.

[0092] The memory may include non-permanent memory in the computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.

[0093] Computer-readable media includes permanent and non-permanent, removable and non-removable media, which can store information by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tapes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.

[0094] It should also be noted that the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, commodity or device comprising 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, commodity or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, commodity or device comprising the element.

[0095] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.

Claims

1. A fingerprint entry method based on blockchain, characterized in that, the method includes: When performing a fingerprint entry operation, receiving first fingerprint information from a user terminal; In the case where the first fingerprint information is not the first entry, determining the entry serial number of the first fingerprint information; According to the entry serial number of the first fingerprint information, determining whether other fingerprint information with an entry serial number before that of the first fingerprint information was received before receiving the first fingerprint information from the user terminal; wherein the other fingerprint information is fingerprint information that has been written into the fingerprint template set before the first fingerprint information; Before receiving the first fingerprint information from the user terminal, if other fingerprint information with an entry serial number before that of the first fingerprint information is received, writing the first fingerprint information into the fingerprint template set and writing it into the blockchain for storage; Determining whether other fingerprint information with an entry serial number before that of the first fingerprint information was received before receiving the first fingerprint information from the user terminal is implemented based on a corresponding smart contract deployed in the blockchain; After the other fingerprint information is written into the fingerprint template set, it is respectively written into the blockchain; Before entering the first fingerprint information into the fingerprint template set, the method further includes: Determining whether the received other fingerprint information matches the other fingerprint information in the blockchain; Writing the entry serial number of the first fingerprint information into the blockchain for storage; The first fingerprint information is image information.

2. The method according to claim 1, characterized in that, Before entering the first fingerprint information into the fingerprint template set, the method further includes: Determining whether the time interval between receiving the first fingerprint information and other fingerprint information is less than a corresponding preset threshold.

3. The method according to claim 1, characterized in that, the method further includes: In the case where the first fingerprint information is the first entry, before entering the first fingerprint information, receiving an entry request from the user terminal, and the entry request includes an entry password; In the case where the entry password is consistent with the preset password, writing the first fingerprint information into the blockchain.

4. A fingerprint entry device based on blockchain, characterized in that, includes: At least one processor; And a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can: When performing a fingerprint entry operation, receiving first fingerprint information from a user terminal; In the case where the first fingerprint information is not the first entry, determining the entry serial number of the first fingerprint information; According to the entry serial number of the first fingerprint information, determining whether other fingerprint information with an entry serial number before that of the first fingerprint information was received before receiving the first fingerprint information from the user terminal; wherein the other fingerprint information is fingerprint information that has been written into the fingerprint template set before the first fingerprint information; Before receiving the first fingerprint information from the user terminal, if other fingerprint information with an entry sequence number before that of the first fingerprint information is received, write the first fingerprint information into the fingerprint template set and write it into the blockchain for storage; Determining whether other fingerprint information with an entry sequence number before that of the first fingerprint information is received before receiving the first fingerprint information from the user terminal is implemented based on a corresponding smart contract deployed in the blockchain; After the other fingerprint information is written into the fingerprint template set, it is written into the blockchain respectively; Before the first fingerprint information is entered into the fingerprint template set, it further includes: Determine whether the received other fingerprint information matches the other fingerprint information in the blockchain; Write the entry sequence number of the first fingerprint information into the blockchain for storage; The first fingerprint information is image information.

5. A non-volatile computer storage medium for fingerprint entry based on blockchain, storing computer-executable instructions, characterized in that, The computer-executable instructions are set to: When performing a fingerprint entry operation, receive the first fingerprint information from the user terminal; In the case where the first fingerprint information is not the first entry, determine the entry sequence number of the first fingerprint information; According to the entry sequence number of the first fingerprint information, determine whether other fingerprint information with an entry sequence number before that of the first fingerprint information is received before receiving the first fingerprint information from the user terminal; Wherein, the other fingerprint information is fingerprint information that has been written into the fingerprint template set before the first fingerprint information; Before receiving the first fingerprint information from the user terminal, if other fingerprint information with an entry sequence number before that of the first fingerprint information is received, write the first fingerprint information into the fingerprint template set and write it into the blockchain for storage; Determining whether other fingerprint information with an entry sequence number before that of the first fingerprint information is received before receiving the first fingerprint information from the user terminal is implemented based on a corresponding smart contract deployed in the blockchain; After the other fingerprint information is written into the fingerprint template set, it is written into the blockchain respectively; Before the first fingerprint information is entered into the fingerprint template set, it further includes: Determine whether the received other fingerprint information matches the other fingerprint information in the blockchain; Write the entry sequence number of the first fingerprint information into the blockchain for storage; The first fingerprint information is image information.

Citation Information

Patent Citations

  • Fingerprint sequential composition password authentification system

    CN105279478A

  • Fingerprint real name authentication system based on blockchain

    CN109118620A

  • Fingerprint template input method and related device

    CN110187806A